Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
A geometry model with a boxed model surrounded by up to 6 other models. More...
#include <bayeux/geomtools/surrounded_boxed_model.h>
Classes | |
struct | surrounding_item |
Public Types | |
typedef std::map< int, surrounding_item > | surrounding_dict_type |
typedef std::map< std::string, int > | labels_dict_type |
Public Member Functions | |
const std::string & | get_material_name () const |
void | set_material_name (const std::string &) |
virtual const geomtools::box & | get_box () const |
const geomtools::box & | get_solid () const |
void | set_surrounded_label (const std::string &label_) |
const std::string & | get_surrounded_label () const |
void | set_surrounded_model (const i_model &model_) |
const i_model & | get_surrounded_model () const |
size_t | get_number_of_surrounding_items () const |
bool | has_surrounding_model (const std::string &label_) const |
void | add_surrounding_model (int pos_, const i_model &, const std::string &label_="") |
const i_model & | get_surrounding_model (int i_) const |
const surrounding_item & | get_surrounding_item (int i_) const |
const i_model & | get_surrounding_model (const std::string &label_) const |
const surrounding_item & | get_surrounding_item (const std::string &label_) const |
const labels_dict_type & | get_surrounding_labels () const |
const surrounding_dict_type & | get_surrounding_items () const |
surrounded_boxed_model () | |
Default constructor. More... | |
virtual | ~surrounded_boxed_model () |
Destructor. More... | |
virtual std::string | get_model_id () const |
virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
Smart print. More... | |
Static Public Member Functions | |
static const std::vector< std::string > & | position_labels () |
Static Public Attributes | |
static const std::string | LABEL_PROPERTY_PREFIX |
static const std::string | MODEL_PROPERTY_PREFIX |
static const std::string | SURROUNDED_LABEL |
static const std::string | SURROUNDING_LABEL |
Protected Member Functions | |
virtual void | _at_construct (const std::string &name_, const datatools::properties &config_, models_col_type *models_=0) |
Construction. More... | |
A geometry model with a boxed model surrounded by up to 6 other models.
typedef std::map<std::string, int> geomtools::surrounded_boxed_model::labels_dict_type |
typedef std::map<int, surrounding_item> geomtools::surrounded_boxed_model::surrounding_dict_type |
geomtools::surrounded_boxed_model::surrounded_boxed_model | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Construction.
void geomtools::surrounded_boxed_model::add_surrounding_model | ( | int | pos_, |
const i_model & | , | ||
const std::string & | label_ = "" |
||
) |
|
virtual |
const std::string& geomtools::surrounded_boxed_model::get_material_name | ( | ) | const |
|
virtual |
size_t geomtools::surrounded_boxed_model::get_number_of_surrounding_items | ( | ) | const |
const geomtools::box& geomtools::surrounded_boxed_model::get_solid | ( | ) | const |
const std::string& geomtools::surrounded_boxed_model::get_surrounded_label | ( | ) | const |
const i_model& geomtools::surrounded_boxed_model::get_surrounded_model | ( | ) | const |
const surrounding_item& geomtools::surrounded_boxed_model::get_surrounding_item | ( | int | i_ | ) | const |
const surrounding_item& geomtools::surrounded_boxed_model::get_surrounding_item | ( | const std::string & | label_ | ) | const |
const surrounding_dict_type& geomtools::surrounded_boxed_model::get_surrounding_items | ( | ) | const |
const labels_dict_type& geomtools::surrounded_boxed_model::get_surrounding_labels | ( | ) | const |
const i_model& geomtools::surrounded_boxed_model::get_surrounding_model | ( | int | i_ | ) | const |
const i_model& geomtools::surrounded_boxed_model::get_surrounding_model | ( | const std::string & | label_ | ) | const |
bool geomtools::surrounded_boxed_model::has_surrounding_model | ( | const std::string & | label_ | ) | const |
|
static |
void geomtools::surrounded_boxed_model::set_material_name | ( | const std::string & | ) |
void geomtools::surrounded_boxed_model::set_surrounded_label | ( | const std::string & | label_ | ) |
void geomtools::surrounded_boxed_model::set_surrounded_model | ( | const i_model & | model_ | ) |
|
virtual |
Smart print.
|
static |
|
static |
|
static |
|
static |