|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jzy3d.plot3d.transform.Rotate
public class Rotate
Rotate is a Transformer
that stores the angle and rotate values
required to perform the effective OpenGL rotation in the ModelView matrix.
Constructor Summary | |
---|---|
Rotate(double angle,
Coord3d rotate)
|
|
Rotate(float angle,
Coord3d rotate)
Initialize a Rotation. |
Method Summary | |
---|---|
Coord3d |
compute(Coord3d input)
Apply the transformations to the input coordinates. |
void |
execute(javax.media.opengl.GL gl)
Execute the effective GL transformation held by this Transformer . |
float |
getAngle()
|
Coord3d |
getRotate()
|
void |
setAngle(float angle)
|
void |
setRotate(Coord3d rotate)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Rotate(float angle, Coord3d rotate)
angle
- rotate
- public Rotate(double angle, Coord3d rotate)
Method Detail |
---|
public void execute(javax.media.opengl.GL gl)
Transformer
.
gl
- OpenGL context.public Coord3d compute(Coord3d input)
public String toString()
toString
in class Object
public float getAngle()
public void setAngle(float angle)
public Coord3d getRotate()
public void setRotate(Coord3d rotate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |