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 | 
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... | |
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 60 of file ColorMap.h.
| te::se::ColorMap::ColorMap | ( | ) | 
It initializes a new ColorMap.
Definition at line 31 of file ColorMap.cpp.
| te::se::ColorMap::ColorMap | ( | const ColorMap & | rhs | ) | 
Copy constructor.
| rhs | The other color map. | 
Definition at line 37 of file ColorMap.cpp.
References te::se::Categorize::clone(), te::se::Interpolate::clone(), m_categorize, and m_interpolate.
| te::se::ColorMap::~ColorMap | ( | ) | 
Destructor.
Definition at line 52 of file ColorMap.cpp.
| te::se::ColorMap * te::se::ColorMap::clone | ( | ) | const | 
Definition at line 80 of file ColorMap.cpp.
Referenced by te::qt::widgets::ColorMapWidget::getColorMap(), te::se::RasterSymbolizer::RasterSymbolizer(), and te::qt::widgets::ColorMapWidget::setColorMap().
| te::se::Categorize * te::se::ColorMap::getCategorize | ( | ) | const | 
Definition at line 64 of file ColorMap.cpp.
Referenced by te::serialize::Save().
| te::se::Interpolate * te::se::ColorMap::getInterpolate | ( | ) | const | 
Definition at line 75 of file ColorMap.cpp.
Referenced by te::serialize::Save().
| void te::se::ColorMap::setCategorize | ( | Categorize * | c | ) | 
Definition at line 58 of file ColorMap.cpp.
| void te::se::ColorMap::setInterpolate | ( | Interpolate * | i | ) | 
Definition at line 69 of file ColorMap.cpp.
      
  | 
  private | 
Categorize function. (Mandatory if interpolate_ is not defined or empty otherwise)
Definition at line 103 of file ColorMap.h.
Referenced by ColorMap().
      
  | 
  private | 
Interpolate function. (Mandatory if categorize_ is not defined or empty otherwise)
Definition at line 104 of file ColorMap.h.
Referenced by ColorMap().