#include <G4VisCommandsGeometry.hh>
Definition at line 64 of file G4VisCommandsGeometry.hh.
◆ G4VisCommandGeometryRestore() [1/2]
G4VisCommandGeometryRestore::G4VisCommandGeometryRestore |
( |
| ) |
|
Definition at line 99 of file G4VisCommandsGeometry.cc.
103 fpCommand -> SetGuidance(
"Restores vis attributes of logical volume(s).");
104 fpCommand -> SetParameterName(
"logical-volume-name", omitable =
true);
G4UIcmdWithAString * fpCommand
◆ ~G4VisCommandGeometryRestore()
G4VisCommandGeometryRestore::~G4VisCommandGeometryRestore |
( |
| ) |
|
|
virtual |
◆ G4VisCommandGeometryRestore() [2/2]
◆ GetCurrentValue()
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 118 of file G4VisCommandsGeometry.cc.
122 size_t nLV = pLVStore->size();
126 for (iLV = 0; iLV < nLV; iLV++ ) {
127 pLV = (*pLVStore)[iLV];
129 if (logVolName == newValue) found =
true;
130 if (newValue ==
"all" || logVolName == newValue) {
138 <<
"\": re-setting vis attributes:\nwas: " << *newVisAtts
139 <<
"\nnow: " << *oldVisAtts
145 if (newValue !=
"all" && !found) {
147 G4cerr <<
"ERROR: Logical volume \"" << newValue
148 <<
"\" not found in logical volume store." <<
G4endl;
G4VViewer * GetCurrentViewer() const
std::map< G4LogicalVolume *, const G4VisAttributes * >::const_iterator VisAttsMapIterator
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
const G4VisAttributes * GetVisAttributes() const
static G4LogicalVolumeStore * GetInstance()
static std::map< G4LogicalVolume *, const G4VisAttributes * > fVisAttsMap
static Verbosity GetVerbosity()
void SetVisAttributes(const G4VisAttributes *pVA)
G4int ApplyCommand(const char *aCommand)
G4GLOB_DLL std::ostream G4cerr
static G4VisManager * fpVisManager
◆ fpCommand
The documentation for this class was generated from the following files: