Geant4  10.00.p02
G4HepRepMessenger Class Reference

#include <G4HepRepMessenger.hh>

+ Inheritance diagram for G4HepRepMessenger:
+ Collaboration diagram for G4HepRepMessenger:

Public Member Functions

virtual ~G4HepRepMessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
virtual G4String getFileDir ()
 
virtual G4String getFileName ()
 
virtual G4bool getOverwrite ()
 
virtual G4bool getCullInvisibles ()
 
virtual G4bool renderCylAsPolygons ()
 
virtual G4double getScale ()
 
virtual G4ThreeVector getCenter ()
 
virtual G4String getEventNumberSuffix ()
 
virtual G4bool appendGeometry ()
 
virtual G4bool addPointAttributes ()
 
virtual G4bool useSolids ()
 
virtual G4bool writeInvisibles ()
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 

Static Public Member Functions

static G4HepRepMessengerGetInstance ()
 

Private Member Functions

 G4HepRepMessenger ()
 

Private Attributes

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

Static Private Attributes

static G4HepRepMessengerfpInstance = 0
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 

Detailed Description

Definition at line 41 of file G4HepRepMessenger.hh.

Constructor & Destructor Documentation

Member Function Documentation

G4bool G4HepRepMessenger::addPointAttributes ( )
virtual

Definition at line 258 of file G4HepRepMessenger.cc.

References pointAttributes.

G4bool G4HepRepMessenger::appendGeometry ( )
virtual

Definition at line 254 of file G4HepRepMessenger.cc.

References geometry.

Referenced by G4HepRepSceneHandler::closeHepRep(), G4HepRepSceneHandler::getGeometryInstanceTree(), G4HepRepSceneHandler::getGeometryTypeTree(), and G4HepRepViewer::ShowView().

+ Here is the caller graph for this function:

G4ThreeVector G4HepRepMessenger::getCenter ( )
virtual

Definition at line 246 of file G4HepRepMessenger.cc.

References center.

Referenced by G4HepRepFileXMLWriter::addPoint().

+ Here is the caller graph for this function:

G4bool G4HepRepMessenger::getCullInvisibles ( )
virtual

Definition at line 234 of file G4HepRepMessenger.cc.

References cullInvisibles.

Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepFileSceneHandler::AddPrimitive(), and G4HepRepFileSceneHandler::AddSolid().

+ Here is the caller graph for this function:

G4String G4HepRepMessenger::GetCurrentValue ( G4UIcommand command)
virtual
G4String G4HepRepMessenger::getEventNumberSuffix ( )
virtual

Definition at line 250 of file G4HepRepMessenger.cc.

References suffix.

Referenced by G4HepRepSceneHandler::open().

+ Here is the caller graph for this function:

G4String G4HepRepMessenger::getFileDir ( )
virtual

Definition at line 222 of file G4HepRepMessenger.cc.

References fileDir.

Referenced by G4HepRepFileSceneHandler::CheckFileOpen().

+ Here is the caller graph for this function:

G4String G4HepRepMessenger::getFileName ( )
virtual

Definition at line 226 of file G4HepRepMessenger.cc.

References fileName.

Referenced by G4HepRepFileSceneHandler::CheckFileOpen().

+ Here is the caller graph for this function:

G4HepRepMessenger * G4HepRepMessenger::GetInstance ( void  )
static
G4bool G4HepRepMessenger::getOverwrite ( )
virtual

Definition at line 230 of file G4HepRepMessenger.cc.

References overwrite.

Referenced by G4HepRepFileSceneHandler::CheckFileOpen().

+ Here is the caller graph for this function:

G4double G4HepRepMessenger::getScale ( )
virtual

Definition at line 242 of file G4HepRepMessenger.cc.

References scale.

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

+ Here is the caller graph for this function:

G4bool G4HepRepMessenger::renderCylAsPolygons ( )
virtual

Definition at line 238 of file G4HepRepMessenger.cc.

References cylAsPolygons.

Referenced by G4HepRepFileSceneHandler::AddSolid().

+ Here is the caller graph for this function:

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

Definition at line 262 of file G4HepRepMessenger.cc.

References solids.

Referenced by G4HepRepSceneHandler::AddSolid(), and G4HepRepSceneHandler::addTopLevelAttributes().

+ Here is the caller graph for this function:

G4bool G4HepRepMessenger::writeInvisibles ( )
virtual

Definition at line 266 of file G4HepRepMessenger.cc.

References invisibles.

Referenced by G4HepRepSceneHandler::addTopLevelAttributes(), and G4HepRepSceneHandler::dontWrite().

+ Here is the caller graph for this function:

Member Data Documentation

G4UIcmdWithABool* G4HepRepMessenger::addPointAttributesCommand
private
G4UIcmdWithABool* G4HepRepMessenger::appendGeometryCommand
private
G4ThreeVector G4HepRepMessenger::center
private

Definition at line 90 of file G4HepRepMessenger.hh.

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

G4bool G4HepRepMessenger::cullInvisibles
private
G4bool G4HepRepMessenger::cylAsPolygons
private

Definition at line 84 of file G4HepRepMessenger.hh.

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

G4String G4HepRepMessenger::fileDir
private

Definition at line 72 of file G4HepRepMessenger.hh.

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

G4String G4HepRepMessenger::fileName
private

Definition at line 75 of file G4HepRepMessenger.hh.

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

G4HepRepMessenger * G4HepRepMessenger::fpInstance = 0
staticprivate

Definition at line 68 of file G4HepRepMessenger.hh.

Referenced by GetInstance().

G4bool G4HepRepMessenger::geometry
private

Definition at line 96 of file G4HepRepMessenger.hh.

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

G4UIdirectory* G4HepRepMessenger::heprepDirectory
private

Definition at line 70 of file G4HepRepMessenger.hh.

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

G4bool G4HepRepMessenger::invisibles
private

Definition at line 105 of file G4HepRepMessenger.hh.

Referenced by writeInvisibles().

G4bool G4HepRepMessenger::overwrite
private

Definition at line 78 of file G4HepRepMessenger.hh.

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

G4bool G4HepRepMessenger::pointAttributes
private

Definition at line 99 of file G4HepRepMessenger.hh.

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

G4UIcmdWithABool* G4HepRepMessenger::renderCylAsPolygonsCommand
private
G4double G4HepRepMessenger::scale
private

Definition at line 87 of file G4HepRepMessenger.hh.

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

G4UIcmdWith3VectorAndUnit* G4HepRepMessenger::setCenterCommand
private
G4UIcmdWithABool* G4HepRepMessenger::setCullInvisiblesCommand
private
G4UIcmdWithAString* G4HepRepMessenger::setEventNumberSuffixCommand
private
G4UIcmdWithAString* G4HepRepMessenger::setFileDirCommand
private
G4UIcmdWithAString* G4HepRepMessenger::setFileNameCommand
private
G4UIcmdWithABool* G4HepRepMessenger::setOverwriteCommand
private
G4UIcmdWithADouble* G4HepRepMessenger::setScaleCommand
private
G4bool G4HepRepMessenger::solids
private

Definition at line 102 of file G4HepRepMessenger.hh.

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

G4String G4HepRepMessenger::suffix
private

Definition at line 93 of file G4HepRepMessenger.hh.

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

G4UIcmdWithABool* G4HepRepMessenger::useSolidsCommand
private

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