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

Class Scale



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

      Constructors 
      Constructor and Description
      Scale(Coord3d scale)
      Initialize a Scale.
    • 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

      • Scale

        public Scale(Coord3d scale)
        Initialize a Scale.
        Parameters:
        scale - scaling factor.
    • 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.