42 , cullInvisibles(false)
43 , cylAsPolygons(false)
47 , pointAttributes(false)
57 "This command is used by HepRepFile, not by HepRepXML.");
59 if(std::getenv(
"G4HEPREPFILE_DIR") == NULL)
66 fileDir = std::getenv(
"G4HEPREPFILE_DIR");
73 "This command is used by HepRepFile, not by HepRepXML.");
75 if(std::getenv(
"G4HEPREPFILE_NAME") == NULL)
82 fileName = std::getenv(
"G4HEPREPFILE_NAME");
88 "Set true to write all output to exact same file name.");
90 "Set false to increment the file name for each new output.");
92 "This command is used by HepRepFile, not by HepRepXML.");
94 if(std::getenv(
"G4HEPREPFILE_OVERWRITE") == NULL)
109 "Remove invisible objects from output file.");
111 "This command is used by HepRepFile, not by HepRepXML.");
113 if(std::getenv(
"G4HEPREPFILE_CULL") == NULL)
128 "Render cylinders and cones as polygons.");
130 "This command is used by HepRepFile, not by HepRepXML.");
150 "Write separate event files, appended with given suffix.");
152 "Define the suffix with a pattern such as '-0000'.");
154 "This command is used by HepRepXML, not by HepRepFile.");
162 "Appends copy of geometry to every event.");
164 "This command is used by HepRepXML, not by HepRepFile.");
172 "Adds point attributes to the points of trajectories.");
174 "This command is used by HepRepXML, not by HepRepFile.");
181 "Use HepRep Solids, rather than Geant4 Primitives.");
183 "This command is used by HepRepXML, not by HepRepFile..");
CLHEP::Hep3Vector G4ThreeVector
virtual G4String GetCurrentValue(G4UIcommand *command)
virtual G4bool renderCylAsPolygons()
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
G4UIcmdWithABool * renderCylAsPolygonsCommand
virtual G4String getFileName()
virtual G4bool addPointAttributes()
G4UIcmdWithABool * appendGeometryCommand
G4UIdirectory * heprepDirectory
virtual G4bool writeInvisibles()
G4UIcmdWithABool * useSolidsCommand
G4UIcmdWith3VectorAndUnit * setCenterCommand
virtual G4double getScale()
virtual ~G4HepRepMessenger()
virtual G4bool useSolids()
G4UIcmdWithAString * setFileNameCommand
virtual G4String getEventNumberSuffix()
static G4HepRepMessenger * fpInstance
G4UIcmdWithAString * setEventNumberSuffixCommand
G4UIcmdWithADouble * setScaleCommand
virtual G4String getFileDir()
virtual G4bool getCullInvisibles()
virtual G4bool appendGeometry()
G4UIcmdWithAString * setFileDirCommand
virtual G4bool getOverwrite()
static G4HepRepMessenger * GetInstance()
G4UIcmdWithABool * setCullInvisiblesCommand
G4UIcmdWithABool * addPointAttributesCommand
virtual G4ThreeVector getCenter()
G4UIcmdWithABool * setOverwriteCommand
void SetDefaultUnit(const char *defUnit)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4ThreeVector defVal)
static G4bool GetNewBoolValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4double GetNewDoubleValue(const char *paramString)
void SetDefaultValue(G4double defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
static G4String ConvertToString(G4bool boolVal)
void SetGuidance(const char *aGuidance)
static G4bool ConvertToBool(const char *st)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)