|
Motive Animation System
An open source project by
FPL.
|
Initialize a MatrixMotivator4f to generate its matrix from a series of operations. More...
#include <init.h>
Initialize a MatrixMotivator4f to generate its matrix from a series of operations.
Initialize a MatrixMotivator4f with these initialization parameters to create a motivator that generates a 4x4 matrix from a series of basic matrix operations. The basic matrix operations are driven by one dimensional motivators.
The series of operations can transform an object from the coordinate space in which it was authored, to world (or local) space. For example, if you have a penguin that is authored at (0,0,0) facing up the x-axis, you can move it to it's target position with four operations:
kScaleUniformly --> to make penguin the correct size kRotateAboutY --> to make penguin face the correct direction kTranslateX } --> to move penguin along to ground to target position kTranslateZ }
Public Types | |
|
typedef std::vector < MatrixOperationInit > | OpVector |
Public Member Functions | |
| MOTIVE_INTERFACE () | |
| MatrixInit (const MatrixOpArray &ops) | |
| const OpVector & | ops () const |
Public Member Functions inherited from motive::MotivatorInit | |
| MotivatorInit (MotivatorType type) | |
| The derived class's constructor should set 'type'. | |
| MotivatorType | type () const |
| void | set_type (MotivatorType type) |