Utility functions for Symbology Enconding module. More...
#include "../color/RGBAColor.h"
#include "../geometry/Enums.h"
#include "Config.h"
#include "Font.h"
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | te |
TerraLib. | |
namespace | te::rst |
Namespace for the Raster module of TerraLib. | |
namespace | te::se |
Namespace for the Symbology Encoding module of TerraLib. | |
Functions | |
TESEEXPORT Style * | te::se::CreateCoverageStyle (const std::size_t &nBands) |
Try creates an appropriate coverage style based on given number of bands. More... | |
TESEEXPORT Style * | te::se::CreateCoverageStyle (const std::vector< te::rst::BandProperty * > &properties) |
Try creates an appropriate coverage style based on given band properties. More... | |
TESEEXPORT Description * | te::se::CreateDescription (const std::string &title, const std::string &abst) |
Creates a description. More... | |
TESEEXPORT Style * | te::se::CreateFeatureTypeStyle (const te::gm::GeomType &geomType, const std::string &color="") |
Try creates an appropriate feature type style based on given geometry type. More... | |
TESEEXPORT Fill * | te::se::CreateFill (const std::string &color, const std::string &opacity) |
Creates a fill. More... | |
TESEEXPORT Fill * | te::se::CreateFill (Graphic *graphicFill) |
Creates a fill. More... | |
TESEEXPORT 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. More... | |
TESEEXPORT Graphic * | te::se::CreateGraphic (Mark *mark, const std::string &size, const std::string &rotation, const std::string &opacity) |
Creates a graphic. More... | |
TESEEXPORT LineSymbolizer * | te::se::CreateLineSymbolizer (Stroke *stroke) |
Creates a line symbolizer. More... | |
TESEEXPORT Mark * | te::se::CreateMark (const std::string &wellKnownName, Stroke *stroke, Fill *fill) |
Creates a mark. More... | |
TESEEXPORT PointSymbolizer * | te::se::CreatePointSymbolizer (Graphic *graphic) |
Creates a point symbolizer. More... | |
TESEEXPORT PolygonSymbolizer * | te::se::CreatePolygonSymbolizer (Stroke *stroke, Fill *fill) |
Creates a polygon symbolizer. More... | |
TESEEXPORT RasterSymbolizer * | te::se::CreateRasterSymbolizer (const std::size_t &nBands) |
Try creates an appropriate raster symbolizer style based on given number of bands. More... | |
TESEEXPORT Stroke * | te::se::CreateStroke (const std::string &color, const std::string &width) |
Creates a stroke. More... | |
TESEEXPORT Stroke * | te::se::CreateStroke (const std::string &color, const std::string &width, const std::string &opacity) |
Creates a stroke. More... | |
TESEEXPORT Stroke * | te::se::CreateStroke (const std::string &color, const std::string &width, const std::string &opacity, const std::string &dasharray) |
Creates a stroke. More... | |
TESEEXPORT 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. More... | |
TESEEXPORT 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. More... | |
TESEEXPORT Symbolizer * | te::se::CreateSymbolizer (const te::gm::GeomType &geomType) |
Try creates an appropriate symbolizer based on given geometry type. More... | |
TESEEXPORT 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. More... | |
TESEEXPORT TextSymbolizer * | te::se::CreateTextSymbolizer (const std::string &label, Fill *fill, Font *font) |
Creates a text symbolizer. More... | |
TESEEXPORT std::string | te::se::GenerateRandomColor () |
Creates a random RGB color encoded using two hexadecimal digits per primary-color component prefixed with a hash (#) sign. More... | |
TESEEXPORT void | te::se::GetColor (const te::se::Fill *fill, te::color::RGBAColor &color) |
It gets the RGBA color from the Fill element. More... | |
TESEEXPORT 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. More... | |
TESEEXPORT te::color::RGBAColor | te::se::GetColor (const te::se::ParameterValue *param) |
It gets the parameter value as a RGBA color. More... | |
TESEEXPORT void | te::se::GetColor (const te::se::Stroke *stroke, te::color::RGBAColor &color) |
It gets the RGBA color from the Stroke element. More... | |
TESEEXPORT double | te::se::GetDouble (const te::se::ParameterValue *param) |
It gets the parameter value as a double. More... | |
TESEEXPORT int | te::se::GetInt (const te::se::ParameterValue *param) |
It gets the parameter value as an integer. More... | |
TESEEXPORT RasterSymbolizer * | te::se::GetRasterSymbolizer (Style *s) |
Try to get raster symbolizer from a style. More... | |
TESEEXPORT std::string | te::se::GetString (const te::se::ParameterValue *param) |
It gets the parameter value as a string. More... | |
Utility functions for Symbology Enconding module.
Definition in file Utils.h.