45{
48
50 ("/vis/touchable/set/colour", this);
51 fpCommandSetColour->
SetGuidance(
"Set colour of current touchable.");
53 ("Use \"/vis/set/touchable\" to set current touchable.");
57 ("Red component or a string, e.g., \"blue\", in which case succeeding colour"
58 "\ncomponents are ignored.");
66 parameter =
new G4UIparameter(
"opacity",
'd', omitable =
true);
69
71 ("/vis/touchable/set/daughtersInvisible", this);
73 ("Daughters of current touchable invisible: true/false.");
75 ("Use \"/vis/set/touchable\" to set current touchable.");
76 fpCommandSetDaughtersInvisible->
SetParameterName(
"daughtersInvisible", omitable =
true);
78
80 ("/vis/touchable/set/forceAuxEdgeVisible", this);
82 ("Force auxiliary (soft) edges of current touchable to be visible:"
83 " true/false.");
85 ("Use \"/vis/set/touchable\" to set current touchable.");
86 fpCommandSetForceAuxEdgeVisible->
SetParameterName(
"forceAuxEdgeVisible", omitable =
true);
88
90 ("/vis/touchable/set/lineSegmentsPerCircle", this);
92 ("For current touchable, set number of line segments per circle, the"
93 "\nprecision with which a curved line or surface is represented by a"
94 "\npolygon or polyhedron, regardless of the view parameters."
95 "\nNegative to pick up G4Polyhedron default value.");
97 ("Use \"/vis/set/touchable\" to set current touchable.");
98 fpCommandSetLineSegmentsPerCircle->
SetParameterName(
"lineSegmentsPerCircle", omitable =
true);
100
102 ("/vis/touchable/set/forceSolid", this);
104 ("Force current touchable always to be drawn solid (surface drawing).");
106 ("Use \"/vis/set/touchable\" to set current touchable.");
109
111 ("/vis/touchable/set/forceWireframe", this);
113 ("Force current touchable always to be drawn as wireframe.");
115 ("Use \"/vis/set/touchable\" to set current touchable.");
116 fpCommandSetForceWireframe->
SetParameterName(
"forceWireframe", omitable =
true);
118
120 ("/vis/touchable/set/lineStyle", this);
121 fpCommandSetLineStyle->
SetGuidance(
"Set line style of current touchable drawing.");
123 ("Use \"/vis/set/touchable\" to set current touchable.");
125 fpCommandSetLineStyle->
SetCandidates(
"unbroken dashed dotted");
127
129 ("/vis/touchable/set/lineWidth", this);
130 fpCommandSetLineWidth->
SetGuidance(
"Set line width of current touchable.");
132 ("Use \"/vis/set/touchable\" to set current touchable.");
135
137 ("/vis/touchable/set/visibility", this);
139 ("Set visibility of current touchable: true/false.");
141 ("Use \"/vis/set/touchable\" to set current touchable.");
144}
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(G4double defVal)
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
void SetDefaultValue(const char *theDefaultValue)
void SetGuidance(const char *theGuidance)