Crazy Eddie's GUI System  0.8.7
CEGUI::QuaternionSlerpInterpolator Class Reference

Special interpolator class for Quaternion. More...

+ Inheritance diagram for CEGUI::QuaternionSlerpInterpolator:
+ Collaboration diagram for CEGUI::QuaternionSlerpInterpolator:

Public Types

typedef PropertyHelper< QuaternionHelper
 

Public Member Functions

virtual ~QuaternionSlerpInterpolator ()
 destructor
 
virtual const StringgetType () const
 returns type string of this interpolator More...
 
virtual String interpolateAbsolute (const String &value1, const String &value2, float position)
 
virtual String interpolateRelative (const String &base, const String &value1, const String &value2, float position)
 
virtual String interpolateRelativeMultiply (const String &base, const String &value1, const String &value2, float position)
 
- Public Member Functions inherited from CEGUI::Interpolator
virtual ~Interpolator ()
 destructor
 

Detailed Description

Special interpolator class for Quaternion.

Quaternions can't be interpolated as floats and/or vectors, we have to use "Spherical linear interpolator" instead.

Member Function Documentation

virtual const String& CEGUI::QuaternionSlerpInterpolator::getType ( ) const
virtual

returns type string of this interpolator

Implements CEGUI::Interpolator.

virtual String CEGUI::QuaternionSlerpInterpolator::interpolateAbsolute ( const String value1,
const String value2,
float  position 
)
virtual

this is used when Affector is set to apply values in absolute mode (application method == AM_Absolute)

Implements CEGUI::Interpolator.

virtual String CEGUI::QuaternionSlerpInterpolator::interpolateRelative ( const String base,
const String value1,
const String value2,
float  position 
)
virtual

this is used when Affector is set to apply values in relative mode (application method == AM_Relative)

Implements CEGUI::Interpolator.

virtual String CEGUI::QuaternionSlerpInterpolator::interpolateRelativeMultiply ( const String base,
const String value1,
const String value2,
float  position 
)
virtual

this is used when Affector is set to apply values in relative multiply mode (application method == AM_RelativeMultiply)

Implements CEGUI::Interpolator.