Namespace for the Symbology Encoding module of TerraLib. More...
Classes | |
| class | AnchorPoint |
| An AnchorPoint identifies the location inside of a text label to use an 'anchor' for positioning it relative to a point geometry. More... | |
| class | Categorize |
| The transformation of continuous values to distinct values (Categorize function). More... | |
| class | ChangeCase |
| Changes the case of strings (String formatting functions). More... | |
| class | ChannelSelection |
| ChannelSelection specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). More... | |
| class | ColorMap |
| A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel values to colors. More... | |
| class | Concatenate |
| Concatenates strings (String formatting functions). More... | |
| class | ContrastEnhancement |
| ContrastEnhancement defines the 'stretching' of contrast for a channel of a false-color image or for a whole grey/color image. More... | |
| class | CoverageStyle |
| The CoverageStyle defines the styling that is to be applied to a subset of Coverage data. More... | |
| class | Description |
| A Description gives human-readable descriptive information for the object it is included within. More... | |
| class | Displacement |
| A Displacement gives X and Y offset displacements to use for rendering a text label, graphic or other Symbolizer near a point. More... | |
| class | ExternalGraphic |
| The ExternalGraphic allows a reference to be made to an external graphic file with a Web URL or to in-line content. More... | |
| class | FeatureTypeStyle |
| The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a feature type. More... | |
| class | Fill |
| A Fill specifies the pattern for filling an area geometry. More... | |
| class | Font |
| A Font specifies the text font to use in a text symbolizer. More... | |
| class | FormatDate |
| Date formatting function. More... | |
| class | FormatNumber |
| Numeric formatting function. More... | |
| class | Function |
| Symbology Encoding functions. More... | |
| class | Graphic |
| A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size. More... | |
| class | GraphicStroke |
| A GraphicStroke defines a repeated-linear graphic pattern to be used for stroking a line. More... | |
| class | Halo |
| A Halo is a type of Fill that is applied to the backgrounds of font glyphs. More... | |
| class | ImageOutline |
| ImageOutline 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. More... | |
| class | InlineContent |
| InlineContent is XML- or base64-encoded encoded content in some externally-defined format that is included in an SE in-line. More... | |
| class | Interpolate |
| The transformation of continuous values to a number of values (Interpolate function). More... | |
| class | InterpolationPoint |
| They are used to define a graph of points. More... | |
| class | LabelPlacement |
| The LabelPlacement specifies where and how a text label should be rendered relative to a geometry. More... | |
| class | LinePlacement |
| A LinePlacement specifies how a text label should be rendered relative to a linear geometry. More... | |
| class | LineSymbolizer |
| A LineSymbolizer is used to style a stroke along a linear geometry type, such as a string of line segments. More... | |
| class | MapItem |
| class | Mark |
| A Mark specifies a geometric shape and applies coloring to it. More... | |
| class | Module |
| This singleton defines the TerraLib Symbology Encoding module entry. More... | |
| class | ParameterValue |
| The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters. More... | |
| class | PointPlacement |
| A PointPlacement specifies how a text label should be rendered relative to a geometric point. More... | |
| class | PointSymbolizer |
| A PointSymbolizer specifies the rendering of a graphic Symbolizer at a point. More... | |
| class | PolygonSymbolizer |
| A PolygonSymbolizer is used to draw a polygon (or other area-type geometries), including filling its interior and stroking its border (outline). More... | |
| class | RasterSymbolizer |
| The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos, DEMs). More... | |
| class | Recode |
| Transformation of discrete values to other values. More... | |
| class | Rule |
| A Rule is used to attach property/scale conditions to and group the individual symbols used for rendering. More... | |
| class | SelectedChannel |
| A selected channel to be display. More... | |
| class | ShadedRelief |
| ShadedRelief specifies the application of relief shading (or "hill shading") to a DEM raster to give it somewhat of a three-dimensional effect and to make elevation changes more visible. More... | |
| class | StringLength |
| Returns length of string (String formatting functions). More... | |
| class | StringPosition |
| It returns the position of first occurence of a substring (String formatting functions). More... | |
| class | Stroke |
| A Stroke specifies the appearance of a linear geometry. More... | |
| class | Style |
| The Style defines the styling that is to be applied to a geographic dataset (vector geometries or coverage). More... | |
| class | Substring |
| It returns the substring (String formatting functions). More... | |
| class | SvgParameter |
| A SvgParameter refers to an SVG/CSS graphical-formatting parameter. More... | |
| class | Symbolizer |
| A Symbolizer describes how a feature is to appear on a map. More... | |
| class | SymbologyManager |
| The SymbologyManager is a singleton that can be used to manage all loaded symbols in TerraLib. More... | |
| class | TextSymbolizer |
| A TextSymbolizer is used to render text labels according to various graphical parameters. More... | |
| class | Trim |
| Strips off chars from a string value (String formatting functions). More... | |
| class | Visitor |
| A visitor interface for the SymbologyEncoding hierarchy. More... | |
Enumerations | |
| enum | ColorCompositionType { RGB_COMPOSITION, RED_COMPOSITION, GREEN_COMPOSITION, BLUE_COMPOSITION, GRAY_COMPOSITION, UNKNOWN_COMPOSITION } |
| Allowed color compositions type. More... | |
| enum | ColorMapTransformationType { CATEGORIZE_TRANSFORMATION, INTERPOLATE_TRANSFORMATION, RECODE_TRANSFORMATION } |
| Allowed color transformations type. More... | |
Functions | |
| TESEEXPORT Style * | CreateCoverageStyle (const std::vector< te::rst::BandProperty * > &properties) |
| Try creates an appropriate coverage style based on given band properties. More... | |
| TESEEXPORT Style * | CreateCoverageStyle (const std::size_t &nBands) |
| Try creates an appropriate coverage style based on given number of bands. More... | |
| TESEEXPORT Description * | CreateDescription (const std::string &title, const std::string &abst) |
| Creates a description. More... | |
| TESEEXPORT Style * | CreateFeatureTypeStyle (const te::gm::GeomType &geomType) |
| Try creates an appropriate feature type style based on given geometry type. More... | |
| TESEEXPORT Fill * | CreateFill (const std::string &color, const std::string &opacity) |
| Creates a fill. More... | |
| TESEEXPORT Fill * | CreateFill (Graphic *graphicFill) |
| Creates a fill. More... | |
| TESEEXPORT Font * | CreateFont (const std::string &family, const std::string &size, const te::se::Font::FontStyleType &style=te::se::Font::StyleNormal, const te::se::Font::FontWeightType &weight=te::se::Font::WeightNormal) |
| Creates a font. More... | |
| TESEEXPORT Graphic * | CreateGraphic (Mark *mark, const std::string &size, const std::string &rotation, const std::string &opacity) |
| Creates a graphic. More... | |
| TESEEXPORT LineSymbolizer * | CreateLineSymbolizer (Stroke *stroke) |
| Creates a line symbolizer. More... | |
| TESEEXPORT Mark * | CreateMark (const std::string &wellKnownName, Stroke *stroke, Fill *fill) |
| Creates a mark. More... | |
| TESEEXPORT PointSymbolizer * | CreatePointSymbolizer (Graphic *graphic) |
| Creates a point symbolizer. More... | |
| TESEEXPORT PolygonSymbolizer * | CreatePolygonSymbolizer (Stroke *stroke, Fill *fill) |
| Creates a polygon symbolizer. More... | |
| TESEEXPORT RasterSymbolizer * | CreateRasterSymbolizer (const std::size_t &nBands) |
| Try creates an appropriate raster symbolizer style based on given number of bands. More... | |
| TESEEXPORT Stroke * | CreateStroke (const std::string &color, const std::string &width) |
| Creates a stroke. More... | |
| TESEEXPORT Stroke * | CreateStroke (const std::string &color, const std::string &width, const std::string &opacity) |
| Creates a stroke. More... | |
| TESEEXPORT Stroke * | CreateStroke (const std::string &color, const std::string &width, const std::string &opacity, const std::string &dasharray) |
| Creates a stroke. More... | |
| TESEEXPORT Stroke * | CreateStroke (const std::string &color, const std::string &width, const std::string &opacity, const std::string &dasharray, const std::string &linecap, const std::string &linejoin) |
| Creates a stroke. More... | |
| TESEEXPORT Stroke * | CreateStroke (Graphic *graphicFill, const std::string &width, const std::string &opacity, const std::string &dasharray, const std::string &linecap, const std::string &linejoin) |
| Creates a stroke. More... | |
| TESEEXPORT Symbolizer * | CreateSymbolizer (const te::gm::GeomType &geomType) |
| Try creates an appropriate symbolizer based on given geometry type. More... | |
| TESEEXPORT Symbolizer * | CreateSymbolizer (const te::gm::GeomType &geomType, const std::string &color) |
| Try creates an appropriate symbolizer based on given geometry type and a default color. More... | |
| TESEEXPORT TextSymbolizer * | CreateTextSymbolizer (const std::string &label, Fill *fill, Font *font) |
| Creates a text symbolizer. More... | |
| TESEEXPORT std::string | GenerateRandomColor () |
| Creates a random RGB color encoded using two hexadecimal digits per primary-color component prefixed with a hash (#) sign. More... | |
| TESEEXPORT RasterSymbolizer * | GetRasterSymbolizer (Style *s) |
| Try to get raster symbolizer from a style. More... | |
Namespace for the Symbology Encoding module of TerraLib.
Allowed color compositions type.
Allowed color transformations type.
| Enumerator | |
|---|---|
| CATEGORIZE_TRANSFORMATION |
The transformation of continuous values to a number of values (Interpolate function). |
| INTERPOLATE_TRANSFORMATION |
The transformation of continuous values to distinct values (Categorize function) |
| RECODE_TRANSFORMATION |
Transformation of discrete values to other values. |
| te::se::Style * te::se::CreateCoverageStyle | ( | const std::vector< te::rst::BandProperty * > & | properties | ) |
Try creates an appropriate coverage style based on given band properties.
| properties | The band properties. |
Definition at line 297 of file Utils.cpp.
Referenced by te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::RasterNavigatorWidget::drawRaster(), and te::qt::widgets::DataSet2Layer::operator()().
| te::se::Style * te::se::CreateCoverageStyle | ( | const std::size_t & | nBands | ) |
Try creates an appropriate coverage style based on given number of bands.
| nBands | The number of bands. |
Definition at line 303 of file Utils.cpp.
References CreateRasterSymbolizer(), te::se::Style::push_back(), and te::se::Rule::push_back().
| te::se::Description * te::se::CreateDescription | ( | const std::string & | title, |
| const std::string & | abst | ||
| ) |
Creates a description.
| title | The title of description. |
| abst | The abstratc of description. |
Definition at line 209 of file Utils.cpp.
References te::se::Description::setAbstract(), and te::se::Description::setTitle().
| te::se::Style * te::se::CreateFeatureTypeStyle | ( | const te::gm::GeomType & | geomType | ) |
Try creates an appropriate feature type style based on given geometry type.
| geomType | The geometry type. |
Definition at line 282 of file Utils.cpp.
References CreateSymbolizer(), te::se::Style::push_back(), and te::se::Rule::push_back().
Referenced by te::map::DataSetLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::map::QueryLayerRenderer::drawGeometries(), te::qt::widgets::QueryLayerBuilderWizard::getQueryLayer(), te::qt::widgets::DataPropertiesDialog::onOkPushButtonClicked(), and te::qt::widgets::DataSet2Layer::operator()().
| te::se::Fill * te::se::CreateFill | ( | const std::string & | color, |
| const std::string & | opacity | ||
| ) |
Creates a fill.
| color | The fill color enconded hexadecimal i.e "#FF0000". |
| opacity | The fill opacity. |
Definition at line 107 of file Utils.cpp.
References te::se::Fill::setColor(), and te::se::Fill::setOpacity().
Referenced by te::qt::widgets::Config2DrawPoints(), te::graph::LayerRenderer::configDefaultPoint(), te::graph::LayerRenderer::configLoopPoint(), CreateSymbolizer(), te::qt::widgets::Info::drawGeometry(), te::qt::widgets::MixtureModelWizardPage::MixtureModelWizardPage(), te::qt::widgets::TiePointLocatorWidget::TiePointLocatorWidget(), and te::qt::widgets::ZoomInMapDisplayWidget::ZoomInMapDisplayWidget().
| te::se::Fill * te::se::CreateFill | ( | Graphic * | graphicFill | ) |
Creates a fill.
| graphic | The graphic fill. |
Definition at line 120 of file Utils.cpp.
References te::se::Fill::setGraphicFill().
| te::se::Font * te::se::CreateFont | ( | const std::string & | family, |
| const std::string & | size, | ||
| const te::se::Font::FontStyleType & | style = te::se::Font::StyleNormal, |
||
| const te::se::Font::FontWeightType & | weight = te::se::Font::WeightNormal |
||
| ) |
Creates a font.
| family | The font family. |
| size | The font size. |
| style | The font style. |
| weight | The font weight. |
Definition at line 188 of file Utils.cpp.
References te::se::Font::setFamily(), te::se::Font::setSize(), te::se::Font::setStyle(), and te::se::Font::setWeight().
| te::se::Graphic * te::se::CreateGraphic | ( | Mark * | mark, |
| const std::string & | size, | ||
| const std::string & | rotation, | ||
| const std::string & | opacity | ||
| ) |
Creates a graphic.
| mark | The graphic mark. |
| size | The graphic size. |
| rotation | The graphic rotation. |
| opacity | The graphic opacity. |
Definition at line 140 of file Utils.cpp.
References te::se::Graphic::add(), te::se::Graphic::setOpacity(), te::se::Graphic::setRotation(), and te::se::Graphic::setSize().
Referenced by CreateSymbolizer().
| te::se::LineSymbolizer * te::se::CreateLineSymbolizer | ( | Stroke * | stroke | ) |
Creates a line symbolizer.
| stroke | The line symbolizer stroke. |
Definition at line 170 of file Utils.cpp.
References te::se::LineSymbolizer::setStroke().
| te::se::Mark * te::se::CreateMark | ( | const std::string & | wellKnownName, |
| Stroke * | stroke, | ||
| Fill * | fill | ||
| ) |
Creates a mark.
| wellKnownName | The mark well-known name. |
| stroke | The mark stroke. |
| fill | The mark fill. |
Definition at line 128 of file Utils.cpp.
References te::se::Mark::setFill(), te::se::Mark::setStroke(), and te::se::Mark::setWellKnownName().
Referenced by te::qt::widgets::Config2DrawPoints(), te::graph::LayerRenderer::configDefaultPoint(), te::graph::LayerRenderer::configLoopPoint(), CreateSymbolizer(), te::qt::widgets::Info::drawGeometry(), te::qt::widgets::MixtureModelWizardPage::MixtureModelWizardPage(), te::qt::widgets::TiePointLocatorWidget::TiePointLocatorWidget(), and te::qt::widgets::ZoomInMapDisplayWidget::ZoomInMapDisplayWidget().
| te::se::PointSymbolizer * te::se::CreatePointSymbolizer | ( | Graphic * | graphic | ) |
Creates a point symbolizer.
| graphic | The point symbolizer graphic. |
Definition at line 180 of file Utils.cpp.
References te::se::PointSymbolizer::setGraphic().
Referenced by CreateSymbolizer().
| te::se::PolygonSymbolizer * te::se::CreatePolygonSymbolizer | ( | Stroke * | stroke, |
| Fill * | fill | ||
| ) |
Creates a polygon symbolizer.
| stroke | The polygon symbolizer stroke. |
| fill | The polygon symbolizer fill. |
Definition at line 157 of file Utils.cpp.
References te::se::PolygonSymbolizer::setFill(), and te::se::PolygonSymbolizer::setStroke().
| te::se::RasterSymbolizer * te::se::CreateRasterSymbolizer | ( | const std::size_t & | nBands | ) |
Try creates an appropriate raster symbolizer style based on given number of bands.
| nBands | The number of bands. |
Definition at line 321 of file Utils.cpp.
References GRAY_COMPOSITION, RGB_COMPOSITION, te::se::ChannelSelection::setBlueChannel(), te::se::RasterSymbolizer::setChannelSelection(), te::se::ChannelSelection::setColorCompositionType(), te::se::RasterSymbolizer::setGain(), te::se::ChannelSelection::setGrayChannel(), te::se::ChannelSelection::setGreenChannel(), te::se::RasterSymbolizer::setOffset(), te::se::RasterSymbolizer::setOpacity(), te::se::ChannelSelection::setRedChannel(), and te::se::SelectedChannel::setSourceChannelName().
Referenced by CreateCoverageStyle().
| te::se::Stroke * te::se::CreateStroke | ( | const std::string & | color, |
| const std::string & | width | ||
| ) |
Creates a stroke.
| color | The stroke color enconded hexadecimal i.e "#FF0000". |
| width | The stroke width. |
Definition at line 52 of file Utils.cpp.
Referenced by te::qt::widgets::Config2DrawPoints(), te::graph::LayerRenderer::configDefaultPoint(), te::graph::LayerRenderer::configLoopPoint(), CreateStroke(), CreateSymbolizer(), te::qt::widgets::Info::drawGeometry(), te::qt::widgets::MixtureModelWizardPage::MixtureModelWizardPage(), te::qt::widgets::TiePointLocatorWidget::TiePointLocatorWidget(), and te::qt::widgets::ZoomInMapDisplayWidget::ZoomInMapDisplayWidget().
| te::se::Stroke * te::se::CreateStroke | ( | const std::string & | color, |
| const std::string & | width, | ||
| const std::string & | opacity | ||
| ) |
Creates a stroke.
| color | The stroke color enconded hexadecimal i.e "#FF0000". |
| width | The stroke width. |
| opacity | The stroke opacity [0,1]. |
Definition at line 57 of file Utils.cpp.
References CreateStroke().
| te::se::Stroke * te::se::CreateStroke | ( | const std::string & | color, |
| const std::string & | width, | ||
| const std::string & | opacity, | ||
| const std::string & | dasharray | ||
| ) |
Creates a stroke.
| color | The stroke color enconded hexadecimal i.e "#FF0000". |
| width | The stroke width. |
| opacity | The stroke opacity [0,1]. |
| dasharray | The stroke dasharray. |
Definition at line 62 of file Utils.cpp.
References CreateStroke().
| te::se::Stroke * te::se::CreateStroke | ( | const std::string & | color, |
| const std::string & | width, | ||
| const std::string & | opacity, | ||
| const std::string & | dasharray, | ||
| const std::string & | linecap, | ||
| const std::string & | linejoin | ||
| ) |
Creates a stroke.
| color | The stroke color enconded hexadecimal i.e "#FF0000". |
| width | The stroke width. |
| opacity | The stroke opacity [0,1]. |
| dasharray | The stroke dasharray. |
| linecap | The stroke linecap {butt, square, round}. |
| linejoin | The stroke linejoin {miter, bevel, round}. |
Definition at line 68 of file Utils.cpp.
References CreateStroke(), and te::se::Stroke::setColor().
| te::se::Stroke * te::se::CreateStroke | ( | Graphic * | graphicFill, |
| const std::string & | width, | ||
| const std::string & | opacity, | ||
| const std::string & | dasharray, | ||
| const std::string & | linecap, | ||
| const std::string & | linejoin | ||
| ) |
Creates a stroke.
| graphic | The stroke graphic fill. |
| width | The stroke width. |
| opacity | The stroke opacity [0,1]. |
| dasharray | The stroke dasharray. |
| linecap | The stroke linecap {butt, square, round}. |
| linejoin | The stroke linejoin {miter, bevel, round}. |
Definition at line 80 of file Utils.cpp.
References te::se::Stroke::setDashArray(), te::se::Stroke::setGraphicFill(), te::se::Stroke::setLineCap(), te::se::Stroke::setLineJoin(), te::se::Stroke::setOpacity(), and te::se::Stroke::setWidth().
| te::se::Symbolizer * te::se::CreateSymbolizer | ( | const te::gm::GeomType & | geomType | ) |
Try creates an appropriate symbolizer based on given geometry type.
| geomType | The geometry type. |
Definition at line 218 of file Utils.cpp.
References GenerateRandomColor().
Referenced by te::qt::widgets::GroupingWidget::buildSymbolizer(), te::qt::widgets::GroupingWidget::createDoubleNullGroupingItem(), CreateFeatureTypeStyle(), te::qt::widgets::GroupingWidget::createStringNullGroupingItem(), and te::map::AbstractLayerRenderer::drawLayerGeometries().
| te::se::Symbolizer * te::se::CreateSymbolizer | ( | const te::gm::GeomType & | geomType, |
| const std::string & | color | ||
| ) |
Try creates an appropriate symbolizer based on given geometry type and a default color.
| geomType | The geometry type. |
| color | The fill color enconded hexadecimal i.e "#FF0000". |
Definition at line 225 of file Utils.cpp.
References CreateFill(), CreateGraphic(), CreateMark(), CreatePointSymbolizer(), CreateStroke(), te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, te::gm::MultiLineStringZType, te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, te::gm::PointZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, te::se::PolygonSymbolizer::setFill(), te::se::LineSymbolizer::setStroke(), and te::se::PolygonSymbolizer::setStroke().
| te::se::TextSymbolizer * te::se::CreateTextSymbolizer | ( | const std::string & | label, |
| Fill * | fill, | ||
| Font * | font | ||
| ) |
Creates a text symbolizer.
| label | The property name that will be labelled. |
| fill | The text symbolizer fill. |
| font | The text symbolizer font. |
Definition at line 199 of file Utils.cpp.
References te::se::TextSymbolizer::setFill(), te::se::TextSymbolizer::setFont(), and te::se::TextSymbolizer::setLabel().
| std::string te::se::GenerateRandomColor | ( | ) |
Creates a random RGB color encoded using two hexadecimal digits per primary-color component prefixed with a hash (#) sign.
Definition at line 392 of file Utils.cpp.
References te::color::RGBAColor::getColor(), te::color::ColorTransform::getRgba(), and te::color::ColorTransform::setHsv().
Referenced by CreateSymbolizer().
| te::se::RasterSymbolizer * te::se::GetRasterSymbolizer | ( | Style * | s | ) |
Try to get raster symbolizer from a style.
| s | Style. |
Definition at line 369 of file Utils.cpp.
References te::se::Style::getRule(), te::se::Style::getRules(), and te::se::Rule::getSymbolizers().
Referenced by te::qt::widgets::DataSetLayerItem::fetchMore(), te::qt::af::LayerExplorer::onApplicationTriggered(), and te::qt::widgets::GroupingDialog::setLayer().