Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents the scaling curve to use when displaying a SoundFilter parameter. More...
#include <omSoundFilterParameterCurve.h>
Public Types | |
enum | Enum { LINEAR = 0, LOGARITHMIC = 1, SQUARE = 2, SQUARE_ROOT = 3, CUBE = 4, CUBE_ROOT = 5 } |
An enum that specifies the different kinds of scaling curves. More... | |
Public Member Functions | |
FilterParameterCurve () | |
Create a new filter parameter curve object with the LINEAR parameter curve. More... | |
FilterParameterCurve (Enum newCurve) | |
Create a new filter parameter curve object with the specified units enum value. More... | |
operator Enum () const | |
Convert this filter parameter curve type to an enum value. More... | |
UTF8String | toString () const |
Return a string representation of the parameter curve type. More... | |
operator UTF8String () const | |
Convert this parameter curve type into a string representation. More... | |
A class that represents the scaling curve to use when displaying a SoundFilter parameter.
This class allows the user to specify how to display slider values, graphs, etc. Certain types of data are better visualized with a log scale, for instance.
An enum that specifies the different kinds of scaling curves.
|
inline |
Create a new filter parameter curve object with the LINEAR parameter curve.
|
inline |
Create a new filter parameter curve object with the specified units enum value.
|
inline |
Convert this filter parameter curve type to an enum value.
This operator is provided so that the FilterParameterCurve object can be used directly in a switch statement without the need to explicitly access the underlying enum value.
UTF8String om::sound::filters::FilterParameterCurve::toString | ( | ) | const |
Return a string representation of the parameter curve type.
|
inline |
Convert this parameter curve type into a string representation.