Class Cylinder3D

    • Field Detail

      • circleDivisions

        public 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 Parameter height
        The height of the cylinder. This is a double with default 0.7.
      • sideDivisions

        public 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 Parameter radius
        The radius of the cylinder. This is a double with default 0.5.
    • Method Detail

      • _getNodeObject

        protected javax.media.j3d.Node _getNodeObject()
        Return the encapsulated Java3D node of this 3D actor. The encapsulated node for this actor is a Java3D Cylinder.
        Specified by:
        _getNodeObject in class GRActor3D
        Returns:
        The Java3D Cylinder.