Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ModelCommandsT.hh
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// $Id$
27//
28// Generic model messenges.
29//
30// Jane Tinslay March 2006
31//
32#ifndef G4MODELCOMMANDST_HH
33#define G4MODELCOMMANDST_HH
34
36#include "G4Polymarker.hh"
37#include "G4UIdirectory.hh"
38#include <sstream>
39
40////////////////////////////////////////////////////////////////////////
41// Set parameter colour
42template <typename M>
44
45public: // With description
46
47 G4ModelCmdSetStringColour(M* model, const G4String& placement,
48 const G4String& cmdName="set")
49 :G4ModelCmdApplyStringColour<M>(model, placement, cmdName) {}
50
52
53protected:
54
55 virtual void Apply(const G4String& param, const G4Colour& colour) {
56 G4VModelCommand<M>::Model()->Set(param, colour);
57 }
58
59};
60
61////////////////////////////////////////////////////////////////////////
62// Set default colour
63template <typename M>
65
66public: // With description
67
68 G4ModelCmdSetDefaultColour(M* model, const G4String& placement,
69 const G4String& cmdName="setDefault")
70 :G4ModelCmdApplyColour<M>(model, placement, cmdName) {}
71
73
74protected:
75
76 virtual void Apply(const G4Colour& colour) {
77 G4VModelCommand<M>::Model()->SetDefault(colour);
78 }
79
80};
81
82////////////////////////////////////////////////////////////////////////
83// Add string command
84template <typename M>
86
87public: // With description
88
89 G4ModelCmdAddString(M* model, const G4String& placement,
90 const G4String& cmdName="add")
91 :G4ModelCmdApplyString<M>(model, placement, cmdName)
92 {
94 }
95
97
98protected:
99
100 virtual void Apply(const G4String& newValue) {
101 G4VModelCommand<M>::Model()->Add(newValue);
102 }
103
104};
105
106////////////////////////////////////////////////////////////////////////
107//Add integer command
108template <typename M>
110
111public: // With description
112
113 G4ModelCmdAddInt(M* model, const G4String& placement,
114 const G4String& cmdName="add")
115 :G4ModelCmdApplyInteger<M>(model, placement, cmdName)
116 {
118 }
119
120 virtual ~G4ModelCmdAddInt() {}
121
122protected:
123
124 virtual void Apply(const G4int& newValue) {
125 G4VModelCommand<M>::Model()->Add(newValue);
126 }
127
128};
129
130////////////////////////////////////////////////////////////////////////
131// Invert command
132template <typename M>
134
135public: // With description
136
137 G4ModelCmdInvert(M* model, const G4String& placement,
138 const G4String& cmdName="invert")
139 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
140 {
141 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Invert command");
142 }
143
144 virtual ~G4ModelCmdInvert() {}
145
146protected:
147
148 virtual void Apply(const G4bool& newValue) {
149 G4VModelCommand<M>::Model()->SetInvert(newValue);
150 }
151
152};
153
154////////////////////////////////////////////////////////////////////////
155// Active command
156template <typename M>
158
159public: // With description
160
161 G4ModelCmdActive(M* model, const G4String& placement,
162 const G4String& cmdName="active")
163 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
164 {
165 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Active command");
166 }
167
168 virtual ~G4ModelCmdActive() {}
169
170protected:
171
172 virtual void Apply(const G4bool& newValue) {
173 G4VModelCommand<M>::Model()->SetActive(newValue);
174 }
175
176};
177
178////////////////////////////////////////////////////////////////////////
179// Verbose command
180template <typename M>
182
183public: // With description
184
185 G4ModelCmdVerbose(M* model, const G4String& placement,
186 const G4String& cmdName="verbose")
187 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
188 {
189 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Verbose command");
190 }
191
193
194protected:
195
196 virtual void Apply(const G4bool& newValue) {
197 G4VModelCommand<M>::Model()->SetVerbose(newValue);
198 }
199
200};
201
202////////////////////////////////////////////////////////////////////////
203// Reset command
204template <typename M>
206
207public: // With description
208
209 G4ModelCmdReset(M* model, const G4String& placement,
210 const G4String& cmdName="reset")
211 :G4ModelCmdApplyNull<M>(model, placement, cmdName)
212 {
213 G4ModelCmdApplyNull<M>::Command()->SetGuidance("Reset command");
214 }
215
216 virtual ~G4ModelCmdReset() {}
217
218protected:
219
220 virtual void Apply() {
221 G4VModelCommand<M>::Model()->Reset();
222 }
223
224};
225
226////////////////////////////////////////////////////////////////////////
227// Set auxiliary points colour command
228template <typename M>
230
231public:
232
233 G4ModelCmdSetAuxPtsColour(M* model, const G4String& placement,
234 const G4String& cmdName="setAuxPtsColour")
235 :G4ModelCmdApplyColour<M>(model, placement, cmdName) {}
236
237protected:
238
239 void Apply(const G4Colour& colour) {
240 G4VModelCommand<M>::Model()->SetAuxPtsColour(colour);
241 }
242
243};
244
245////////////////////////////////////////////////////////////////////////
246// Set set points colour command
247template <typename M>
249
250public:
251
252 G4ModelCmdSetStepPtsColour(M* model, const G4String& placement,
253 const G4String& cmdName="setStepPtsColour")
254 :G4ModelCmdApplyColour<M>(model, placement, cmdName) {}
255
256protected:
257
258 void Apply(const G4Colour& colour) {
259 G4VModelCommand<M>::Model()->SetStepPtsColour(colour);
260 }
261
262};
263
264////////////////////////////////////////////////////////////////////////
265// Set draw line command
266template <typename M>
268
269public:
270
271 G4ModelCmdSetDrawLine(M* model, const G4String& placement,
272 const G4String& cmdName="setDrawLine")
273 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
274 {
275 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Set draw line command");
276 }
277
278protected:
279
280 void Apply(const G4bool& myBool) {
281 G4VModelCommand<M>::Model()->SetDrawLine(myBool);
282 }
283
284};
285
286////////////////////////////////////////////////////////////////////////
287// Set line visibility command
288template <typename M>
290
291public:
292
293 G4ModelCmdSetLineVisible(M* model, const G4String& placement,
294 const G4String& cmdName="setLineVisible")
295 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
296 {
297 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Set line visibility command");
298 }
299
300protected:
301
302 void Apply(const G4bool& myBool) {
303 G4VModelCommand<M>::Model()->SetLineVisible(myBool);
304 }
305
306};
307
308////////////////////////////////////////////////////////////////////////
309// Set draw auxiliary points command
310template <typename M>
312
313public:
314
315 G4ModelCmdSetDrawAuxPts(M* model, const G4String& placement,
316 const G4String& cmdName="setDrawAuxPts")
317 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
318 {
319 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Set draw auxiliary points command");
320 }
321
322protected:
323
324 void Apply(const G4bool& myBool) {
325 G4VModelCommand<M>::Model()->SetDrawAuxPts(myBool);
326 }
327
328};
329
330////////////////////////////////////////////////////////////////////////
331// Set auxiliary points visibility
332template <typename M>
334
335public:
336
337 G4ModelCmdSetAuxPtsVisible(M* model, const G4String& placement,
338 const G4String& cmdName="setAuxPtsVisible")
339 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
340 {
341 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Set auxiliary points visibility command");
342 }
343
344protected:
345
346 void Apply(const G4bool& myBool) {
347 G4VModelCommand<M>::Model()->SetAuxPtsVisible(myBool);
348 }
349
350};
351
352////////////////////////////////////////////////////////////////////////
353// Set draw step points command
354template <typename M>
356
357public:
358
359 G4ModelCmdSetDrawStepPts(M* model, const G4String& placement,
360 const G4String& cmdName="setDrawStepPts")
361 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
362 {
363 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Set draw step points command");
364 }
365
366protected:
367
368 void Apply(const G4bool& myBool) {
369 G4VModelCommand<M>::Model()->SetDrawStepPts(myBool);
370 }
371
372};
373
374////////////////////////////////////////////////////////////////////////
375// Set step points visible command
376template <typename M>
378
379public:
380
381 G4ModelCmdSetStepPtsVisible(M* model, const G4String& placement,
382 const G4String& cmdName="setStepPtsVisible")
383 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
384 {
385 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Set step points visible command");
386 }
387
388protected:
389
390 void Apply(const G4bool& myBool) {
391 G4VModelCommand<M>::Model()->SetStepPtsVisible(myBool);
392 }
393
394};
395
396////////////////////////////////////////////////////////////////////////
397// Set auxiliary points size command
398template <typename M>
400
401public:
402
403 G4ModelCmdSetAuxPtsSize(M* model, const G4String& placement,
404 const G4String& cmdName="setAuxPtsSize")
405 :G4ModelCmdApplyString<M>(model, placement, cmdName)
406 {
407 G4ModelCmdApplyString<M>::Command()->SetGuidance("Set auxiliary points size command");
408 }
409
410protected:
411
412 void Apply(const G4String& sizeString) {
413 std::istringstream iss(sizeString);
414 G4double size;
415 G4String unit;
416 iss >> size >> unit;
417 if (G4VModelCommand<M>::Model()->GetAuxPtsSizeType() == G4VMarker::world)
418 {
420 G4VModelCommand<M>::Model()->SetAuxPtsSize(myDouble);
421 }
422 else // none or screen
423 {
424 G4VModelCommand<M>::Model()->SetAuxPtsSize(size);
425 }
426 }
427
428};
429
430////////////////////////////////////////////////////////////////////////
431// Set step points size command
432template <typename M>
434
435public:
436
437 G4ModelCmdSetStepPtsSize(M* model, const G4String& placement,
438 const G4String& cmdName="setStepPtsSize")
439 :G4ModelCmdApplyString<M>(model, placement, cmdName)
440 {
441 G4ModelCmdApplyString<M>::Command()->SetGuidance("Set step points size command");
442 }
443
444protected:
445
446 void Apply(const G4String& sizeString) {
447 std::istringstream iss(sizeString);
448 G4double size;
449 G4String unit;
450 iss >> size >> unit;
451 if (G4VModelCommand<M>::Model()->GetStepPtsSizeType() == G4VMarker::world)
452 {
454 G4VModelCommand<M>::Model()->SetStepPtsSize(myDouble);
455 }
456 else // none or screen
457 {
458 G4VModelCommand<M>::Model()->SetStepPtsSize(size);
459 }
460 }
461
462};
463
464////////////////////////////////////////////////////////////////////////
465// Set step points type command
466template <typename M>
468
469public:
470
471 G4ModelCmdSetStepPtsType(M* model, const G4String& placement,
472 const G4String& cmdName="setStepPtsType")
473 :G4ModelCmdApplyString<M>(model, placement, cmdName)
474 {
476 cmd->SetGuidance("Set step points type.");
477 cmd->SetCandidates("dots circles squares");
478 }
479
480protected:
481
482 void Apply(const G4String& type) {
484
485 if (type == "dots") {myType = G4Polymarker::dots;}
486 else if (type == "circles") {myType = G4Polymarker::circles;}
487 else if (type == "squares") {myType = G4Polymarker::squares;}
488 else {
490 ed << "Invalid argument. See command guidance for options.";
492 ("G4ModelCmdSetStepPtsType::Apply",
493 "modeling0109", JustWarning, ed);
494 return;
495 }
496 G4VModelCommand<M>::Model()->SetStepPtsType(myType);
497 }
498
499};
500
501////////////////////////////////////////////////////////////////////////
502// Set auxiliary points type command
503template <typename M>
505
506public:
507
508 G4ModelCmdSetAuxPtsType(M* model, const G4String& placement,
509 const G4String& cmdName="setAuxPtsType")
510 :G4ModelCmdApplyString<M>(model, placement, cmdName)
511 {
513
514 cmd->SetGuidance("Set auxiliary points type.");
515 cmd->SetCandidates("dots circles squares");
516 }
517
518protected:
519
520 void Apply(const G4String& type) {
522
523 if (type == "dots") {myType = G4Polymarker::dots;}
524 else if (type == "circles") {myType = G4Polymarker::circles;}
525 else if (type == "squares") {myType = G4Polymarker::squares;}
526 else {
528 ed << "Invalid argument. See command guidance for options.";
530 ("G4ModelCmdSetAuxPtsType::Apply",
531 "modeling0110", JustWarning, ed);
532 return;
533 }
534
535 G4VModelCommand<M>::Model()->SetAuxPtsType(myType);
536 }
537
538};
539
540////////////////////////////////////////////////////////////////////////
541// Set step points size type command
542template <typename M>
544
545public:
546
547 G4ModelCmdSetStepPtsSizeType(M* model, const G4String& placement,
548 const G4String& cmdName="setStepPtsSizeType")
549 :G4ModelCmdApplyString<M>(model, placement, cmdName)
550 {
552 cmd->SetGuidance("Set step size type.");
553 cmd->SetCandidates("none world screen");
554 }
555
556protected:
557
558 void Apply(const G4String& type) {
559 G4VMarker::SizeType mySizeType;
560
561 if (type == "none") {mySizeType = G4VMarker::none;}
562 else if (type == "world") {mySizeType = G4VMarker::world;}
563 else if (type == "screen") {mySizeType = G4VMarker::screen;}
564 else {
566 ed << "Invalid argument. See command guidance for options.";
568 ("G4ModelCmdSetStepPtsSizeType::Apply",
569 "modeling0111", JustWarning, ed);
570 return;
571 }
572 G4VModelCommand<M>::Model()->SetStepPtsSizeType(mySizeType);
573 }
574
575};
576
577////////////////////////////////////////////////////////////////////////
578// Set auxiliary points size type command
579template <typename M>
581
582public:
583
584 G4ModelCmdSetAuxPtsSizeType(M* model, const G4String& placement,
585 const G4String& cmdName="setAuxPtsSizeType")
586 :G4ModelCmdApplyString<M>(model, placement, cmdName)
587 {
589 cmd->SetGuidance("Set auxiliary size type.");
590 cmd->SetCandidates("none world screen");
591 }
592
593protected:
594
595 void Apply(const G4String& type) {
596 G4VMarker::SizeType mySizeType;
597
598 if (type == "none") {mySizeType = G4VMarker::none;}
599 else if (type == "world") {mySizeType = G4VMarker::world;}
600 else if (type == "screen") {mySizeType = G4VMarker::screen;}
601 else {
603 ed << "Invalid argument. See command guidance for options.";
605 ("G4ModelCmdSetAuxPtsSizeType::Apply",
606 "modeling0112", JustWarning, ed);
607 return;
608 }
609 G4VModelCommand<M>::Model()->SetAuxPtsSizeType(mySizeType);
610 }
611
612};
613
614////////////////////////////////////////////////////////////////////////
615// Set step points fill style command
616template <typename M>
618
619public:
620
621 G4ModelCmdSetStepPtsFillStyle(M* model, const G4String& placement,
622 const G4String& cmdName="setStepPtsFillStyle")
623 :G4ModelCmdApplyString<M>(model, placement, cmdName)
624 {
626 cmd->SetGuidance("Set step fill style type.");
627 cmd->SetCandidates("noFill hashed filled");
628 }
629
630protected:
631
632 void Apply(const G4String& type) {
633 G4VMarker::FillStyle myFillStyle;
634
635 if (type == "noFill") {myFillStyle = G4VMarker::noFill;}
636 else if (type == "hashed") {myFillStyle = G4VMarker::hashed;}
637 else if (type == "filled") {myFillStyle = G4VMarker::filled;}
638 else {
640 ed << "Invalid argument. See command guidance for options.";
642 ("G4ModelCmdSetStepPtsFillStyle::Apply",
643 "modeling0113", JustWarning, ed);
644 return;
645 }
646 G4VModelCommand<M>::Model()->SetStepPtsFillStyle(myFillStyle);
647 }
648
649};
650
651////////////////////////////////////////////////////////////////////////
652// Set auxiliary points fill style command
653template <typename M>
655
656public:
657
658 G4ModelCmdSetAuxPtsFillStyle(M* model, const G4String& placement,
659 const G4String& cmdName="setAuxPtsFillStyle")
660 :G4ModelCmdApplyString<M>(model, placement, cmdName)
661 {
663 cmd->SetGuidance("Set auxiliary fill style.");
664 cmd->SetCandidates("noFill hashed filled");
665 }
666
667protected:
668
669 void Apply(const G4String& type) {
670 G4VMarker::FillStyle myFillStyle;
671
672 if (type == "noFill") {myFillStyle = G4VMarker::noFill;}
673 else if (type == "hashed") {myFillStyle = G4VMarker::hashed;}
674 else if (type == "filled") {myFillStyle = G4VMarker::filled;}
675 else {
677 ed << "Invalid argument. See command guidance for options.";
679 ("G4ModelCmdSetAuxPtsFillStyle::Apply",
680 "modeling0114", JustWarning, ed);
681 return;
682 }
683 G4VModelCommand<M>::Model()->SetAuxPtsFillStyle(myFillStyle);
684 }
685
686};
687
688////////////////////////////////////////////////////////////////////////
689// SetLineColour command
690template <typename M>
692
693public:
694
695 G4ModelCmdSetLineColour(M* model, const G4String& placement,
696 const G4String& cmdName="""setLineColour")
697 :G4ModelCmdApplyColour<M>(model, placement, cmdName){}
698
699protected:
700
701 void Apply(const G4Colour& colour) {
702 G4VModelCommand<M>::Model()->SetLineColour(colour);
703 }
704
705};
706
707////////////////////////////////////////////////////////////////////////
708// Set time slice interval command
709template <typename M>
711
712public:
713
714 G4ModelCmdSetTimeSliceInterval(M* model, const G4String& placement,
715 const G4String& cmdName = "setTimeSliceInterval")
716 :G4ModelCmdApplyDoubleAndUnit<M>(model, placement, cmdName)
717 {
719 cmd->SetGuidance
720 ("Set time slice interval. Give unit, e.g., \"0.1 ns\"");
721 cmd->SetUnitCategory("Time");
722 }
723
724protected:
725
726 void Apply(const G4double& myDouble) {
727 G4VModelCommand<M>::Model()->SetTimeSliceInterval(myDouble);
728 }
729
730};
731
732////////////////////////////////////////////////////////////////////////
733// Create context directory command
734template <typename M>
736
737public:
738
739 G4ModelCmdCreateContextDir(M* model, const G4String& placement)
740 {
741 G4String title = placement+"/"+model->Name()+"/";
742 cmd = new G4UIdirectory(title);
743
744 cmd->SetGuidance("Commands for default configuration");
745 }
746
748 delete cmd;
749 }
750
751protected:
752
754
755};
756
757////////////////////////////////////////////////////////////////////////
758// Draw command
759template <typename M>
761
762public: // With description
763
764 G4ModelCmdDraw(M* model, const G4String& placement,
765 const G4String& cmdName="draw")
766 :G4ModelCmdApplyBool<M>(model, placement, cmdName)
767 {
769 }
770
771 virtual ~G4ModelCmdDraw() {}
772
773protected:
774
775 virtual void Apply(const G4bool& newValue) {
776 if (newValue) G4VModelCommand<M>::Model()->Draw();
777 }
778
779};
780
781////////////////////////////////////////////////////////////////////////
782// Set interval
783template <typename M>
785
786public: // With description
787
788 G4ModelCmdAddInterval(M* model, const G4String& placement,
789 const G4String& cmdName="addInterval")
790 :G4ModelCmdApplyString<M>(model, placement, cmdName)
791 {
793 cmd->SetGuidance("Set interval.");
794 }
795
797
798protected:
799
800 virtual void Apply(const G4String& param) {
801 G4VModelCommand<M>::Model()->AddInterval(param);
802
803 }
804};
805
806////////////////////////////////////////////////////////////////////////
807// Set value
808template <typename M>
810
811public: // With description
812
813 G4ModelCmdAddValue(M* model, const G4String& placement,
814 const G4String& cmdName="addValue")
815 :G4ModelCmdApplyString<M>(model, placement, cmdName)
816 {
818 cmd->SetGuidance("Set value.");
819 }
820
822protected:
823
824 virtual void Apply(const G4String& param) {
825 G4VModelCommand<M>::Model()->AddValue(param);
826
827 }
828};
829
830////////////////////////////////////////////////////////////////////////
831// Set string command
832template <typename M>
834
835public: // With description
836
837 G4ModelCmdSetString(M* model, const G4String& placement,
838 const G4String& cmdName="set")
839 :G4ModelCmdApplyString<M>(model, placement, cmdName)
840 {
842 }
843
845
846protected:
847
848 virtual void Apply(const G4String& newValue) {
849 G4VModelCommand<M>::Model()->Set(newValue);
850 }
851
852};
853
854#endif
@ JustWarning
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
bool G4bool
Definition: G4Types.hh:67
G4ModelCmdActive(M *model, const G4String &placement, const G4String &cmdName="active")
virtual ~G4ModelCmdActive()
virtual void Apply(const G4bool &newValue)
virtual void Apply(const G4int &newValue)
G4ModelCmdAddInt(M *model, const G4String &placement, const G4String &cmdName="add")
virtual ~G4ModelCmdAddInt()
virtual void Apply(const G4String &param)
G4ModelCmdAddInterval(M *model, const G4String &placement, const G4String &cmdName="addInterval")
virtual ~G4ModelCmdAddString()
G4ModelCmdAddString(M *model, const G4String &placement, const G4String &cmdName="add")
virtual void Apply(const G4String &newValue)
virtual void Apply(const G4String &param)
G4ModelCmdAddValue(M *model, const G4String &placement, const G4String &cmdName="addValue")
G4UIcmdWithABool * Command()
G4UIcmdWithADoubleAndUnit * Command()
G4UIcmdWithAnInteger * Command()
G4UIcmdWithAString * Command()
G4ModelCmdCreateContextDir(M *model, const G4String &placement)
virtual ~G4ModelCmdDraw()
virtual void Apply(const G4bool &newValue)
G4ModelCmdDraw(M *model, const G4String &placement, const G4String &cmdName="draw")
virtual void Apply(const G4bool &newValue)
G4ModelCmdInvert(M *model, const G4String &placement, const G4String &cmdName="invert")
virtual ~G4ModelCmdInvert()
virtual void Apply()
G4ModelCmdReset(M *model, const G4String &placement, const G4String &cmdName="reset")
virtual ~G4ModelCmdReset()
G4ModelCmdSetAuxPtsColour(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsColour")
void Apply(const G4Colour &colour)
void Apply(const G4String &type)
G4ModelCmdSetAuxPtsFillStyle(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsFillStyle")
void Apply(const G4String &type)
G4ModelCmdSetAuxPtsSizeType(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsSizeType")
void Apply(const G4String &sizeString)
G4ModelCmdSetAuxPtsSize(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsSize")
void Apply(const G4String &type)
G4ModelCmdSetAuxPtsType(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsType")
void Apply(const G4bool &myBool)
G4ModelCmdSetAuxPtsVisible(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsVisible")
virtual void Apply(const G4Colour &colour)
G4ModelCmdSetDefaultColour(M *model, const G4String &placement, const G4String &cmdName="setDefault")
void Apply(const G4bool &myBool)
G4ModelCmdSetDrawAuxPts(M *model, const G4String &placement, const G4String &cmdName="setDrawAuxPts")
void Apply(const G4bool &myBool)
G4ModelCmdSetDrawLine(M *model, const G4String &placement, const G4String &cmdName="setDrawLine")
void Apply(const G4bool &myBool)
G4ModelCmdSetDrawStepPts(M *model, const G4String &placement, const G4String &cmdName="setDrawStepPts")
G4ModelCmdSetLineColour(M *model, const G4String &placement, const G4String &cmdName="""setLineColour")
void Apply(const G4Colour &colour)
void Apply(const G4bool &myBool)
G4ModelCmdSetLineVisible(M *model, const G4String &placement, const G4String &cmdName="setLineVisible")
void Apply(const G4Colour &colour)
G4ModelCmdSetStepPtsColour(M *model, const G4String &placement, const G4String &cmdName="setStepPtsColour")
void Apply(const G4String &type)
G4ModelCmdSetStepPtsFillStyle(M *model, const G4String &placement, const G4String &cmdName="setStepPtsFillStyle")
G4ModelCmdSetStepPtsSizeType(M *model, const G4String &placement, const G4String &cmdName="setStepPtsSizeType")
void Apply(const G4String &type)
G4ModelCmdSetStepPtsSize(M *model, const G4String &placement, const G4String &cmdName="setStepPtsSize")
void Apply(const G4String &sizeString)
void Apply(const G4String &type)
G4ModelCmdSetStepPtsType(M *model, const G4String &placement, const G4String &cmdName="setStepPtsType")
void Apply(const G4bool &myBool)
G4ModelCmdSetStepPtsVisible(M *model, const G4String &placement, const G4String &cmdName="setStepPtsVisible")
virtual void Apply(const G4String &param, const G4Colour &colour)
G4ModelCmdSetStringColour(M *model, const G4String &placement, const G4String &cmdName="set")
virtual void Apply(const G4String &newValue)
G4ModelCmdSetString(M *model, const G4String &placement, const G4String &cmdName="set")
G4ModelCmdSetTimeSliceInterval(M *model, const G4String &placement, const G4String &cmdName="setTimeSliceInterval")
void Apply(const G4double &myDouble)
virtual ~G4ModelCmdVerbose()
G4ModelCmdVerbose(M *model, const G4String &placement, const G4String &cmdName="verbose")
virtual void Apply(const G4bool &newValue)
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetCandidates(const char *candidateList)
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:156
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76