|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcwi.GraphXML.Elements.Transform
Transformation matrix. Note that the class will return the full matrix (3x3 or 4x4), although the user specifies the affine part only.
Reference,
Serialized Form| Constructor Summary | |
|---|---|
Transform()
|
|
| Method Summary | |
|---|---|
static Transform |
create(org.w3c.dom.Node node,
ParserError parserError)
Retrieve the representation of a position from a node, and returns a corresponding class instance. |
java.awt.geom.AffineTransform |
get2DAffineTransform()
Return a Java2D affine transform |
double[] |
get2Dmatrix()
Return a 3x3 submatrix, to be used for 3D transform. |
double[] |
get3Dmatrix()
Return the full, 4x4 matrix |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Transform()
| Method Detail |
public double[] get3Dmatrix()
public double[] get2Dmatrix()
public java.awt.geom.AffineTransform get2DAffineTransform()
public static Transform create(org.w3c.dom.Node node,
ParserError parserError)
node - The node containing the reference.
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||