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

GDML export class. More...

#include <bayeux/geomtools/gdml_export.h>

Public Member Functions

datatools::logger::priority get_logging_priority () const
 Return the logging priority threshold. More...
 
void set_logging_priority (datatools::logger::priority)
 Set the logging priority threshold. More...
 
bool is_auxiliary_supported () const
 Check the flag to support auxiliary. More...
 
void add_auxiliary_support (bool s_=true)
 Set the flag to support auxiliary. More...
 
bool is_replica_supported () const
 Check the flag to support replica. More...
 
void add_replica_support (bool s_=true)
 Set the flag to support replica. More...
 
bool has_fake_materials () const
 Check the flag to use mock materials. More...
 
void add_fake_materials (bool)
 Set the flag to use mock materials. More...
 
const datatools::propertiesparameters () const
 Return a reference to the non mutable container of parameters. More...
 
datatools::propertiesparameters ()
 Return a reference to the mutable container of parameters. More...
 
 gdml_export ()
 Default constructor. More...
 
virtual ~gdml_export ()
 Destructor. More...
 
virtual void export_gdml (const std::string &filename_, const model_factory &factory_, const std::string &model_name_="")
 GDML export. More...
 
void attach_external_materials (const std::ostringstream &oss_)
 Attach an external GDML stream fro materials. More...
 

Static Public Member Functions

static const std::string & default_length_unit ()
 
static const std::string & default_angle_unit ()
 
static const std::string & default_density_unit ()
 

Protected Member Functions

virtual void _export_gdml_solid (const i_shape_3d &shape_, const std::string &log_name_)
 GDML export of a solid. More...
 
virtual void _export_gdml_logical (const logical_volume &log_vol__)
 GDML export of a logical volume. More...
 
virtual void _export_gdml_model (const i_model &model_)
 GDML export of a geometry model. More...
 
virtual void _export_gdml (std::ostream &out_, const model_factory &factory_, const std::string &model_name_)
 GDML export of the model factory, given the name of the top level model. More...
 

Detailed Description

GDML export class.

Constructor & Destructor Documentation

◆ gdml_export()

geomtools::gdml_export::gdml_export ( )

Default constructor.

◆ ~gdml_export()

virtual geomtools::gdml_export::~gdml_export ( )
virtual

Destructor.

Member Function Documentation

◆ _export_gdml()

virtual void geomtools::gdml_export::_export_gdml ( std::ostream &  out_,
const model_factory factory_,
const std::string &  model_name_ 
)
protectedvirtual

GDML export of the model factory, given the name of the top level model.

◆ _export_gdml_logical()

virtual void geomtools::gdml_export::_export_gdml_logical ( const logical_volume log_vol__)
protectedvirtual

GDML export of a logical volume.

◆ _export_gdml_model()

virtual void geomtools::gdml_export::_export_gdml_model ( const i_model model_)
protectedvirtual

GDML export of a geometry model.

◆ _export_gdml_solid()

virtual void geomtools::gdml_export::_export_gdml_solid ( const i_shape_3d shape_,
const std::string &  log_name_ 
)
protectedvirtual

GDML export of a solid.

◆ add_auxiliary_support()

void geomtools::gdml_export::add_auxiliary_support ( bool  s_ = true)

Set the flag to support auxiliary.

◆ add_fake_materials()

void geomtools::gdml_export::add_fake_materials ( bool  )

Set the flag to use mock materials.

◆ add_replica_support()

void geomtools::gdml_export::add_replica_support ( bool  s_ = true)

Set the flag to support replica.

◆ attach_external_materials()

void geomtools::gdml_export::attach_external_materials ( const std::ostringstream &  oss_)

Attach an external GDML stream fro materials.

◆ default_angle_unit()

static const std::string& geomtools::gdml_export::default_angle_unit ( )
static

◆ default_density_unit()

static const std::string& geomtools::gdml_export::default_density_unit ( )
static

◆ default_length_unit()

static const std::string& geomtools::gdml_export::default_length_unit ( )
static

◆ export_gdml()

virtual void geomtools::gdml_export::export_gdml ( const std::string &  filename_,
const model_factory factory_,
const std::string &  model_name_ = "" 
)
virtual

GDML export.

◆ get_logging_priority()

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

Return the logging priority threshold.

◆ has_fake_materials()

bool geomtools::gdml_export::has_fake_materials ( ) const

Check the flag to use mock materials.

◆ is_auxiliary_supported()

bool geomtools::gdml_export::is_auxiliary_supported ( ) const

Check the flag to support auxiliary.

◆ is_replica_supported()

bool geomtools::gdml_export::is_replica_supported ( ) const

Check the flag to support replica.

◆ parameters() [1/2]

const datatools::properties& geomtools::gdml_export::parameters ( ) const

Return a reference to the non mutable container of parameters.

◆ parameters() [2/2]

datatools::properties& geomtools::gdml_export::parameters ( )

Return a reference to the mutable container of parameters.

◆ set_logging_priority()

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

Set the logging priority threshold.


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