Main Page | Class Hierarchy | Class List | File List | Class Members

IntervalMap< Interpol, Eval > Class Template Reference

#include <intervalmap.h>

List of all members.

Public Member Functions

 IntervalMap ()
 IntervalMap (const IntervalMap &im)
void insert (FLT value, const Interpol *obj)
Eval lookup (FLT value, const Vector3 &v) const


Detailed Description

template<class Interpol, class Eval>
class IntervalMap< Interpol, Eval >

Template for interval maps. Orders some interpolatable object for each value in given range. Eval class has to support 'add' and 'scale' method.
Author:
Micha Riser


Constructor & Destructor Documentation

template<class Interpol, class Eval>
IntervalMap< Interpol, Eval >::IntervalMap  )  [inline]
 

Create empty interval map.

template<class Interpol, class Eval>
IntervalMap< Interpol, Eval >::IntervalMap const IntervalMap< Interpol, Eval > &  im  )  [inline]
 

Copy constructor.


Member Function Documentation

template<class Interpol, class Eval>
void IntervalMap< Interpol, Eval >::insert FLT  value,
const Interpol *  obj
[inline]
 

Insert entry into interval map.


The documentation for this class was generated from the following file:
Generated on Thu Jan 27 12:16:06 2005 for raytracer.kdevelop by doxygen 1.3.8