33#ifndef G4GMocrenFile_SCENE_HANDLER_HH
34#define G4GMocrenFile_SCENE_HANDLER_HH
117 void InitializeParameters();
123 void AddDetector(
const G4VSolid & solid);
124 void ExtractDetector();
133 std::map<G4int, float> kModality;
134 G4int kModalitySize[3];
136 G4bool kbSetModalityVoxelSize;
137 G4bool kbModelingTrajectory;
139 static G4int kSceneIdCount;
149 unsigned char color[3];
154 std::vector<Detector> kDetectors;
157 std::vector<G4String> kNestedVolumeNames;
158 G4int kNestedVolumeDimension[3];
159 G4int kNestedVolumeDirAxis[3];
166 Index3D(
const Index3D & _index3D);
169 G4bool operator < (
const Index3D & _right)
const;
170 G4bool operator == (
const Index3D & _right)
const;
177 std::map<Index3D, float> kNestedModality;
179 std::map<G4String, std::map<Index3D, G4double> > kNestedHitsList;
182 std::ofstream kGddDest;
192 G4bool kFlagSaving_g4_gdd ;
194 G4int kFlagParameterization;
197 G4bool kFlagProcessedInteractiveScorer;
199 char kGddDestDir[256];
200 char kGddFileName[256];
CLHEP::Hep3Vector G4ThreeVector
G4Box is a cuboid of given half lengths dx,dy,dz. The Box is centred on the origin with sides paralle...
G4Cons is, in the general case, a Phi segment of a cone, with half-length fDz, inner and outer radii ...
G4GMocrenFileSceneHandler(G4GMocrenFile &system, G4GMocrenMessenger &messenger, const G4String &name="")
virtual void BeginModeling()
void AddCompound(const G4VTrajectory &traj)
G4GMocrenFile & GetSystem()
void BeginSavingGdd(void)
const char * GetGddFileName()
void ClearTransientStore()
void AddSolid(const G4Box &box)
friend class G4GMocrenFileViewer
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
virtual void EndPrimitives()
virtual ~G4GMocrenFileSceneHandler()
virtual void EndModeling()
void AddPrimitive(const G4Polyline &line)
G4Para represents a parallelepiped, essentially a box with half lengths dx,dy,dz 'skewed' so that the...
G4Sphere is, in the general case, a section of a spherical shell, between specified phi and theta ang...
G4Torus represents a torus or torus segment with curved sides parallel to the z-axis....
G4Trap is a general trapezoid: the faces perpendicular to the Z planes are trapezia,...
G4Trd is a trapezoid with the X and Y dimensions varying along Z.
G4Tubs is a tube or tube segment with curved sides parallel to the Z-axis. The tube has a specified h...
virtual void BeginModeling()
virtual void EndModeling()
G4VSceneHandler(G4VGraphicsSystem &system, G4int id, const G4String &name="")
virtual void AddSolid(const G4Box &)
virtual void AddCompound(const G4VTrajectory &)
virtual void AddPrimitive(const G4Polyline &)=0
G4VSolid is an abstract base class for solids, physical shapes that can be tracked through....