41 : suffix (""), geometry(true), pointAttributes(false), solids(true), invisibles(true),
42 kgMocrenVolumeName("gMocrenVolume"),
43 kgMocrenScoringMeshName("gMocrenScoringMesh"),
44 kDrawVolumeGrid(false) {
45
47 kgMocrenDirectory->
SetGuidance(
"gMocren commands.");
48
49 setEventNumberSuffixCommand =
new G4UIcmdWithAString(
"/vis/gMocren/setEventNumberSuffix",
this);
50 setEventNumberSuffixCommand->
SetGuidance(
"Write separate event files, appended with given suffix.");
51 setEventNumberSuffixCommand->
SetGuidance(
"Define the suffix with a pattern such as '-0000'.");
55
56 appendGeometryCommand =
new G4UIcmdWithABool(
"/vis/gMocren/appendGeometry",
this);
57 appendGeometryCommand->
SetGuidance(
"Appends copy of geometry to every event.");
61
62 addPointAttributesCommand =
new G4UIcmdWithABool(
"/vis/gMocren/addPointAttributes",
this);
63 addPointAttributesCommand->
SetGuidance(
"Adds point attributes to the points of trajectories.");
67
69 useSolidsCommand->
SetGuidance(
"Use GMocren Solids, rather than Geant4 Primitives.");
73
74
75
76
77
78
79
80
81
82 kSetgMocrenVolumeNameCommand =
new G4UIcmdWithAString(
"/vis/gMocren/setVolumeName",
this);
83 kSetgMocrenVolumeNameCommand->
SetGuidance(
"detector name for a volume data in gMocren data.");
87
89 kAddgMocrenHitNameCommand->
SetGuidance(
"hit name for a dose distribution in gMocren data.");
92
94 kResetgMocrenHitNameCommand->
SetGuidance(
"reset all hit names.");
96
97 kSetgMocrenScoringMeshNameCommand =
new G4UIcmdWithAString(
"/vis/gMocren/setScoringMeshName",
this);
98 kSetgMocrenScoringMeshNameCommand->
SetGuidance(
"scoring mesh name for a dose distribution in gMocren data.");
99 kSetgMocrenScoringMeshNameCommand->
SetParameterName(
"kgMocrenScoringMeshName",
false);
100 kSetgMocrenScoringMeshNameCommand->
SetDefaultValue(
"gMocrenScoringMesh");
102
103 kAddgMocrenHitScorerNameCommand =
new G4UIcmdWithAString(
"/vis/gMocren/addHitScorerName",
this);
104 kAddgMocrenHitScorerNameCommand->
SetGuidance(
"hit scorer name for a dose distribution in gMocren data.");
105 kAddgMocrenHitScorerNameCommand->
SetParameterName(
"kgMocrenHitScorerNames",
false);
107
109 kResetgMocrenHitScorerNameCommand->
SetGuidance(
"reset all hit scorer names.");
111
112 kSetgMocrenNoVoxelsCommand =
new G4UIcommand(
"/vis/gMocren/setNumberOfVoxels",
this);
113 kSetgMocrenNoVoxelsCommand->
SetGuidance(
"set number of voxels.");
127
129 kListgMocrenCommand->
SetGuidance(
"list gMocren command parameters.");
131
132 kDrawVolumeGridCommand =
new G4UIcmdWithABool(
"/vis/gMocren/drawVolumeGrid",
this);
133 kDrawVolumeGridCommand->
SetGuidance(
"Add grid of the volume.");
137
138}
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultValue(const char *theDefaultValue)
void SetParameterRange(const char *theRange)