Geant4-11
|
#include <G4HepRepMessenger.hh>
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 G4HepRepMessenger * | GetInstance () |
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 | |
G4UIdirectory * | baseDir = nullptr |
G4String | baseDirName = "" |
G4bool | commandsShouldBeInMaster = false |
Private Member Functions | |
G4HepRepMessenger () | |
Static Private Attributes | |
static G4HepRepMessenger * | fpInstance = 0 |
Definition at line 40 of file G4HepRepMessenger.hh.
|
virtual |
Definition at line 189 of file G4HepRepMessenger.cc.
References addPointAttributesCommand, appendGeometryCommand, heprepDirectory, renderCylAsPolygonsCommand, setCenterCommand, setCullInvisiblesCommand, setEventNumberSuffixCommand, setFileDirCommand, setFileNameCommand, setOverwriteCommand, setScaleCommand, and useSolidsCommand.
|
private |
Definition at line 38 of file G4HepRepMessenger.cc.
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().
|
virtual |
|
protectedinherited |
Definition at line 149 of file G4UImessenger.cc.
References G4cerr, G4endl, and G4UIcommand::GetCommandPath().
|
virtual |
Definition at line 98 of file G4UImessenger.cc.
|
inlineinherited |
Definition at line 77 of file G4UImessenger.hh.
References G4UImessenger::commandsShouldBeInMaster.
Referenced by G4UIcommand::G4UIcommandCommonConstructorCode().
|
protectedinherited |
Definition at line 110 of file G4UImessenger.hh.
References G4UImessenger::baseDirName.
|
protectedinherited |
Definition at line 156 of file G4UImessenger.cc.
References G4UImessenger::baseDir, G4UImessenger::baseDirName, G4UIcommandTree::FindCommandTree(), G4UIcommandTree::GetPathName(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), and G4UIcommand::SetGuidance().
Referenced by G4MoleculeShootMessenger::G4MoleculeShootMessenger(), and G4UImessenger::G4UImessenger().
Definition at line 90 of file G4UImessenger.cc.
Referenced by G4ScoreQuantityMessenger::FilterCommands(), and G4UIcontrolMessenger::SetNewValue().
|
virtual |
Definition at line 317 of file G4HepRepMessenger.cc.
References center.
Referenced by G4HepRepFileXMLWriter::addPoint().
|
virtual |
Definition at line 311 of file G4HepRepMessenger.cc.
References cullInvisibles.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepFileSceneHandler::AddPrimitive(), and G4HepRepFileSceneHandler::AddSolid().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 205 of file G4HepRepMessenger.cc.
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.
|
virtual |
|
virtual |
Definition at line 305 of file G4HepRepMessenger.cc.
References fileDir.
Referenced by G4HepRepFileSceneHandler::CheckFileOpen().
|
virtual |
Definition at line 307 of file G4HepRepMessenger.cc.
References fileName.
Referenced by G4HepRepFileSceneHandler::CheckFileOpen().
|
static |
Definition at line 31 of file G4HepRepMessenger.cc.
References fpInstance, and G4HepRepMessenger().
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepFileXMLWriter::addPoint(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepFileSceneHandler::CheckFileOpen(), and G4HepRepFile::G4HepRepFile().
|
virtual |
Definition at line 309 of file G4HepRepMessenger.cc.
References overwrite.
Referenced by G4HepRepFileSceneHandler::CheckFileOpen().
|
virtual |
Definition at line 315 of file G4HepRepMessenger.cc.
References scale.
Referenced by G4HepRepFileXMLWriter::addPoint(), and G4HepRepFileSceneHandler::AddSolid().
Definition at line 82 of file G4UImessenger.cc.
Referenced by G4GenericMessenger::DeclareMethod(), and G4ParticleGunMessenger::GetCurrentValue().
|
inherited |
Definition at line 76 of file G4UImessenger.cc.
|
inherited |
Definition at line 70 of file G4UImessenger.cc.
|
virtual |
Definition at line 313 of file G4HepRepMessenger.cc.
References cylAsPolygons.
Referenced by G4HepRepFileSceneHandler::AddSolid().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 257 of file G4HepRepMessenger.cc.
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.
Definition at line 137 of file G4UImessenger.cc.
References G4StrUtil::to_upper_copy().
Referenced by G4LocalThreadCoutMessenger::SetNewValue(), G4CascadeParamMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
Definition at line 127 of file G4UImessenger.cc.
Referenced by G4ScoreQuantityMessenger::FParticleWithEnergyCommand(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4UIcontrolMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), and G4PolarizationMessenger::SetNewValue().
Definition at line 107 of file G4UImessenger.cc.
Referenced by G4ScoringMessenger::Fill1D(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4ParticleGunMessenger::IonLevelCommand(), G4GeneralParticleSourceMessenger::IonLvlCommand(), G4ScoringMessenger::MeshBinCommand(), G4LocalThreadCoutMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4GMocrenMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
Definition at line 117 of file G4UImessenger.cc.
Referenced by G4RunMessenger::SetNewValue().
|
virtual |
|
virtual |
|
private |
Definition at line 99 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 96 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
protectedinherited |
Definition at line 102 of file G4UImessenger.hh.
Referenced by G4UImessenger::CreateDirectory(), and G4UImessenger::~G4UImessenger().
|
protectedinherited |
Definition at line 103 of file G4UImessenger.hh.
Referenced by G4UImessenger::CreateCommand(), and G4UImessenger::CreateDirectory().
|
private |
Definition at line 89 of file G4HepRepMessenger.hh.
Referenced by getCenter(), GetCurrentValue(), and SetNewValue().
|
protectedinherited |
Definition at line 104 of file G4UImessenger.hh.
Referenced by G4UImessenger::CommandsShouldBeInMaster(), and G4GeneralParticleSourceMessenger::G4GeneralParticleSourceMessenger().
|
private |
Definition at line 80 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), getCullInvisibles(), GetCurrentValue(), and SetNewValue().
|
private |
Definition at line 83 of file G4HepRepMessenger.hh.
Referenced by GetCurrentValue(), renderCylAsPolygons(), and SetNewValue().
|
private |
Definition at line 71 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), getFileDir(), and SetNewValue().
|
private |
Definition at line 74 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), getFileName(), and SetNewValue().
|
staticprivate |
Definition at line 67 of file G4HepRepMessenger.hh.
Referenced by GetInstance().
|
private |
Definition at line 95 of file G4HepRepMessenger.hh.
Referenced by appendGeometry(), GetCurrentValue(), and SetNewValue().
|
private |
Definition at line 69 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), and ~G4HepRepMessenger().
|
private |
Definition at line 104 of file G4HepRepMessenger.hh.
Referenced by writeInvisibles().
|
private |
Definition at line 77 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), getOverwrite(), and SetNewValue().
|
private |
Definition at line 98 of file G4HepRepMessenger.hh.
Referenced by addPointAttributes(), GetCurrentValue(), and SetNewValue().
|
private |
Definition at line 84 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 86 of file G4HepRepMessenger.hh.
Referenced by GetCurrentValue(), getScale(), and SetNewValue().
|
private |
Definition at line 90 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 81 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 93 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 72 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 75 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 78 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 87 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().
|
private |
Definition at line 101 of file G4HepRepMessenger.hh.
Referenced by GetCurrentValue(), SetNewValue(), and useSolids().
|
private |
Definition at line 92 of file G4HepRepMessenger.hh.
Referenced by GetCurrentValue(), getEventNumberSuffix(), and SetNewValue().
|
private |
Definition at line 102 of file G4HepRepMessenger.hh.
Referenced by G4HepRepMessenger(), GetCurrentValue(), SetNewValue(), and ~G4HepRepMessenger().