|
Crazy Eddie's GUI System
0.8.1
|
Generic linear interpolator class. More...
Inheritance diagram for CEGUI::TplLinearInterpolator< T >:
Collaboration diagram for CEGUI::TplLinearInterpolator< T >:Public Types | |
| typedef PropertyHelper< T > | Helper |
Public Member Functions | |
| TplLinearInterpolator (const String &type) | |
| virtual | ~TplLinearInterpolator () |
| destructor | |
| virtual String | interpolateAbsolute (const String &value1, const String &value2, float position) |
| More... | |
| virtual String | interpolateRelative (const String &base, const String &value1, const String &value2, float position) |
| More... | |
| virtual String | interpolateRelativeMultiply (const String &base, const String &value1, const String &value2, float position) |
| More... | |
Public Member Functions inherited from CEGUI::TplInterpolatorBase | |
| TplInterpolatorBase (const String &type) | |
| virtual | ~TplInterpolatorBase () |
| destructor | |
| virtual const String & | getType () const |
| returns type string of this interpolator More... | |
Public Member Functions inherited from CEGUI::Interpolator | |
| virtual | ~Interpolator () |
| destructor | |
Generic linear interpolator class.
This class works on a simple formula: result = val1 * (1.0f - position) + val2 * (position); You can only use it on types that have operator*(float) and operator+(T) overloaded!
|
inlinevirtual |
this is used when Affector is set to apply values in absolute mode (application method == AM_Absolute)
Implements CEGUI::Interpolator.
|
inlinevirtual |
this is used when Affector is set to apply values in relative mode (application method == AM_Relative)
Implements CEGUI::Interpolator.
|
inlinevirtual |
this is used when Affector is set to apply values in relative multiply mode (application method == AM_RelativeMultiply)
Implements CEGUI::Interpolator.