|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.plot3d.transform.Transform
public class Transform
A Transform stores a sequence of Transformer
s, that are
of concrete type Rotate
, Scale
, Translate
.
When a Transform is executed by default, it first loads the identity matrix
before executing the sequence of Transformers.
Constructor Summary | |
---|---|
Transform()
Initialize a list of Transformer. |
|
Transform(Transform transform)
Initialize a list of Transformer with the sequence hold by the given Transform. |
|
Transform(org.jzy3d.plot3d.transform.Transformer transformer)
Initialize a list of Transformer with a single Transformer as sequence. |
Method Summary | |
---|---|
void |
add(Transform transform)
Appends a Transform to the current Transform. |
void |
add(org.jzy3d.plot3d.transform.Transformer next)
Appends a Transformer to the sequence that this Transform must performs. |
Coord3d |
compute(Coord3d input)
Apply the transformations to the input coordinate |
void |
execute(javax.media.opengl.GL gl)
Load the identity matrix and executes the stored sequence of Transformer. |
void |
execute(javax.media.opengl.GL gl,
boolean loadIdentity)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Transform()
public Transform(org.jzy3d.plot3d.transform.Transformer transformer)
public Transform(Transform transform)
Method Detail |
---|
public void add(org.jzy3d.plot3d.transform.Transformer next)
next
- public void add(Transform transform)
next
- public void execute(javax.media.opengl.GL gl)
gl
- OpenGL contextpublic void execute(javax.media.opengl.GL gl, boolean loadIdentity)
public Coord3d compute(Coord3d input)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |