Motive Animation System
An open source project by FPL.
 All Classes Functions Variables Typedefs Friends Pages
motive::MatrixOperationInit Class Reference

Init params for a basic operation on a matrix. More...

#include <init.h>

Detailed Description

Init params for a basic operation on a matrix.

Public Types

enum  UnionType { kUnionEmpty, kUnionInitialValue, kUnionTarget, kUnionSpline }
 

Public Member Functions

 MatrixOperationInit (MatrixOpId id, MatrixOperationType type, float const_value)
 Matrix operation never changes. Always use 'const_value'.
 
 MatrixOperationInit (MatrixOpId id, MatrixOperationType type, const MotivatorInit &init)
 Matrix operation is driven by Motivator defined by 'init'.
 
 MatrixOperationInit (MatrixOpId id, MatrixOperationType type, const MotivatorInit &init, float initial_value)
 
 MatrixOperationInit (MatrixOpId id, MatrixOperationType type, const MotivatorInit &init, const MotiveTarget1f &target)
 
 MatrixOperationInit (MatrixOpId id, MatrixOperationType type, const MotivatorInit &init, const CompactSpline &spline)
 

Public Attributes

const MotivatorInitinit
 
MatrixOpId id
 
MatrixOperationType type
 
UnionType union_type
 
union {
   float   initial_value
 
   const MotiveTarget1f *   target
 
   const CompactSpline *   spline
 
}; 
 

Constructor & Destructor Documentation

motive::MatrixOperationInit::MatrixOperationInit ( MatrixOpId  id,
MatrixOperationType  type,
const MotivatorInit init,
float  initial_value 
)
inline

Matrix operation is driven by Motivator defined by 'init'. Specify initial value as well.


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