Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
#include <bayeux/geomtools/geomtools_driver.h>
Public Member Functions | |
geomtools_driver () | |
Constructor. More... | |
virtual | ~geomtools_driver () |
Destructor. More... | |
bool | is_initialized () const |
Check initialization flag. More... | |
void | initialize (const geomtools_driver_params &) |
Initialization from a dedicated structure. More... | |
void | reset () |
Reset. More... | |
bool | has_manager () const |
Check for an embeded manager. More... | |
void | clear_error_message_stack () |
Clear the error message stack. More... | |
const std::vector< std::string > & | get_error_message_stack () const |
Return the error message stack. More... | |
int | command_initialize (const std::vector< std::string > &argv_, std::ostream &out_=std::clog) |
int | command_reset () |
Reset. More... | |
int | command_status (std::ostream &out_) const |
Print driver status. More... | |
int | command_print_manager (std::ostream &out_) const |
Print manager status. More... | |
int | command_print_factory (std::ostream &out_) const |
Print factory status. More... | |
int | command_print_mapping (std::ostream &out_, const std::string &mapping_name_="") const |
Print mapping status. More... | |
int | command_print_list_of_models (std::ostream &out_, const std::string &print_models_options_="") const |
Print the list of geometry models. More... | |
int | command_print_list_of_logicals (std::ostream &out_, const std::string &print_logicals_options_="") const |
Print the list of logicals volumes. More... | |
int | command_print_list_of_gids (std::ostream &out_, const std::string &print_gids_options_="") const |
Print the list of registered GIDs. More... | |
int | command_print_list_of_categories (std::ostream &out_, const std::vector< std::string > &argv_) const |
Print the list of registered geometry categories. More... | |
int | command_print_model (const std::string &model_name_, std::ostream &out_) const |
Print a geometry model given by name. More... | |
int | command_print_logical (const std::string &logical_name_, std::ostream &out_) const |
Print a logical volume given by name. More... | |
int | command_print_list_of_display_data (std::ostream &out_, const std::vector< std::string > &argv_) const |
Print the list of embedded display data. More... | |
int | command_load_display_data (const std::vector< std::string > &argv_, std::ostream &out_=std::clog) |
Load a display data. More... | |
int | command_unload_display_data (const std::vector< std::string > &argv_, std::ostream &out_=std::clog) |
Unload a display data. More... | |
int | command_clear_display_data (const std::vector< std::string > &argv_, std::ostream &out_=std::clog) |
Unload several/all display data. More... | |
int | command_export_gdml (const std::vector< std::string > &argv_, std::ostream &out_=std::clog) const |
Export to GDML format. More... | |
Static Public Member Functions | |
static int | export_gdml (const geomtools::manager &geo_mgr_, const std::string &materials_plugin_name_="", const std::string &top_mapping_model_name_="", const std::string &gdml_file_="", bool replica_support_=true, bool root_display_=false, int root_vis_option_=1, int root_vis_level_=100, const std::string &root_top_volume_="", datatools::logger::priority logging_=datatools::logger::PRIO_WARNING) |
Export to GDML format. More... | |
geomtools::geomtools_driver::geomtools_driver | ( | ) |
Constructor.
|
virtual |
Destructor.
void geomtools::geomtools_driver::clear_error_message_stack | ( | ) |
Clear the error message stack.
int geomtools::geomtools_driver::command_clear_display_data | ( | const std::vector< std::string > & | argv_, |
std::ostream & | out_ = std::clog |
||
) |
Unload several/all display data.
int geomtools::geomtools_driver::command_export_gdml | ( | const std::vector< std::string > & | argv_, |
std::ostream & | out_ = std::clog |
||
) | const |
Export to GDML format.
int geomtools::geomtools_driver::command_initialize | ( | const std::vector< std::string > & | argv_, |
std::ostream & | out_ = std::clog |
||
) |
int geomtools::geomtools_driver::command_load_display_data | ( | const std::vector< std::string > & | argv_, |
std::ostream & | out_ = std::clog |
||
) |
Load a display data.
int geomtools::geomtools_driver::command_print_factory | ( | std::ostream & | out_ | ) | const |
Print factory status.
int geomtools::geomtools_driver::command_print_list_of_categories | ( | std::ostream & | out_, |
const std::vector< std::string > & | argv_ | ||
) | const |
Print the list of registered geometry categories.
int geomtools::geomtools_driver::command_print_list_of_display_data | ( | std::ostream & | out_, |
const std::vector< std::string > & | argv_ | ||
) | const |
Print the list of embedded display data.
int geomtools::geomtools_driver::command_print_list_of_gids | ( | std::ostream & | out_, |
const std::string & | print_gids_options_ = "" |
||
) | const |
Print the list of registered GIDs.
int geomtools::geomtools_driver::command_print_list_of_logicals | ( | std::ostream & | out_, |
const std::string & | print_logicals_options_ = "" |
||
) | const |
Print the list of logicals volumes.
int geomtools::geomtools_driver::command_print_list_of_models | ( | std::ostream & | out_, |
const std::string & | print_models_options_ = "" |
||
) | const |
Print the list of geometry models.
int geomtools::geomtools_driver::command_print_logical | ( | const std::string & | logical_name_, |
std::ostream & | out_ | ||
) | const |
Print a logical volume given by name.
int geomtools::geomtools_driver::command_print_manager | ( | std::ostream & | out_ | ) | const |
Print manager status.
int geomtools::geomtools_driver::command_print_mapping | ( | std::ostream & | out_, |
const std::string & | mapping_name_ = "" |
||
) | const |
Print mapping status.
int geomtools::geomtools_driver::command_print_model | ( | const std::string & | model_name_, |
std::ostream & | out_ | ||
) | const |
Print a geometry model given by name.
int geomtools::geomtools_driver::command_reset | ( | ) |
Reset.
int geomtools::geomtools_driver::command_status | ( | std::ostream & | out_ | ) | const |
Print driver status.
int geomtools::geomtools_driver::command_unload_display_data | ( | const std::vector< std::string > & | argv_, |
std::ostream & | out_ = std::clog |
||
) |
Unload a display data.
|
static |
Export to GDML format.
const std::vector<std::string>& geomtools::geomtools_driver::get_error_message_stack | ( | ) | const |
Return the error message stack.
bool geomtools::geomtools_driver::has_manager | ( | ) | const |
Check for an embeded manager.
void geomtools::geomtools_driver::initialize | ( | const geomtools_driver_params & | ) |
Initialization from a dedicated structure.
bool geomtools::geomtools_driver::is_initialized | ( | ) | const |
Check initialization flag.
void geomtools::geomtools_driver::reset | ( | ) |
Reset.