OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
NifOsg::ValueInterpolator< MapT, InterpolationFunc > Class Template Reference

#include <controller.hpp>

Collaboration diagram for NifOsg::ValueInterpolator< MapT, InterpolationFunc >:

Public Types

typedef MapT::ValueType ValueT
 

Public Member Functions

 ValueInterpolator ()
 
 ValueInterpolator (boost::shared_ptr< const MapT > keys, ValueT defaultVal=ValueT())
 
ValueT interpKey (float time) const
 
bool empty () const
 

Private Attributes

MapT::MapType::const_iterator mLastLowKey
 
MapT::MapType::const_iterator mLastHighKey
 
boost::shared_ptr< const MapT > mKeys
 
ValueT mDefaultVal
 

Member Typedef Documentation

template<typename MapT, typename InterpolationFunc>
typedef MapT::ValueType NifOsg::ValueInterpolator< MapT, InterpolationFunc >::ValueT

Constructor & Destructor Documentation

template<typename MapT, typename InterpolationFunc>
NifOsg::ValueInterpolator< MapT, InterpolationFunc >::ValueInterpolator ( )
inline
template<typename MapT, typename InterpolationFunc>
NifOsg::ValueInterpolator< MapT, InterpolationFunc >::ValueInterpolator ( boost::shared_ptr< const MapT >  keys,
ValueT  defaultVal = ValueT() 
)
inline

Member Function Documentation

template<typename MapT, typename InterpolationFunc>
bool NifOsg::ValueInterpolator< MapT, InterpolationFunc >::empty ( ) const
inline

Here is the caller graph for this function:

template<typename MapT, typename InterpolationFunc>
ValueT NifOsg::ValueInterpolator< MapT, InterpolationFunc >::interpKey ( float  time) const
inline

Here is the caller graph for this function:

Member Data Documentation

template<typename MapT, typename InterpolationFunc>
ValueT NifOsg::ValueInterpolator< MapT, InterpolationFunc >::mDefaultVal
private
template<typename MapT, typename InterpolationFunc>
boost::shared_ptr<const MapT> NifOsg::ValueInterpolator< MapT, InterpolationFunc >::mKeys
private
template<typename MapT, typename InterpolationFunc>
MapT::MapType::const_iterator NifOsg::ValueInterpolator< MapT, InterpolationFunc >::mLastHighKey
mutableprivate
template<typename MapT, typename InterpolationFunc>
MapT::MapType::const_iterator NifOsg::ValueInterpolator< MapT, InterpolationFunc >::mLastLowKey
mutableprivate

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