49 (
"/vis/touchable/set/colour",
this);
52 (
"Use \"/vis/set/touchable\" to set current touchable.");
63 parameter =
new G4UIparameter(
"opacity",
'd', omitable =
true);
68 (
"/vis/touchable/set/daughtersInvisible",
this);
70 (
"Daughters of current touchable invisible: true/false.");
72 (
"Use \"/vis/set/touchable\" to set current touchable.");
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.");
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.");
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.");
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.");
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.");
125 (
"/vis/touchable/set/lineStyle",
this);
128 (
"Use \"/vis/set/touchable\" to set current touchable.");
134 (
"/vis/touchable/set/lineWidth",
this);
137 (
"Use \"/vis/set/touchable\" to set current touchable.");
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.");
152 (
"/vis/touchable/set/visibility",
this);
154 (
"Set visibility of current touchable: true/false.");
156 (
"Use \"/vis/set/touchable\" to set current touchable.");
185 if (!currentViewer) {
188 "ERROR: G4VisCommandsTouchableSet::SetNewValue: no current viewer."
201 std::istringstream iss(newValue);
202 iss >> redOrString >> green >> blue >> opacity;
270 if (newValue ==
"dashed") {
272 }
else if (newValue ==
"dotted") {
315 "ERROR: G4VisCommandsTouchableSet::SetNewValue: unrecognised command."
G4GLOB_DLL std::ostream G4cerr
@ VASForceNumberOfCloudPoints
@ VASForceLineSegmentsPerCircle
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)
static G4int ConvertToInt(const char *st)
static G4bool ConvertToBool(const char *st)
static G4double ConvertToDouble(const char *st)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()
void SetDefaultValue(const char *theDefaultValue)
const G4ViewParameters & GetViewParameters() const
void ConvertToColour(G4Colour &colour, const G4String &redOrString, G4double green, G4double blue, G4double opacity)
static G4VisManager * fpVisManager
void SetViewParameters(G4VViewer *viewer, const G4ViewParameters &viewParams)
const G4String & ConvertToColourGuidance()
static G4PhysicalVolumeModel::TouchableProperties fCurrentTouchableProperties
void AddVisAttributesModifier(const G4ModelingParameters::VisAttributesModifier &)
void SetColour(const G4Colour &)
void SetVisibility(G4bool=true)
void SetForceAuxEdgeVisible(G4bool=true)
void SetForceCloud(G4bool=true)
void SetForceWireframe(G4bool=true)
void SetLineWidth(G4double)
void SetForceSolid(G4bool=true)
void SetLineStyle(LineStyle)
void SetForceLineSegmentsPerCircle(G4int nSegments)
void SetDaughtersInvisible(G4bool=true)
void SetForceNumberOfCloudPoints(G4int nPoints)
G4UIcmdWithAnInteger * fpCommandSetLineSegmentsPerCircle
G4UIcmdWithAString * fpCommandSetLineStyle
G4UIcmdWithAnInteger * fpCommandSetNumberOfCloudPoints
G4UIcmdWithABool * fpCommandSetForceSolid
void SetNewValue(G4UIcommand *command, G4String newValue)
virtual ~G4VisCommandsTouchableSet()
G4UIcmdWithABool * fpCommandSetDaughtersInvisible
G4UIcommand * fpCommandSetColour
G4String GetCurrentValue(G4UIcommand *command)
G4UIcmdWithABool * fpCommandSetVisibility
G4UIcmdWithABool * fpCommandSetForceWireframe
G4VisCommandsTouchableSet()
G4UIcmdWithABool * fpCommandSetForceCloud
G4UIcmdWithABool * fpCommandSetForceAuxEdgeVisible
G4UIcmdWithADouble * fpCommandSetLineWidth
G4VViewer * GetCurrentViewer() const
static Verbosity GetVerbosity()
G4ModelingParameters::PVNameCopyNoPath fTouchablePath