Package org.jzy3d.plot3d.transform
Class Translate
java.lang.Object
org.jzy3d.plot3d.transform.Translate
- All Implemented Interfaces:
Transformer
Translate is a
Transformer that stores the offset required to perform the effective
OpenGL2 translation in the ModelView Matrix.- Author:
- Martin Pernollet
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Translate
protected Translate() -
Translate
Initialize a Translate.- Parameters:
shift- translation offset.
-
-
Method Details
-
execute
Description copied from interface:TransformerExecute the transformation to the current GL context. AsTransformerare usually help by an invalid input: '{@' AbstractDrawable}, the transformation will apply to this invalid input: '{@' AbstractDrawable}. Computation is performed by GPU.- Specified by:
executein interfaceTransformer- Parameters:
painter- TODO
-
compute
Description copied from interface:TransformerApply the transformations to the input coordinates. Computation is performed by CPU.- Specified by:
computein interfaceTransformer
-
toString
-