Om
1.0.0
A universal framework for multimedia simulation
|
A class that enumerates the different types of sampled function interpolation. More...
#include <omInterpolation.h>
Public Types | |
enum | Enum { UNDEFINED = 0, NONE = 1, NEAREST = NONE, LINEAR = 2, BEZIER = 3, HERMITE = 4, B_SPLINE = 5, SINC = 6, SLERP = 7 } |
An enum type which represents the different interpolation types. More... | |
Public Member Functions | |
Interpolation () | |
Create a new interpolation type with the UNDEFINED enum value. More... | |
Interpolation (Enum newType) | |
Create a new interpolation type with the specified interpolation type enum value. More... | |
operator Enum () const | |
Convert this interpolation type to an enum value. More... | |
data::String | toString () const |
Return a string representation of the interpolation type. More... | |
operator data::String () const | |
Convert this interpolation type into a string representation. More... | |
A class that enumerates the different types of sampled function interpolation.
An enum type which represents the different interpolation types.
|
inline |
Create a new interpolation type with the UNDEFINED enum value.
|
inline |
Create a new interpolation type with the specified interpolation type enum value.
|
inline |
Convert this interpolation type to an enum value.
data::String om::math::Interpolation::toString | ( | ) | const |
Return a string representation of the interpolation type.
|
inline |
Convert this interpolation type into a string representation.