Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Protected Member Functions | List of all members
geomtools::replicated_model Class Reference

#include <bayeux/geomtools/replicated_model.h>

Inheritance diagram for geomtools::replicated_model:

Public Member Functions

void set_number_of_items (size_t)
 Set the number of replicated items. More...
 
size_t get_number_of_items () const
 Return the number of replicated items. More...
 
void set_model (const i_model &)
 Set the replicated model. More...
 
const i_modelget_model () const
 Return a reference to the replicated model. More...
 
double get_step () const
 Return the replication step along the axis. More...
 
double get_x () const
 Return the X dimension of the mother box. More...
 
double get_y () const
 Return the Y dimension of the mother box. More...
 
double get_z () const
 Return the Z dimension of the mother box. More...
 
virtual const geomtools::boxget_box () const
 Return a reference to the mother box. More...
 
const geomtools::boxget_solid () const
 Return a reference to the mother box. More...
 
 replicated_model ()
 Constructor. More...
 
virtual ~replicated_model ()
 Destructor. More...
 
virtual std::string get_model_id () const
 Return the model unique class Id. More...
 
virtual void tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
 Smart print. More...
 

Protected Member Functions

virtual void _pre_construct (datatools::properties &setup_, models_col_type *models_)
 Pre-construction. More...
 
virtual void _post_construct (datatools::properties &setup_, models_col_type *models_)
 Post construction. More...
 
virtual void _at_construct (const std::string &name_, const datatools::properties &config_, models_col_type *models_=0)
 Construction. More...
 

Constructor & Destructor Documentation

◆ replicated_model()

geomtools::replicated_model::replicated_model ( )

Constructor.

◆ ~replicated_model()

virtual geomtools::replicated_model::~replicated_model ( )
virtual

Destructor.

Member Function Documentation

◆ _at_construct()

virtual void geomtools::replicated_model::_at_construct ( const std::string &  name_,
const datatools::properties config_,
models_col_type models_ = 0 
)
protectedvirtual

Construction.

◆ _post_construct()

virtual void geomtools::replicated_model::_post_construct ( datatools::properties setup_,
models_col_type models_ 
)
protectedvirtual

Post construction.

◆ _pre_construct()

virtual void geomtools::replicated_model::_pre_construct ( datatools::properties setup_,
models_col_type models_ 
)
protectedvirtual

Pre-construction.

◆ get_box()

virtual const geomtools::box& geomtools::replicated_model::get_box ( ) const
virtual

Return a reference to the mother box.

◆ get_model()

const i_model& geomtools::replicated_model::get_model ( ) const

Return a reference to the replicated model.

◆ get_model_id()

virtual std::string geomtools::replicated_model::get_model_id ( ) const
virtual

Return the model unique class Id.

◆ get_number_of_items()

size_t geomtools::replicated_model::get_number_of_items ( ) const

Return the number of replicated items.

◆ get_solid()

const geomtools::box& geomtools::replicated_model::get_solid ( ) const

Return a reference to the mother box.

◆ get_step()

double geomtools::replicated_model::get_step ( ) const

Return the replication step along the axis.

◆ get_x()

double geomtools::replicated_model::get_x ( ) const

Return the X dimension of the mother box.

◆ get_y()

double geomtools::replicated_model::get_y ( ) const

Return the Y dimension of the mother box.

◆ get_z()

double geomtools::replicated_model::get_z ( ) const

Return the Z dimension of the mother box.

◆ set_model()

void geomtools::replicated_model::set_model ( const i_model )

Set the replicated model.

◆ set_number_of_items()

void geomtools::replicated_model::set_number_of_items ( size_t  )

Set the number of replicated items.

◆ tree_dump()

virtual void geomtools::replicated_model::tree_dump ( std::ostream &  out_ = std::clog,
const std::string &  title_ = "",
const std::string &  indent_ = "",
bool  inherit_ = false 
) const
virtual

Smart print.


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