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

#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...
 

Constructor & Destructor Documentation

◆ geomtools_driver()

geomtools::geomtools_driver::geomtools_driver ( )

Constructor.

◆ ~geomtools_driver()

virtual geomtools::geomtools_driver::~geomtools_driver ( )
virtual

Destructor.

Member Function Documentation

◆ clear_error_message_stack()

void geomtools::geomtools_driver::clear_error_message_stack ( )

Clear the error message stack.

◆ command_clear_display_data()

int geomtools::geomtools_driver::command_clear_display_data ( const std::vector< std::string > &  argv_,
std::ostream &  out_ = std::clog 
)

Unload several/all display data.

◆ command_export_gdml()

int geomtools::geomtools_driver::command_export_gdml ( const std::vector< std::string > &  argv_,
std::ostream &  out_ = std::clog 
) const

Export to GDML format.

◆ command_initialize()

int geomtools::geomtools_driver::command_initialize ( const std::vector< std::string > &  argv_,
std::ostream &  out_ = std::clog 
)

◆ command_load_display_data()

int geomtools::geomtools_driver::command_load_display_data ( const std::vector< std::string > &  argv_,
std::ostream &  out_ = std::clog 
)

Load a display data.

◆ command_print_factory()

int geomtools::geomtools_driver::command_print_factory ( std::ostream &  out_) const

Print factory status.

◆ command_print_list_of_categories()

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.

◆ command_print_list_of_display_data()

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.

◆ command_print_list_of_gids()

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.

◆ command_print_list_of_logicals()

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.

◆ command_print_list_of_models()

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.

◆ command_print_logical()

int geomtools::geomtools_driver::command_print_logical ( const std::string &  logical_name_,
std::ostream &  out_ 
) const

Print a logical volume given by name.

◆ command_print_manager()

int geomtools::geomtools_driver::command_print_manager ( std::ostream &  out_) const

Print manager status.

◆ command_print_mapping()

int geomtools::geomtools_driver::command_print_mapping ( std::ostream &  out_,
const std::string &  mapping_name_ = "" 
) const

Print mapping status.

◆ command_print_model()

int geomtools::geomtools_driver::command_print_model ( const std::string &  model_name_,
std::ostream &  out_ 
) const

Print a geometry model given by name.

◆ command_reset()

int geomtools::geomtools_driver::command_reset ( )

Reset.

◆ command_status()

int geomtools::geomtools_driver::command_status ( std::ostream &  out_) const

Print driver status.

◆ command_unload_display_data()

int geomtools::geomtools_driver::command_unload_display_data ( const std::vector< std::string > &  argv_,
std::ostream &  out_ = std::clog 
)

Unload a display data.

◆ export_gdml()

static int geomtools::geomtools_driver::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 
)
static

Export to GDML format.

◆ get_error_message_stack()

const std::vector<std::string>& geomtools::geomtools_driver::get_error_message_stack ( ) const

Return the error message stack.

◆ has_manager()

bool geomtools::geomtools_driver::has_manager ( ) const

Check for an embeded manager.

◆ initialize()

void geomtools::geomtools_driver::initialize ( const geomtools_driver_params )

Initialization from a dedicated structure.

◆ is_initialized()

bool geomtools::geomtools_driver::is_initialized ( ) const

Check initialization flag.

◆ reset()

void geomtools::geomtools_driver::reset ( )

Reset.


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