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

Base class of Init classes for MotiveProcessors that derive from SimpleProcessorTemplate. More...

#include <init.h>

Inheritance diagram for motive::SimpleInit:
motive::MotivatorInit motive::ConstInit motive::EaseInEaseOutInit motive::SpringInit

Detailed Description

Base class of Init classes for MotiveProcessors that derive from SimpleProcessorTemplate.

You cannot initialize a Motivator with this class because it has no MotivatorType. Instead, use one of the Init classes below that derive from SimpleInit.

Public Member Functions

 SimpleInit (MotivatorType type)
 
 SimpleInit (MotivatorType type, const float *start_values, const float *start_derivatives=nullptr)
 
- 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)
 

Public Attributes

const float * start_values
 
const float * start_derivatives
 

Member Data Documentation

const float* motive::SimpleInit::start_derivatives

The starting derivative of each curve for each dimension. Array of length equal to the number of dimensions. This points at external values and the caller is responsible for ensuring these external values live as long as this struct.

const float* motive::SimpleInit::start_values

The starting value of each curve for each dimension. Array of length equal to the number of dimensions. This points at external values and the caller is responsible for ensuring these external values live as long as this struct.


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