Package org.jzy3d.plot3d.transform
Interface Transformer
- All Known Implementing Classes:
Rotate
,Scale
,Translate
,TranslateDrawable
public interface Transformer
A
Transformer
is able to execute a transformation into the OpenGL ModelView Matrix. A
Transformer
is basically a Functor object that stores a transformation, and performs the
effective GL2 call to perform the transformation.- Author:
- Martin Pernollet
-
Method Summary
-
Method Details
-
execute
Execute the transformation to the current GL context. AsTransformer
are usually help by an invalid input: '{@' AbstractDrawable}, the transformation will apply to this invalid input: '{@' AbstractDrawable}. Computation is performed by GPU.- Parameters:
painter
- TODO
-
compute
Apply the transformations to the input coordinates. Computation is performed by CPU.
-