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;
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);
A Font specifies the text font to use in a text symbolizer.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
A Description gives human-readable descriptive information for the object it is included within.
A Fill specifies the pattern for filling an area geometry.
A Font specifies the text font to use in a text symbolizer.
FontStyleType
It defines the style to use for a font.
FontWeightType
It gives the amount of weight or boldness to use for a font.
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
A LineSymbolizer is used to style a stroke along a linear geometry type, such as a string of line seg...
A Mark specifies a geometric shape and applies coloring to it.
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters.
A PointSymbolizer specifies the rendering of a graphic Symbolizer at a point.
A PolygonSymbolizer is used to draw a polygon (or other area-type geometries), including filling its ...
The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos,...
A Stroke specifies the appearance of a linear geometry.
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
A Symbolizer describes how a feature is to appear on a map.
A TextSymbolizer is used to render text labels according to various graphical parameters.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
TESEEXPORT PointSymbolizer * CreatePointSymbolizer(Graphic *graphic)
Creates a point symbolizer.
TESEEXPORT Fill * CreateFill(const std::string &color, const std::string &opacity)
Creates a fill.
TESEEXPORT int GetInt(const te::se::ParameterValue *param)
It gets the parameter value as an integer.
TESEEXPORT std::string GenerateRandomColor()
Creates a random RGB color encoded using two hexadecimal digits per primary-color component prefixed ...
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 Symbolizer * CreateSymbolizer(const te::gm::GeomType &geomType)
Try creates an appropriate symbolizer based on given geometry type.
TESEEXPORT Graphic * CreateGraphic(Mark *mark, const std::string &size, const std::string &rotation, const std::string &opacity)
Creates a graphic.
TESEEXPORT Style * CreateFeatureTypeStyle(const te::gm::GeomType &geomType, const std::string &color="")
Try creates an appropriate feature type style based on given geometry type.
TESEEXPORT Description * CreateDescription(const std::string &title, const std::string &abst)
Creates a description.
TESEEXPORT std::string GetString(const te::se::ParameterValue *param)
It gets the parameter value as a string.
TESEEXPORT LineSymbolizer * CreateLineSymbolizer(Stroke *stroke)
Creates a line symbolizer.
TESEEXPORT Stroke * CreateStroke(const std::string &color, const std::string &width)
Creates a stroke.
TESEEXPORT double GetDouble(const te::se::ParameterValue *param)
It gets the parameter value as a double.
TESEEXPORT PolygonSymbolizer * CreatePolygonSymbolizer(Stroke *stroke, Fill *fill)
Creates a polygon symbolizer.
TESEEXPORT Style * CreateCoverageStyle(const std::vector< te::rst::BandProperty * > &properties)
Try creates an appropriate coverage style based on given band properties.
TESEEXPORT Mark * CreateMark(const std::string &wellKnownName, Stroke *stroke, Fill *fill)
Creates a mark.
TESEEXPORT TextSymbolizer * CreateTextSymbolizer(const std::string &label, Fill *fill, Font *font)
Creates a text symbolizer.
TESEEXPORT void GetColor(const te::se::Stroke *stroke, te::color::RGBAColor &color)
It gets the RGBA color from the Stroke element.
TESEEXPORT RasterSymbolizer * GetRasterSymbolizer(Style *s)
Try to get raster symbolizer from a style.
TESEEXPORT RasterSymbolizer * CreateRasterSymbolizer(const std::size_t &nBands)
Try creates an appropriate raster symbolizer style based on given number of bands.
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).