Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
geomtools::base_locator Class Referenceabstract

#include <bayeux/geomtools/i_locator.h>

Inheritance diagram for geomtools::base_locator:

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 managerget_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

Constructor & Destructor Documentation

◆ base_locator()

geomtools::base_locator::base_locator ( )


◆ ~base_locator()

virtual geomtools::base_locator::~base_locator ( )


Member Function Documentation

◆ _basic_initialize()

void geomtools::base_locator::_basic_initialize ( const datatools::properties config_)

◆ find_geom_id()

virtual bool geomtools::base_locator::find_geom_id ( const vector_3d position_,
int  type_,
geom_id gid_,
double  tolerance_ = GEOMTOOLS_PROPER_TOLERANCE 
) const
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.

◆ get_geo_manager()

const manager& geomtools::base_locator::get_geo_manager ( ) const

Get a non-mutable reference to the geometry manager.

◆ get_logging_priority()

datatools::logger::priority geomtools::base_locator::get_logging_priority ( ) const

Get the logging priority threshold.

◆ has_geo_manager()

bool geomtools::base_locator::has_geo_manager ( ) const

Check if there is a geometry manager.

◆ initialize()

virtual void geomtools::base_locator::initialize ( const datatools::properties config_)
pure virtual

Main initialization method from a list of properties.

◆ is_initialized()

virtual bool geomtools::base_locator::is_initialized ( ) const
pure virtual

Check if locator is initialized.

◆ reset()

virtual void geomtools::base_locator::reset ( )
pure virtual

Main reset method.

◆ set_geo_manager()

void geomtools::base_locator::set_geo_manager ( const manager mgr_)

Set the reference to the geometry manager.

◆ set_logging_priority()

void geomtools::base_locator::set_logging_priority ( datatools::logger::priority  )

Set the logging priority threshold.

Member Data Documentation

◆ _logging_priority

datatools::logger::priority geomtools::base_locator::_logging_priority

The documentation for this class was generated from the following file: