Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
#include <bayeux/geomtools/i_locator.h>
Public Member Functions | |
base_locator () | |
Constructor. More... | |
virtual | ~base_locator () |
Destructor. More... | |
virtual void | initialize (const datatools::properties &config_)=0 |
Main initialization method from a list of properties. More... | |
bool | has_geo_manager () const |
Check if there is a geometry manager. More... | |
void | set_geo_manager (const manager &mgr_) |
Set the reference to the geometry manager. More... | |
const manager & | get_geo_manager () const |
Get a non-mutable reference to the geometry manager. More... | |
virtual void | reset ()=0 |
Main reset method. More... | |
virtual bool | is_initialized () const =0 |
Check if locator is initialized. More... | |
datatools::logger::priority | get_logging_priority () const |
Get the logging priority threshold. More... | |
void | set_logging_priority (datatools::logger::priority) |
Set the logging priority threshold. More... | |
virtual bool | find_geom_id (const vector_3d &position_, int type_, geom_id &gid_, double tolerance_=GEOMTOOLS_PROPER_TOLERANCE) const =0 |
Protected Member Functions | |
void | _basic_initialize (const datatools::properties &config_) |
Protected Attributes | |
datatools::logger::priority | _logging_priority |
geomtools::base_locator::base_locator | ( | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
|
pure virtual |
Given a position and the type of some geometry volume, returns if position is inside and the associated geom_id
Implements geomtools::i_base_locator.
const manager& geomtools::base_locator::get_geo_manager | ( | ) | const |
Get a non-mutable reference to the geometry manager.
datatools::logger::priority geomtools::base_locator::get_logging_priority | ( | ) | const |
Get the logging priority threshold.
bool geomtools::base_locator::has_geo_manager | ( | ) | const |
Check if there is a geometry manager.
|
pure virtual |
Main initialization method from a list of properties.
|
pure virtual |
Check if locator is initialized.
|
pure virtual |
Main reset method.
void geomtools::base_locator::set_geo_manager | ( | const manager & | mgr_ | ) |
Set the reference to the geometry manager.
void geomtools::base_locator::set_logging_priority | ( | datatools::logger::priority | ) |
Set the logging priority threshold.
|
protected |