37 std::map<G4LogicalVolume*, const G4VisAttributes*>
52 fpCommand -> SetGuidance(
"Lists vis attributes of logical volume(s).");
53 fpCommand -> SetGuidance(
"\"all\" lists all logical volumes.");
54 fpCommand -> SetParameterName(
"logical-volume-name", omitable =
true);
72 for (
size_t iLV = 0; iLV < pLVStore->size(); iLV++ ) {
75 if (newValue ==
"all" || logVolName == newValue) {
79 G4cout <<
'\n' << *visAtts;
81 G4cout <<
" no vis attributes";
85 if (logVolName == newValue) found =
true;
87 if (newValue !=
"all" && !found) {
89 G4cerr <<
"ERROR: Logical volume \"" << newValue
90 <<
"\" not found in logical volume store." <<
G4endl;
102 fpCommand -> SetGuidance(
"Restores vis attributes of logical volume(s).");
103 fpCommand -> SetParameterName(
"logical-volume-name", omitable =
true);
121 size_t nLV = pLVStore->size();
125 for (iLV = 0; iLV < nLV; iLV++ ) {
126 pLV = (*pLVStore)[iLV];
128 if (logVolName == newValue) found =
true;
129 if (newValue ==
"all" || logVolName == newValue) {
137 <<
"\": re-setting vis attributes:\nwas: " << *newVisAtts
138 <<
"\nnow: " << *oldVisAtts
144 if (newValue !=
"all" && !found) {
146 G4cerr <<
"ERROR: Logical volume \"" << newValue
147 <<
"\" not found in logical volume store." <<
G4endl;