Package org.jzy3d.plot3d.transform
Interface Transformer
-
- All Known Implementing Classes:
Rotate,Scale,Translate,TranslateDrawable
public interface TransformerATransformeris able to execute a transformation into the OpenGL ModelView Matrix. ATransformeris basically a Functor object that stores a transformation, and performs the effective GL2 call to perform the transformation.- Author:
- Martin Pernollet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Coord3dcompute(Coord3d input)Apply the transformations to the input coordinates.voidexecute(IPainter painter)Execute the transformation to the current GL context.
-
-
-
Method Detail
-
execute
void execute(IPainter painter)
Execute the transformation to the current GL context. AsTransformerare usually help by an {@ AbstractDrawable}, the transformation will apply to this {@ AbstractDrawable}. Computation is performed by GPU.- Parameters:
painter- TODO
-
-