|
Crazy Eddie's GUI System
0.8.4
|
Generic discrete interpolator class. More...
Inheritance diagram for CEGUI::TplDiscreteInterpolator< T >:
Collaboration diagram for CEGUI::TplDiscreteInterpolator< T >:Public Types | |
| typedef PropertyHelper< T > | Helper |
Public Member Functions | |
| TplDiscreteInterpolator (const String &type) | |
| virtual | ~TplDiscreteInterpolator () |
| destructor | |
| virtual String | interpolateAbsolute (const String &value1, const String &value2, float position) |
| virtual String | interpolateRelative (const String &, const String &value1, const String &value2, float position) |
| virtual String | interpolateRelativeMultiply (const String &base, const String &, const String &, float) |
Generic discrete interpolator class.
This class returns the value the position is closest to. You can only use it on any types (they must have a PropertyHelper of course). No requirements on operators
| virtual String CEGUI::TplDiscreteInterpolator< T >::interpolateAbsolute | ( | const String & | value1, |
| const String & | value2, | ||
| float | position | ||
| ) | [inline, virtual] |
this is used when Affector is set to apply values in absolute mode (application method == AM_Absolute)
Implements CEGUI::Interpolator.
| virtual String CEGUI::TplDiscreteInterpolator< T >::interpolateRelative | ( | const String & | , |
| const String & | value1, | ||
| const String & | value2, | ||
| float | position | ||
| ) | [inline, virtual] |
this is used when Affector is set to apply values in relative mode (application method == AM_Relative)
Implements CEGUI::Interpolator.
Reimplemented in CEGUI::TplDiscreteRelativeInterpolator< T >.
| virtual String CEGUI::TplDiscreteInterpolator< T >::interpolateRelativeMultiply | ( | const String & | base, |
| const String & | , | ||
| const String & | , | ||
| float | |||
| ) | [inline, virtual] |
this is used when Affector is set to apply values in relative multiply mode (application method == AM_RelativeMultiply)
Implements CEGUI::Interpolator.