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

Class Translate



  • public class Translate
    extends java.lang.Object
    Translate is a Transformer that stores the offset required to perform the effective OpenGL2 translation in the ModelView Matrix.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Translate(Coord3d shift)
      Initialize a Translate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Coord3d compute(Coord3d input)
      Apply the transformations to the input coordinates.
      void execute(com.jogamp.opengl.GL gl)
      Execute the transformation to the current GL context.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

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

      • Translate

        public Translate(Coord3d shift)
        Initialize a Translate.
        Parameters:
        shift - translation offset.
    • 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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.