VGM Version 5.3
|
The interface for the XML writer that writes VGM geometry objects to XML: More...
#include <IWriter.h>
Public Member Functions | |
virtual | ~IWriter () |
virtual void | OpenFile (std::string filePath)=0 |
Open output file. | |
virtual void | OpenDocument ()=0 |
Write XML document opening. | |
virtual void | OpenSection (const std::string &topVolume)=0 |
Write the section opening (if present) | |
virtual void | OpenPositions ()=0 |
Write positions definitions opening. | |
virtual void | OpenRotations ()=0 |
Write rotations definitions opening. | |
virtual void | OpenMaterials ()=0 |
Write materials definitions opening. | |
virtual void | OpenMedia ()=0 |
Write media definitions opening. | |
virtual void | OpenSolids ()=0 |
Write solids definitions opening. | |
virtual void | OpenStructure ()=0 |
Write structure definition opening (if present) | |
virtual void | OpenComposition (const std::string &name, const std::string &materialName)=0 |
Write composition definition opening (if present) | |
virtual void | CloseFile ()=0 |
Close output file. | |
virtual void | CloseDocument ()=0 |
Write XML document closing. | |
virtual void | CloseSection (const std::string &topVolume)=0 |
Write the section closing (if present) | |
virtual void | ClosePositions ()=0 |
Write positions definitions closing. | |
virtual void | CloseRotations ()=0 |
Write rotations definitions closing. | |
virtual void | CloseMaterials ()=0 |
Write materials definitions closing. | |
virtual void | CloseMedia ()=0 |
Write media definitions closing. | |
virtual void | CloseSolids ()=0 |
Write materials definitions closing. | |
virtual void | CloseStructure ()=0 |
Write structure definition closing (if present) | |
virtual void | CloseComposition ()=0 |
Write composition definition closing (if present) | |
virtual void | WriteIsotope (const VGM::IIsotope *isotope)=0 |
Write VGM isotope. | |
virtual void | WriteElement (const VGM::IElement *element)=0 |
Write VGM element. | |
virtual void | WriteMaterial (const VGM::IMaterial *material)=0 |
Write VGM material. | |
virtual void | WriteMedium (const VGM::IMedium *medium)=0 |
Write VGM medium. | |
virtual void | WriteMedium (const VGM::IMaterial *material)=0 |
Write medium element from material. | |
virtual void | WriteSolid (std::string lvName, const VGM::ISolid *solid, std::string mediumName)=0 |
Write VGM solid. | |
virtual void | WritePosition (const std::string &name, const VGM::Transform &position)=0 |
Write position (from VGM transformation) | |
virtual void | WriteRotation (const std::string &name, const VGM::Transform &rotation)=0 |
Write rotation (from VGM transformation) | |
virtual void | WriteScale (const std::string &name)=0 |
Write scale (from VGM transformation) | |
virtual void | WritePlacement (const VGM::IPlacement &placement)=0 |
Write VGM placement. | |
virtual void | WriteEmptyLine ()=0 |
Write empty line. | |
virtual void | IncreaseIndention ()=0 |
Increase indention. | |
virtual void | DecreaseIndention ()=0 |
Decrease indention. | |
virtual double | LengthUnit () const =0 |
Return the default length unit. | |
virtual double | AngleUnit () const =0 |
Return the default angle unit. | |
virtual double | AtomicWeightUnit () const =0 |
Return the default atomic weight unit. | |
virtual double | MassDensityUnit () const =0 |
Return the default mass density unit. | |
virtual void | SetNumWidth (int width)=0 |
Set fixed format number width. | |
virtual void | SetNumPrecision (int precision)=0 |
Set fixed format number precision. | |
virtual double | GetNumWidth () const =0 |
Return fixed format number width. | |
virtual double | GetNumPrecision () const =0 |
Return fixed format number precision. | |
The interface for the XML writer that writes VGM geometry objects to XML:
|
pure virtual |
Open output file.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write XML document opening.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write the section opening (if present)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write positions definitions opening.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write rotations definitions opening.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write materials definitions opening.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write media definitions opening.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write solids definitions opening.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write structure definition opening (if present)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write composition definition opening (if present)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Close output file.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write XML document closing.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write the section closing (if present)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write positions definitions closing.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write rotations definitions closing.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write materials definitions closing.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write media definitions closing.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write materials definitions closing.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write structure definition closing (if present)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write composition definition closing (if present)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write VGM isotope.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write VGM element.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write VGM material.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write VGM medium.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write medium element from material.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write VGM solid.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write position (from VGM transformation)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write rotation (from VGM transformation)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write scale (from VGM transformation)
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write VGM placement.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Write empty line.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Increase indention.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Decrease indention.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Return the default length unit.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Return the default angle unit.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Return the default atomic weight unit.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Return the default mass density unit.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Set fixed format number width.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Set fixed format number precision.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Return fixed format number width.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.
|
pure virtual |
Return fixed format number precision.
Implemented in XmlVGM::AGDDWriter, and XmlVGM::GDMLWriter.