Documentation of 'org.jzy3d.plot3d.transform.Rotate' Java class
Rotate
org.jzy3d.plot3d.transform

Class Rotate



  • public class Rotate
    extends java.lang.Object
    Rotate is a Transformer that stores the angle and rotate values required to perform the effective OpenGL rotation in the ModelView matrix.
    • Constructor Detail

      • Rotate

        public Rotate(float angle,
                      Coord3d rotate)
        Initialize a Rotation.
        Parameters:
        angle -
        rotate -
      • Rotate

        public Rotate(double angle,
                      Coord3d rotate)
    • Method Detail

      • execute

        public void execute(com.jogamp.opengl.GL gl)
        Execute the transformation to the current GL context. As Transformer are usually help by an , the transformation will apply to this . Computation is performed by GPU.
      • compute

        public Coord3d compute(Coord3d input)
        Apply the transformations to the input coordinates. Computation is performed by CPU.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getAngle

        public float getAngle()
      • setAngle

        public void setAngle(float angle)
      • getRotate

        public Coord3d getRotate()
      • setRotate

        public void setRotate(Coord3d rotate)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.