Package org.jzy3d.plot3d.transform
Class Rotate
java.lang.Object
org.jzy3d.plot3d.transform.Rotate
- All Implemented Interfaces:
Transformer
Rotate is a
Transformer
that stores the angle and rotate values required to perform the
effective OpenGL rotation in the ModelView matrix.- Author:
- Martin Pernollet
-
Field Details
-
angle
protected float angle -
rotate
-
-
Constructor Details
-
Rotate
Initialize a Rotation of angle degrees around the vector (x,y,z)- Parameters:
angle
-rotate
-
-
Rotate
-
-
Method Details
-
execute
produces a rotation of angle degrees around the vector (𝑥,𝑦,𝑧)- 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
-
getAngle
public float getAngle() -
setAngle
public void setAngle(float angle) -
getRotate
-
setRotate
-