Castor3D  ..
Public Member Functions | List of all members
Castor3D::Interpolator< Type > Class Template Referenceabstract

Template class which handles the interpolations, would it be quaternion, point, real, ... interpolations. More...

+ Inheritance diagram for Castor3D::Interpolator< Type >:

Public Member Functions

 Interpolator ()
 Constructor. More...
 
 ~Interpolator ()
 Destructor. More...
 
virtual C3D_API Type Interpolate (Type const &p_src, Type const &p_dst, real p_percent) const =0
 Interpolation function. More...
 

Detailed Description

template<class Type>
class Castor3D::Interpolator< Type >

Template class which handles the interpolations, would it be quaternion, point, real, ... interpolations.

Author
Sylvain DOREMUS
Version
0.1
Date
09/02/2010

Constructor & Destructor Documentation

◆ Interpolator()

template<class Type>
Castor3D::Interpolator< Type >::Interpolator ( )
inline

Constructor.

◆ ~Interpolator()

template<class Type>
Castor3D::Interpolator< Type >::~Interpolator ( )
inline

Destructor.

Member Function Documentation

◆ Interpolate()

template<class Type>
virtual C3D_API Type Castor3D::Interpolator< Type >::Interpolate ( Type const &  p_src,
Type const &  p_dst,
real  p_percent 
) const
pure virtual

Interpolation function.

Parameters
[in]p_srcThe start.
[in]p_dstThe end.
[in]p_percentThe percentage.

Implemented in Castor3D::InterpolatorT< Castor::Quaternion, eINTERPOLATOR_MODE_LINEAR >, Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR >, and Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_NONE >.


The documentation for this class was generated from the following files: