Class Torus3d

    • Field Detail

      • _innerRadius

        protected double _innerRadius
      • _outerRadius

        protected double _outerRadius
      • _circleSamples

        protected int _circleSamples
      • _radialSamples

        protected int _radialSamples
    • Constructor Detail

      • Torus3d

        public Torus3d​(double radius,
                       double innerRadius,
                       double outerRadius,
                       int circleSamples,
                       int radialSamples)
        Creates default Tube.
        Parameters:
        outerRadius -
        innerRadius -
        height -
      • Torus3d

        public Torus3d​(java.lang.Object position,
                       java.lang.Object rotation,
                       java.lang.Object size,
                       int absFlags,
                       java.lang.Object c,
                       java.lang.String materialpath,
                       java.lang.String texturePath,
                       double innerRadius,
                       double outerRadius,
                       int circleSamples,
                       int radialSamples,
                       IParsedExpression drawcondition,
                       java.lang.String shadowtype,
                       java.util.ArrayList<SpatialControl> controler)
        Creates a new Cylinder3d drawable.
        Parameters:
        position - position or position-binding
        xrotation - xrotation or rotation-binding
        yrotation - yrotation or rotation-binding
        zrotation - zrotation or rotation-binding
        size - size or size-binding
        absFlags - flags for setting position, size and rotation as absolutes
        c - modulation color or binding
        radius -
        samples -
        planes -
    • Method Detail

      • getInnerRadius

        public double getInnerRadius()
        Returns:
        the _innerRadius
      • setInnerRadius

        public void setInnerRadius​(double innerRadius)
        Parameters:
        _innerRadius - the _innerRadius to set
      • getOuterRadius

        public double getOuterRadius()
        Returns:
        the _outerRadius
      • setOuterRadius

        public void setOuterRadius​(double outerRadius)
        Parameters:
        _outerRadius - the _outerRadius to set
      • getCircleSamples

        public int getCircleSamples()
        Returns:
        the _circleSamples
      • setCircleSamples

        public void setCircleSamples​(int circleSamples)
        Parameters:
        _circleSamples - the _circleSamples to set
      • getRadialSamples

        public int getRadialSamples()
        Returns:
        the _radialSamples
      • setRadialSamples

        public void setRadialSamples​(int radialSamples)
        Parameters:
        _radialSamples - the _radialSamples to set