Geant4
10.00.p02
|
#include <G4GDMLWriteStructure.hh>
Public Member Functions | |
G4GDMLWriteStructure () | |
virtual | ~G4GDMLWriteStructure () |
virtual void | StructureWrite (xercesc::DOMElement *) |
Public Member Functions inherited from G4GDMLWriteParamvol | |
virtual void | ParamvolWrite (xercesc::DOMElement *, const G4VPhysicalVolume *const) |
virtual void | ParamvolAlgorithmWrite (xercesc::DOMElement *paramvolElement, const G4VPhysicalVolume *const paramvol) |
Public Member Functions inherited from G4GDMLWriteSetup | |
virtual void | SetupWrite (xercesc::DOMElement *, const G4LogicalVolume *const) |
Public Member Functions inherited from G4GDMLWriteSolids | |
virtual void | AddSolid (const G4VSolid *const) |
virtual void | SolidsWrite (xercesc::DOMElement *) |
Public Member Functions inherited from G4GDMLWriteMaterials | |
void | AddIsotope (const G4Isotope *const) |
void | AddElement (const G4Element *const) |
void | AddMaterial (const G4Material *const) |
virtual void | MaterialsWrite (xercesc::DOMElement *) |
Public Member Functions inherited from G4GDMLWriteDefine | |
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 *) |
Public Member Functions inherited from G4GDMLWrite | |
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) |
virtual void | ExtensionWrite (xercesc::DOMElement *) |
virtual void | AddExtension (xercesc::DOMElement *, const G4LogicalVolume *const) |
Protected Member Functions | |
void | DivisionvolWrite (xercesc::DOMElement *, const G4PVDivision *const) |
void | PhysvolWrite (xercesc::DOMElement *, const G4VPhysicalVolume *const topVol, const G4Transform3D &transform, const G4String &moduleName) |
void | ReplicavolWrite (xercesc::DOMElement *, const G4VPhysicalVolume *const) |
G4Transform3D | TraverseVolumeTree (const G4LogicalVolume *const topVol, const G4int depth) |
void | SurfacesWrite () |
void | BorderSurfaceCache (const G4LogicalBorderSurface *const) |
void | SkinSurfaceCache (const G4LogicalSkinSurface *const) |
const G4LogicalBorderSurface * | GetBorderSurface (const G4VPhysicalVolume *const) |
const G4LogicalSkinSurface * | GetSkinSurface (const G4LogicalVolume *const) |
G4bool | FindOpticalSurface (const G4SurfaceProperty *) |
Protected Member Functions inherited from G4GDMLWriteParamvol | |
G4GDMLWriteParamvol () | |
virtual | ~G4GDMLWriteParamvol () |
void | Box_dimensionsWrite (xercesc::DOMElement *, const G4Box *const) |
void | Trd_dimensionsWrite (xercesc::DOMElement *, const G4Trd *const) |
void | Trap_dimensionsWrite (xercesc::DOMElement *, const G4Trap *const) |
void | Tube_dimensionsWrite (xercesc::DOMElement *, const G4Tubs *const) |
void | Cone_dimensionsWrite (xercesc::DOMElement *, const G4Cons *const) |
void | Sphere_dimensionsWrite (xercesc::DOMElement *, const G4Sphere *const) |
void | Orb_dimensionsWrite (xercesc::DOMElement *, const G4Orb *const) |
void | Torus_dimensionsWrite (xercesc::DOMElement *, const G4Torus *const) |
void | Ellipsoid_dimensionsWrite (xercesc::DOMElement *, const G4Ellipsoid *const) |
void | Para_dimensionsWrite (xercesc::DOMElement *, const G4Para *const) |
void | Hype_dimensionsWrite (xercesc::DOMElement *, const G4Hype *const) |
void | Polycone_dimensionsWrite (xercesc::DOMElement *, const G4Polycone *const) |
void | Polyhedra_dimensionsWrite (xercesc::DOMElement *, const G4Polyhedra *const) |
void | ParametersWrite (xercesc::DOMElement *, const G4VPhysicalVolume *const, const G4int &) |
Protected Member Functions inherited from G4GDMLWriteSetup | |
G4GDMLWriteSetup () | |
virtual | ~G4GDMLWriteSetup () |
Protected Member Functions inherited from G4GDMLWriteSolids | |
G4GDMLWriteSolids () | |
virtual | ~G4GDMLWriteSolids () |
void | BooleanWrite (xercesc::DOMElement *, const G4BooleanSolid *const) |
void | BoxWrite (xercesc::DOMElement *, const G4Box *const) |
void | ConeWrite (xercesc::DOMElement *, const G4Cons *const) |
void | ElconeWrite (xercesc::DOMElement *, const G4EllipticalCone *const) |
void | EllipsoidWrite (xercesc::DOMElement *, const G4Ellipsoid *const) |
void | EltubeWrite (xercesc::DOMElement *, const G4EllipticalTube *const) |
void | XtruWrite (xercesc::DOMElement *, const G4ExtrudedSolid *const) |
void | HypeWrite (xercesc::DOMElement *, const G4Hype *const) |
void | OrbWrite (xercesc::DOMElement *, const G4Orb *const) |
void | ParaWrite (xercesc::DOMElement *, const G4Para *const) |
void | ParaboloidWrite (xercesc::DOMElement *, const G4Paraboloid *const) |
void | PolyconeWrite (xercesc::DOMElement *, const G4Polycone *const) |
void | GenericPolyconeWrite (xercesc::DOMElement *, const G4GenericPolycone *const) |
void | PolyhedraWrite (xercesc::DOMElement *, const G4Polyhedra *const) |
void | SphereWrite (xercesc::DOMElement *, const G4Sphere *const) |
void | TessellatedWrite (xercesc::DOMElement *, const G4TessellatedSolid *const) |
void | TetWrite (xercesc::DOMElement *, const G4Tet *const) |
void | TorusWrite (xercesc::DOMElement *, const G4Torus *const) |
void | GenTrapWrite (xercesc::DOMElement *, const G4GenericTrap *const) |
void | TrapWrite (xercesc::DOMElement *, const G4Trap *const) |
void | TrdWrite (xercesc::DOMElement *, const G4Trd *const) |
void | TubeWrite (xercesc::DOMElement *, const G4Tubs *const) |
void | CutTubeWrite (xercesc::DOMElement *, const G4CutTubs *const) |
void | TwistedboxWrite (xercesc::DOMElement *, const G4TwistedBox *const) |
void | TwistedtrapWrite (xercesc::DOMElement *, const G4TwistedTrap *const) |
void | TwistedtrdWrite (xercesc::DOMElement *, const G4TwistedTrd *const) |
void | TwistedtubsWrite (xercesc::DOMElement *, const G4TwistedTubs *const) |
void | ZplaneWrite (xercesc::DOMElement *, const G4double &, const G4double &, const G4double &) |
void | RZPointWrite (xercesc::DOMElement *, const G4double &, const G4double &) |
void | OpticalSurfaceWrite (xercesc::DOMElement *, const G4OpticalSurface *const) |
Protected Member Functions inherited from G4GDMLWriteMaterials | |
G4GDMLWriteMaterials () | |
virtual | ~G4GDMLWriteMaterials () |
void | AtomWrite (xercesc::DOMElement *, const G4double &) |
void | DWrite (xercesc::DOMElement *, const G4double &) |
void | PWrite (xercesc::DOMElement *, const G4double &) |
void | TWrite (xercesc::DOMElement *, const G4double &) |
void | MEEWrite (xercesc::DOMElement *, const G4double &) |
void | IsotopeWrite (const G4Isotope *const) |
void | ElementWrite (const G4Element *const) |
void | MaterialWrite (const G4Material *const) |
void | PropertyWrite (xercesc::DOMElement *, const G4Material *const) |
void | PropertyVectorWrite (const G4String &, const G4PhysicsOrderedFreeVector *const) |
Protected Member Functions inherited from G4GDMLWriteDefine | |
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 &) |
Protected Member Functions inherited from G4GDMLWrite | |
G4GDMLWrite () | |
virtual | ~G4GDMLWrite () |
VolumeMapType & | VolumeMap () |
G4String | GenerateName (const G4String &, const void *const) |
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) |
G4bool | FileExists (const G4String &) const |
PhysVolumeMapType & | PvolumeMap () |
DepthMapType & | DepthMap () |
Protected Attributes | |
xercesc::DOMElement * | structureElement |
std::vector < xercesc::DOMElement * > | borderElementVec |
std::vector < xercesc::DOMElement * > | skinElementVec |
Protected Attributes inherited from G4GDMLWriteSolids | |
std::vector< const G4VSolid * > | solidList |
xercesc::DOMElement * | solidsElement |
Protected Attributes inherited from G4GDMLWriteMaterials | |
std::vector< const G4Isotope * > | isotopeList |
std::vector< const G4Element * > | elementList |
std::vector< const G4Material * > | materialList |
xercesc::DOMElement * | materialsElement |
Protected Attributes inherited from G4GDMLWriteDefine | |
xercesc::DOMElement * | defineElement |
Protected Attributes inherited from G4GDMLWrite | |
G4String | SchemaLocation |
xercesc::DOMDocument * | doc |
xercesc::DOMElement * | extElement |
XMLCh | tempStr [10000] |
Private Attributes | |
std::vector< const G4OpticalSurface * > | opt_vec |
Additional Inherited Members | |
Static Public Member Functions inherited from G4GDMLWrite | |
static void | SetAddPointerToName (G4bool) |
Static Protected Attributes inherited from G4GDMLWriteSolids | |
static const G4int | maxTransforms = 8 |
Static Protected Attributes inherited from G4GDMLWriteDefine | |
static const G4double | kRelativePrecision = DBL_EPSILON |
static const G4double | kAngularPrecision = DBL_EPSILON |
static const G4double | kLinearPrecision = DBL_EPSILON |
Static Protected Attributes inherited from G4GDMLWrite | |
static G4bool | addPointerToName = true |
Definition at line 56 of file G4GDMLWriteStructure.hh.
G4GDMLWriteStructure::G4GDMLWriteStructure | ( | ) |
Definition at line 48 of file G4GDMLWriteStructure.cc.
|
virtual |
Definition at line 53 of file G4GDMLWriteStructure.cc.
|
protected |
Definition at line 207 of file G4GDMLWriteStructure.cc.
References borderElementVec, FatalException, FindOpticalSurface(), G4Exception(), G4GDMLWrite::GenerateName(), G4LogicalSurface::GetName(), G4SurfaceProperty::GetName(), G4VPhysicalVolume::GetName(), G4LogicalSurface::GetSurfaceProperty(), G4LogicalBorderSurface::GetVolume1(), G4LogicalBorderSurface::GetVolume2(), G4GDMLWrite::NewAttribute(), G4GDMLWrite::NewElement(), G4GDMLWriteSolids::OpticalSurfaceWrite(), and G4GDMLWriteSolids::solidsElement.
Referenced by TraverseVolumeTree().
|
protected |
Definition at line 58 of file G4GDMLWriteStructure.cc.
References G4GDMLWrite::GenerateName(), G4PVDivision::GetDivisionAxis(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetName(), G4PVDivision::GetReplicationData(), kPhi, kRho, kUndefined, kXAxis, kYAxis, kZAxis, name, G4GDMLWrite::NewAttribute(), G4GDMLWrite::NewElement(), and width.
Referenced by TraverseVolumeTree().
|
protected |
Definition at line 283 of file G4GDMLWriteStructure.cc.
Referenced by BorderSurfaceCache(), and SkinSurfaceCache().
|
protected |
Definition at line 316 of file G4GDMLWriteStructure.cc.
References G4LogicalBorderSurface::GetNumberOfBorderSurfaces(), G4LogicalBorderSurface::GetSurfaceTable(), and pos.
Referenced by TraverseVolumeTree().
|
protected |
Definition at line 295 of file G4GDMLWriteStructure.cc.
References G4LogicalSkinSurface::GetNumberOfSkinSurfaces(), G4LogicalSkinSurface::GetSurfaceTable(), and pos.
Referenced by TraverseVolumeTree().
|
protected |
Definition at line 96 of file G4GDMLWriteStructure.cc.
References G4GDMLWrite::GenerateName(), G4GDMLWriteDefine::GetAngles(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetName(), G4GDMLWriteDefine::kAngularPrecision, G4GDMLWriteDefine::kLinearPrecision, G4GDMLWriteDefine::kRelativePrecision, name, G4GDMLWrite::NewAttribute(), G4GDMLWrite::NewElement(), pos, G4GDMLWriteDefine::PositionWrite(), G4GDMLWriteDefine::RotationWrite(), and G4GDMLWriteDefine::ScaleWrite().
Referenced by TraverseVolumeTree().
|
protected |
Definition at line 155 of file G4GDMLWriteStructure.cc.
References G4GDMLWrite::GenerateName(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetName(), G4VPhysicalVolume::GetReplicationData(), kPhi, kRho, kUndefined, kXAxis, kYAxis, kZAxis, G4GDMLWrite::NewAttribute(), G4GDMLWrite::NewElement(), and width.
Referenced by TraverseVolumeTree().
|
protected |
Definition at line 248 of file G4GDMLWriteStructure.cc.
References FatalException, FindOpticalSurface(), G4Exception(), G4GDMLWrite::GenerateName(), G4LogicalSkinSurface::GetLogicalVolume(), G4LogicalSurface::GetName(), G4SurfaceProperty::GetName(), G4LogicalVolume::GetName(), G4LogicalSurface::GetSurfaceProperty(), G4GDMLWrite::NewAttribute(), G4GDMLWrite::NewElement(), G4GDMLWriteSolids::OpticalSurfaceWrite(), skinElementVec, and G4GDMLWriteSolids::solidsElement.
Referenced by TraverseVolumeTree().
|
virtual |
Implements G4GDMLWrite.
Definition at line 351 of file G4GDMLWriteStructure.cc.
References G4cout, G4endl, G4GDMLWrite::NewElement(), and structureElement.
|
protectedvirtual |
Implements G4GDMLWrite.
Definition at line 336 of file G4GDMLWriteStructure.cc.
References borderElementVec, G4cout, G4endl, pos, skinElementVec, and structureElement.
|
protectedvirtual |
Implements G4GDMLWrite.
Definition at line 360 of file G4GDMLWriteStructure.cc.
References G4GDMLWrite::AddExtension(), G4GDMLWriteMaterials::AddMaterial(), G4GDMLWriteSolids::AddSolid(), BorderSurfaceCache(), DivisionvolWrite(), FatalException, G4Exception(), G4GDMLWrite::GenerateName(), GetBorderSurface(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetFrameRotation(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), G4VSolid::GetName(), G4Material::GetName(), G4LogicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), G4VPhysicalVolume::GetObjectTranslation(), GetSkinSurface(), G4LogicalVolume::GetSolid(), G4VPhysicalVolume::IsParameterised(), G4VPhysicalVolume::IsReplicated(), G4GDMLWriteDefine::kRelativePrecision, G4GDMLWriteSolids::maxTransforms, G4GDMLWrite::Modularize(), name, G4GDMLWrite::NewAttribute(), G4GDMLWrite::NewElement(), G4GDMLWriteParamvol::ParamvolWrite(), PhysvolWrite(), ReplicavolWrite(), G4GDMLWrite::SchemaLocation, SkinSurfaceCache(), structureElement, G4GDMLWrite::VolumeMap(), and G4GDMLWrite::Write().
|
protected |
Definition at line 84 of file G4GDMLWriteStructure.hh.
Referenced by BorderSurfaceCache(), and SurfacesWrite().
|
private |
Definition at line 89 of file G4GDMLWriteStructure.hh.
Referenced by FindOpticalSurface().
|
protected |
Definition at line 85 of file G4GDMLWriteStructure.hh.
Referenced by SkinSurfaceCache(), and SurfacesWrite().
|
protected |
Definition at line 83 of file G4GDMLWriteStructure.hh.
Referenced by StructureWrite(), SurfacesWrite(), and TraverseVolumeTree().