Package org.jzy3d.plot3d.transform
Class Scale
java.lang.Object
org.jzy3d.plot3d.transform.Scale
- All Implemented Interfaces:
Transformer
Scale is a
Transformer
that stores the scaling factor required to perform the effective
OpenGL2 scaling in the ModelView Matrix.- Author:
- Martin Pernollet
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Scale
Initialize a Scale.- Parameters:
scale
- scaling factor.
-
-
Method Details
-
execute
Description copied from interface:Transformer
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.- Specified by:
execute
in interfaceTransformer
- Parameters:
painter
- TODO
-
compute
Description copied from interface:Transformer
Apply the transformations to the input coordinates. Computation is performed by CPU.- Specified by:
compute
in interfaceTransformer
-
toString
-