Geant4
10.00.p02
|
#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 | 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 52 of file G4GDMLReadSolids.hh.
|
private |
Enumerator | |
---|---|
UNION | |
SUBTRACTION | |
INTERSECTION |
Definition at line 54 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 1670 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 770 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 933 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 1383 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
Definition at line 2252 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4SolidStore::GetInstance(), and G4SolidStore::GetSolid().
Referenced by BooleanRead(), ReflectedSolidRead(), G03ColorReader::VolumeRead(), and G4GDMLReadStructure::VolumeRead().
G4SurfaceProperty * G4GDMLReadSolids::GetSurfaceProperty | ( | const G4String & | ref | ) | const |
Definition at line 2267 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 538 of file G4GDMLReadSolids.cc.
References G4Exception(), and JustWarning.
Referenced by SolidsRead().
|
protected |
Definition at line 2071 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 545 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 641 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 584 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 687 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 848 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 1015 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 1066 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 2036 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 1124 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), and G4GDMLRead::Transcode().
Referenced by XtruRead().
|
virtual |
Implements G4GDMLRead.
Definition at line 2190 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 1167 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1224 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 1280 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 1329 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1449 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 1520 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 1571 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 1617 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 1733 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 1784 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 1857 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 1914 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1968 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 2002 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().