27 #include "../common/STLUtils.h" 42 m_anchorPoint(nullptr),
43 m_displacement(nullptr)
178 for(std::size_t i = 0; i <
m_marks.size(); ++i)
const ParameterValue * getRotation() const
void setDisplacement(Displacement *value)
void setRotation(ParameterValue *value)
The Rotation element gives the rotation of a graphic in the clockwise direction about its center poin...
Displacement * m_displacement
The Displacement gives the X and Y displacements from the "hot-spot" point. (Optional) ...
std::vector< ExternalGraphic * > m_externalGraphics
An ExternalGraphic gives a reference to a raster or vector graphical object, either online or inline...
void setOpacity(ParameterValue *value)
The Opacity element gives the opacity to use for rendering the graphic. It has the same semantics as ...
A Mark specifies a geometric shape and applies coloring to it.
ParameterValue * m_size
The Size element gives the absolute size of the graphic in uoms encoded as a floating-point number...
void setMark(std::size_t index, Mark *m)
A Displacement gives X and Y offset displacements to use for rendering a text label, graphic or other Symbolizer near a point.
const std::vector< ExternalGraphic * > getExternalGraphics() const
void setSize(ParameterValue *value)
The Size element gives the absolute size of the graphic in uoms encoded as a floating-point number...
void clear()
Clears the marks and the external graphics of this graphic.
The ParameterValueType uses WFS-Filter expressions to give values for SE graphic parameters.
Graphic()
It initializes a new Graphic.
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
void setExternalGraphic(std::size_t index, ExternalGraphic *g)
const AnchorPoint * getAnchorPoint() const
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
void add(ExternalGraphic *g)
Graphics can either be referenced from an external URL in a common format (such as GIF or SVG)...
An AnchorPoint identifies the location inside of a text label to use an 'anchor' for positioning it r...
AnchorPoint * clone() const
It creates a new copy of this object.
AnchorPoint * m_anchorPoint
The AnchorPoint element of a PointSymbolizer gives the location inside of a Graphic to use for anchor...
ParameterValue * m_rotation
The Rotation element gives the rotation of a graphic in the clockwise direction about its center poin...
The ExternalGraphic allows a reference to be made to an external graphic file with a Web URL or to in...
Graphic * clone() const
It creates a new copy of this object.
ExternalGraphic * clone() const
It creates a new copy of this object.
ParameterValue * m_opacity
The Opacity element gives the opacity to use for rendering the graphic. (Optional) ...
A Mark specifies a geometric shape and applies coloring to it.
const Displacement * getDisplacement() const
const std::vector< Mark * > getMarks() const
A Displacement gives X and Y offset displacements to use for rendering a text label, graphic or other Symbolizer near a point.
std::vector< Mark * > m_marks
A Mark specifies a geometric shape and applies coloring to it. (Optional)
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
An AnchorPoint identifies the location inside of a text label to use an 'anchor' for positioning it r...
Mark * clone() const
It creates a new copy of this object.
void setAnchorPoint(AnchorPoint *value)
The ExternalGraphic allows a reference to be made to an external graphic file with a Web URL or to in...
Displacement * clone() const
It creates a new copy of this object.
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...
const ParameterValue * getSize() const
const ParameterValue * getOpacity() const