org.xith3d.loaders.models.animations
Class BoneAnimationKeyFrameController

java.lang.Object
  extended by org.xith3d.loaders.models.animations.KeyFrameController
      extended by org.xith3d.loaders.models.animations.BoneAnimationKeyFrameController

public class BoneAnimationKeyFrameController
extends KeyFrameController

Insert type comment here.


Constructor Summary
BoneAnimationKeyFrameController(BoneAnimationKeyFrame[] frames, BoneWeight[][] weights, Shape3D shape)
           
 
Method Summary
protected  boolean checkUpdateConditions(boolean forced, float absAnimTime, int frame, float animDuration)
          TODO: This won't be necessary anymore, when we're finally using skeleton interpolation!
 BoneAnimationKeyFrame getFrame(int index)
           
 Shape3D getTarget()
          
 void reset()
          TODO: This won't be necessary anymore, when we're finally using skeleton interpolation!
 BoneAnimationKeyFrameController sharedCopy(java.util.Map<java.lang.String,org.jagatoo.datatypes.NamedObject> namedObjects)
          
protected  void updateTarget(float absAnimType, int baseFrame, int nextFrame, float alpha, ModelAnimation animation)
          
 
Methods inherited from class org.xith3d.loaders.models.animations.KeyFrameController
getAnimationType, getKeyFrame, getKeyFrames, getNumFrames, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoneAnimationKeyFrameController

public BoneAnimationKeyFrameController(BoneAnimationKeyFrame[] frames,
                                       BoneWeight[][] weights,
                                       Shape3D shape)
Method Detail

getFrame

public final BoneAnimationKeyFrame getFrame(int index)

getTarget

public final Shape3D getTarget()

Specified by:
getTarget in class KeyFrameController

reset

public void reset()
TODO: This won't be necessary anymore, when we're finally using skeleton interpolation!

Overrides:
reset in class KeyFrameController

checkUpdateConditions

protected boolean checkUpdateConditions(boolean forced,
                                        float absAnimTime,
                                        int frame,
                                        float animDuration)
TODO: This won't be necessary anymore, when we're finally using skeleton interpolation!

Overrides:
checkUpdateConditions in class KeyFrameController

updateTarget

protected void updateTarget(float absAnimType,
                            int baseFrame,
                            int nextFrame,
                            float alpha,
                            ModelAnimation animation)

Specified by:
updateTarget in class KeyFrameController

sharedCopy

public BoneAnimationKeyFrameController sharedCopy(java.util.Map<java.lang.String,org.jagatoo.datatypes.NamedObject> namedObjects)

Specified by:
sharedCopy in class KeyFrameController