Go to the documentation of this file.
29 #ifndef __KeyFrame_H__
30 #define __KeyFrame_H__
A key frame in an animation sequence defined by an AnimationTrack.
vector< PoseRef >::type PoseRefList
VertexMorphKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
HardwareVertexBufferSharedPtr mBuffer
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
PoseRef(ushort p, Real i)
Specialised KeyFrame which stores any numeric value.
virtual KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
NumericKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
virtual const AnyNumeric & getValue(void) const
Get the value at this keyframe.
Reference to a pose at a given influence level.
Concrete IteratorWrapper for nonconst access to the underlying container.
VertexPoseKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
void _applyBaseKeyFrame(const VertexPoseKeyFrame *base)
Specialised KeyFrame which references a Mesh::Pose at a certain influence level, which stores offsets...
Real getTime(void) const
Gets the time of this keyframe in the animation sequence.
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
KeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
void removePoseReference(ushort poseIndex)
Remove reference to a given pose.
void addPoseReference(ushort poseIndex, Real influence)
Add a new pose reference.
Real influence
Influence level of the linked pose.
PoseRefIterator getPoseReferenceIterator(void)
Get an iterator over the pose references.
Implementation of a Quaternion, i.e.
Shared pointer implementation used to share vertex buffers.
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
Specialised Any class which has built in arithmetic operators, but can hold only types which support ...
const PoseRefList & getPoseReferences(void) const
Get a const reference to the list of pose references.
A 'track' in an animation sequence, i.e.
virtual void setValue(const AnyNumeric &val)
Set the value at this keyframe.
void removeAllPoseReferences(void)
Remove all pose references.
ConstVectorIterator< PoseRefList > ConstPoseRefIterator
const AnimationTrack * mParentTrack
const HardwareVertexBufferSharedPtr & getVertexBuffer(void) const
Gets the vertex buffer containing positions for this keyframe.
ushort poseIndex
The linked pose index.
float Real
Software floating point type.
Specialised KeyFrame which stores absolute vertex positions for a complete buffer,...
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
void setVertexBuffer(const HardwareVertexBufferSharedPtr &buf)
Sets the vertex buffer containing the source positions for this keyframe.
Standard 3-dimensional vector.
VectorIterator< PoseRefList > PoseRefIterator
ConstPoseRefIterator getPoseReferenceIterator(void) const
Get a const iterator over the pose references.
Concrete IteratorWrapper for const access to the underlying container.
void updatePoseReference(ushort poseIndex, Real influence)
Update the influence of a pose reference.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.