te::se::ColorMap Class Reference

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>

Inheritance diagram for te::se::ColorMap:

Public Member Functions

ColorMapclone () 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)
 
CategorizegetCategorize () const
 
void setInterpolate (Interpolate *i)
 
InterpolategetInterpolate () const
 
void setRecode (Recode *i)
 
RecodegetRecode () const
 

Private Attributes

Categorizem_categorize
 Categorize function. (Mandatory if interpolate_ is not defined or empty otherwise) More...
 
Interpolatem_interpolate
 Interpolate function. (Mandatory if categorize_ is not defined or empty otherwise) More...
 
Recodem_recode
 Recode function. More...
 

Detailed Description

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.

See also
RasterSymbolizer, Categorize, Interpolate

Definition at line 61 of file ColorMap.h.

Constructor & Destructor Documentation

te::se::ColorMap::ColorMap ( )

It initializes a new ColorMap.

Definition at line 32 of file ColorMap.cpp.

Referenced by clone().

te::se::ColorMap::ColorMap ( const ColorMap rhs)

Copy constructor.

Parameters
rhsThe other color map.

Definition at line 39 of file ColorMap.cpp.

References te::se::Recode::clone(), te::se::Categorize::clone(), te::se::Interpolate::clone(), m_categorize, m_interpolate, and m_recode.

te::se::ColorMap::~ColorMap ( )

Destructor.

Definition at line 60 of file ColorMap.cpp.

References m_categorize, m_interpolate, and m_recode.

Member Function Documentation

Member Data Documentation

Categorize* te::se::ColorMap::m_categorize
private

Categorize function. (Mandatory if interpolate_ is not defined or empty otherwise)

Definition at line 108 of file ColorMap.h.

Referenced by ColorMap(), getCategorize(), setCategorize(), and ~ColorMap().

Interpolate* te::se::ColorMap::m_interpolate
private

Interpolate function. (Mandatory if categorize_ is not defined or empty otherwise)

Definition at line 109 of file ColorMap.h.

Referenced by ColorMap(), getInterpolate(), setInterpolate(), and ~ColorMap().

Recode* te::se::ColorMap::m_recode
private

Recode function.

Definition at line 110 of file ColorMap.h.

Referenced by ColorMap(), getRecode(), setRecode(), and ~ColorMap().


The documentation for this class was generated from the following files: