The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos, DEMs).
More...
#include <RasterSymbolizer.h>
The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos, DEMs).
A RasterSymbolizer is used to specify the rendering of raster/matrix-coverage data (e.g., satellite images, DEMs).
Geometry-type transformations are also system-dependent and it is assumed that this capability will be little used.
- See also
- Symbolizer, te::fe::PropertyName, ParameterValue, ChannelSelection, ColorMap, ContrastEnhancement, ShadedRelief, ImageOutline
Definition at line 61 of file RasterSymbolizer.h.
◆ ReturnType
◆ VisitorType
◆ OverlapBehavior
OverlapBehavior tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes.
Enumerator |
---|
LATEST_ON_TOP | It refers to the time the scene was captured.
|
EARLIEST_ON_TOP | It refers to the time the scene was captured.
|
AVERAGE | It means to average multiple scenes together. This can produce blurry results if the source images are not perfectly aligned in their geo-referencing.
|
RANDOM | It means to select an image (or piece thereof) randomly and place it on top.
|
NO_BEHAVIOR | |
Definition at line 74 of file RasterSymbolizer.h.
◆ RasterSymbolizer() [1/2]
te::se::RasterSymbolizer::RasterSymbolizer |
( |
| ) |
|
◆ RasterSymbolizer() [2/2]
Copy constructor.
- Parameters
-
rhs | The other raster symbolizer. |
◆ ~RasterSymbolizer()
te::se::RasterSymbolizer::~RasterSymbolizer |
( |
| ) |
|
◆ accept()
It call the visit method from the guest object.
- Parameters
-
guest | The guest or visitor. |
- Returns
- Any valid value define by the template type R.
◆ clone()
Symbolizer * te::se::RasterSymbolizer::clone |
( |
| ) |
const |
|
virtual |
◆ getBaseSymbolizer()
◆ getChannelDomain()
◆ getChannelSelection()
◆ getColorMap()
◆ getContrastEnhancement()
◆ getDescription()
const Description * te::se::Symbolizer::getDescription |
( |
| ) |
const |
|
inherited |
◆ getGain()
◆ getImageOutline()
◆ getName()
const std::string & te::se::Symbolizer::getName |
( |
| ) |
const |
|
inherited |
◆ getNoDataValue()
◆ getOffset()
◆ getOpacity()
◆ getOverlapBehavior()
◆ getShadedRelief()
ShadedRelief * te::se::RasterSymbolizer::getShadedRelief |
( |
| ) |
const |
|
inline |
◆ getType()
const std::string & te::se::RasterSymbolizer::getType |
( |
| ) |
const |
|
virtual |
It returns the symbolizer type.
- Returns
- The symbolizer type.
Implements te::se::Symbolizer.
◆ getUom()
const te::common::BaseUnitOfMeasure * te::se::Symbolizer::getUom |
( |
| ) |
const |
|
inherited |
◆ getVersion()
const std::string & te::se::Symbolizer::getVersion |
( |
| ) |
const |
|
inherited |
◆ setBaseSymbolizer()
◆ setChannelDomain()
◆ setChannelSelection()
◆ setColorMap()
void te::se::RasterSymbolizer::setColorMap |
( |
ColorMap * |
c | ) |
|
◆ setContrastEnhancement()
◆ setDescription()
void te::se::Symbolizer::setDescription |
( |
Description * |
d | ) |
|
|
inherited |
◆ setGain()
◆ setGeometry()
◆ setImageOutline()
void te::se::RasterSymbolizer::setImageOutline |
( |
ImageOutline * |
i | ) |
|
◆ setName()
void te::se::Symbolizer::setName |
( |
const std::string & |
name | ) |
|
|
inherited |
◆ setNoDataValue()
◆ setOffset()
◆ setOpacity()
◆ setOverlapBehavior()
◆ setShadedRelief()
void te::se::RasterSymbolizer::setShadedRelief |
( |
ShadedRelief * |
s | ) |
|
◆ setUom()
void te::se::Symbolizer::setUom |
( |
const te::common::BaseUnitOfMeasure * |
uom | ) |
|
|
inherited |
It sets the unit-of-measure.
All Symbolizers include an optional gml:uom-attribute as used by GML (this is set inside the abstract SymbolizerType and therefore inherited by all Symbolizers). This applies to all elements included inside a Symbolizer such as stroke-width, size, font-size, Gap, InitialGap, Displacement and PerpendicularOffset. If no uom is set inside of Symbolizer, all units are measured in pixel, the behaviour used by SLD 1.0.0. The following uom definitions are recommended to be used:
◆ setVersion()
void te::se::Symbolizer::setVersion |
( |
const std::string & |
version | ) |
|
|
inherited |
◆ m_baseSymbolizer
A BaseSymbolizer (an OnlineResource) defines the default properties of a Symbolizer to be those of an external Symbolizer, which will frequently be inside of an OGC Symbolizer repository. The Symbolizer properties given in-line override the base-Symbolizer properties. (Optional)
Definition at line 164 of file Symbolizer.h.
◆ m_channelDomain
◆ m_channelSelection
It specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). (Optional)
Definition at line 172 of file RasterSymbolizer.h.
◆ m_colorMap
ColorMap* te::se::RasterSymbolizer::m_colorMap |
|
private |
It defines either the colors of a pallette-type raster source or the mapping of numeric pixel values to colors. (Optional)
Definition at line 174 of file RasterSymbolizer.h.
◆ m_contrastEnhancement
It defines contrast enhancement for a channel of a false-color image or for a color image. (Optional)
Definition at line 175 of file RasterSymbolizer.h.
◆ m_description
It gives the familiar short title for display lists and longer description for the symbolizer. (Optional)
Definition at line 163 of file Symbolizer.h.
◆ m_gain
It defines the gain value used to renderer the main raster pixels, a initial value could be 1.0. (Optional)
Definition at line 168 of file RasterSymbolizer.h.
◆ m_geometry
The interpretation of Geometry is system-dependent, as raster data may be organized differently from feature data, though omitting this element selects the default raster-data source. (Optional)
Definition at line 166 of file RasterSymbolizer.h.
◆ m_imageOutline
It specifies how individual source rasters in a multi-raster set (such as a set of satellite-image scenes) should be outlined to make the individual-image locations visible. (Optional)
Definition at line 177 of file RasterSymbolizer.h.
◆ m_name
std::string te::se::Symbolizer::m_name |
|
privateinherited |
It allows the symbolizer to be referenced externally, which is needed in some methods of SE usage. (Optional)
Definition at line 162 of file Symbolizer.h.
◆ m_noDataValue
It defines the no data value used to renderer the main raster pixels, a initial value is infinite value. (Optional)
Definition at line 170 of file RasterSymbolizer.h.
◆ m_offset
It defines the offset value used to renderer the main raster pixels, a initial value could be 0.0. (Optional)
Definition at line 169 of file RasterSymbolizer.h.
◆ m_opacity
An Opacity of 0.0 can be selected for the main raster to avoid rendering the main-raster pixels, or an opacity can be used for a PolygonSymbolizer Fill to allow the main-raster data be visible through the fill. (Optional)
Definition at line 167 of file RasterSymbolizer.h.
◆ m_overlapBehavior
It tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes. (Optional)
Definition at line 173 of file RasterSymbolizer.h.
◆ m_shadedRelief
It selects the application of relief shading (or "hill shading") to an image for a three-dimensional visual effect. (Optional)
Definition at line 176 of file RasterSymbolizer.h.
◆ m_uom
const te::common::BaseUnitOfMeasure* te::se::Symbolizer::m_uom |
|
privateinherited |
Unit of measurement. If no uom is set inside of Symbolizer, all units are measured in pixel. (Mandatory)
Definition at line 166 of file Symbolizer.h.
◆ m_version
std::string te::se::Symbolizer::m_version |
|
privateinherited |
The version is an optional attribute on the FeatureType Style element that identifies the SE version number that the FeatureTypeStyle corresponds to. For now, the only allowed value is 1.1.0. (Mandatory)
Definition at line 165 of file Symbolizer.h.
◆ sm_type
const std::string te::se::RasterSymbolizer::sm_type |
|
staticprivate |
A static data member used in the implementation of getType method.
Definition at line 179 of file RasterSymbolizer.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/se/RasterSymbolizer.h