Argl::ColorMap< Key > Class Template Reference

ColorMap is an extended Map using Color as value and allowing linear interpolation between two neighboring keys. More...

#include <argl.h>

Inherits Map< Key, Color >.

Inheritance diagram for Argl::ColorMap< Key >:

Inheritance graph
[legend]
Collaboration diagram for Argl::ColorMap< Key >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ColorMap ()
 constructs an empty ColorMap
const Color getInterpolatedItem (const Key) const
 returns the color at a given key, interpolating between two neighboring keys if it does not exist

Private Member Functions

 ColorMap (ColorMap &)
void operator= (ColorMap &)

Detailed Description

template<class Key>
class Argl::ColorMap< Key >

ColorMap is an extended Map using Color as value and allowing linear interpolation between two neighboring keys.


Constructor & Destructor Documentation

template<class Key>
Argl::ColorMap< Key >::ColorMap (  )  [inline]

constructs an empty ColorMap

template<class Key>
Argl::ColorMap< Key >::ColorMap ( ColorMap< Key > &   )  [private]


Member Function Documentation

template<class Key>
const Argl::Color Argl::ColorMap< Key >::getInterpolatedItem ( const   Key  )  const [inline]

returns the color at a given key, interpolating between two neighboring keys if it does not exist

template<class Key>
void Argl::ColorMap< Key >::operator= ( ColorMap< Key > &   )  [private]


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 00:31:51 2007 for ARGL by  doxygen 1.5.2