![]() |
Murl Engine API
Version 2018.3
|
A template class to create spline key objects for the spline interpolation classes. More...
#include <murl_math_spline_base.h>
A template class to create spline key objects for the spline interpolation classes.
Public Types | |
typedef DataType | ValueType |
The template parameter value type. More... | |
Public Member Functions | |
SplineKey () | |
The default constructor. | |
SplineKey (Real time, const DataType &value) | |
The constructor including time and value. More... | |
Bool | IsEqual (const SplineKey &other) const |
Compare the animation key to another one. More... | |
bool | operator== (const SplineKey &rhs) const |
The "equal to" comparison operator, calls IsEqual(). More... | |
bool | operator!= (const SplineKey &rhs) const |
The "not equal to" comparison operator, calls IsEqual(). More... | |
Public Attributes | |
Real | mTime |
The time of the key. More... | |
DataType | mValue |
The value of the key. More... | |
typedef DataType Murl::Math::SplineKey< DataType >::ValueType |
The template parameter value type.
|
inline |
The constructor including time and value.
time | The time for the key in seconds. |
value | The value for the key. |
|
inline |
Compare the animation key to another one.
other | The key to compare. |
|
inline |
The "equal to" comparison operator, calls IsEqual().
rhs | The right hand side key to compare. |
|
inline |
The "not equal to" comparison operator, calls IsEqual().
rhs | The right hand side key to compare. |
Real Murl::Math::SplineKey< DataType >::mTime |
The time of the key.
DataType Murl::Math::SplineKey< DataType >::mValue |
The value of the key.