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

Plot::SpecifiedHueLookup< PixelType, Scale > Class Template Reference

#include <colorlookup.h>

Inheritance diagram for Plot::SpecifiedHueLookup< PixelType, Scale >:

Inheritance graph
[legend]
Collaboration diagram for Plot::SpecifiedHueLookup< PixelType, Scale >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class PixelType = Plot::RGBPixel<>, class Scale = Scale::Linear<double>>
class Plot::SpecifiedHueLookup< PixelType, Scale >

Accepts a specified hue and confidence, and paper_based_colors.

For paper_based_colors=False, same as ValueColorLookup. Otherwise, returns the specified hue masked by the specified confidence, such that low values produce white, and high values produce black for low confidences and the specified hue for high confidences. I have no idea whether the formula for the paper_based_colors case is mathematically valid, but it seems to work reasonably well on real printouts.

Definition at line 172 of file colorlookup.h.

Public Methods

 SpecifiedHueLookup (Bounded::Magnitude hue=0.0, Bounded::Magnitude confidence=1.0, bool paper_based_colors=false, const Scale &scale=default_scale)
 SpecifiedHueLookup (StringArgs &args, bool paper_based_colors=false, Bounded::Magnitude default_hue=0.0, const Scale &scale=default_scale)


The documentation for this class was generated from the following file:
Generated on Mon Jan 20 02:37:45 2003 for RF-LISSOM by doxygen1.3-rc2