#include <G4VisCommandsGeometry.hh>
Definition at line 52 of file G4VisCommandsGeometry.hh.
◆ G4VisCommandGeometryList() [1/2]
G4VisCommandGeometryList::G4VisCommandGeometryList |
( |
| ) |
|
Definition at line 49 of file G4VisCommandsGeometry.cc.
53 fpCommand -> SetGuidance(
"Lists vis attributes of logical volume(s).");
54 fpCommand -> SetGuidance(
"\"all\" lists all logical volumes.");
55 fpCommand -> SetParameterName(
"logical-volume-name", omitable =
true);
G4UIcmdWithAString * fpCommand
◆ ~G4VisCommandGeometryList()
G4VisCommandGeometryList::~G4VisCommandGeometryList |
( |
| ) |
|
|
virtual |
◆ G4VisCommandGeometryList() [2/2]
◆ GetCurrentValue()
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 69 of file G4VisCommandsGeometry.cc.
73 for (
size_t iLV = 0; iLV < pLVStore->size(); iLV++ ) {
76 if (newValue ==
"all" || logVolName == newValue) {
80 G4cout <<
'\n' << *visAtts;
82 G4cout <<
" no vis attributes";
86 if (logVolName == newValue) found =
true;
88 if (newValue !=
"all" && !found) {
90 G4cerr <<
"ERROR: Logical volume \"" << newValue
91 <<
"\" not found in logical volume store." <<
G4endl;
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
const G4VisAttributes * GetVisAttributes() const
static G4LogicalVolumeStore * GetInstance()
static Verbosity GetVerbosity()
G4GLOB_DLL std::ostream G4cerr
static G4VisManager * fpVisManager
◆ fpCommand
The documentation for this class was generated from the following files: