|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.collada.datastructs.animation.Skeleton
public class Skeleton
A Skeleton. It contains a root bone, which can have several children
| Field Summary | |
|---|---|
org.openmali.vecmath2.Point3f |
relativeTranslation
The position of our Skeleton. |
java.util.ArrayList<KeyFrameTuple3f> |
transKeyFrames
The keyframes of position |
| Constructor Summary | |
|---|---|
Skeleton(Bone rootBone,
org.openmali.vecmath2.Point3f relativeTranslation,
java.util.ArrayList<Bone> boneList)
Creates a new Skeleton. |
|
| Method Summary | |
|---|---|
Bone |
getBoneBySourceId(java.lang.String sourceId)
|
Bone |
getRootBone()
|
java.util.Iterator<Bone> |
iterator()
|
void |
resetIterator()
|
int |
selectCurrentTransFrame(long currentTime)
Selects the current translation key frame, based on the current time. |
void |
updateAbsolutes()
Updates the skeleton. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final org.openmali.vecmath2.Point3f relativeTranslation
public java.util.ArrayList<KeyFrameTuple3f> transKeyFrames
| Constructor Detail |
|---|
public Skeleton(Bone rootBone,
org.openmali.vecmath2.Point3f relativeTranslation,
java.util.ArrayList<Bone> boneList)
rootBone - The root bonerelativeTranslation - The position of the SkeletonboneList - | Method Detail |
|---|
public final Bone getRootBone()
public final Bone getBoneBySourceId(java.lang.String sourceId)
public int selectCurrentTransFrame(long currentTime)
currentTime - beetween 0 and the end of the animation, in milliseconds
public void updateAbsolutes()
public java.util.Iterator<Bone> iterator()
iterator in interface java.lang.Iterable<Bone>public void resetIterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||