de.grogra.math
public class ComponentTransform extends ShareableBase implements Transform3D
| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentTransform.Type |
| Modifier and Type | Field and Description |
|---|---|
static ComponentTransform.Type |
$TYPE |
static SCOType.Field |
rotation$FIELD |
static SCOType.Field |
scale$FIELD |
static SCOType.Field |
shear$FIELD |
static SCOType.Field |
translation$FIELD |
| Constructor and Description |
|---|
ComponentTransform() |
ComponentTransform(Matrix3d m) |
ComponentTransform(Matrix4d m) |
ComponentTransform(Tuple3d t) |
| Modifier and Type | Method and Description |
|---|---|
ManageableType |
getManageableType() |
Vector3d |
getRotation() |
Vector3d |
getScale() |
Vector3d |
getShear() |
Vector3d |
getTranslation() |
void |
setRotation(Vector3d value) |
void |
setScale(Vector3d value) |
void |
setShear(Vector3d value) |
void |
setTranslation(Vector3d value) |
void |
transform(Matrix4d in,
Matrix4d out)
This methods performs a local coordinate transformation.
|
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfieldModified, getStamp, manageableReadResolve, manageableWriteReplacepublic static final ComponentTransform.Type $TYPE
public static final SCOType.Field rotation$FIELD
public static final SCOType.Field scale$FIELD
public static final SCOType.Field shear$FIELD
public static final SCOType.Field translation$FIELD
public ComponentTransform()
@ConversionConstructor public ComponentTransform(Matrix3d m)
@ConversionConstructor public ComponentTransform(Matrix4d m)
@ConversionConstructor public ComponentTransform(Tuple3d t)
public ManageableType getManageableType()
getManageableType in interface Manageablepublic Vector3d getRotation()
public Vector3d getScale()
public Vector3d getShear()
public Vector3d getTranslation()
public void setRotation(Vector3d value)
public void setScale(Vector3d value)
public void setShear(Vector3d value)
public void setTranslation(Vector3d value)
public void transform(Matrix4d in, Matrix4d out)
Transform3Dtransform in interface Transform3Din - the transformation matrix of the coordinate system of the parentout - the computed transformation is placed in here. May be the
same reference as in