46{
49
51 ("/vis/touchable/set/colour", this);
52 fpCommandSetColour->
SetGuidance(
"Set colour of current touchable.");
54 ("Use \"/vis/set/touchable\" to set current touchable.");
65 parameter =
new G4UIparameter(
"opacity",
'd', omitable =
true);
68
70 ("/vis/touchable/set/daughtersInvisible", this);
72 ("Daughters of current touchable invisible: true/false.");
74 ("Use \"/vis/set/touchable\" to set current touchable.");
75 fpCommandSetDaughtersInvisible->
SetParameterName(
"daughtersInvisible", omitable =
true);
77
79 ("/vis/touchable/set/forceAuxEdgeVisible", this);
81 ("Force auxiliary (soft) edges of current touchable to be visible: true/false.");
83 ("Use \"/vis/set/touchable\" to set current touchable.");
84 fpCommandSetForceAuxEdgeVisible->
SetParameterName(
"forceAuxEdgeVisible", omitable =
true);
86
88 ("/vis/touchable/set/forceCloud", this);
90 ("Force current touchable always to be drawn as a cloud.");
92 ("Use \"/vis/set/touchable\" to set current touchable.");
95
97 ("/vis/touchable/set/forceSolid", this);
99 ("Force current touchable always to be drawn solid (surface drawing).");
101 ("Use \"/vis/set/touchable\" to set current touchable.");
104
106 ("/vis/touchable/set/forceWireframe", this);
108 ("Force current touchable always to be drawn as wireframe.");
110 ("Use \"/vis/set/touchable\" to set current touchable.");
111 fpCommandSetForceWireframe->
SetParameterName(
"forceWireframe", omitable =
true);
113
115 ("/vis/touchable/set/lineSegmentsPerCircle", this);
117 ("For current touchable, set number of line segments per circle, the"
118 "\nprecision with which a curved line or surface is represented by a"
119 "\npolygon or polyhedron, regardless of the view parameters."
120 "\nNegative to pick up G4Polyhedron default value.");
122 ("Use \"/vis/set/touchable\" to set current touchable.");
123 fpCommandSetLineSegmentsPerCircle->
SetParameterName(
"lineSegmentsPerCircle", omitable =
true);
125
127 ("/vis/touchable/set/lineStyle", this);
128 fpCommandSetLineStyle->
SetGuidance(
"Set line style of current touchable drawing.");
130 ("Use \"/vis/set/touchable\" to set current touchable.");
132 fpCommandSetLineStyle->
SetCandidates(
"unbroken dashed dotted");
134
136 ("/vis/touchable/set/lineWidth", this);
137 fpCommandSetLineWidth->
SetGuidance(
"Set line width of current touchable.");
139 ("Use \"/vis/set/touchable\" to set current touchable.");
142
144 ("/vis/touchable/set/numberOfCloudPoints", this);
146 ("For current touchable, set number of cloud points for cloud drawing."
147 "\n<= 0 means under control of viewer.");
149 ("Use \"/vis/set/touchable\" to set current touchable.");
150 fpCommandSetNumberOfCloudPoints->
SetParameterName(
"numberOfCloudPoints", omitable =
true);
152
154 ("/vis/touchable/set/visibility", this);
156 ("Set visibility of current touchable: true/false.");
158 ("Use \"/vis/set/touchable\" to set current touchable.");
161}
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)
const G4String & ConvertToColourGuidance()