#include <colorlookup.h>
Inheritance diagram for Plot::ColorLookup< PixelType, Scale >:
Supports automatic linear scaling of the magnitude, e.g. to flip the representation from dark to light, to put the values in a certain range, etc.
Definition at line 40 of file colorlookup.h.
Public Methods | |
ColorLookup (const Scale &scale=default_scale) | |
Constructor accepting an optional scaling function object. | |
virtual PixelType | operator() (const double mag) const |
Returns a Pixel given a magnitude that will be in the range 0.0-1.0 after scaling. | |
Protected Types | |
typedef Scale | ScaleType |
Static Protected Attributes | |
ScaleType | default_scale |