de.grogra.math
Class ComponentTransform
java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.math.ComponentTransform
- All Implemented Interfaces:
- Transform3D, Manageable, Shareable
public class ComponentTransform
- extends ShareableBase
- implements Transform3D
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
$TYPE
public static final ComponentTransform.Type $TYPE
rotation$FIELD
public static final SCOType.Field rotation$FIELD
scale$FIELD
public static final SCOType.Field scale$FIELD
shear$FIELD
public static final SCOType.Field shear$FIELD
translation$FIELD
public static final SCOType.Field translation$FIELD
ComponentTransform
public ComponentTransform()
ComponentTransform
@ConversionConstructor
public ComponentTransform(Matrix3d m)
ComponentTransform
@ConversionConstructor
public ComponentTransform(Matrix4d m)
ComponentTransform
@ConversionConstructor
public ComponentTransform(Tuple3d t)
getManageableType
public ManageableType getManageableType()
- Specified by:
getManageableType
in interface Manageable
getRotation
public Vector3d getRotation()
getScale
public Vector3d getScale()
getShear
public Vector3d getShear()
getTranslation
public Vector3d getTranslation()
setRotation
public void setRotation(Vector3d value)
setScale
public void setScale(Vector3d value)
setShear
public void setShear(Vector3d value)
setTranslation
public void setTranslation(Vector3d value)
transform
public void transform(Matrix4d in,
Matrix4d out)
- Description copied from interface:
Transform3D
- This methods performs a local coordinate transformation.
- Specified by:
transform
in interface Transform3D
- Parameters:
in
- the transformation matrix of the coordinate system of the parentout
- the computed transformation is placed in here. May be the
same reference as in