A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel values to colors. More...
#include <ColorMap.h>
Public Member Functions | |
ColorMap * | clone () const |
Initializer Methods | |
Methods related to instantiation and destruction. | |
ColorMap () | |
It initializes a new ColorMap. More... | |
ColorMap (const ColorMap &rhs) | |
Copy constructor. More... | |
~ColorMap () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setCategorize (Categorize *c) |
Categorize * | getCategorize () const |
void | setInterpolate (Interpolate *i) |
Interpolate * | getInterpolate () const |
void | setRecode (Recode *i) |
Recode * | getRecode () const |
Private Attributes | |
Categorize * | m_categorize |
Categorize function. (Mandatory if interpolate_ is not defined or empty otherwise) More... | |
Interpolate * | m_interpolate |
Interpolate function. (Mandatory if categorize_ is not defined or empty otherwise) More... | |
Recode * | m_recode |
Recode function. More... | |
A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel values to colors.
The ColorMap element defines the mapping of palette-type raster colors or fixed-numeric pixel values to colors using an Interpolate or Categorize SE function. The LookUpValue is in this case set to Rasterdata. For example, a DEM raster giving elevations in meters above sea level can be translated to a colored image with a ColorMap using a Categorize function.
Definition at line 61 of file ColorMap.h.
te::se::ColorMap::ColorMap | ( | ) |
It initializes a new ColorMap.
te::se::ColorMap::ColorMap | ( | const ColorMap & | rhs | ) |
Copy constructor.
rhs | The other color map. |
te::se::ColorMap::~ColorMap | ( | ) |
Destructor.
ColorMap* te::se::ColorMap::clone | ( | ) | const |
Categorize* te::se::ColorMap::getCategorize | ( | ) | const |
Interpolate* te::se::ColorMap::getInterpolate | ( | ) | const |
Recode* te::se::ColorMap::getRecode | ( | ) | const |
void te::se::ColorMap::setCategorize | ( | Categorize * | c | ) |
void te::se::ColorMap::setInterpolate | ( | Interpolate * | i | ) |
void te::se::ColorMap::setRecode | ( | Recode * | i | ) |
|
private |
Categorize function. (Mandatory if interpolate_ is not defined or empty otherwise)
Definition at line 108 of file ColorMap.h.
|
private |
Interpolate function. (Mandatory if categorize_ is not defined or empty otherwise)
Definition at line 109 of file ColorMap.h.
|
private |
Recode function.
Definition at line 110 of file ColorMap.h.