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

Class Transform



  • public class Transform
    extends java.lang.Object
    A Transform stores a sequence of Transformers, that are of concrete type Rotate, Scale, Translate. When a Transform is executed by default, it first loads the identity matrix before executing the sequence of Transformers.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Transform()
      Initialize a list of Transformer.
      Transform(Transform transform)
      Initialize a list of Transformer with the sequence hold by the given Transform.
      Transform(org.jzy3d.plot3d.transform.Transformer transformer)
      Initialize a list of Transformer with a single Transformer as sequence.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(Transform transform)
      Appends a Transform to the current Transform.
      void add(org.jzy3d.plot3d.transform.Transformer next)
      Appends a Transformer to the sequence that this Transform must performs.
      Coord3d compute(Coord3d input)
      Apply the transformations to the input coordinate
      void execute(com.jogamp.opengl.GL gl)
      Load the identity matrix and executes the stored sequence of Transformer.
      void execute(com.jogamp.opengl.GL gl, boolean loadIdentity) 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Transform

        public Transform()
        Initialize a list of Transformer.
      • Transform

        public Transform(org.jzy3d.plot3d.transform.Transformer transformer)
        Initialize a list of Transformer with a single Transformer as sequence.
      • Transform

        public Transform(Transform transform)
        Initialize a list of Transformer with the sequence hold by the given Transform.
    • Method Detail

      • add

        public void add(org.jzy3d.plot3d.transform.Transformer next)
        Appends a Transformer to the sequence that this Transform must performs.
        Parameters:
        next -
      • add

        public void add(Transform transform)
        Appends a Transform to the current Transform.
        Parameters:
        next -
      • execute

        public void execute(com.jogamp.opengl.GL gl)
        Load the identity matrix and executes the stored sequence of Transformer.
        Parameters:
        gl - OpenGL2 context
      • execute

        public void execute(com.jogamp.opengl.GL gl,
                            boolean loadIdentity)
      • compute

        public Coord3d compute(Coord3d input)
        Apply the transformations to the input coordinate
      • toString

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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.