Motive Animation System
An open source project by FPL.
 All Classes Functions Variables Typedefs Friends Pages
motive::RigProcessor Class Referenceabstract
Inheritance diagram for motive::RigProcessor:
motive::MotiveProcessor

Public Member Functions

virtual const
mathfu::AffineTransform * 
GlobalTransforms (MotiveIndex index) const =0
 
virtual MotiveTime TimeRemaining (MotiveIndex index) const =0
 Return the time remaining in the current matrix animation.
 
virtual const RigAnimDefiningAnim (MotiveIndex index) const =0
 Return the animation that defines the rig.
 
virtual void BlendToAnim (MotiveIndex index, const RigAnim &anim, const motive::SplinePlayback &playback)=0
 Smoothly transition to the animation in anim.
 
virtual void SetPlaybackRate (MotiveIndex index, float playback_rate)=0
 Instantly change the playback speed of this animation.
 
virtual std::string CsvHeaderForDebugging (MotiveIndex) const
 
virtual std::string CsvValuesForDebugging (MotiveIndex) const
 
virtual std::string LocalTransformsForDebugging (MotiveIndex, BoneIndex) const
 
- Public Member Functions inherited from motive::MotiveProcessor
void InitializeMotivator (const MotivatorInit &init, MotiveEngine *engine, Motivator *motivator, MotiveDimension dimensions)
 
void RemoveMotivator (MotiveIndex index)
 
void TransferMotivator (MotiveIndex index, Motivator *new_motivator)
 
bool IsMotivatorIndex (MotiveIndex index) const
 
bool ValidIndex (MotiveIndex index) const
 
bool ValidMotivatorIndex (MotiveIndex index) const
 
bool ValidMotivator (MotiveIndex index, const Motivator *motivator) const
 
virtual void AdvanceFrame (MotiveTime delta_time)=0
 
virtual MotivatorType Type () const =0
 
virtual int Priority () const =0
 
MotiveDimension Dimensions (MotiveIndex index) const
 
void VerifyInternalState () const
 
void RegisterBenchmarks ()
 
int benchmark_id_for_advance_frame () const
 
int benchmark_id_for_init () const
 

Additional Inherited Members

- Protected Member Functions inherited from motive::MotiveProcessor
virtual void InitializeIndices (const MotivatorInit &init, MotiveIndex index, MotiveDimension dimensions, MotiveEngine *engine)=0
 
virtual void RemoveIndices (MotiveIndex index, MotiveDimension dimensions)=0
 
virtual void MoveIndices (MotiveIndex old_index, MotiveIndex new_index, MotiveDimension dimensions)=0
 
virtual void SetNumIndices (MotiveIndex num_indices)=0
 
void Defragment ()
 

Member Function Documentation

virtual const mathfu::AffineTransform* motive::RigProcessor::GlobalTransforms ( MotiveIndex  index) const
pure virtual

Returns an array of length DefiningAnim.NumBones(). The i'th element of the array represents the transform from the root bone to the bone-space on the i'th bone.


The documentation for this class was generated from the following file: