Geant4
10.01.p01
|
#include <G4GDMLReadSolids.hh>
Classes | |
struct | rzPointType |
struct | zplaneType |
Public Member Functions | |
G4VSolid * | GetSolid (const G4String &) const |
G4SurfaceProperty * | GetSurfaceProperty (const G4String &) const |
virtual void | SolidsRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLReadMaterials | |
G4Element * | GetElement (const G4String &, G4bool verbose=true) const |
G4Isotope * | GetIsotope (const G4String &, G4bool verbose=true) const |
G4Material * | GetMaterial (const G4String &, G4bool verbose=true) const |
virtual void | MaterialsRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLReadDefine | |
G4bool | IsValidID (const G4String &) const |
G4double | GetConstant (const G4String &) |
G4double | GetVariable (const G4String &) |
G4double | GetQuantity (const G4String &) |
G4ThreeVector | GetPosition (const G4String &) |
G4ThreeVector | GetRotation (const G4String &) |
G4ThreeVector | GetScale (const G4String &) |
G4GDMLMatrix | GetMatrix (const G4String &) |
virtual void | DefineRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLRead | |
virtual void | SetupRead (const xercesc::DOMElement *const)=0 |
virtual void | Paramvol_contentRead (const xercesc::DOMElement *const)=0 |
virtual void | Volume_contentRead (const xercesc::DOMElement *const)=0 |
virtual void | StructureRead (const xercesc::DOMElement *const)=0 |
virtual void | ExtensionRead (const xercesc::DOMElement *const) |
virtual G4LogicalVolume * | GetVolume (const G4String &) const =0 |
virtual G4String | GetSetup (const G4String &)=0 |
void | Read (const G4String &, G4bool validation, G4bool isModule, G4bool strip=true) |
void | StripNames () const |
void | OverlapCheck (G4bool) |
Protected Member Functions | |
G4GDMLReadSolids () | |
virtual | ~G4GDMLReadSolids () |
void | BooleanRead (const xercesc::DOMElement *const, const BooleanOp) |
void | BoxRead (const xercesc::DOMElement *const) |
void | ConeRead (const xercesc::DOMElement *const) |
void | ElconeRead (const xercesc::DOMElement *const) |
void | EllipsoidRead (const xercesc::DOMElement *const) |
void | EltubeRead (const xercesc::DOMElement *const) |
void | XtruRead (const xercesc::DOMElement *const) |
void | HypeRead (const xercesc::DOMElement *const) |
void | MultiUnionNodeRead (const xercesc::DOMElement *const, G4MultiUnion *const) |
void | MultiUnionRead (const xercesc::DOMElement *const) |
void | OrbRead (const xercesc::DOMElement *const) |
void | ParaRead (const xercesc::DOMElement *const) |
void | ParaboloidRead (const xercesc::DOMElement *const) |
void | PolyconeRead (const xercesc::DOMElement *const) |
void | GenericPolyconeRead (const xercesc::DOMElement *const) |
void | PolyhedraRead (const xercesc::DOMElement *const) |
void | GenericPolyhedraRead (const xercesc::DOMElement *const) |
G4QuadrangularFacet * | QuadrangularRead (const xercesc::DOMElement *const) |
void | ReflectedSolidRead (const xercesc::DOMElement *const) |
G4ExtrudedSolid::ZSection | SectionRead (const xercesc::DOMElement *const, G4double) |
void | SphereRead (const xercesc::DOMElement *const) |
void | TessellatedRead (const xercesc::DOMElement *const) |
void | TetRead (const xercesc::DOMElement *const) |
void | TorusRead (const xercesc::DOMElement *const) |
void | GenTrapRead (const xercesc::DOMElement *const) |
void | TrapRead (const xercesc::DOMElement *const) |
void | TrdRead (const xercesc::DOMElement *const) |
void | TubeRead (const xercesc::DOMElement *const) |
void | CutTubeRead (const xercesc::DOMElement *const) |
void | TwistedboxRead (const xercesc::DOMElement *const) |
void | TwistedtrapRead (const xercesc::DOMElement *const) |
void | TwistedtrdRead (const xercesc::DOMElement *const) |
void | TwistedtubsRead (const xercesc::DOMElement *const) |
G4TriangularFacet * | TriangularRead (const xercesc::DOMElement *const) |
G4TwoVector | TwoDimVertexRead (const xercesc::DOMElement *const, G4double) |
zplaneType | ZplaneRead (const xercesc::DOMElement *const) |
rzPointType | RZPointRead (const xercesc::DOMElement *const) |
void | OpticalSurfaceRead (const xercesc::DOMElement *const) |
Protected Member Functions inherited from G4GDMLReadMaterials | |
G4GDMLReadMaterials () | |
virtual | ~G4GDMLReadMaterials () |
G4double | AtomRead (const xercesc::DOMElement *const) |
G4int | CompositeRead (const xercesc::DOMElement *const, G4String &) |
G4double | DRead (const xercesc::DOMElement *const) |
G4double | PRead (const xercesc::DOMElement *const) |
G4double | TRead (const xercesc::DOMElement *const) |
G4double | MEERead (const xercesc::DOMElement *const) |
void | ElementRead (const xercesc::DOMElement *const) |
G4double | FractionRead (const xercesc::DOMElement *const, G4String &) |
void | IsotopeRead (const xercesc::DOMElement *const) |
void | MaterialRead (const xercesc::DOMElement *const) |
void | MixtureRead (const xercesc::DOMElement *const, G4Element *) |
void | MixtureRead (const xercesc::DOMElement *const, G4Material *) |
void | PropertyRead (const xercesc::DOMElement *const, G4Material *) |
Protected Member Functions inherited from G4GDMLReadDefine | |
G4GDMLReadDefine () | |
virtual | ~G4GDMLReadDefine () |
G4RotationMatrix | GetRotationMatrix (const G4ThreeVector &) |
void | VectorRead (const xercesc::DOMElement *const, G4ThreeVector &) |
G4String | RefRead (const xercesc::DOMElement *const) |
void | ConstantRead (const xercesc::DOMElement *const) |
void | MatrixRead (const xercesc::DOMElement *const) |
void | PositionRead (const xercesc::DOMElement *const) |
void | RotationRead (const xercesc::DOMElement *const) |
void | ScaleRead (const xercesc::DOMElement *const) |
void | VariableRead (const xercesc::DOMElement *const) |
void | QuantityRead (const xercesc::DOMElement *const) |
void | ExpressionRead (const xercesc::DOMElement *const) |
Protected Member Functions inherited from G4GDMLRead | |
G4GDMLRead () | |
virtual | ~G4GDMLRead () |
G4String | Transcode (const XMLCh *const) |
G4String | GenerateName (const G4String &name, G4bool strip=false) |
G4String | Strip (const G4String &) const |
void | StripName (G4String &) const |
void | GeneratePhysvolName (const G4String &, G4VPhysicalVolume *) |
void | LoopRead (const xercesc::DOMElement *const, void(G4GDMLRead::*)(const xercesc::DOMElement *const)) |
Private Types | |
enum | BooleanOp { UNION, SUBTRACTION, INTERSECTION } |
Additional Inherited Members | |
Protected Attributes inherited from G4GDMLReadDefine | |
std::map< G4String, G4double > | quantityMap |
std::map< G4String, G4ThreeVector > | positionMap |
std::map< G4String, G4ThreeVector > | rotationMap |
std::map< G4String, G4ThreeVector > | scaleMap |
std::map< G4String, G4GDMLMatrix > | matrixMap |
Protected Attributes inherited from G4GDMLRead | |
G4GDMLEvaluator | eval |
G4bool | validate |
G4bool | check |
Definition at line 53 of file G4GDMLReadSolids.hh.
|
private |
Enumerator | |
---|---|
UNION | |
SUBTRACTION | |
INTERSECTION |
Definition at line 55 of file G4GDMLReadSolids.hh.
|
protected |
Definition at line 71 of file G4GDMLReadSolids.cc.
|
protectedvirtual |
Definition at line 75 of file G4GDMLReadSolids.cc.
|
protected |
Definition at line 80 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), G4GDMLReadDefine::GetRotation(), G4GDMLReadDefine::GetRotationMatrix(), GetSolid(), INTERSECTION, name, position, G4GDMLReadDefine::RefRead(), SUBTRACTION, G4GDMLRead::Transcode(), UNION, and G4GDMLReadDefine::VectorRead().
Referenced by SolidsRead().
|
protected |
Definition at line 177 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 222 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1803 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 282 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 329 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 381 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 903 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, RZPointRead(), and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1066 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), G4GDMLEvaluator::EvaluateInteger(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, RZPointRead(), and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1516 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
Definition at line 2385 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4SolidStore::GetInstance(), and G4SolidStore::GetSolid().
Referenced by BooleanRead(), MultiUnionNodeRead(), ReflectedSolidRead(), G03ColorReader::VolumeRead(), and G4GDMLReadStructure::VolumeRead().
G4SurfaceProperty * G4GDMLReadSolids::GetSurfaceProperty | ( | const G4String & | ref | ) | const |
Definition at line 2400 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), and G4SurfaceProperty::GetSurfacePropertyTable().
Referenced by G4GDMLReadStructure::BorderSurfaceRead(), and G4GDMLReadStructure::SkinSurfaceRead().
|
protected |
Definition at line 485 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 539 of file G4GDMLReadSolids.cc.
References G4UMultiUnion::AddNode(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), G4GDMLReadDefine::GetRotation(), G4GDMLReadDefine::GetRotationMatrix(), GetSolid(), name, position, G4GDMLReadDefine::RefRead(), G4GDMLRead::Transcode(), and G4GDMLReadDefine::VectorRead().
Referenced by MultiUnionRead().
|
protected |
Definition at line 614 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), MultiUnionNodeRead(), name, G4GDMLRead::Transcode(), and G4UMultiUnion::Voxelize().
Referenced by SolidsRead().
|
protected |
Definition at line 2204 of file G4GDMLReadSolids.cc.
References dielectric_dielectric, dielectric_LUT, dielectric_metal, etchedair, etchedlumirrorair, etchedlumirrorglue, etchedteflonair, etchedtioair, etchedtyvekair, etchedvm2000air, etchedvm2000glue, G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, firsov, G4Exception(), G4GDMLRead::GenerateName(), glisur, ground, groundair, groundbackpainted, groundfrontpainted, groundlumirrorair, groundlumirrorglue, groundteflonair, groundtioair, groundtyvekair, groundvm2000air, groundvm2000glue, LUT, name, polished, polishedair, polishedbackpainted, polishedfrontpainted, polishedlumirrorair, polishedlumirrorglue, polishedteflonair, polishedtioair, polishedtyvekair, polishedvm2000air, polishedvm2000glue, G4GDMLRead::Transcode(), unified, and x_ray.
Referenced by SolidsRead().
|
protected |
Definition at line 678 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 774 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 717 of file G4GDMLReadSolids.cc.
References alpha, G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 820 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and ZplaneRead().
Referenced by SolidsRead().
|
protected |
Definition at line 981 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), G4GDMLEvaluator::EvaluateInteger(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and ZplaneRead().
Referenced by SolidsRead().
|
protected |
Definition at line 1148 of file G4GDMLReadSolids.cc.
References ABSOLUTE, G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), RELATIVE, and G4GDMLRead::Transcode().
Referenced by TessellatedRead().
|
protected |
Definition at line 1199 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetRotationMatrix(), GetSolid(), name, position, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 2169 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLReadSolids::rzPointType::r, G4GDMLRead::Transcode(), and G4GDMLReadSolids::rzPointType::z.
Referenced by GenericPolyconeRead(), and GenericPolyhedraRead().
|
protected |
Definition at line 1257 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), and G4GDMLRead::Transcode().
Referenced by XtruRead().
|
virtual |
Implements G4GDMLRead.
Definition at line 2323 of file G4GDMLReadSolids.cc.
References BooleanRead(), BoxRead(), ConeRead(), CutTubeRead(), G4GDMLReadDefine::DefineRead(), ElconeRead(), EllipsoidRead(), EltubeRead(), FatalException, G4cout, G4endl, G4Exception(), GenericPolyconeRead(), GenericPolyhedraRead(), GenTrapRead(), HypeRead(), INTERSECTION, G4GDMLRead::LoopRead(), MultiUnionRead(), OpticalSurfaceRead(), OrbRead(), ParaboloidRead(), ParaRead(), PolyconeRead(), PolyhedraRead(), ReflectedSolidRead(), G4GDMLRead::SolidsRead(), SphereRead(), SUBTRACTION, TessellatedRead(), TetRead(), TorusRead(), G4GDMLRead::Transcode(), TrapRead(), TrdRead(), TubeRead(), TwistedboxRead(), TwistedtrapRead(), TwistedtrdRead(), TwistedtubsRead(), UNION, and XtruRead().
|
protected |
Definition at line 1300 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1357 of file G4GDMLReadSolids.cc.
References G4TessellatedSolid::AddFacet(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, QuadrangularRead(), G4TessellatedSolid::SetSolidClosed(), G4GDMLRead::Transcode(), and TriangularRead().
Referenced by SolidsRead().
|
protected |
Definition at line 1413 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1462 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1582 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1653 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1704 of file G4GDMLReadSolids.cc.
References ABSOLUTE, G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), RELATIVE, and G4GDMLRead::Transcode().
Referenced by TessellatedRead().
|
protected |
Definition at line 1750 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1866 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1917 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1990 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 2047 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 2101 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), and G4GDMLRead::Transcode().
Referenced by XtruRead().
|
protected |
Definition at line 426 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, SectionRead(), G4GDMLRead::Transcode(), and TwoDimVertexRead().
Referenced by SolidsRead().
|
protected |
Definition at line 2135 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLReadSolids::zplaneType::rmax, G4GDMLReadSolids::zplaneType::rmin, G4GDMLRead::Transcode(), and G4GDMLReadSolids::zplaneType::z.
Referenced by G4GDMLReadParamvol::Polycone_dimensionsRead(), PolyconeRead(), G4GDMLReadParamvol::Polyhedra_dimensionsRead(), and PolyhedraRead().