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

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

#include <AGDDExporter.h>

Inheritance diagram for XmlVGM::AGDDExporter:

Public Member Functions

 AGDDExporter (const VGM::IFactory *factory)
 
virtual ~AGDDExporter ()
 
- 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

 AGDDExporter ()
 
 AGDDExporter (const AGDDExporter &right)
 
AGDDExporteroperator= (const AGDDExporter &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 AGDD XML format.

Author
I. Hrivnacova, 19.1.2004

Definition at line 33 of file AGDDExporter.h.

Constructor & Destructor Documentation

◆ AGDDExporter() [1/3]

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

Standard constructor

Definition at line 30 of file AGDDExporter.cxx.

◆ ~AGDDExporter()

XmlVGM::AGDDExporter::~AGDDExporter ( )
virtual

Definition at line 49 of file AGDDExporter.cxx.

◆ AGDDExporter() [2/3]

XmlVGM::AGDDExporter::AGDDExporter ( )
protected

Protected default constructor

Definition at line 37 of file AGDDExporter.cxx.

◆ AGDDExporter() [3/3]

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

Protected copy constructor

Definition at line 43 of file AGDDExporter.cxx.

Member Function Documentation

◆ operator=()

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

Protected assignement operator

Definition at line 57 of file AGDDExporter.cxx.

◆ GenerateGeometry()

void XmlVGM::AGDDExporter::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 92 of file AGDDExporter.cxx.

◆ GenerateSection()

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

Generate the XML section element containing all geometry objects defined in given VGM volume: solids and volumes tree.

Definition at line 128 of file AGDDExporter.cxx.

◆ ProcessVolume()

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

Process the VGM volume tree

Definition at line 151 of file AGDDExporter.cxx.


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