Om
1.0.0
A universal framework for multimedia simulation
|
A class that handles playback of time sequences of animation data. More...
#include <omEngineAnimationSequencerTrack.h>
Public Member Functions | |
AnimationSequencerTrack () | |
Create a new animation sequencer track that has no sequences that it can play. More... | |
virtual Size | getSequenceCount () const |
Return the number of sequences that this track supports playing. More... | |
virtual Sequence * | getSequence (Index sequenceIndex) const |
Return a pointer to the sequence at the specified index in this track. More... | |
void | setSequence (Index sequenceIndex, Sequence *newSequence) |
Set a pointer to the sequence at the given index. More... | |
AnimationTrack * | getSequenceTrack (Index sequenceIndex) const |
Return a pointer to the animation track that is associated with the sequence with the given index. More... | |
void | setSequenceTrack (Index sequenceIndex, AnimationTrack *newTrack) |
Set a pointer to the animation track that is associated with the sequence with the given index. More... | |
virtual Bool | getSequenceIndex (Sequence *sequence, Index &sequenceIndex) const |
Get the index of the specified sequence in this track. More... | |
void | addSequence (Sequence *sequence, AnimationTrack *track) |
Add a new sequence to this sequencer track that plays the specified animation track. More... | |
void | clearSequences () |
Remove all sequences from this animation sequencer track. More... | |
virtual Bool | playSequence (Index sequenceIndex, PlaybackID playbackID, const Playback &playback) |
Play the specified sequence with the given playback state using this sequencer track. More... | |
virtual void | updatePlayback (PlaybackID playbackID, const Playback &playback) |
Update the playback state for a currently playing sequence in this sequencer track. More... | |
virtual void | pausePlayback (PlaybackID playbackID) |
Pause a currently playing sequence. More... | |
virtual void | resumePlayback (PlaybackID playbackID) |
Resume playback for a currently paused sequence. More... | |
virtual void | stopPlayback (PlaybackID playbackID) |
Completely stop playback for the specified sequence. More... | |
virtual void | pauseAll () |
Simultaneously pause the playback of all sequences in this sequencer track. More... | |
virtual void | resumeAll () |
Simultaneously resume the playback of all sequences in this sequencer track. More... | |
virtual void | stopAll () |
Simultaneously stop the playback of all sequences in this sequencer track. More... | |
void | update (const Time &dt) |
Update the state of this animation sequencer track for the specified time interval. More... | |
const TensorType & | getOutputType () const |
Return the type of this animation sequener track's output value. More... | |
void | setOutputType (const TensorType &newType) |
Set the type of this animation sequener track's output value. More... | |
const Tensor & | getOutput () const |
Return a reference to an object containing the current output value of this animation sequencer track. More... | |
virtual const ResourceType & | getResourceType () const |
Return the resource type of this object's concrete type. More... | |
Public Member Functions inherited from om::engine::base::SequencerTrack | |
virtual | ~SequencerTrack () |
Destroy a sequencer track and release internal resources. More... | |
Static Public Attributes | |
static const ResourceType | RESOURCE_TYPE |
The resource type for a animation sequencer track. More... | |
A class that handles playback of time sequences of animation data.
om::engine::animation::AnimationSequencerTrack::AnimationSequencerTrack | ( | ) |
Create a new animation sequencer track that has no sequences that it can play.
|
virtual |
Return the number of sequences that this track supports playing.
Implements om::engine::base::SequencerTrack.
|
virtual |
Return a pointer to the sequence at the specified index in this track.
Implements om::engine::base::SequencerTrack.
|
inline |
Set a pointer to the sequence at the given index.
|
inline |
Return a pointer to the animation track that is associated with the sequence with the given index.
|
inline |
Set a pointer to the animation track that is associated with the sequence with the given index.
|
virtual |
Get the index of the specified sequence in this track.
Implements om::engine::base::SequencerTrack.
void om::engine::animation::AnimationSequencerTrack::addSequence | ( | Sequence * | sequence, |
AnimationTrack * | track | ||
) |
Add a new sequence to this sequencer track that plays the specified animation track.
void om::engine::animation::AnimationSequencerTrack::clearSequences | ( | ) |
Remove all sequences from this animation sequencer track.
|
virtual |
Play the specified sequence with the given playback state using this sequencer track.
Implements om::engine::base::SequencerTrack.
|
virtual |
Update the playback state for a currently playing sequence in this sequencer track.
Implements om::engine::base::SequencerTrack.
|
virtual |
Pause a currently playing sequence.
Implements om::engine::base::SequencerTrack.
|
virtual |
Resume playback for a currently paused sequence.
Implements om::engine::base::SequencerTrack.
|
virtual |
Completely stop playback for the specified sequence.
Implements om::engine::base::SequencerTrack.
|
virtual |
Simultaneously pause the playback of all sequences in this sequencer track.
Implements om::engine::base::SequencerTrack.
|
virtual |
Simultaneously resume the playback of all sequences in this sequencer track.
Implements om::engine::base::SequencerTrack.
|
virtual |
Simultaneously stop the playback of all sequences in this sequencer track.
Implements om::engine::base::SequencerTrack.
void om::engine::animation::AnimationSequencerTrack::update | ( | const Time & | dt | ) |
Update the state of this animation sequencer track for the specified time interval.
|
inline |
Return the type of this animation sequener track's output value.
|
inline |
Set the type of this animation sequener track's output value.
|
inline |
Return a reference to an object containing the current output value of this animation sequencer track.
|
virtual |
Return the resource type of this object's concrete type.
Implements om::engine::base::SequencerTrack.
|
static |
The resource type for a animation sequencer track.