org.ogre4j
Interface INumericAnimationTrack

All Superinterfaces:
IAllocatedObject<IAnimationAllocPolicy>, IAnimationAllocatedObject, IAnimationTrack, INativeObject
All Known Implementing Classes:
NumericAnimationTrack

public interface INumericAnimationTrack
extends INativeObject, IAnimationTrack


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ogre4j.IAnimationTrack
IAnimationTrack.IKeyFrameIndexMap, IAnimationTrack.IKeyFrameList, IAnimationTrack.IListener
 
Method Summary
 INumericAnimationTrack _clone(IAnimation newParent)
          Clone this track (internal use only)
 void apply(ITimeIndex timeIndex, float weight, float scale)
          Applies an animation track to the designated target.
 void applyToAnimable(IAnimableValuePtr anim, ITimeIndex timeIndex, float weight, float scale)
          Applies an animation track to a given animable value.
 INumericKeyFrame createNumericKeyFrame(float timePos)
          Creates a new and adds it to this animation at the given time index.
 IAnimableValuePtr getAssociatedAnimable()
          Returns a pointer to the associated animable object (if any).
 void getInterpolatedKeyFrame(ITimeIndex timeIndex, IKeyFrame kf)
          Gets a object which contains the interpolated transforms at the time index specified.
 INumericKeyFrame getNumericKeyFrame(int index)
          Returns the at the specified index.
 void setAssociatedAnimable(IAnimableValuePtr val)
          Sets the associated animable object which will be automatically affected by calls to 'apply'.
 
Methods inherited from interface org.ogre4j.IAnimationTrack
_buildKeyFrameIndexMap, _collectKeyFrameTimes, _keyFrameDataChanged, createKeyFrame, getHandle, getKeyFrame, getKeyFramesAtTime, getNumKeyFrames, getParent, hasNonZeroKeyFrames, optimise, removeAllKeyFrames, removeKeyFrame, setListener
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

createNumericKeyFrame

INumericKeyFrame createNumericKeyFrame(float timePos)
Creates a new and adds it to this animation at the given time index.


getInterpolatedKeyFrame

void getInterpolatedKeyFrame(ITimeIndex timeIndex,
                             IKeyFrame kf)
Description copied from interface: IAnimationTrack
Gets a object which contains the interpolated transforms at the time index specified.

Specified by:
getInterpolatedKeyFrame in interface IAnimationTrack

apply

void apply(ITimeIndex timeIndex,
           float weight,
           float scale)
Description copied from interface: IAnimationTrack
Applies an animation track to the designated target.

Specified by:
apply in interface IAnimationTrack

applyToAnimable

void applyToAnimable(IAnimableValuePtr anim,
                     ITimeIndex timeIndex,
                     float weight,
                     float scale)
Applies an animation track to a given animable value.


getAssociatedAnimable

IAnimableValuePtr getAssociatedAnimable()
Returns a pointer to the associated animable object (if any).


setAssociatedAnimable

void setAssociatedAnimable(IAnimableValuePtr val)
Sets the associated animable object which will be automatically affected by calls to 'apply'.


getNumericKeyFrame

INumericKeyFrame getNumericKeyFrame(int index)
Returns the at the specified index.


_clone

INumericAnimationTrack _clone(IAnimation newParent)
Clone this track (internal use only)



Copyright © 2007 netAllied GmbH. All Rights Reserved.