VGM Version 5.3
Loading...
Searching...
No Matches
XmlVGM::GDMLExporter Class Reference

Class for generation of geometry data files in XML, in the GDML format. More...

#include <GDMLExporter.h>

Inheritance diagram for XmlVGM::GDMLExporter:

Public Member Functions

 GDMLExporter (const VGM::IFactory *factory)
 
virtual ~GDMLExporter ()
 
- Public Member Functions inherited from XmlVGM::VExporter
 VExporter (const VGM::IFactory *factory, IWriter *writer)
 
virtual ~VExporter ()
 
void GenerateXMLGeometry ()
 
void GenerateXMLGeometry (const std::string &volumeName)
 
void SetFileName (const std::string &fileName)
 
void SetDebug (int debug)
 
void SetNumWidth (int width)
 
void SetNumPrecision (int precision)
 
std::string FileName () const
 
int Debug () const
 

Protected Member Functions

 GDMLExporter ()
 
 GDMLExporter (const GDMLExporter &right)
 
GDMLExporteroperator= (const GDMLExporter &right)
 
virtual void GenerateGeometry (VGM::IVolume *volume)
 Generate XML geometry file for the geometry tree starting from the specified VGM volume.
 
virtual void GenerateSection (VGM::IVolume *volume)
 
virtual void ProcessVolume (VGM::IVolume *volume)
 
- Protected Member Functions inherited from XmlVGM::VExporter
 VExporter ()
 
 VExporter (const VExporter &right)
 
VExporteroperator= (const VExporter &)
 
void GeneratePositions (VGM::IVolume *volume)
 
void GenerateRotations (VGM::IVolume *volume)
 
void GenerateScale ()
 
void GenerateMaterials (VGM::IVolume *volume)
 
void GenerateMedia (VGM::IVolume *volume)
 
void GenerateSolids (VGM::IVolume *volume)
 
void ClearVolumeNames ()
 

Additional Inherited Members

- Public Types inherited from XmlVGM::VExporter
typedef std::set< std::string, std::less< std::string > > StringSet
 
- Protected Attributes inherited from XmlVGM::VExporter
const VGM::IFactoryfFactory
 
IWriterfWriter
 
std::string fFileName
 
StringSet fVolumeNames
 
int fDebug
 
Maps fMaps
 
- Static Protected Attributes inherited from XmlVGM::VExporter
static const std::string fgkUndefinedFileName = "Undefined"
 

Detailed Description

Class for generation of geometry data files in XML, in the GDML format.

Author
I. Hrivnacova, 31.03.2004

Definition at line 33 of file GDMLExporter.h.

Constructor & Destructor Documentation

◆ GDMLExporter() [1/3]

XmlVGM::GDMLExporter::GDMLExporter ( const VGM::IFactory * factory)

Standard constructor

Definition at line 29 of file GDMLExporter.cxx.

◆ ~GDMLExporter()

XmlVGM::GDMLExporter::~GDMLExporter ( )
virtual

Definition at line 50 of file GDMLExporter.cxx.

◆ GDMLExporter() [2/3]

XmlVGM::GDMLExporter::GDMLExporter ( )
protected

Protected default constructor

Definition at line 38 of file GDMLExporter.cxx.

◆ GDMLExporter() [3/3]

XmlVGM::GDMLExporter::GDMLExporter ( const GDMLExporter & right)
protected

Protected copy constructor

Definition at line 44 of file GDMLExporter.cxx.

Member Function Documentation

◆ operator=()

XmlVGM::GDMLExporter & XmlVGM::GDMLExporter::operator= ( const GDMLExporter & right)
protected

Protected assignement operator

Definition at line 58 of file GDMLExporter.cxx.

◆ GenerateGeometry()

void XmlVGM::GDMLExporter::GenerateGeometry ( VGM::IVolume * volume)
protectedvirtual

Generate XML geometry file for the geometry tree starting from the specified VGM volume.

Implements XmlVGM::VExporter.

Definition at line 76 of file GDMLExporter.cxx.

◆ GenerateSection()

void XmlVGM::GDMLExporter::GenerateSection ( VGM::IVolume * volume)
protectedvirtual

Generate the XML section element containing all geometry objects defined in given logical volume: positions, rotations, materials, solids and volumes hierarchy

Definition at line 106 of file GDMLExporter.cxx.

◆ ProcessVolume()

void XmlVGM::GDMLExporter::ProcessVolume ( VGM::IVolume * volume)
protectedvirtual

Process the VGM volume tree

Definition at line 134 of file GDMLExporter.cxx.


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