Package org.jzy3d.plot3d.transform
Interface Transformer
-
- All Known Implementing Classes:
Rotate
,Scale
,Translate
,TranslateDrawable
public interface Transformer
ATransformer
is able to execute a transformation into the OpenGL ModelView Matrix. ATransformer
is 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 Coord3d
compute(Coord3d input)
Apply the transformations to the input coordinates.void
execute(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. AsTransformer
are usually help by an {@ AbstractDrawable}, the transformation will apply to this {@ AbstractDrawable}. Computation is performed by GPU.- Parameters:
painter
- TODO
-
-