te::map::RasterTransformConfigurer Class Reference

A Raster Transform configurer generates a Raster Transform given a RasterSymbolzier. More...

#include <RasterTransformConfigurer.h>

Public Member Functions

void configure ()
 Configure Transformation. More...
 
 RasterTransformConfigurer (te::se::RasterSymbolizer *rs, te::map::RasterTransform *rt)
 Constructor. More...
 
 ~RasterTransformConfigurer ()
 Destructor. More...
 

Protected Member Functions

void getBlueChannelProperties (te::se::SelectedChannel *se)
 
void getCategorizedMap (te::se::Categorize *caterogize)
 
void getChannelSelection ()
 
void getColorMapInformation ()
 
double getGammaProperty (te::se::ContrastEnhancement *ce)
 
void getGeneralProperties ()
 
void getGrayChannelProperties (te::se::SelectedChannel *se)
 
void getGreenChannelProperties (te::se::SelectedChannel *se)
 
void getInterpolatedMap (te::se::Interpolate *interpolate)
 
void getRecodedMap (te::se::Recode *recode)
 
void getRedChannelProperties (te::se::SelectedChannel *se)
 

Private Attributes

te::se::RasterSymbolizerm_rstSymbolizer
 SE element that describes the raster style. More...
 
te::map::RasterTransformm_rstTransform
 Raster transformation object. More...
 

Detailed Description

A Raster Transform configurer generates a Raster Transform given a RasterSymbolzier.

See also
RasterTransform

Definition at line 64 of file RasterTransformConfigurer.h.

Constructor & Destructor Documentation

te::map::RasterTransformConfigurer::RasterTransformConfigurer ( te::se::RasterSymbolizer rs,
te::map::RasterTransform rt 
)

Constructor.

Parameters
rsValid raster symbolizer pointer
rtPointer to a raster transform object that will be configurated
Note

Definition at line 43 of file RasterTransformConfigurer.cpp.

References ~RasterTransformConfigurer().

te::map::RasterTransformConfigurer::~RasterTransformConfigurer ( )
default

Destructor.

Referenced by RasterTransformConfigurer().

Member Function Documentation

void te::map::RasterTransformConfigurer::getChannelSelection ( )
protected

Function used to get channel selection order

Definition at line 103 of file RasterTransformConfigurer.cpp.

References te::map::RasterTransform::ALPHA_CHANNEL, te::rst::AlphaCInt, te::map::RasterTransform::BAND2BAND_TRANSF, te::map::RasterTransform::BLUE2THREE_TRANSF, te::se::BLUE_COMPOSITION, te::map::RasterTransform::clearRGBMap(), te::map::RasterTransform::EXTRACT2RGB_TRANSF, te::rst::Raster::getBand(), te::se::ChannelSelection::getBlueChannel(), getBlueChannelProperties(), te::se::RasterSymbolizer::getChannelSelection(), te::se::ChannelSelection::getColorCompositionType(), te::se::ChannelSelection::getGrayChannel(), getGrayChannelProperties(), te::se::ChannelSelection::getGreenChannel(), getGreenChannelProperties(), te::map::RasterTransform::getInputRaster(), te::rst::Raster::getNumberOfBands(), te::map::RasterTransform::getOutputRaster(), te::rst::Band::getProperty(), te::se::ChannelSelection::getRedChannel(), getRedChannelProperties(), te::map::RasterTransform::getSrcBand(), te::se::GRAY_COMPOSITION, te::map::RasterTransform::GREEN2THREE_TRANSF, te::se::GREEN_COMPOSITION, te::rst::BandProperty::m_colorInterp, te::rst::BandProperty::m_palette, m_rstSymbolizer, m_rstTransform, te::map::RasterTransform::MONO2THREE_TRANSF, te::map::RasterTransform::NO_TRANSF, te::rst::PaletteIdxCInt, te::map::RasterTransform::RECODE_TRANSF, te::map::RasterTransform::RED2THREE_TRANSF, te::se::RED_COMPOSITION, te::se::RGB_COMPOSITION, te::map::RasterTransform::setBChannelMapping(), te::color::RGBAColor::setColor(), te::map::RasterTransform::setRecodedMap(), and te::map::RasterTransform::setTransfFunction().

Referenced by configure().

double te::map::RasterTransformConfigurer::getGammaProperty ( te::se::ContrastEnhancement ce)
protected

Function used to get gamma value from a Contrast Enhancement

Definition at line 264 of file RasterTransformConfigurer.cpp.

References te::se::ContrastEnhancement::getGammaValue(), and TE_SE_DEFAULT_GAMMA_VALUE.

Referenced by getBlueChannelProperties(), getGrayChannelProperties(), getGreenChannelProperties(), and getRedChannelProperties().

void te::map::RasterTransformConfigurer::getGrayChannelProperties ( te::se::SelectedChannel se)
protected
void te::map::RasterTransformConfigurer::getInterpolatedMap ( te::se::Interpolate interpolate)
protected
void te::map::RasterTransformConfigurer::getRecodedMap ( te::se::Recode recode)
protected

Member Data Documentation

te::se::RasterSymbolizer* te::map::RasterTransformConfigurer::m_rstSymbolizer
private

SE element that describes the raster style.

Definition at line 122 of file RasterTransformConfigurer.h.

Referenced by configure(), getChannelSelection(), getColorMapInformation(), and getGeneralProperties().


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