#include <G4GDMLWriteDefine.hh>
|
G4ThreeVector | GetAngles (const G4RotationMatrix &) |
|
void | ScaleWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &scl) |
|
void | RotationWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &rot) |
|
void | PositionWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &pos) |
|
void | FirstrotationWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &rot) |
|
void | FirstpositionWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &pos) |
|
void | AddPosition (const G4String &name, const G4ThreeVector &pos) |
|
virtual void | DefineWrite (xercesc::DOMElement *) |
|
G4Transform3D | Write (const G4String &filename, const G4LogicalVolume *const topLog, const G4String &schemaPath, const G4int depth, G4bool storeReferences=true) |
|
void | AddModule (const G4VPhysicalVolume *const topVol) |
|
void | AddModule (const G4int depth) |
|
void | AddAuxiliary (G4GDMLAuxStructType myaux) |
|
virtual void | MaterialsWrite (xercesc::DOMElement *)=0 |
|
virtual void | SolidsWrite (xercesc::DOMElement *)=0 |
|
virtual void | StructureWrite (xercesc::DOMElement *)=0 |
|
virtual G4Transform3D | TraverseVolumeTree (const G4LogicalVolume *const, const G4int)=0 |
|
virtual void | SurfacesWrite ()=0 |
|
virtual void | SetupWrite (xercesc::DOMElement *, const G4LogicalVolume *const)=0 |
|
virtual void | ExtensionWrite (xercesc::DOMElement *) |
|
virtual void | UserinfoWrite (xercesc::DOMElement *) |
|
virtual void | AddExtension (xercesc::DOMElement *, const G4LogicalVolume *const) |
|
G4String | GenerateName (const G4String &, const void *const) |
|
|
| G4GDMLWriteDefine () |
|
virtual | ~G4GDMLWriteDefine () |
|
void | Scale_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &) |
|
void | Rotation_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &) |
|
void | Position_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &) |
|
| G4GDMLWrite () |
|
virtual | ~G4GDMLWrite () |
|
VolumeMapType & | VolumeMap () |
|
xercesc::DOMAttr * | NewAttribute (const G4String &, const G4String &) |
|
xercesc::DOMAttr * | NewAttribute (const G4String &, const G4double &) |
|
xercesc::DOMElement * | NewElement (const G4String &) |
|
G4String | Modularize (const G4VPhysicalVolume *const topvol, const G4int depth) |
|
void | AddAuxInfo (G4GDMLAuxListType *auxInfoList, xercesc::DOMElement *element) |
|
G4bool | FileExists (const G4String &) const |
|
PhysVolumeMapType & | PvolumeMap () |
|
DepthMapType & | DepthMap () |
|
Definition at line 49 of file G4GDMLWriteDefine.hh.
G4GDMLWriteDefine::G4GDMLWriteDefine |
( |
| ) |
|
|
protected |
G4GDMLWriteDefine::~G4GDMLWriteDefine |
( |
| ) |
|
|
protectedvirtual |
Definition at line 70 of file G4GDMLWriteDefine.hh.
xercesc::DOMElement * defineElement
void Position_vectorWrite(xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
void G4GDMLWriteDefine::DefineWrite |
( |
xercesc::DOMElement * |
element | ) |
|
|
virtual |
Implements G4GDMLWrite.
Definition at line 131 of file G4GDMLWriteDefine.cc.
xercesc::DOMElement * defineElement
xercesc::DOMElement * NewElement(const G4String &)
G4GLOB_DLL std::ostream G4cout
void G4GDMLWriteDefine::FirstpositionWrite |
( |
xercesc::DOMElement * |
element, |
|
|
const G4String & |
name, |
|
|
const G4ThreeVector & |
pos |
|
) |
| |
|
inline |
Definition at line 67 of file G4GDMLWriteDefine.hh.
void Position_vectorWrite(xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
void G4GDMLWriteDefine::FirstrotationWrite |
( |
xercesc::DOMElement * |
element, |
|
|
const G4String & |
name, |
|
|
const G4ThreeVector & |
rot |
|
) |
| |
|
inline |
Definition at line 64 of file G4GDMLWriteDefine.hh.
void Rotation_vectorWrite(xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
Definition at line 51 of file G4GDMLWriteDefine.cc.
59 static const G4double kMatrixPrecision = 10E-10;
62 if (cosb > kMatrixPrecision)
64 x = std::atan2(mtx.
zy(),mtx.
zz());
65 y = std::atan2(-mtx.
zx(),cosb);
66 z = std::atan2(mtx.
yx(),mtx.
xx());
70 x = std::atan2(-mtx.
yz(),mtx.
yy());
71 y = std::atan2(-mtx.
zx(),cosb);
CLHEP::Hep3Vector G4ThreeVector
Definition at line 115 of file G4GDMLWriteDefine.cc.
122 xercesc::DOMElement* positionElement =
NewElement(tag);
123 positionElement->setAttributeNode(
NewAttribute(
"name",name));
127 positionElement->setAttributeNode(
NewAttribute(
"unit",
"mm"));
128 element->appendChild(positionElement);
static constexpr double mm
xercesc::DOMElement * NewElement(const G4String &)
xercesc::DOMAttr * NewAttribute(const G4String &, const G4String &)
static const G4double kLinearPrecision
Definition at line 61 of file G4GDMLWriteDefine.hh.
void Position_vectorWrite(xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
Definition at line 98 of file G4GDMLWriteDefine.cc.
105 xercesc::DOMElement* rotationElement =
NewElement(tag);
106 rotationElement->setAttributeNode(
NewAttribute(
"name",name));
110 rotationElement->setAttributeNode(
NewAttribute(
"unit",
"deg"));
111 element->appendChild(rotationElement);
static const G4double kAngularPrecision
xercesc::DOMElement * NewElement(const G4String &)
static constexpr double degree
xercesc::DOMAttr * NewAttribute(const G4String &, const G4String &)
Definition at line 58 of file G4GDMLWriteDefine.hh.
void Rotation_vectorWrite(xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
Definition at line 79 of file G4GDMLWriteDefine.cc.
89 xercesc::DOMElement* scaleElement =
NewElement(tag);
90 scaleElement->setAttributeNode(
NewAttribute(
"name",name));
94 element->appendChild(scaleElement);
xercesc::DOMElement * NewElement(const G4String &)
static const G4double kRelativePrecision
xercesc::DOMAttr * NewAttribute(const G4String &, const G4String &)
Definition at line 55 of file G4GDMLWriteDefine.hh.
void Scale_vectorWrite(xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
xercesc::DOMElement* G4GDMLWriteDefine::defineElement |
|
protected |
The documentation for this class was generated from the following files: