Transformation of discrete values to other values. More...
#include <Recode.h>
Public Types | |
typedef void | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const =0 |
It call the visit method from the guest object. More... | |
virtual Expression * | clone () const =0 |
It returns a clone of this object. More... | |
const std::string & | getFallbackValue () const |
void | setFallbackValue (const std::string &v) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
Recode () | |
It initializes a new Recode. More... | |
~Recode () | |
Destructor. More... | |
void | setLookupValue (ParameterValue *v) |
void | add (MapItem *m) |
Protected Attributes | |
std::string | m_fallbackValue |
The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function. (Mandatory) More... | |
Private Attributes | |
ParameterValue * | m_lookupValue |
Mandatory. More... | |
std::vector< MapItem * > | m_mapItems |
Mandatory. More... | |
Transformation of discrete values to other values.
The Symbology encoding specification defines three pre-defined functions for transforming raw data:
It allows to replace a color in the ExternalGraphic, the color specified in the OriginalColor sub-element, by another color as a result of a recode function.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::se::Recode::Recode | ( | ) |
It initializes a new Recode.
Definition at line 32 of file Recode.cpp.
te::se::Recode::~Recode | ( | ) |
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
void te::se::Recode::add | ( | MapItem * | m | ) |
Definition at line 49 of file Recode.cpp.
|
pure virtualinherited |
It returns a clone of this object.
Implemented in te::fe::BinaryOperator, te::fe::Function, te::se::Interpolate, te::se::Categorize, te::fe::Literal, te::fe::PropertyName, and te::se::InterpolationPoint.
Referenced by te::fe::Function::clone(), te::fe::BinaryOperator::clone(), and te::se::ParameterValue::Parameter::Parameter().
|
inherited |
Definition at line 42 of file Function.cpp.
Referenced by te::se::Categorize::Categorize(), te::se::Interpolate::Interpolate(), and te::se::serialize::Save().
|
inherited |
Definition at line 37 of file Function.cpp.
Referenced by te::qt::widgets::ColorMapWidget::buildCategorizationMap(), te::qt::widgets::ColorMapWidget::buildInterpolationMap(), te::qt::widgets::ClassifierWizard::execute(), and te::qt::plugins::terralib4::GetRasterGrouping().
void te::se::Recode::setLookupValue | ( | ParameterValue * | v | ) |
Definition at line 43 of file Recode.cpp.
|
protectedinherited |
The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function. (Mandatory)
Definition at line 88 of file Function.h.
Referenced by te::se::Categorize::Categorize(), and te::se::Interpolate::Interpolate().
|
private |
|
private |