A PointSymbolizer specifies the rendering of a graphic Symbolizer at a point. More...
#include <PointSymbolizer.h>
Public Types | |
typedef R | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const =0 |
It call the visit method from the guest object. More... | |
Symbolizer * | clone () const |
It creates a new copy of this object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
PointSymbolizer () | |
It initializes a new PointSymbolizer. More... | |
PointSymbolizer (const PointSymbolizer &rhs) | |
Copy constructor. More... | |
~PointSymbolizer () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setGeometry (te::fe::PropertyName *geometry) |
const te::fe::PropertyName * | getGeometry () const |
void | setGraphic (Graphic *graphic) |
const Graphic * | getGraphic () const |
const std::string & | getType () const |
It returns the symbolizer type. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setName (const std::string &name) |
const std::string & | getName () const |
void | setDescription (Description *d) |
const Description * | getDescription () const |
void | setBaseSymbolizer (te::xl::SimpleLink *baseSymbolizer) |
const te::xl::SimpleLink * | getBaseSymbolizer () const |
void | setVersion (const std::string &version) |
const std::string & | getVersion () const |
void | setUom (const te::common::BaseUnitOfMeasure *uom) |
It sets the unit-of-measure. More... | |
const te::common::BaseUnitOfMeasure * | getUom () const |
Private Attributes | |
te::fe::PropertyName * | m_geometry |
A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. (Optional) More... | |
Graphic * | m_graphic |
A Graphic specifies or refers to a graphic Symbolizer with inherent shape, size, and coloring. (Optional) More... | |
Static Private Attributes | |
static const std::string | sm_type |
A static data member used in the implementation of getType method. More... | |
A PointSymbolizer specifies the rendering of a graphic Symbolizer at a point.
In the PointSymbolizer case, if a line, polygon, or raster geometry is used, then the semantic is to use the centroid of the geometry, or any similar representative point.
Definition at line 52 of file PointSymbolizer.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::se::PointSymbolizer::PointSymbolizer | ( | ) |
It initializes a new PointSymbolizer.
Definition at line 33 of file PointSymbolizer.cpp.
te::se::PointSymbolizer::PointSymbolizer | ( | const PointSymbolizer & | rhs | ) |
Copy constructor.
rhs | The other point symbolizer. |
Definition at line 40 of file PointSymbolizer.cpp.
References te::se::Graphic::clone(), te::fe::PropertyName::getName(), m_geometry, and m_graphic.
te::se::PointSymbolizer::~PointSymbolizer | ( | ) |
Destructor.
Definition at line 52 of file PointSymbolizer.cpp.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
virtual |
It creates a new copy of this object.
Implements te::se::Symbolizer.
Definition at line 85 of file PointSymbolizer.cpp.
Referenced by te::qt::widgets::PointSymbolizerWidget::setSymbolizer().
|
inherited |
Definition at line 94 of file Symbolizer.cpp.
Referenced by te::se::serialize::WriteSymbolizerHelper().
|
inherited |
Definition at line 83 of file Symbolizer.cpp.
Referenced by te::se::serialize::WriteSymbolizerHelper().
const te::fe::PropertyName * te::se::PointSymbolizer::getGeometry | ( | ) | const |
Definition at line 64 of file PointSymbolizer.cpp.
Referenced by PointSymbolizerWriter().
const te::se::Graphic * te::se::PointSymbolizer::getGraphic | ( | ) | const |
Definition at line 75 of file PointSymbolizer.cpp.
Referenced by PointSymbolizerWriter(), te::se::SymbolizerColorFinder::visit(), te::map::CanvasConfigurer::visit(), and te::qt::widgets::ChartConfigurer::visit().
|
inherited |
Definition at line 72 of file Symbolizer.cpp.
Referenced by te::layout::LegendChildModel::drawLegend(), te::layout::LegendModel::drawStyleLegend(), and te::se::serialize::WriteSymbolizerHelper().
|
virtual |
It returns the symbolizer type.
Implements te::se::Symbolizer.
Definition at line 80 of file PointSymbolizer.cpp.
|
inherited |
Definition at line 114 of file Symbolizer.cpp.
|
inherited |
Definition at line 104 of file Symbolizer.cpp.
Referenced by te::se::serialize::WriteSymbolizerHelper().
|
inherited |
Definition at line 88 of file Symbolizer.cpp.
|
inherited |
Definition at line 77 of file Symbolizer.cpp.
Referenced by te::se::serialize::ReadSymbolizerHelper().
void te::se::PointSymbolizer::setGeometry | ( | te::fe::PropertyName * | geometry | ) |
Definition at line 58 of file PointSymbolizer.cpp.
void te::se::PointSymbolizer::setGraphic | ( | Graphic * | graphic | ) |
|
inherited |
Definition at line 67 of file Symbolizer.cpp.
Referenced by te::se::serialize::ReadSymbolizerHelper().
|
inherited |
It sets the unit-of-measure.
All Symbolizers include an optional gml:uom-attribute as used by GML (this is set inside the abstract SymbolizerType and therefore inherited by all Symbolizers). This applies to all elements included inside a Symbolizer such as stroke-width, size, font-size, Gap, InitialGap, Displacement and PerpendicularOffset. If no uom is set inside of Symbolizer, all units are measured in pixel, the behaviour used by SLD 1.0.0. The following uom definitions are recommended to be used:
Definition at line 109 of file Symbolizer.cpp.
|
inherited |
Definition at line 99 of file Symbolizer.cpp.
Referenced by te::se::serialize::ReadSymbolizerHelper().
|
private |
A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. (Optional)
Definition at line 100 of file PointSymbolizer.h.
Referenced by PointSymbolizer().
|
private |
A Graphic specifies or refers to a graphic Symbolizer with inherent shape, size, and coloring. (Optional)
Definition at line 101 of file PointSymbolizer.h.
Referenced by PointSymbolizer().
|
staticprivate |
A static data member used in the implementation of getType method.
Definition at line 103 of file PointSymbolizer.h.