VisualSim.simulators.gr.lib
Class Cylinder3D
- public class Cylinder3D
- extends GRShadedShape
This actor contains the geometry and appearance specifications for a GR
cylinder. The output port is used to connect this actor to the Java3D
scene graph. This actor will only have meaning in the GR domain.
Note that most of the parameters are described in the base class documentation.
- Since:
- VisualSim1.0
circleDivisions
public VisualSim.data.expr.Parameter circleDivisions
- The number of divisions in the circles forming the ends of the
cylinder. This is an integer with
default value "max(6, roundToInt(radius * 100))". This parameter
determines the resolution of the cylinder, which is approximated
as a surface composed of rectangular facets. Increasing this
value makes the surface smoother, but also increases the cost
of rendering.
height
public VisualSim.data.expr.Parameter height
- The height of the cylinder. This is a double with
default 0.7.
sideDivisions
public VisualSim.data.expr.Parameter sideDivisions
- The number of divisions on the side of the cone.
This is an integer with default value "1". This parameter
probably only needs to change when the wireFrame option
is set to true.
radius
public VisualSim.data.expr.Parameter radius
- The radius of the cylinder. This is a double with
default 0.5.