44{
47
49 ("/vis/touchable/set/colour", this);
50 fpCommandSetColour->
SetGuidance(
"Set colour of current touchable.");
52 ("Use \"/vis/set/touchable\" to set current touchable.");
63 parameter =
new G4UIparameter(
"opacity",
'd', omitable =
true);
66
68 ("/vis/touchable/set/daughtersInvisible", this);
70 ("Daughters of current touchable invisible: true/false.");
72 ("Use \"/vis/set/touchable\" to set current touchable.");
73 fpCommandSetDaughtersInvisible->
SetParameterName(
"daughtersInvisible", omitable =
true);
75
77 ("/vis/touchable/set/forceAuxEdgeVisible", this);
79 ("Force auxiliary (soft) edges of current touchable to be visible: true/false.");
81 ("Use \"/vis/set/touchable\" to set current touchable.");
82 fpCommandSetForceAuxEdgeVisible->
SetParameterName(
"forceAuxEdgeVisible", omitable =
true);
84
86 ("/vis/touchable/set/forceCloud", this);
88 ("Force current touchable always to be drawn as a cloud.");
90 ("Use \"/vis/set/touchable\" to set current touchable.");
93
95 ("/vis/touchable/set/forceSolid", this);
97 ("Force current touchable always to be drawn solid (surface drawing).");
99 ("Use \"/vis/set/touchable\" to set current touchable.");
102
104 ("/vis/touchable/set/forceWireframe", this);
106 ("Force current touchable always to be drawn as wireframe.");
108 ("Use \"/vis/set/touchable\" to set current touchable.");
109 fpCommandSetForceWireframe->
SetParameterName(
"forceWireframe", omitable =
true);
111
113 ("/vis/touchable/set/lineSegmentsPerCircle", this);
115 ("For current touchable, set number of line segments per circle, the"
116 "\nprecision with which a curved line or surface is represented by a"
117 "\npolygon or polyhedron, regardless of the view parameters."
118 "\nNegative to pick up G4Polyhedron default value.");
120 ("Use \"/vis/set/touchable\" to set current touchable.");
121 fpCommandSetLineSegmentsPerCircle->
SetParameterName(
"lineSegmentsPerCircle", omitable =
true);
123
125 ("/vis/touchable/set/lineStyle", this);
126 fpCommandSetLineStyle->
SetGuidance(
"Set line style of current touchable drawing.");
128 ("Use \"/vis/set/touchable\" to set current touchable.");
130 fpCommandSetLineStyle->
SetCandidates(
"unbroken dashed dotted");
132
134 ("/vis/touchable/set/lineWidth", this);
135 fpCommandSetLineWidth->
SetGuidance(
"Set line width of current touchable.");
137 ("Use \"/vis/set/touchable\" to set current touchable.");
140
142 ("/vis/touchable/set/numberOfCloudPoints", this);
144 ("For current touchable, set number of cloud points for cloud drawing."
145 "\n<= 0 means under control of viewer.");
147 ("Use \"/vis/set/touchable\" to set current touchable.");
148 fpCommandSetNumberOfCloudPoints->
SetParameterName(
"numberOfCloudPoints", omitable =
true);
150
152 ("/vis/touchable/set/visibility", this);
154 ("Set visibility of current touchable: true/false.");
156 ("Use \"/vis/set/touchable\" to set current touchable.");
159}
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()