Geant4-11
G4VisCommandsGeometrySet.cc
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27
28// /vis/geometry commands - John Allison 31st January 2006
29
31
32#include "G4UIcommand.hh"
33#include "G4VisManager.hh"
35#include "G4UImanager.hh"
36
37#include <sstream>
38
40(G4String requestedName,
41 const G4VVisCommandGeometrySetFunction& setFunction,
42 G4int requestedDepth)
43{
46 G4bool found = false;
47 for (size_t iLV = 0; iLV < pLVStore->size(); iLV++ ) {
48 G4LogicalVolume* pLV = (*pLVStore)[iLV];
49 const G4String& logVolName = pLV->GetName();
50 if (logVolName == requestedName) found = true;
51 if (requestedName == "all" || logVolName == requestedName) {
52 SetLVVisAtts(pLV, setFunction, 0, requestedDepth);
53 }
54 }
55 if (requestedName != "all" && !found) {
56 if (verbosity >= G4VisManager::errors) {
57 G4cerr << "ERROR: Logical volume \"" << requestedName
58 << "\" not found in logical volume store." << G4endl;
59 }
60 return;
61 }
62 // Recalculate extent of any physical volume model in run duration lists
63 for (const auto& scene : fpVisManager->GetSceneList()) {
64 const auto& runDurationModelList = scene->GetRunDurationModelList();
65 for (const auto& sceneModel : runDurationModelList) {
66 auto model = sceneModel.fpModel;
67 auto pvModel = dynamic_cast<G4PhysicalVolumeModel*>(model);
68 if (pvModel) pvModel->CalculateExtent();
69 }
70 // And re-calculate the scene's extent
71 scene->CalculateExtent();
72 }
74 G4UImanager::GetUIpointer()->ApplyCommand("/vis/scene/notifyHandlers");
75 }
76}
77
79(G4LogicalVolume* pLV,
80 const G4VVisCommandGeometrySetFunction& setFunction,
81 G4int depth, G4int requestedDepth)
82{
84 const G4VisAttributes* oldVisAtts = pLV->GetVisAttributes();
85 fVisAttsMap.insert(std::make_pair(pLV,oldVisAtts)); // Store old vis atts.
86 G4VisAttributes* newVisAtts = new G4VisAttributes; // Memory leak!
87 if (oldVisAtts) {
88 *newVisAtts = *oldVisAtts;
89 }
90 setFunction(newVisAtts); // Sets whatever attribute determined by
91 // function object.
92 pLV->SetVisAttributes(newVisAtts);
93 if (verbosity >= G4VisManager::confirmations) {
94 G4cout << "\nLogical Volume \"" << pLV->GetName()
95 << "\": setting vis attributes:";
96 if (oldVisAtts) {
97 G4cout << "\nwas: " << *oldVisAtts;
98 } else {
99 G4cout << "\n(no old attributes)";
100 }
101 G4cout << "\nnow: " << *newVisAtts
102 << G4endl;
103 }
104 if (requestedDepth < 0 || depth < requestedDepth) {
105 G4int nDaughters = pLV->GetNoDaughters();
106 for (G4int i = 0; i < nDaughters; ++i) {
108 setFunction, ++depth, requestedDepth);
109 }
110 }
111}
112
114
116{
117 G4bool omitable;
118 fpCommand = new G4UIcommand("/vis/geometry/set/colour", this);
119 fpCommand->SetGuidance("Sets colour of logical volume(s).");
120 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
122 ("Optionally propagates down hierarchy to given depth.");
123 G4UIparameter* parameter;
124 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
125 parameter->SetDefaultValue("all");
126 fpCommand->SetParameter(parameter);
127 parameter = new G4UIparameter("depth", 'd', omitable = true);
128 parameter->SetDefaultValue(0);
129 parameter->SetGuidance
130 ("Depth of propagation (-1 means unlimited depth).");
131 fpCommand->SetParameter(parameter);
132 parameter = new G4UIparameter("red", 's', omitable = true);
133 parameter->SetDefaultValue("1.");
134 parameter->SetGuidance
135 ("Red component or a string, e.g., \"blue\", in which case succeeding colour components are ignored.");
136 fpCommand->SetParameter(parameter);
137 parameter = new G4UIparameter("green", 'd', omitable = true);
138 parameter->SetDefaultValue(1.);
139 fpCommand->SetParameter(parameter);
140 parameter = new G4UIparameter("blue", 'd', omitable = true);
141 parameter->SetDefaultValue(1.);
142 fpCommand->SetParameter(parameter);
143 parameter = new G4UIparameter("opacity", 'd', omitable = true);
144 parameter->SetDefaultValue(1.);
145 fpCommand->SetParameter(parameter);
146}
147
149{
150 delete fpCommand;
151}
152
154{
155 return "";
156}
157
159(G4UIcommand*, G4String newValue)
160{
161 G4String name, redOrString;
162 G4int requestedDepth;
163 G4double green, blue, opacity;
164 std::istringstream iss(newValue);
165 iss >> name >> requestedDepth >> redOrString >> green >> blue >> opacity;
166 G4Colour colour(1,1,1,1); // Default white and opaque.
167 ConvertToColour(colour, redOrString, green, blue, opacity);
169 Set(name, setColour, requestedDepth);
170}
171
173
175{
176 G4bool omitable;
177 fpCommand = new G4UIcommand("/vis/geometry/set/daughtersInvisible", this);
178 fpCommand->SetGuidance("Makes daughters of logical volume(s) invisible.");
179 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
181 ("Optionally propagates down hierarchy to given depth.");
182 G4UIparameter* parameter;
183 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
184 parameter->SetDefaultValue("all");
185 fpCommand->SetParameter(parameter);
186 parameter = new G4UIparameter("depth", 'd', omitable = true);
187 parameter->SetDefaultValue(0);
188 parameter->SetGuidance
189 ("Depth of propagation (-1 means unlimited depth).");
190 fpCommand->SetParameter(parameter);
191 parameter = new G4UIparameter("daughtersInvisible", 'b', omitable = true);
192 parameter->SetDefaultValue(true);
193 fpCommand->SetParameter(parameter);
194}
195
197{
198 delete fpCommand;
199}
200
203{
204 return "";
205}
206
208(G4UIcommand*, G4String newValue)
209{
211 G4int requestedDepth;
212 G4String daughtersInvisibleString;
213 std::istringstream iss(newValue);
214 iss >> name >> requestedDepth >> daughtersInvisibleString;
215 G4bool daughtersInvisible =
216 G4UIcommand::ConvertToBool(daughtersInvisibleString);
217
218 if (requestedDepth !=0) {
219 requestedDepth = 0;
221 G4cout << "Recursive application suppressed for this attribute."
222 << G4endl;
223 }
224 }
225
227 setDaughtersInvisible(daughtersInvisible);
228 Set(name, setDaughtersInvisible, requestedDepth);
229
231 if (pViewer) {
232 const G4ViewParameters& viewParams = pViewer->GetViewParameters();
234 if (!viewParams.IsCulling()) {
235 G4cout <<
236 "Culling must be on - \"/vis/viewer/set/culling global true\" - to see effect."
237 << G4endl;
238 }
239 }
240 }
241}
242
244
246{
247 G4bool omitable;
248 fpCommand = new G4UIcommand("/vis/geometry/set/forceAuxEdgeVisible", this);
250 ("Forces auxiliary (soft) edges of logical volume(s) to be visible,"
251 "\nregardless of the view parameters.");
252 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
254 ("Optionally propagates down hierarchy to given depth.");
255 G4UIparameter* parameter;
256 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
257 parameter->SetDefaultValue("all");
258 fpCommand->SetParameter(parameter);
259 parameter = new G4UIparameter("depth", 'd', omitable = true);
260 parameter->SetDefaultValue(0);
261 parameter->SetGuidance
262 ("Depth of propagation (-1 means unlimited depth).");
263 fpCommand->SetParameter(parameter);
264 parameter = new G4UIparameter("forceAuxEdgeVisible", 'b', omitable = true);
265 parameter->SetDefaultValue(true);
266 fpCommand->SetParameter(parameter);
267}
268
270{
271 delete fpCommand;
272}
273
276{
277 return "";
278}
279
281(G4UIcommand*, G4String newValue)
282{
284 G4int requestedDepth;
285 G4String forceAuxEdgeVisibleString;
286 std::istringstream iss(newValue);
287 iss >> name >> requestedDepth >> forceAuxEdgeVisibleString;
288 G4bool forceAuxEdgeVisible =
289 G4UIcommand::ConvertToBool(forceAuxEdgeVisibleString);;
290
292 setForceAuxEdgeVisible(forceAuxEdgeVisible);
293 Set(name, setForceAuxEdgeVisible, requestedDepth);
294}
295
297
299{
300 G4bool omitable;
301 fpCommand = new G4UIcommand("/vis/geometry/set/forceCloud", this);
303 ("Forces logical volume(s) always to be drawn as a cloud of points,"
304 "\nregardless of the view parameters.");
305 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
307 ("Optionally propagates down hierarchy to given depth.");
308 G4UIparameter* parameter;
309 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
310 parameter->SetDefaultValue("all");
311 fpCommand->SetParameter(parameter);
312 parameter = new G4UIparameter("depth", 'd', omitable = true);
313 parameter->SetDefaultValue(0);
314 parameter->SetGuidance
315 ("Depth of propagation (-1 means unlimited depth).");
316 fpCommand->SetParameter(parameter);
317 parameter = new G4UIparameter("forceCloud", 'b', omitable = true);
318 parameter->SetDefaultValue(true);
319 fpCommand->SetParameter(parameter);
320 parameter = new G4UIparameter("nPoints", 'd', omitable = true);
321 parameter->SetGuidance
322 ("<= 0 means under control of viewer.");
323 parameter->SetDefaultValue(0);
324 fpCommand->SetParameter(parameter);
325}
326
328{
329 delete fpCommand;
330}
331
334{
335 return "";
336}
337
339(G4UIcommand*, G4String newValue)
340{
341 G4String name, forceCloudString;
342 G4int requestedDepth, nPoints;
343 std::istringstream iss(newValue);
344 iss >> name >> requestedDepth >> forceCloudString >> nPoints;
345 G4bool forceCloud = G4UIcommand::ConvertToBool(forceCloudString);;
346
347 G4VisCommandGeometrySetForceCloudFunction setForceCloud(forceCloud,nPoints);
348 Set(name, setForceCloud, requestedDepth);
349}
350
352
354{
355 G4bool omitable;
356 fpCommand = new G4UIcommand("/vis/geometry/set/forceLineSegmentsPerCircle", this);
358 ("Forces number of line segments per circle, the precision with which a"
359 "\ncurved line or surface is represented by a polygon or polyhedron,"
360 "\nregardless of the view parameters.");
361 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
363 ("Optionally propagates down hierarchy to given depth.");
364 G4UIparameter* parameter;
365 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
366 parameter->SetDefaultValue("all");
367 fpCommand->SetParameter(parameter);
368 parameter = new G4UIparameter("depth", 'd', omitable = true);
369 parameter->SetDefaultValue(0);
370 parameter->SetGuidance
371 ("Depth of propagation (-1 means unlimited depth).");
372 fpCommand->SetParameter(parameter);
373 parameter = new G4UIparameter("lineSegmentsPerCircle", 'd', omitable = true);
374 parameter->SetGuidance
375 ("<= 0 means not forced, i.e., under control of viewer.");
376 parameter->SetDefaultValue(0);
377 fpCommand->SetParameter(parameter);
378}
379
381{
382 delete fpCommand;
383}
384
387{
388 return "";
389}
390
392(G4UIcommand*, G4String newValue)
393{
395 G4int requestedDepth;
396 G4int lineSegmentsPerCircle;
397 std::istringstream iss(newValue);
398 iss >> name >> requestedDepth >> lineSegmentsPerCircle;
399
401 setForceLineSegmentsPerCircle(lineSegmentsPerCircle);
402 Set(name, setForceLineSegmentsPerCircle, requestedDepth);
403}
404
406
408{
409 G4bool omitable;
410 fpCommand = new G4UIcommand("/vis/geometry/set/forceSolid", this);
412 ("Forces logical volume(s) always to be drawn solid (surface drawing),"
413 "\nregardless of the view parameters.");
414 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
416 ("Optionally propagates down hierarchy to given depth.");
417 G4UIparameter* parameter;
418 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
419 parameter->SetDefaultValue("all");
420 fpCommand->SetParameter(parameter);
421 parameter = new G4UIparameter("depth", 'd', omitable = true);
422 parameter->SetDefaultValue(0);
423 parameter->SetGuidance
424 ("Depth of propagation (-1 means unlimited depth).");
425 fpCommand->SetParameter(parameter);
426 parameter = new G4UIparameter("force", 'b', omitable = true);
427 parameter->SetDefaultValue(true);
428 fpCommand->SetParameter(parameter);
429}
430
432{
433 delete fpCommand;
434}
435
438{
439 return "";
440}
441
443(G4UIcommand*, G4String newValue)
444{
446 G4int requestedDepth;
447 G4String forceString;
448 std::istringstream iss(newValue);
449 iss >> name >> requestedDepth >> forceString;
450 G4bool force = G4UIcommand::ConvertToBool(forceString);
451
453 Set(name, setForceSolid, requestedDepth);
454}
455
457
459{
460 G4bool omitable;
461 fpCommand = new G4UIcommand("/vis/geometry/set/forceWireframe", this);
463 ("Forces logical volume(s) always to be drawn as wireframe,"
464 "\nregardless of the view parameters.");
465 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
467 ("Optionally propagates down hierarchy to given depth.");
468 G4UIparameter* parameter;
469 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
470 parameter->SetDefaultValue("all");
471 fpCommand->SetParameter(parameter);
472 parameter = new G4UIparameter("depth", 'd', omitable = true);
473 parameter->SetDefaultValue(0);
474 parameter->SetGuidance
475 ("Depth of propagation (-1 means unlimited depth).");
476 fpCommand->SetParameter(parameter);
477 parameter = new G4UIparameter("forceWireframe", 'b', omitable = true);
478 parameter->SetDefaultValue(true);
479 fpCommand->SetParameter(parameter);
480}
481
483{
484 delete fpCommand;
485}
486
489{
490 return "";
491}
492
494(G4UIcommand*, G4String newValue)
495{
497 G4int requestedDepth;
498 G4String forceWireframeString;
499 std::istringstream iss(newValue);
500 iss >> name >> requestedDepth >> forceWireframeString;
501 G4bool forceWireframe = G4UIcommand::ConvertToBool(forceWireframeString);
502
504 setForceWireframe(forceWireframe);
505 Set(name, setForceWireframe, requestedDepth);
506}
507
509
511{
512 G4bool omitable;
513 fpCommand = new G4UIcommand("/vis/geometry/set/lineStyle", this);
514 fpCommand->SetGuidance("Sets line style of logical volume(s) drawing.");
515 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
517 ("Optionally propagates down hierarchy to given depth.");
518 G4UIparameter* parameter;
519 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
520 parameter->SetDefaultValue("all");
521 fpCommand->SetParameter(parameter);
522 parameter = new G4UIparameter("depth", 'd', omitable = true);
523 parameter->SetDefaultValue(0);
524 parameter->SetGuidance
525 ("Depth of propagation (-1 means unlimited depth).");
526 fpCommand->SetParameter(parameter);
527 parameter = new G4UIparameter("lineStyle", 's', omitable = true);
528 parameter->SetParameterCandidates("unbroken dashed dotted");
529 parameter->SetDefaultValue("unbroken");
530 fpCommand->SetParameter(parameter);
531}
532
534{
535 delete fpCommand;
536}
537
540{
541 return "";
542}
543
545(G4UIcommand*, G4String newValue)
546{
547 G4String name, lineStyleString;
548 G4int requestedDepth;
549 std::istringstream iss(newValue);
550 iss >> name >> requestedDepth >> lineStyleString;
552 if (lineStyleString == "unbroken") lineStyle = G4VisAttributes::unbroken;
553 if (lineStyleString == "dashed") lineStyle = G4VisAttributes::dashed;
554 if (lineStyleString == "dotted") lineStyle = G4VisAttributes::dotted;
555
556 G4VisCommandGeometrySetLineStyleFunction setLineStyle(lineStyle);
557 Set(name, setLineStyle, requestedDepth);
558}
559
561
563{
564 G4bool omitable;
565 fpCommand = new G4UIcommand("/vis/geometry/set/lineWidth", this);
566 fpCommand->SetGuidance("Sets line width of logical volume(s) drawing.");
567 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
569 ("Optionally propagates down hierarchy to given depth.");
570 G4UIparameter* parameter;
571 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
572 parameter->SetDefaultValue("all");
573 fpCommand->SetParameter(parameter);
574 parameter = new G4UIparameter("depth", 'd', omitable = true);
575 parameter->SetDefaultValue(0);
576 parameter->SetGuidance
577 ("Depth of propagation (-1 means unlimited depth).");
578 fpCommand->SetParameter(parameter);
579 parameter = new G4UIparameter("lineWidth", 'd', omitable = true);
580 parameter->SetDefaultValue(1.);
581 fpCommand->SetParameter(parameter);
582}
583
585{
586 delete fpCommand;
587}
588
591{
592 return "";
593}
594
596(G4UIcommand*, G4String newValue)
597{
599 G4int requestedDepth;
600 G4double lineWidth;
601 std::istringstream iss(newValue);
602 iss >> name >> requestedDepth >> lineWidth;
603
604 G4VisCommandGeometrySetLineWidthFunction setLineWidth(lineWidth);
605 Set(name, setLineWidth, requestedDepth);
606}
607
609
611{
612 G4bool omitable;
613 fpCommand = new G4UIcommand("/vis/geometry/set/visibility", this);
614 fpCommand->SetGuidance("Sets visibility of logical volume(s).");
615 fpCommand->SetGuidance("\"all\" sets all logical volumes.");
617 ("Optionally propagates down hierarchy to given depth.");
618 G4UIparameter* parameter;
619 parameter = new G4UIparameter ("logical-volume-name", 's', omitable = true);
620 parameter->SetDefaultValue("all");
621 fpCommand->SetParameter(parameter);
622 parameter = new G4UIparameter("depth", 'd', omitable = true);
623 parameter->SetDefaultValue(0);
624 parameter->SetGuidance
625 ("Depth of propagation (-1 means unlimited depth).");
626 fpCommand->SetParameter(parameter);
627 parameter = new G4UIparameter("visibility", 'b', omitable = true);
628 parameter->SetDefaultValue(true);
629 fpCommand->SetParameter(parameter);
630}
631
633{
634 delete fpCommand;
635}
636
638{
639 return "";
640}
641
643(G4UIcommand*, G4String newValue)
644{
646 G4int requestedDepth;
647 G4String visibilityString;
648 std::istringstream iss(newValue);
649 iss >> name >> requestedDepth >> visibilityString;
650 G4bool visibility = G4UIcommand::ConvertToBool(visibilityString);
651
652 G4VisCommandGeometrySetVisibilityFunction setVisibility(visibility);
653 Set(name, setVisibility, requestedDepth);
654
656 if (pViewer) {
657 const G4ViewParameters& viewParams = pViewer->GetViewParameters();
659 if (!viewParams.IsCulling() ||
660 !viewParams.IsCullingInvisible()) {
661 G4cout <<
662 "Culling must be on - \"/vis/viewer/set/culling global true\" and"
663 "\n \"/vis/viewer/set/culling invisible true\" - to see effect."
664 << G4endl;
665 }
666 }
667 }
668}
669
671(G4LogicalVolume* pLV, G4int requestedDepth,G4bool visibility)
672{
673 if (!pLV) return;
674 G4VisCommandGeometrySetVisibilityFunction setVisibility(visibility);
675 SetLVVisAtts(pLV, setVisibility, 0, requestedDepth);
676
678 if (pViewer) {
679 G4UImanager::GetUIpointer()->ApplyCommand("/vis/scene/notifyHandlers");
680 const G4ViewParameters& viewParams = pViewer->GetViewParameters();
682 if (!viewParams.IsCulling() ||
683 !viewParams.IsCullingInvisible()) {
684 G4cout <<
685 "Culling must be on - \"/vis/viewer/set/culling global true\" and"
686 "\n \"/vis/viewer/set/culling invisible true\" - to see effect."
687 << G4endl;
688 }
689 }
690 }
691}
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
G4GLOB_DLL std::ostream G4cerr
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
static G4LogicalVolumeStore * GetInstance()
const G4VisAttributes * GetVisAttributes() const
size_t GetNoDaughters() const
G4VPhysicalVolume * GetDaughter(const G4int i) const
void SetVisAttributes(const G4VisAttributes *pVA)
const G4String & GetName() const
void SetParameter(G4UIparameter *const newParameter)
Definition: G4UIcommand.hh:146
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:156
static G4bool ConvertToBool(const char *st)
Definition: G4UIcommand.cc:545
G4int ApplyCommand(const char *aCommand)
Definition: G4UImanager.cc:485
static G4UImanager * GetUIpointer()
Definition: G4UImanager.cc:77
void SetDefaultValue(const char *theDefaultValue)
void SetGuidance(const char *theGuidance)
void SetParameterCandidates(const char *theString)
G4LogicalVolume * GetLogicalVolume() const
const G4ViewParameters & GetViewParameters() const
void SetLVVisAtts(G4LogicalVolume *, const G4VVisCommandGeometrySetFunction &, G4int depth, G4int requestedDepth)
void Set(G4String logVolName, const G4VVisCommandGeometrySetFunction &, G4int requestedDepth)
static std::map< G4LogicalVolume *, const G4VisAttributes * > fVisAttsMap
void ConvertToColour(G4Colour &colour, const G4String &redOrString, G4double green, G4double blue, G4double opacity)
static G4VisManager * fpVisManager
G4bool IsCulling() const
G4bool IsCullingInvisible() const
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValueOnLV(G4LogicalVolume *pLV, G4int, G4bool)
G4VViewer * GetCurrentViewer() const
const G4SceneList & GetSceneList() const
static Verbosity GetVerbosity()
const char * name(G4int ptype)