Namespace for the Symbology Encoding module of TerraLib. More...
Namespaces | |
| serialize | |
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 | SymbolizerColorFinder | 
A Symbology Enconding visitor that finds a color given a symbolizer element. If you want to use this visitor, use a command like:  te::se::SymbolizerColorFinder scf; scf.find(symbolizer); te::color::RGBAColor color = scf.getColor();   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 void | GetColor (const te::se::Stroke *stroke, te::color::RGBAColor &color) | 
| It gets the RGBA color from the Stroke element.  More... | |
| TESEEXPORT void | GetColor (const te::se::Fill *fill, te::color::RGBAColor &color) | 
| It gets the RGBA color from the Fill element.  More... | |
| TESEEXPORT void | GetColor (const te::se::ParameterValue *color, const te::se::ParameterValue *opacity, te::color::RGBAColor &rgba) | 
| It gets the RGBA color from the parameter values.  More... | |
| TESEEXPORT te::color::RGBAColor | GetColor (const te::se::ParameterValue *param) | 
| It gets the parameter value as a RGBA color.  More... | |
| TESEEXPORT double | GetDouble (const te::se::ParameterValue *param) | 
| It gets the parameter value as a double.  More... | |
| TESEEXPORT int | GetInt (const te::se::ParameterValue *param) | 
| It gets the parameter value as an integer.  More... | |
| TESEEXPORT RasterSymbolizer * | GetRasterSymbolizer (Style *s) | 
| Try to get raster symbolizer from a style.  More... | |
| TESEEXPORT std::string | GetString (const te::se::ParameterValue *param) | 
| It gets the parameter value as a string.  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 299 of file Utils.cpp.
Referenced by te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::RasterNavigatorWidget::drawRaster(), te::wms::WMS2Layer::operator()(), 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 305 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 211 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 284 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 109 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::plugins::terralib4::GetPointSymbolizer(), te::qt::plugins::terralib4::GetPolygonSymbolizer(), 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 122 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 190 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 142 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(), and te::qt::plugins::terralib4::GetPointSymbolizer().
| te::se::LineSymbolizer * te::se::CreateLineSymbolizer | ( | Stroke * | stroke | ) | 
Creates a line symbolizer.
| stroke | The line symbolizer stroke. | 
Definition at line 172 of file Utils.cpp.
References te::se::LineSymbolizer::setStroke().
Referenced by te::qt::plugins::terralib4::GetLineSymbolizer().
| 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 130 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::plugins::terralib4::GetPointSymbolizer(), 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 182 of file Utils.cpp.
References te::se::PointSymbolizer::setGraphic().
Referenced by CreateSymbolizer(), and te::qt::plugins::terralib4::GetPointSymbolizer().
| 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 159 of file Utils.cpp.
References te::se::PolygonSymbolizer::setFill(), and te::se::PolygonSymbolizer::setStroke().
Referenced by te::qt::plugins::terralib4::GetPolygonSymbolizer().
| 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 323 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 54 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::plugins::terralib4::GetLineSymbolizer(), te::qt::plugins::terralib4::GetPolygonSymbolizer(), 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 59 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 64 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 70 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 82 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 220 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 227 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 201 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 394 of file Utils.cpp.
References te::color::RGBAColor::getColor(), te::color::ColorTransform::getRgba(), and te::color::ColorTransform::setHsv().
Referenced by CreateSymbolizer().
| void te::se::GetColor | ( | const te::se::Stroke * | stroke, | 
| te::color::RGBAColor & | color | ||
| ) | 
It gets the RGBA color from the Stroke element.
| stroke | The Symbology Enconding Stroke element. | 
| color | A pre-created color that will be filled with the values extracted from Stroke. | 
Definition at line 404 of file Utils.cpp.
References te::se::Stroke::getColor(), and te::se::Stroke::getOpacity().
Referenced by te::qt::widgets::Config(), te::map::CanvasConfigurer::config(), te::se::SymbolizerColorFinder::find(), GetColor(), te::qt::widgets::BasicFillPropertyItem::updateUi(), te::qt::widgets::BasicStrokePropertyItem::updateUi(), te::qt::widgets::BasicFillWidget::updateUi(), te::qt::widgets::BasicStrokeWidget::updateUi(), and te::map::CanvasConfigurer::visit().
| void te::se::GetColor | ( | const te::se::Fill * | fill, | 
| te::color::RGBAColor & | color | ||
| ) | 
It gets the RGBA color from the Fill element.
| fill | The Symbology Enconding Fill element. | 
| color | A pre-created color that will be filled with the values extracted from Fill. | 
Definition at line 412 of file Utils.cpp.
References te::se::Fill::getColor(), GetColor(), and te::se::Fill::getOpacity().
| void te::se::GetColor | ( | const te::se::ParameterValue * | color, | 
| const te::se::ParameterValue * | opacity, | ||
| te::color::RGBAColor & | rgba | ||
| ) | 
It gets the RGBA color from the parameter values.
| color | The Symbology Enconding Parameter Value element that represents the color. | 
| opacity | The Symbology Enconding Parameter Value element that represents the opacity. | 
| color | A pre-created color that will be filled with the values extracted from color and opacity. | 
Definition at line 419 of file Utils.cpp.
References te::color::RGBAColor::getAlpha(), te::color::RGBAColor::getBlue(), GetColor(), GetDouble(), te::color::RGBAColor::getGreen(), te::color::RGBAColor::getRed(), te::color::RGBAColor::setColor(), and TE_OPAQUE.
| te::color::RGBAColor te::se::GetColor | ( | const te::se::ParameterValue * | param | ) | 
It gets the parameter value as a RGBA color.
| param | The Symbology Enconding Parameter Value element. | 
Definition at line 438 of file Utils.cpp.
References GetString().
| double te::se::GetDouble | ( | const te::se::ParameterValue * | param | ) | 
It gets the parameter value as a double.
| param | The Symbology Encoding Parameter Value element. | 
Definition at line 448 of file Utils.cpp.
References GetString().
Referenced by te::map::CanvasConfigurer::config(), te::qt::widgets::ColorMapItem::fetchMore(), te::map::RasterTransformConfigurer::getCategorizedMap(), GetColor(), te::map::RasterTransformConfigurer::getGeneralProperties(), RasterSymbolizerWriter(), te::qt::widgets::GraphicPropertyItem::updateUi(), te::qt::widgets::BasicStrokePropertyItem::updateUi(), te::qt::widgets::GlyphGraphicWidget::updateUi(), te::qt::widgets::LocalGraphicWidget::updateUi(), te::qt::widgets::WellKnownGraphicWidget::updateUi(), te::qt::widgets::RasterSymbolizerWidget::updateUi(), te::qt::widgets::BasicStrokeWidget::updateUi(), and te::map::CanvasConfigurer::visit().
| int te::se::GetInt | ( | const te::se::ParameterValue * | param | ) | 
It gets the parameter value as an integer.
| param | The Symbology Enconding Parameter Value element. | 
Definition at line 443 of file Utils.cpp.
References GetString().
Referenced by te::qt::widgets::Config(), te::map::CanvasConfigurer::config(), te::qt::widgets::Terralib2Qwt(), and te::map::CanvasConfigurer::visit().
| te::se::RasterSymbolizer * te::se::GetRasterSymbolizer | ( | Style * | s | ) | 
Try to get raster symbolizer from a style.
| s | Style. | 
Definition at line 371 of file Utils.cpp.
References te::se::Style::getRule(), te::se::Style::getRules(), and te::se::Rule::getSymbolizers().
Referenced by te::wms::WMSLayerItem::fetchMore(), te::qt::widgets::DataSetLayerItem::fetchMore(), te::qt::plugins::terralib4::TL4ConverterWizard::finish(), getLayerColorMap(), te::qt::af::LayerExplorer::onApplicationTriggered(), and te::qt::widgets::GroupingDialog::setLayers().
| std::string te::se::GetString | ( | const te::se::ParameterValue * | param | ) | 
It gets the parameter value as a string.
| param | The Symbology Encoding Parameter Value element. | 
Definition at line 453 of file Utils.cpp.
References te::se::ParameterValue::getNParameters(), te::se::ParameterValue::getParameter(), and te::fe::Literal::getValue().
Referenced by te::qt::widgets::Config(), te::map::CanvasConfigurer::config(), te::qt::widgets::ColorMapItem::fetchMore(), te::map::RasterTransformConfigurer::getCategorizedMap(), GetColor(), GetDouble(), GetInt(), te::map::RasterTransformConfigurer::getInterpolatedMap(), te::qt::widgets::ReadPixelTool::mouseReleaseEvent(), te::qt::widgets::BasicStrokePropertyItem::updateUi(), te::qt::widgets::BasicStrokeWidget::updateUi(), te::qt::widgets::ColorMapWidget::updateUi(), and te::map::CanvasConfigurer::visit().