Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Plot::ColorLookupTable Template Class Reference

Abstract base class for a finite array of possible colors that can be returned when given a magnitude. More...

#include <colorlookup.h>

Inheritance diagram for Plot::ColorLookupTable

Inheritance graph

[legend]
Collaboration diagram for Plot::ColorLookupTable:

Collaboration graph

[legend]
List of all members.

Public Methods

 ColorLookupTable (size_t numcolors)
virtual ~ColorLookupTable ()
PixelType operator() (const Bounded::Magnitude mag) const
 Returns a Pixel given a magnitude in the range 0.0-1.0. More...


Public Attributes

std::vector<PixelType> colors

Detailed Description

template<class PixelType = Plot::RGBPixel<>> template class Plot::ColorLookupTable

Abstract base class for a finite array of possible colors that can be returned when given a magnitude.

Definition at line 107 of file colorlookup.h.


Constructor & Destructor Documentation

template<classPixelType = Plot::RGBPixel<>>
Plot::ColorLookupTable<PixelType>::ColorLookupTable<PixelType> ( size_t numcolors )
 

Definition at line 109 of file colorlookup.h.

template<classPixelType = Plot::RGBPixel<>>
Plot::ColorLookupTable<PixelType>::~ColorLookupTable<PixelType> ( ) [inline, virtual]
 

Definition at line 110 of file colorlookup.h.


Member Function Documentation

template<classPixelType = Plot::RGBPixel<>>
PixelType Plot::ColorLookupTable<PixelType>::operator() ( const Bounded::Magnitude mag ) const [inline, virtual]
 

Returns a Pixel given a magnitude in the range 0.0-1.0.

Reimplemented from Plot::ColorLookup.

Definition at line 112 of file colorlookup.h.


Member Data Documentation

template<classPixelType = Plot::RGBPixel<>>
std::vector< PixelType > Plot::ColorLookupTable<PixelType>::colors
 

Definition at line 116 of file colorlookup.h.


The documentation for this class was generated from the following file:
Generated at Mon Aug 21 00:31:16 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000