33 #ifndef G4HEPREPSCENEHANDLER_HH
34 #define G4HEPREPSCENEHANDLER_HH 1
116 static G4int sceneIdCount;
141 setAttribute(attribute, name,
G4String(value));
159 void addAttVals(
HEPREP::HepRepAttribute* attribute,
const std::map<G4String,G4AttDef>* attDefs, std::vector<G4AttValue>* attValues);
185 G4String getParentTypeName(
int currentDepth);
188 G4String geometryLayer, eventLayer, calHitLayer;
196 G4int eventNumberWidth;
201 G4bool writeMultipleFiles;
209 std::vector<HEPREP::HepRepInstance*> _geometryInstance;
212 std::vector<G4String> _geometryTypeName;
213 std::map<G4String, HEPREP::HepRepType*> _geometryType;
224 std::map<int, G4String> materialState;
void AddSolid(const G4Box &box)
void BeginPrimitives(const G4Transform3D &objectTransformation)
bool closeHepRep(bool final=false)
void openFile(G4String name)
void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &visAttribs)
void AddCompound(const G4VDigi &digi)
virtual ~G4HepRepSceneHandler()
virtual void AddCompound(const G4VTrajectory &)
void AddCompound(const G4THitsMap< G4double > &hits)
void AddCompound(const G4VTrajectory &)
system("rm -rf dna.root")
G4HepRepSceneHandler(G4VGraphicsSystem &system, const G4String &name="")
const XML_Char int const XML_Char * value
void AddPrimitive(const G4Polyline &)