|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transformation
This interface represents affine 3D coordinate transformations for an object
in a graph. The preTransform
is applied to the post-transformation
of the object's parent in the scene hierarchy in order to obtain the
transformation of the object. The postTransform
is applied to this
transformation in order to obtain the object's post-transformation.
Method Summary | |
---|---|
void |
postTransform(java.lang.Object object,
boolean asNode,
Matrix4d in,
Matrix4d out,
Matrix4d parent,
GraphState gs)
Implements the change from object's transformation in
to the object's post-transformation out . |
void |
preTransform(java.lang.Object object,
boolean asNode,
Matrix4d in,
Matrix4d out,
GraphState gs)
Implements the change from the parent's post-transformation in
to the object's transformation out . |
Method Detail |
---|
void postTransform(java.lang.Object object, boolean asNode, Matrix4d in, Matrix4d out, Matrix4d parent, GraphState gs)
in
to the object's post-transformation out
.
object
- the object for which the transformation is computedasNode
- is object
a node or an edge?in
- the transformation of the objectout
- the post-tranformation of the object to be computedparent
- the post-transformation of the object's parentgs
- the graph state in which the computation has to be donevoid preTransform(java.lang.Object object, boolean asNode, Matrix4d in, Matrix4d out, GraphState gs)
in
to the object's transformation out
.
object
- the object for which the transformation is computedasNode
- is object
a node or an edge?in
- the post-transformation of the object's parentout
- the tranformation of the object to be computedgs
- the graph state in which the computation has to be done
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |