/vis/touchable/set/

Set vis attributes of current touchable.

Commands

colour
daughtersInvisible
forceAuxEdgeVisible
forceCloud
forceSolid
forceWireframe
lineSegmentsPerCircle
lineStyle
lineWidth
numberOfCloudPoints
visibility

colour [red] [green] [blue] [opacity]

Set colour of current touchable.
Use "/vis/set/touchable" to set current touchable.
Accepts (a) RGB triplet. e.g., ".3 .4 .5", or (b) string such as "white", "black", "grey", "red"...or (c) an additional number for opacity, e.g., ".3 .4 .5 .6" or "grey ! ! .6" (note "!"'s for unused parameters).

Available at all Geant4 states.

Parameters
red type s Omittable : default value = 1.
green type d Omittable : default value = 1
blue type d Omittable : default value = 1
opacity type d Omittable : default value = 1

daughtersInvisible [daughtersInvisible]

Daughters of current touchable invisible: true/false.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
daughtersInvisible type b Omittable : default value = 1

forceAuxEdgeVisible [forceAuxEdgeVisible]

Force auxiliary (soft) edges of current touchable to be visible: true/false.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
forceAuxEdgeVisible type b Omittable : default value = 1

forceCloud [force]

Force current touchable always to be drawn as a cloud.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
force type b Omittable : default value = 1

forceSolid [force]

Force current touchable always to be drawn solid (surface drawing).
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
force type b Omittable : default value = 1

forceWireframe [forceWireframe]

Force current touchable always to be drawn as wireframe.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
forceWireframe type b Omittable : default value = 1

lineSegmentsPerCircle [lineSegmentsPerCircle]

For current touchable, set number of line segments per circle, the precision with which a curved line or surface is represented by a polygon or polyhedron, regardless of the view parameters. Negative to pick up G4Polyhedron default value.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
lineSegmentsPerCircle type i Omittable : default value = 0

lineStyle [lineStyle]

Set line style of current touchable drawing.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
lineStyle type s Omittable : default value = unbroken Parameter candidates : unbroken dashed dotted

lineWidth [lineWidth]

Set line width of current touchable.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
lineWidth type d Omittable : default value = 1

numberOfCloudPoints [numberOfCloudPoints]

For current touchable, set number of cloud points for cloud drawing. <= 0 means under control of viewer.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
numberOfCloudPoints type i Omittable : default value = 0

visibility [visibility]

Set visibility of current touchable: true/false.
Use "/vis/set/touchable" to set current touchable.

Available at all Geant4 states.

Parameters
visibility type b Omittable : default value = 1