| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/timelinearmap.h>

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 : | |
| 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 `+'.
| virtual void VRS::TimeLinearMap< T >::setStart | ( | const T & | ) | [virtual] |
| virtual void VRS::TimeLinearMap< T >::setEnd | ( | const T & | ) | [virtual] |
| virtual T VRS::TimeLinearMap< T >::getStart | ( | ) | const [virtual] |
| virtual T VRS::TimeLinearMap< T >::getEnd | ( | ) | const [virtual] |
Set/get the interpolated values.
| virtual T VRS::TimeLinearMap< T >::map | ( | const Moment & | m | ) | [virtual] |
| VRS::TimeLinearMap< T >::VRS_TYPEINFO | ( | TimeLinearMap< T > | , | |
| TimeMap< T > | ||||
| ) |
< The relative time progress is calculated based on the moment :