Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Protected Member Functions | List of all members
castor3d::Interpolator< DataT > Class Template Referenceabstract

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

#include <Interpolator.hpp>

Inheritance diagram for castor3d::Interpolator< DataT >:
Inheritance graph
[legend]

Public Member Functions

virtual C3D_API ~Interpolator () noexcept=default
 
virtual C3D_API DataT interpolate (DataT const &src, DataT const &dst, float percent) const =0
 Interpolation function.
 
InterpolatorType getType () const
 

Protected Member Functions

 Interpolator (InterpolatorType type)
 

Detailed Description

template<class DataT>
class castor3d::Interpolator< DataT >

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

Constructor & Destructor Documentation

◆ Interpolator()

template<class DataT >
castor3d::Interpolator< DataT >::Interpolator ( InterpolatorType type)
inlineexplicitprotected

◆ ~Interpolator()

template<class DataT >
virtual C3D_API castor3d::Interpolator< DataT >::~Interpolator ( )
virtualdefaultnoexcept

Member Function Documentation

◆ getType()

template<class DataT >
InterpolatorType castor3d::Interpolator< DataT >::getType ( ) const
inline

◆ interpolate()

template<class DataT >
virtual C3D_API DataT castor3d::Interpolator< DataT >::interpolate ( DataT const & src,
DataT const & dst,
float percent ) const
pure virtual

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