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

◆ ColorMap() [1/2]

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

It initializes a new ColorMap.

◆ ColorMap() [2/2]

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

Copy constructor.

Parameters
rhsThe other color map.

◆ ~ColorMap()

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

Destructor.

Member Function Documentation

◆ clone()

ColorMap* te::se::ColorMap::clone ( ) const

◆ getCategorize()

Categorize* te::se::ColorMap::getCategorize ( ) const

◆ getInterpolate()

Interpolate* te::se::ColorMap::getInterpolate ( ) const

◆ getRecode()

Recode* te::se::ColorMap::getRecode ( ) const

◆ setCategorize()

void te::se::ColorMap::setCategorize ( Categorize c)

◆ setInterpolate()

void te::se::ColorMap::setInterpolate ( Interpolate i)

◆ setRecode()

void te::se::ColorMap::setRecode ( Recode i)

Member Data Documentation

◆ m_categorize

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.

◆ m_interpolate

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.

◆ m_recode

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

Recode function.

Definition at line 110 of file ColorMap.h.


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