OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Predefined controller function based on linear function interpolation. More...
#include <OgrePredefinedControllers.h>
Public Member Functions | |
LinearControllerFunction (const std::vector< Real > &keys, const std::vector< Real > &values, Real frequency=1, bool deltaInput=true) | |
Constructor, requires keys and values of the function to interpolate. | |
Real | calculate (Real source) |
Overridden function. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
Predefined controller function based on linear function interpolation.
Ogre::LinearControllerFunction::LinearControllerFunction | ( | const std::vector< Real > & | keys, |
const std::vector< Real > & | values, | ||
Real | frequency = 1 , |
||
bool | deltaInput = true |
||
) |
Constructor, requires keys and values of the function to interpolate.
keys | the x-values of the function sampling points. Value range is [0,1]. Must include at least the keys 0 and 1. |
values | the function values f(x) of the function. order must match keys |
Overridden function.
Implements Ogre::ControllerFunction< Real >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info