|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Placeable
Defines a common interface which several ode objects that deal with transforms such as Body and Geom can implement.
| Method Summary | |
|---|---|
boolean |
fixed()
Returns true if this Placeable is dynamic and false if it is static. |
org.openmali.vecmath2.AxisAngle3f |
getAxisAngle()
Returns the axis and angle of rotation which makes up the rotational component of the transform |
org.openmali.vecmath2.AxisAngle3f |
getAxisAngle(org.openmali.vecmath2.AxisAngle3f result)
Returns the axis and angle of rotation which makes up the rotational component of the transform using the provided AxisAngle3f. |
String |
getName()
Returns the name of the Odejava Transformable. |
org.openmali.vecmath2.Tuple3f |
getPosition()
Returns the current position. |
org.openmali.vecmath2.Tuple3f |
getPosition(org.openmali.vecmath2.Tuple3f result)
Returns the current position using the provided Vector3f |
org.openmali.vecmath2.Quaternion4f |
getQuaternion()
Returns the quaternion. |
org.openmali.vecmath2.Quaternion4f |
getQuaternion(org.openmali.vecmath2.Quaternion4f result)
Returns the quaternion using the provided Quad4f |
org.openmali.vecmath2.Matrix3f |
getRotation()
|
void |
setAxisAndAngle(org.openmali.vecmath2.AxisAngle3f axisAngle)
Sets the rotation using the given axis and angle. |
void |
setPosition(float posX,
float posY,
float posZ)
Sets the position of this transformable |
void |
setPosition(org.openmali.vecmath2.Tuple3f position)
Sets the position of this transformable |
void |
setQuaternion(org.openmali.vecmath2.Quaternion4f quaternion)
Sets the quaternion. |
void |
setRotation(org.openmali.vecmath2.Matrix3f matrix)
Sets the rotation. |
| Method Detail |
|---|
void setPosition(float posX,
float posY,
float posZ)
posX - the x-position to setposY - the y-position to setposZ - the z-position to setvoid setPosition(org.openmali.vecmath2.Tuple3f position)
position - to setorg.openmali.vecmath2.Tuple3f getPosition()
org.openmali.vecmath2.Tuple3f getPosition(org.openmali.vecmath2.Tuple3f result)
result - The result Vector3f
void setAxisAndAngle(org.openmali.vecmath2.AxisAngle3f axisAngle)
axisAngle - the axis and angle.org.openmali.vecmath2.AxisAngle3f getAxisAngle()
org.openmali.vecmath2.AxisAngle3f getAxisAngle(org.openmali.vecmath2.AxisAngle3f result)
result - the result AxisAngle3f
void setRotation(org.openmali.vecmath2.Matrix3f matrix)
matrix - the matrixorg.openmali.vecmath2.Matrix3f getRotation()
void setQuaternion(org.openmali.vecmath2.Quaternion4f quaternion)
quaternion - the quaternionorg.openmali.vecmath2.Quaternion4f getQuaternion()
org.openmali.vecmath2.Quaternion4f getQuaternion(org.openmali.vecmath2.Quaternion4f result)
result - the result Quad4f.
String getName()
boolean fixed()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||