Geant4-11
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Static Private Attributes
G4HepRepMessenger Class Reference

#include <G4HepRepMessenger.hh>

Inheritance diagram for G4HepRepMessenger:
G4UImessenger

Public Member Functions

virtual G4bool addPointAttributes ()
 
virtual G4bool appendGeometry ()
 
G4bool CommandsShouldBeInMaster () const
 
virtual G4ThreeVector getCenter ()
 
virtual G4bool getCullInvisibles ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
virtual G4String getEventNumberSuffix ()
 
virtual G4String getFileDir ()
 
virtual G4String getFileName ()
 
virtual G4bool getOverwrite ()
 
virtual G4double getScale ()
 
G4bool operator!= (const G4UImessenger &messenger) const
 
G4bool operator== (const G4UImessenger &messenger) const
 
virtual G4bool renderCylAsPolygons ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
virtual G4bool useSolids ()
 
virtual G4bool writeInvisibles ()
 
virtual ~G4HepRepMessenger ()
 

Static Public Member Functions

static G4HepRepMessengerGetInstance ()
 

Protected Member Functions

void AddUIcommand (G4UIcommand *newCommand)
 
G4String BtoS (G4bool b)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
G4String DtoS (G4double a)
 
G4String ItoS (G4int i)
 
G4bool StoB (G4String s)
 
G4double StoD (G4String s)
 
G4int StoI (G4String s)
 
G4long StoL (G4String s)
 

Protected Attributes

G4UIdirectorybaseDir = nullptr
 
G4String baseDirName = ""
 
G4bool commandsShouldBeInMaster = false
 

Private Member Functions

 G4HepRepMessenger ()
 

Private Attributes

G4UIcmdWithABooladdPointAttributesCommand
 
G4UIcmdWithABoolappendGeometryCommand
 
G4ThreeVector center
 
G4bool cullInvisibles
 
G4bool cylAsPolygons
 
G4String fileDir
 
G4String fileName
 
G4bool geometry
 
G4UIdirectoryheprepDirectory
 
G4bool invisibles
 
G4bool overwrite
 
G4bool pointAttributes
 
G4UIcmdWithABoolrenderCylAsPolygonsCommand
 
G4double scale
 
G4UIcmdWith3VectorAndUnitsetCenterCommand
 
G4UIcmdWithABoolsetCullInvisiblesCommand
 
G4UIcmdWithAStringsetEventNumberSuffixCommand
 
G4UIcmdWithAStringsetFileDirCommand
 
G4UIcmdWithAStringsetFileNameCommand
 
G4UIcmdWithABoolsetOverwriteCommand
 
G4UIcmdWithADoublesetScaleCommand
 
G4bool solids
 
G4String suffix
 
G4UIcmdWithABooluseSolidsCommand
 

Static Private Attributes

static G4HepRepMessengerfpInstance = 0
 

Detailed Description

Definition at line 40 of file G4HepRepMessenger.hh.

Constructor & Destructor Documentation

◆ ~G4HepRepMessenger()

G4HepRepMessenger::~G4HepRepMessenger ( )
virtual

Definition at line 189 of file G4HepRepMessenger.cc.

190{
191 delete setFileDirCommand;
192 delete setFileNameCommand;
193 delete setOverwriteCommand;
196 delete setScaleCommand;
197 delete setCenterCommand;
201 delete useSolidsCommand;
202 delete heprepDirectory;
203}
G4UIcmdWithABool * renderCylAsPolygonsCommand
G4UIcmdWithABool * appendGeometryCommand
G4UIdirectory * heprepDirectory
G4UIcmdWithABool * useSolidsCommand
G4UIcmdWith3VectorAndUnit * setCenterCommand
G4UIcmdWithAString * setFileNameCommand
G4UIcmdWithAString * setEventNumberSuffixCommand
G4UIcmdWithADouble * setScaleCommand
G4UIcmdWithAString * setFileDirCommand
G4UIcmdWithABool * setCullInvisiblesCommand
G4UIcmdWithABool * addPointAttributesCommand
G4UIcmdWithABool * setOverwriteCommand

References addPointAttributesCommand, appendGeometryCommand, heprepDirectory, renderCylAsPolygonsCommand, setCenterCommand, setCullInvisiblesCommand, setEventNumberSuffixCommand, setFileDirCommand, setFileNameCommand, setOverwriteCommand, setScaleCommand, and useSolidsCommand.

◆ G4HepRepMessenger()

G4HepRepMessenger::G4HepRepMessenger ( )
private

Definition at line 38 of file G4HepRepMessenger.cc.

39 : fileDir("")
40 , fileName("G4Data")
41 , overwrite(false)
42 , cullInvisibles(false)
43 , cylAsPolygons(false)
44 , scale(1.)
45 , suffix("")
46 , geometry(true)
47 , pointAttributes(false)
48 , solids(true)
49 , invisibles(true)
50{
51 heprepDirectory = new G4UIdirectory("/vis/heprep/");
52 heprepDirectory->SetGuidance("HepRep commands.");
53
54 setFileDirCommand = new G4UIcmdWithAString("/vis/heprep/setFileDir", this);
55 setFileDirCommand->SetGuidance("Set directory for output.");
57 "This command is used by HepRepFile, not by HepRepXML.");
58 setFileDirCommand->SetParameterName("directory", false);
59 if(std::getenv("G4HEPREPFILE_DIR") == NULL)
60 {
62 }
63 else
64 {
65 setFileDirCommand->SetDefaultValue(std::getenv("G4HEPREPFILE_DIR"));
66 fileDir = std::getenv("G4HEPREPFILE_DIR");
67 }
69
70 setFileNameCommand = new G4UIcmdWithAString("/vis/heprep/setFileName", this);
71 setFileNameCommand->SetGuidance("Set file name for output.");
73 "This command is used by HepRepFile, not by HepRepXML.");
74 setFileNameCommand->SetParameterName("directory", false);
75 if(std::getenv("G4HEPREPFILE_NAME") == NULL)
76 {
78 }
79 else
80 {
81 setFileNameCommand->SetDefaultValue(std::getenv("G4HEPREPFILE_NAME"));
82 fileName = std::getenv("G4HEPREPFILE_NAME");
83 }
85
86 setOverwriteCommand = new G4UIcmdWithABool("/vis/heprep/setOverwrite", this);
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)
95 {
97 }
98 else
99 {
100 setOverwriteCommand->SetDefaultValue(std::getenv("G4HEPREPFILE_OVERWRITE"));
101 overwrite =
102 setOverwriteCommand->ConvertToBool(std::getenv("G4HEPREPFILE_OVERWRITE"));
103 }
105
107 new G4UIcmdWithABool("/vis/heprep/setCullInvisibles", this);
109 "Remove invisible objects from output file.");
111 "This command is used by HepRepFile, not by HepRepXML.");
113 if(std::getenv("G4HEPREPFILE_CULL") == NULL)
114 {
116 }
117 else
118 {
119 setCullInvisiblesCommand->SetDefaultValue(std::getenv("G4HEPREPFILE_CULL"));
121 setCullInvisiblesCommand->ConvertToBool(std::getenv("G4HEPREPFILE_CULL"));
122 }
124
126 new G4UIcmdWithABool("/vis/heprep/renderCylAsPolygons", this);
128 "Render cylinders and cones as polygons.");
130 "This command is used by HepRepFile, not by HepRepXML.");
134
135 setScaleCommand = new G4UIcmdWithADouble("/vis/heprep/scale", this);
136 setScaleCommand->SetGuidance("Re-Scale coordinates.");
137 setScaleCommand->SetParameterName("Scale", true);
139 setScaleCommand->SetRange("Scale > 0");
140
141 setCenterCommand = new G4UIcmdWith3VectorAndUnit("/vis/heprep/center", this);
142 setCenterCommand->SetGuidance("Re-Center coordinates.");
143 setCenterCommand->SetParameterName("CenterX", "CenterY", "CenterZ", true);
146
148 new G4UIcmdWithAString("/vis/heprep/setEventNumberSuffix", this);
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.");
158
160 new G4UIcmdWithABool("/vis/heprep/appendGeometry", this);
162 "Appends copy of geometry to every event.");
164 "This command is used by HepRepXML, not by HepRepFile.");
168
170 new G4UIcmdWithABool("/vis/heprep/addPointAttributes", this);
172 "Adds point attributes to the points of trajectories.");
174 "This command is used by HepRepXML, not by HepRepFile.");
178
179 useSolidsCommand = new G4UIcmdWithABool("/vis/heprep/useSolids", this);
181 "Use HepRep Solids, rather than Geant4 Primitives.");
183 "This command is used by HepRepXML, not by HepRepFile..");
184 useSolidsCommand->SetParameterName("flag", false);
187}
@ G4State_Idle
CLHEP::Hep3Vector G4ThreeVector
void SetDefaultUnit(const char *defUnit)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4ThreeVector defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4double defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:156
static G4bool ConvertToBool(const char *st)
Definition: G4UIcommand.cc:545
void SetRange(const char *rs)
Definition: G4UIcommand.hh:120
void AvailableForStates(G4ApplicationState s1)
Definition: G4UIcommand.cc:288

References addPointAttributesCommand, appendGeometryCommand, G4UIcommand::AvailableForStates(), G4UIcommand::ConvertToBool(), cullInvisibles, fileDir, fileName, G4State_Idle, heprepDirectory, overwrite, renderCylAsPolygonsCommand, setCenterCommand, setCullInvisiblesCommand, G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithAString::SetDefaultValue(), G4UIcmdWithABool::SetDefaultValue(), G4UIcmdWithADouble::SetDefaultValue(), G4UIcmdWith3VectorAndUnit::SetDefaultValue(), setEventNumberSuffixCommand, setFileDirCommand, setFileNameCommand, G4UIcommand::SetGuidance(), setOverwriteCommand, G4UIcmdWithABool::SetParameterName(), G4UIcmdWithADouble::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), G4UIcommand::SetRange(), setScaleCommand, and useSolidsCommand.

Referenced by GetInstance().

Member Function Documentation

◆ addPointAttributes()

G4bool G4HepRepMessenger::addPointAttributes ( )
virtual

Definition at line 323 of file G4HepRepMessenger.cc.

323{ return pointAttributes; }

References pointAttributes.

◆ AddUIcommand()

void G4UImessenger::AddUIcommand ( G4UIcommand newCommand)
protectedinherited

Definition at line 149 of file G4UImessenger.cc.

150{
151 G4cerr << "Warning : Old style definition of G4UIcommand <"
152 << newCommand->GetCommandPath() << ">." << G4endl;
153}
G4GLOB_DLL std::ostream G4cerr
#define G4endl
Definition: G4ios.hh:57
const G4String & GetCommandPath() const
Definition: G4UIcommand.hh:136

References G4cerr, G4endl, and G4UIcommand::GetCommandPath().

◆ appendGeometry()

G4bool G4HepRepMessenger::appendGeometry ( )
virtual

Definition at line 321 of file G4HepRepMessenger.cc.

321{ return geometry; }

References geometry.

◆ BtoS()

G4String G4UImessenger::BtoS ( G4bool  b)
protectedinherited

Definition at line 98 of file G4UImessenger.cc.

99{
100 G4String vl = "0";
101 if(b)
102 vl = "true";
103 return vl;
104}

◆ CommandsShouldBeInMaster()

G4bool G4UImessenger::CommandsShouldBeInMaster ( ) const
inlineinherited

Definition at line 77 of file G4UImessenger.hh.

78 {
80 }
G4bool commandsShouldBeInMaster

References G4UImessenger::commandsShouldBeInMaster.

Referenced by G4UIcommand::G4UIcommandCommonConstructorCode().

◆ CreateCommand()

template<typename T >
T * G4UImessenger::CreateCommand ( const G4String cname,
const G4String dsc 
)
protectedinherited

Definition at line 110 of file G4UImessenger.hh.

111{
112 G4String path;
113 if(cname[0] != '/')
114 {
115 path = baseDirName + cname;
116 if(path[0] != '/')
117 path = "/" + path;
118 }
119
120 T* command = new T(path.c_str(), this);
121 command->SetGuidance(dsc.c_str());
122
123 return command;
124}
G4String baseDirName

References G4UImessenger::baseDirName.

◆ CreateDirectory()

void G4UImessenger::CreateDirectory ( const G4String path,
const G4String dsc,
G4bool  commandsToBeBroadcasted = true 
)
protectedinherited

Definition at line 156 of file G4UImessenger.cc.

158{
160
161 G4String fullpath = path;
162 if(fullpath.back() != '/')
163 fullpath.append("/");
164
165 G4UIcommandTree* tree = ui->GetTree()->FindCommandTree(fullpath.c_str());
166 if(tree != nullptr)
167 {
168 baseDirName = tree->GetPathName();
169 }
170 else
171 {
172 baseDir = new G4UIdirectory(fullpath.c_str(), commandsToBeBroadcasted);
173 baseDirName = fullpath;
174 baseDir->SetGuidance(dsc.c_str());
175 }
176}
const G4String & GetPathName() const
G4UIcommandTree * FindCommandTree(const char *commandPath)
G4UIcommandTree * GetTree() const
Definition: G4UImanager.hh:186
static G4UImanager * GetUIpointer()
Definition: G4UImanager.cc:77
G4UIdirectory * baseDir

References G4UImessenger::baseDir, G4UImessenger::baseDirName, G4UIcommandTree::FindCommandTree(), G4UIcommandTree::GetPathName(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), and G4UIcommand::SetGuidance().

Referenced by G4MoleculeShootMessenger::G4MoleculeShootMessenger(), and G4UImessenger::G4UImessenger().

◆ DtoS()

G4String G4UImessenger::DtoS ( G4double  a)
protectedinherited

Definition at line 90 of file G4UImessenger.cc.

91{
92 std::ostringstream os;
93 os << a;
94 return G4String(os.str());
95}

Referenced by G4ScoreQuantityMessenger::FilterCommands(), and G4UIcontrolMessenger::SetNewValue().

◆ getCenter()

G4ThreeVector G4HepRepMessenger::getCenter ( )
virtual

Definition at line 317 of file G4HepRepMessenger.cc.

317{ return center; }
G4ThreeVector center

References center.

Referenced by G4HepRepFileXMLWriter::addPoint().

◆ getCullInvisibles()

G4bool G4HepRepMessenger::getCullInvisibles ( )
virtual

◆ GetCurrentValue()

G4String G4HepRepMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 205 of file G4HepRepMessenger.cc.

206{
207 if(command == setFileDirCommand)
208 {
209 return fileDir;
210 }
211 else if(command == setFileNameCommand)
212 {
213 return fileName;
214 }
215 else if(command == setOverwriteCommand)
216 {
218 }
219 else if(command == setCullInvisiblesCommand)
220 {
222 }
223 else if(command == renderCylAsPolygonsCommand)
224 {
226 }
227 else if(command == setScaleCommand)
228 {
230 }
231 else if(command == setCenterCommand)
232 {
234 }
235 else if(command == setEventNumberSuffixCommand)
236 {
237 return suffix;
238 }
239 else if(command == appendGeometryCommand)
240 {
242 }
243 else if(command == addPointAttributesCommand)
244 {
246 }
247 else if(command == useSolidsCommand)
248 {
250 }
251 else
252 {
253 return "";
254 }
255}
static G4String ConvertToString(G4bool boolVal)
Definition: G4UIcommand.cc:445

References addPointAttributesCommand, appendGeometryCommand, center, G4UIcommand::ConvertToString(), cullInvisibles, cylAsPolygons, fileDir, fileName, geometry, overwrite, pointAttributes, renderCylAsPolygonsCommand, scale, setCenterCommand, setCullInvisiblesCommand, setEventNumberSuffixCommand, setFileDirCommand, setFileNameCommand, setOverwriteCommand, setScaleCommand, solids, suffix, and useSolidsCommand.

◆ getEventNumberSuffix()

G4String G4HepRepMessenger::getEventNumberSuffix ( )
virtual

Definition at line 319 of file G4HepRepMessenger.cc.

319{ return suffix; }

References suffix.

◆ getFileDir()

G4String G4HepRepMessenger::getFileDir ( )
virtual

Definition at line 305 of file G4HepRepMessenger.cc.

305{ return fileDir; }

References fileDir.

Referenced by G4HepRepFileSceneHandler::CheckFileOpen().

◆ getFileName()

G4String G4HepRepMessenger::getFileName ( )
virtual

Definition at line 307 of file G4HepRepMessenger.cc.

307{ return fileName; }

References fileName.

Referenced by G4HepRepFileSceneHandler::CheckFileOpen().

◆ GetInstance()

G4HepRepMessenger * G4HepRepMessenger::GetInstance ( )
static

◆ getOverwrite()

G4bool G4HepRepMessenger::getOverwrite ( )
virtual

Definition at line 309 of file G4HepRepMessenger.cc.

309{ return overwrite; }

References overwrite.

Referenced by G4HepRepFileSceneHandler::CheckFileOpen().

◆ getScale()

G4double G4HepRepMessenger::getScale ( )
virtual

Definition at line 315 of file G4HepRepMessenger.cc.

315{ return scale; }

References scale.

Referenced by G4HepRepFileXMLWriter::addPoint(), and G4HepRepFileSceneHandler::AddSolid().

◆ ItoS()

G4String G4UImessenger::ItoS ( G4int  i)
protectedinherited

Definition at line 82 of file G4UImessenger.cc.

83{
84 std::ostringstream os;
85 os << i;
86 return G4String(os.str());
87}

Referenced by G4GenericMessenger::DeclareMethod(), and G4ParticleGunMessenger::GetCurrentValue().

◆ operator!=()

G4bool G4UImessenger::operator!= ( const G4UImessenger messenger) const
inherited

Definition at line 76 of file G4UImessenger.cc.

77{
78 return this != &messenger;
79}

◆ operator==()

G4bool G4UImessenger::operator== ( const G4UImessenger messenger) const
inherited

Definition at line 70 of file G4UImessenger.cc.

71{
72 return this == &messenger;
73}

◆ renderCylAsPolygons()

G4bool G4HepRepMessenger::renderCylAsPolygons ( )
virtual

Definition at line 313 of file G4HepRepMessenger.cc.

313{ return cylAsPolygons; }

References cylAsPolygons.

Referenced by G4HepRepFileSceneHandler::AddSolid().

◆ SetNewValue()

void G4HepRepMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 257 of file G4HepRepMessenger.cc.

258{
259 if(command == setFileDirCommand)
260 {
261 fileDir = newValue;
262 }
263 else if(command == setFileNameCommand)
264 {
265 fileName = newValue;
266 }
267 else if(command == setOverwriteCommand)
268 {
270 }
271 else if(command == setCullInvisiblesCommand)
272 {
274 }
275 else if(command == renderCylAsPolygonsCommand)
276 {
278 }
279 else if(command == setScaleCommand)
280 {
282 }
283 else if(command == setCenterCommand)
284 {
286 }
287 else if(command == setEventNumberSuffixCommand)
288 {
289 suffix = newValue;
290 }
291 else if(command == appendGeometryCommand)
292 {
294 }
295 else if(command == addPointAttributesCommand)
296 {
298 }
299 else if(command == useSolidsCommand)
300 {
302 }
303}
static G4ThreeVector GetNew3VectorValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
static G4double GetNewDoubleValue(const char *paramString)

References addPointAttributesCommand, appendGeometryCommand, center, cullInvisibles, cylAsPolygons, fileDir, fileName, geometry, G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithADouble::GetNewDoubleValue(), overwrite, pointAttributes, renderCylAsPolygonsCommand, scale, setCenterCommand, setCullInvisiblesCommand, setEventNumberSuffixCommand, setFileDirCommand, setFileNameCommand, setOverwriteCommand, setScaleCommand, solids, suffix, and useSolidsCommand.

◆ StoB()

G4bool G4UImessenger::StoB ( G4String  s)
protectedinherited

Definition at line 137 of file G4UImessenger.cc.

138{
140 G4bool vl = false;
141 if(v == "Y" || v == "YES" || v == "1" || v == "T" || v == "TRUE")
142 {
143 vl = true;
144 }
145 return vl;
146}
bool G4bool
Definition: G4Types.hh:86
G4String to_upper_copy(G4String str)
Return uppercase copy of string.

References G4StrUtil::to_upper_copy().

Referenced by G4LocalThreadCoutMessenger::SetNewValue(), G4CascadeParamMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().

◆ StoD()

G4double G4UImessenger::StoD ( G4String  s)
protectedinherited

◆ StoI()

G4int G4UImessenger::StoI ( G4String  s)
protectedinherited

◆ StoL()

G4long G4UImessenger::StoL ( G4String  s)
protectedinherited

Definition at line 117 of file G4UImessenger.cc.

118{
119 G4long vl;
120 const char* t = str;
121 std::istringstream is(t);
122 is >> vl;
123 return vl;
124}
long G4long
Definition: G4Types.hh:87

Referenced by G4RunMessenger::SetNewValue().

◆ useSolids()

G4bool G4HepRepMessenger::useSolids ( )
virtual

Definition at line 325 of file G4HepRepMessenger.cc.

325{ return solids; }

References solids.

◆ writeInvisibles()

G4bool G4HepRepMessenger::writeInvisibles ( )
virtual

Definition at line 327 of file G4HepRepMessenger.cc.

327{ return invisibles; }

References invisibles.

Field Documentation

◆ addPointAttributesCommand

G4UIcmdWithABool* G4HepRepMessenger::addPointAttributesCommand
private

◆ appendGeometryCommand

G4UIcmdWithABool* G4HepRepMessenger::appendGeometryCommand
private

◆ baseDir

G4UIdirectory* G4UImessenger::baseDir = nullptr
protectedinherited

◆ baseDirName

G4String G4UImessenger::baseDirName = ""
protectedinherited

◆ center

G4ThreeVector G4HepRepMessenger::center
private

Definition at line 89 of file G4HepRepMessenger.hh.

Referenced by getCenter(), GetCurrentValue(), and SetNewValue().

◆ commandsShouldBeInMaster

G4bool G4UImessenger::commandsShouldBeInMaster = false
protectedinherited

◆ cullInvisibles

G4bool G4HepRepMessenger::cullInvisibles
private

◆ cylAsPolygons

G4bool G4HepRepMessenger::cylAsPolygons
private

Definition at line 83 of file G4HepRepMessenger.hh.

Referenced by GetCurrentValue(), renderCylAsPolygons(), and SetNewValue().

◆ fileDir

G4String G4HepRepMessenger::fileDir
private

Definition at line 71 of file G4HepRepMessenger.hh.

Referenced by G4HepRepMessenger(), GetCurrentValue(), getFileDir(), and SetNewValue().

◆ fileName

G4String G4HepRepMessenger::fileName
private

Definition at line 74 of file G4HepRepMessenger.hh.

Referenced by G4HepRepMessenger(), GetCurrentValue(), getFileName(), and SetNewValue().

◆ fpInstance

G4HepRepMessenger * G4HepRepMessenger::fpInstance = 0
staticprivate

Definition at line 67 of file G4HepRepMessenger.hh.

Referenced by GetInstance().

◆ geometry

G4bool G4HepRepMessenger::geometry
private

Definition at line 95 of file G4HepRepMessenger.hh.

Referenced by appendGeometry(), GetCurrentValue(), and SetNewValue().

◆ heprepDirectory

G4UIdirectory* G4HepRepMessenger::heprepDirectory
private

Definition at line 69 of file G4HepRepMessenger.hh.

Referenced by G4HepRepMessenger(), and ~G4HepRepMessenger().

◆ invisibles

G4bool G4HepRepMessenger::invisibles
private

Definition at line 104 of file G4HepRepMessenger.hh.

Referenced by writeInvisibles().

◆ overwrite

G4bool G4HepRepMessenger::overwrite
private

Definition at line 77 of file G4HepRepMessenger.hh.

Referenced by G4HepRepMessenger(), GetCurrentValue(), getOverwrite(), and SetNewValue().

◆ pointAttributes

G4bool G4HepRepMessenger::pointAttributes
private

Definition at line 98 of file G4HepRepMessenger.hh.

Referenced by addPointAttributes(), GetCurrentValue(), and SetNewValue().

◆ renderCylAsPolygonsCommand

G4UIcmdWithABool* G4HepRepMessenger::renderCylAsPolygonsCommand
private

◆ scale

G4double G4HepRepMessenger::scale
private

Definition at line 86 of file G4HepRepMessenger.hh.

Referenced by GetCurrentValue(), getScale(), and SetNewValue().

◆ setCenterCommand

G4UIcmdWith3VectorAndUnit* G4HepRepMessenger::setCenterCommand
private

◆ setCullInvisiblesCommand

G4UIcmdWithABool* G4HepRepMessenger::setCullInvisiblesCommand
private

◆ setEventNumberSuffixCommand

G4UIcmdWithAString* G4HepRepMessenger::setEventNumberSuffixCommand
private

◆ setFileDirCommand

G4UIcmdWithAString* G4HepRepMessenger::setFileDirCommand
private

◆ setFileNameCommand

G4UIcmdWithAString* G4HepRepMessenger::setFileNameCommand
private

◆ setOverwriteCommand

G4UIcmdWithABool* G4HepRepMessenger::setOverwriteCommand
private

◆ setScaleCommand

G4UIcmdWithADouble* G4HepRepMessenger::setScaleCommand
private

◆ solids

G4bool G4HepRepMessenger::solids
private

Definition at line 101 of file G4HepRepMessenger.hh.

Referenced by GetCurrentValue(), SetNewValue(), and useSolids().

◆ suffix

G4String G4HepRepMessenger::suffix
private

Definition at line 92 of file G4HepRepMessenger.hh.

Referenced by GetCurrentValue(), getEventNumberSuffix(), and SetNewValue().

◆ useSolidsCommand

G4UIcmdWithABool* G4HepRepMessenger::useSolidsCommand
private

The documentation for this class was generated from the following files: