|
Motive Animation System
An open source project by
FPL.
|
Interface for motivator types that drive a single float value. More...
#include <processor.h>
Interface for motivator types that drive a single float value.
That is, for MotiveProcessors that interface with MotivatorNf or MotivatorXf.
Public Member Functions | |
| float | Value (MotiveIndex index) const |
| float | Velocity (MotiveIndex index) const |
| float | Direction (MotiveIndex index) const |
| float | TargetValue (MotiveIndex index) const |
| float | TargetVelocity (MotiveIndex index) const |
| float | Difference (MotiveIndex index) const |
| virtual const float * | Values (MotiveIndex index) const =0 |
| virtual void | Velocities (MotiveIndex index, MotiveDimension dimensions, float *out) const =0 |
| virtual void | Directions (MotiveIndex index, MotiveDimension dimensions, float *out) const |
| virtual void | TargetValues (MotiveIndex index, MotiveDimension dimensions, float *out) const =0 |
| virtual void | TargetVelocities (MotiveIndex index, MotiveDimension dimensions, float *out) const =0 |
| virtual void | Differences (MotiveIndex index, MotiveDimension dimensions, float *out) const =0 |
| virtual MotiveTime | TargetTime (MotiveIndex index, MotiveDimension dimensions) const =0 |
| virtual MotiveTime | SplineTime (MotiveIndex) const |
| virtual MotiveCurveShape | MotiveShape (MotiveIndex) const |
| virtual void | SetTargets (MotiveIndex, MotiveDimension, const MotiveTarget1f *) |
| virtual void | SetTargetWithShape (MotiveIndex, MotiveDimension, const float *, const float *, const MotiveCurveShape &) |
| virtual void | SetSplines (MotiveIndex, MotiveDimension, const CompactSpline *, const SplinePlayback &) |
| virtual void | Splines (MotiveIndex, MotiveIndex count, const CompactSpline **splines) const |
| virtual void | SetSplinesAndTargets (MotiveIndex, MotiveDimension, const CompactSpline *const *, const SplinePlayback &, const MotiveTarget1f *) |
| virtual void | SetSplineTime (MotiveIndex, MotiveDimension, MotiveTime) |
| virtual void | SetSplinePlaybackRate (MotiveIndex, MotiveDimension, float) |
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 () |