public class Transform
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
Transform() |
Transform(long cPtr,
boolean cMemoryOwn) |
Transform(Transform transform) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(Transform obj) |
Matrix4x4d |
getMatrix()
Transformation matrix.
|
Matrix3x3d |
getRotation()
Rotation component, may be null.
|
java.lang.Double |
getScale()
Scale component, may be null.
|
Vector3d |
getTranslation()
Translation component, may be null.
|
boolean |
hasMatrix() |
void |
reset() |
void |
setMatrix(Matrix4x4d matrix)
Transformation matrix.
|
void |
setRotation(Matrix3x3d rotation)
Rotation component, may be null.
|
void |
setScale(java.lang.Double scale)
Scale component, may be null.
|
void |
setTranslation(Vector3d translation)
Translation component, may be null.
|
Vector3d |
transformPoint(Vector3d point) |
Vector3d |
transformVector(Vector3d vector) |
public Transform(long cPtr,
boolean cMemoryOwn)
public Transform()
public Transform(Transform transform)
public static long getCPtr(Transform obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public void setRotation(Matrix3x3d rotation)
public Matrix3x3d getRotation()
public void setTranslation(Vector3d translation)
public Vector3d getTranslation()
public void setScale(java.lang.Double scale)
public java.lang.Double getScale()
public void setMatrix(Matrix4x4d matrix)
public Matrix4x4d getMatrix()
public boolean hasMatrix()
public void reset()