version 3.3

VRS::TimeLinearMap< T > Class Template Reference

Template Class for Linear VRSTime Mappings. More...

#include <vrs/sg/timelinearmap.h>

Inheritance diagram for VRS::TimeLinearMap< T >:

VRS::TimeMap< T > VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 TimeLinearMap (const T &startValue, const T &endValue)
virtual void setStart (const T &)
virtual void setEnd (const T &)
virtual T getStart () const
virtual T getEnd () const
 Set/get the interpolated values.
virtual T map (const Moment &m)
 Interpolates between start value and end value :.
 VRS_TYPEINFO (TimeLinearMap, TimeMap< T >)
 < The relative time progress is calculated based on the moment :


Detailed Description

template<typename T>
class VRS::TimeLinearMap< T >

Template Class for Linear VRSTime Mappings.

Constructor & Destructor Documentation

template<typename T>
VRS::TimeLinearMap< T >::TimeLinearMap ( const T &  startValue,
const T &  endValue 
)

An `TimeLinearMap' interpolates two value with respect to the relative time progress. Note that type `T' must provide a skalar multiplication and addition by the overloaded operators `*' and `+'.


Member Function Documentation

template<typename T>
virtual void VRS::TimeLinearMap< T >::setStart ( const T &   )  [virtual]

template<typename T>
virtual void VRS::TimeLinearMap< T >::setEnd ( const T &   )  [virtual]

template<typename T>
virtual T VRS::TimeLinearMap< T >::getStart (  )  const [virtual]

template<typename T>
virtual T VRS::TimeLinearMap< T >::getEnd (  )  const [virtual]

Set/get the interpolated values.

template<typename T>
virtual T VRS::TimeLinearMap< T >::map ( const Moment m  )  [virtual]

Interpolates between start value and end value :.

Implements VRS::TimeMap< T >.

template<typename T>
VRS::TimeLinearMap< T >::VRS_TYPEINFO ( TimeLinearMap< T >  ,
TimeMap< T >   
)

< The relative time progress is calculated based on the moment :


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

Generated on Wed May 22 06:00:33 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact