|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IJoint
IJoint defines the interface of a joint in a skeleton
system. It maintains its own space position that is then translated
into vertex positions for all vertices that are affected by this
IJoint.
| Method Summary | |
|---|---|
IJoint |
clone()
Clone this join. |
int |
getIndex()
Retrieve the index value. |
java.lang.String |
getName()
Retrieve the name ID of this joint. |
com.jme.math.Quaternion |
getOrientation()
Retrieve the orientation of this joint read from MD5 file. |
IJoint |
getParent()
Retrieve the parent joint. |
IJoint |
getSuperParent()
Retrieve the super parent of this joint. |
com.jme.math.TransformMatrix |
getTransform()
Retrieve the relative TransformMatrix of this Joint. |
com.jme.math.Vector3f |
getTranslation()
Retrieve the translation of this joint read from MD5 file. |
void |
processRelative()
Process the relative transforms of this joint. |
void |
processTransform()
Process the translation and orientation of this joint This process has to be started from the bottom of skeleton tree up to the root joint. |
void |
setParent(IJoint parent)
Set the parent joint of this one. |
void |
setSuperParent(IJoint superParent)
Set the super parent of this joint in the parent model node. |
void |
updateTransform(com.jme.math.Vector3f translation,
com.jme.math.Quaternion orientation)
Update the translation and orientation of this joint. |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag, read, write |
| Method Detail |
|---|
void updateTransform(com.jme.math.Vector3f translation,
com.jme.math.Quaternion orientation)
translation - The new Vector3f translation value.orientation - The new Quaternion orientation value.void processTransform()
void processRelative()
void setParent(IJoint parent)
parent - The parent IJoint instance.void setSuperParent(IJoint superParent)
superParent - The super parent IJoint instance.com.jme.math.Vector3f getTranslation()
Vector3f translation read directly from MD5 file.com.jme.math.Quaternion getOrientation()
Quaternion orientation read directly from MD5 file.com.jme.math.TransformMatrix getTransform()
TransformMatrix of this Joint.
TransformMatrix of this Joint.IJoint getSuperParent()
IJoint instance.IJoint getParent()
IJoint instance.java.lang.String getName()
String name ID.int getIndex()
Integer index.IJoint clone()
IJoint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||