28 #ifndef __TERRALIB_SE_INTERNAL_UTILS_H
29 #define __TERRALIB_SE_INTERNAL_UTILS_H
32 #include "../color/RGBAColor.h"
33 #include "../geometry/Enums.h"
44 namespace rst {
class BandProperty; }
55 class PointSymbolizer;
56 class PolygonSymbolizer;
60 class RasterSymbolizer;
86 TESEEXPORT Stroke*
CreateStroke(
const std::string& color,
const std::string& width,
const std::string& opacity);
101 const std::string& opacity,
const std::string& dasharray);
118 const std::string& opacity,
const std::string& dasharray,
119 const std::string& linecap,
const std::string& linejoin);
136 const std::string& width,
const std::string& opacity,
137 const std::string& dasharray,
const std::string& linecap,
const std::string& linejoin);
187 TESEEXPORT Graphic*
CreateGraphic(Mark* mark,
const std::string& size,
const std::string& rotation,
const std::string& opacity);
439 #endif // __TERRALIB_SE_INTERNAL_UTILS_H
A Font specifies the text font to use in a text symbolizer.
TESEEXPORT std::string GenerateRandomColor()
Creates a random RGB color encoded using two hexadecimal digits per primary-color component prefixed ...
TESEEXPORT double GetDouble(const te::se::ParameterValue *param)
It gets the parameter value as a double.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
TESEEXPORT Mark * CreateMark(const std::string &wellKnownName, Stroke *stroke, Fill *fill)
Creates a mark.
TESEEXPORT void GetColor(const te::se::Stroke *stroke, te::color::RGBAColor &color)
It gets the RGBA color from the Stroke element.
TESEEXPORT LineSymbolizer * CreateLineSymbolizer(Stroke *stroke)
Creates a line symbolizer.
TESEEXPORT RasterSymbolizer * CreateRasterSymbolizer(const std::size_t &nBands)
Try creates an appropriate raster symbolizer style based on given number of bands.
TESEEXPORT std::string GetString(const te::se::ParameterValue *param)
It gets the parameter value as a string.
TESEEXPORT RasterSymbolizer * GetRasterSymbolizer(Style *s)
Try to get raster symbolizer from a style.
TESEEXPORT Stroke * CreateStroke(const std::string &color, const std::string &width)
Creates a stroke.
TESEEXPORT Style * CreateFeatureTypeStyle(const te::gm::GeomType &geomType)
Try creates an appropriate feature type style based on given geometry type.
TESEEXPORT Symbolizer * CreateSymbolizer(const te::gm::GeomType &geomType)
Try creates an appropriate symbolizer based on given geometry type.
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
TESEEXPORT PointSymbolizer * CreatePointSymbolizer(Graphic *graphic)
Creates a point symbolizer.
TESEEXPORT TextSymbolizer * CreateTextSymbolizer(const std::string &label, Fill *fill, Font *font)
Creates a text symbolizer.
TESEEXPORT Fill * CreateFill(const std::string &color, const std::string &opacity)
Creates a fill.
A Fill specifies the pattern for filling an area geometry.
FontStyleType
It defines the style to use for a font.
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the Symbology Encoding support of TerraLib.
TESEEXPORT Description * CreateDescription(const std::string &title, const std::string &abst)
Creates a description.
A Stroke specifies the appearance of a linear geometry.
TESEEXPORT PolygonSymbolizer * CreatePolygonSymbolizer(Stroke *stroke, Fill *fill)
Creates a polygon symbolizer.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
FontWeightType
It gives the amount of weight or boldness to use for a font.
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.
TESEEXPORT Graphic * CreateGraphic(Mark *mark, const std::string &size, const std::string &rotation, const std::string &opacity)
Creates a graphic.
TESEEXPORT Style * CreateCoverageStyle(const std::vector< te::rst::BandProperty * > &properties)
Try creates an appropriate coverage style based on given band properties.
TESEEXPORT int GetInt(const te::se::ParameterValue *param)
It gets the parameter value as an integer.