Package org.jzy3d.plot3d.transform
Class TranslateDrawable
java.lang.Object
org.jzy3d.plot3d.transform.TranslateDrawable
- All Implemented Interfaces:
Transformer
Translate drawable to (0,0,0) or back to its previous position according to the input parameters.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApply the transformations to the input coordinates.voidExecute the transformation to the current GL context.booleanvoidsetDrawable(Drawable drawable) voidsetReverse(boolean reverse) toString()voidtranslateTo(IPainter painter, Coord3d center, boolean reverse)
-
Field Details
-
drawable
-
reverse
protected boolean reverse
-
-
Constructor Details
-
TranslateDrawable
-
-
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
-
translateTo
-
compute
Description copied from interface:TransformerApply the transformations to the input coordinates. Computation is performed by CPU.- Specified by:
computein interfaceTransformer
-
getDrawable
-
setDrawable
-
isReverse
public boolean isReverse() -
setReverse
public void setReverse(boolean reverse) -
toString
-