Inheritance diagram for I3DShKeyFrame:

Public Member Functions | |
| virtual int32 MCCOMAPI | GetParamSize () const =0 |
| virtual MCCOMErr MCCOMAPI | GetParam (void *param, int32 type, boolean &changed) const =0 |
| virtual MCCOMErr MCCOMAPI | SetParam (const void *param, int32 type)=0 |
| virtual int32 MCCOMAPI | GetType () const =0 |
| virtual void MCCOMAPI | Clone (I3DShKeyFrame **) const =0 |
| virtual MCCOMErr MCCOMAPI | Read (TMCiostream &stream)=0 |
| virtual MCCOMErr MCCOMAPI | Write (TMCiostream &stream) const =0 |
| virtual MCCOMErr MCCOMAPI | Copy (const I3DShKeyFrame *from)=0 |
| virtual MCCOMErr MCCOMAPI | LinearInterpolate (const real &lamda, const I3DShKeyFrame *kf1, const I3DShKeyFrame *kf2)=0 |
| virtual void MCCOMAPI | ComputeOffset (I3DShKeyFrame **result, I3DShKeyFrame *keyFrame)=0 |
| virtual MCCOMErr MCCOMAPI | ApplyOffset (I3DShKeyFrame *keyFrame)=0 |
| virtual void MCCOMAPI | Subtract (I3DShKeyFrame *keyFrame1, I3DShKeyFrame *keyFrame2, real lambda)=0 |
| virtual void MCCOMAPI | SetLink (I3DShTweenerChainLink *inLink)=0 |
| virtual I3DShTweenerChainLink *MCCOMAPI | GetLinkNoAddRef ()=0 |
Each animated parameter (I3DShParamInfo) owns a time line (I3DShParamTimeLine) which is a linked list of Tweener Chain Links (I3DShTweenerChainLink), each of them pointing to a keyframe.
The default keyframe types are:
You can derive your own keyframe class from this interface and create your keyframe type that you can register with the application (see I3DShUtilities::RegisterNewKeyFrameType)
|
|
Adds a value to the current keyframe
|
|
|
Creates a copy of the keyframe
|
|
||||||||||||
|
Computes the different between 2 keyframes.
|
|
|
Copy the value of another keyframe.
|
|
|
Returns a pointer to the tweener chain link that is pointing to this keyframe. |
|
||||||||||||||||
|
Returns the value stored in the keyframe.
|
|
|
Returns the size (in bytes) necessary to store the parameter. |
|
|
Returns the type of the keyframe. |
|
||||||||||||||||
|
Performs a linear interpolation between two keyframes of the same type and stored the result in this keyframe.
|
|
|
Reads a keyframe value from a stream.
|
|
|
Sets a pointer to the tweener chain link that is pointing to this keyframe.
|
|
||||||||||||
|
Sets the value that is stored in the keyframe.
|
|
||||||||||||||||
|
Subtract two keyframes and multiplies the result by a constant (res = (k1-k2) * lambda) The result is stored in (*this).
|
|
|
Write a key frame value into a stream.
|
1.3.9.1