Motive Animation System
An open source project by FPL.
 All Classes Functions Variables Typedefs Friends Pages
motive::SimpleInitTemplate< BaseT, VectorConverter, kDimensionsParam > Class Template Reference

A version of SimpleInit for Motivators with kDimensions. Use this class to initialize a Motivator with vector types, instead of using the float arrays required by the base class SimpleInit. For example, use a derivation of SimpleInit3f to initialize a Motivator3f. More...

#include <init.h>

Inheritance diagram for motive::SimpleInitTemplate< BaseT, VectorConverter, kDimensionsParam >:

Detailed Description

template<class BaseT, class VectorConverter, MotiveDimension kDimensionsParam>
class motive::SimpleInitTemplate< BaseT, VectorConverter, kDimensionsParam >

A version of SimpleInit for Motivators with kDimensions. Use this class to initialize a Motivator with vector types, instead of using the float arrays required by the base class SimpleInit. For example, use a derivation of SimpleInit3f to initialize a Motivator3f.

Public Types

typedef VectorConverter C
 
typedef VectorT< C,
kDimensions >::type 
Vec
 

Public Member Functions

 SimpleInitTemplate (const Vec &start_values_param, const Vec &start_derivatives_param)
 

Public Attributes

const Vec start_values
 
const Vec start_derivatives
 

Static Public Attributes

static const MotiveDimension kDimensions = kDimensionsParam
 

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