A PointSymbolizer specifies the rendering of a graphic Symbolizer at a point. More...
#include <PointSymbolizer.h>
Public Types | |
| typedef void | 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.
Referenced by clone().
| te::se::PointSymbolizer::PointSymbolizer | ( | const PointSymbolizer & | rhs | ) |
Copy constructor.
| rhs | The other point symbolizer. |
Definition at line 38 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 50 of file PointSymbolizer.cpp.
References m_geometry, and m_graphic.
|
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 83 of file PointSymbolizer.cpp.
References PointSymbolizer().
Referenced by te::qt::widgets::PointSymbolizerWidget::getSymbolizer(), and te::qt::widgets::PointSymbolizerWidget::setSymbolizer().
|
inherited |
Definition at line 94 of file Symbolizer.cpp.
References te::se::Symbolizer::m_baseSymbolizer.
Referenced by te::se::serialize::WriteSymbolizerHelper().
|
inherited |
Definition at line 83 of file Symbolizer.cpp.
References te::se::Symbolizer::m_description.
Referenced by te::se::serialize::WriteSymbolizerHelper().
| const te::fe::PropertyName * te::se::PointSymbolizer::getGeometry | ( | ) | const |
Definition at line 62 of file PointSymbolizer.cpp.
References m_geometry.
Referenced by PointSymbolizerWriter().
| const te::se::Graphic * te::se::PointSymbolizer::getGraphic | ( | ) | const |
Definition at line 73 of file PointSymbolizer.cpp.
References m_graphic.
Referenced by PointSymbolizerWriter(), te::qt::widgets::PointSymbolizerProperty::setSymbolizer(), te::qt::widgets::PointSymbolizerWidget::updateUi(), te::se::SymbolizerColorFinder::visit(), te::map::CanvasConfigurer::visit(), and te::qt::widgets::ChartConfigurer::visit().
|
inherited |
Definition at line 72 of file Symbolizer.cpp.
References te::se::Symbolizer::m_name.
Referenced by te::se::serialize::WriteSymbolizerHelper().
|
virtual |
It returns the symbolizer type.
Implements te::se::Symbolizer.
Definition at line 78 of file PointSymbolizer.cpp.
References sm_type.
|
inherited |
Definition at line 114 of file Symbolizer.cpp.
References te::se::Symbolizer::m_uom.
|
inherited |
Definition at line 104 of file Symbolizer.cpp.
References te::se::Symbolizer::m_version.
Referenced by te::qt::widgets::CloudDetectionDialog::writeStyle(), and te::se::serialize::WriteSymbolizerHelper().
|
inherited |
Definition at line 88 of file Symbolizer.cpp.
References te::se::Symbolizer::m_baseSymbolizer.
|
inherited |
Definition at line 77 of file Symbolizer.cpp.
References d, and te::se::Symbolizer::m_description.
Referenced by EncodeStyle(), and te::se::serialize::ReadSymbolizerHelper().
| void te::se::PointSymbolizer::setGeometry | ( | te::fe::PropertyName * | geometry | ) |
Definition at line 56 of file PointSymbolizer.cpp.
References m_geometry.
Referenced by EncodeStyle().
| void te::se::PointSymbolizer::setGraphic | ( | Graphic * | graphic | ) |
Definition at line 67 of file PointSymbolizer.cpp.
References m_graphic.
Referenced by te::se::CreatePointSymbolizer(), te::qt::widgets::PointSymbolizerWidget::onGraphicChanged(), te::qt::widgets::PointSymbolizerProperty::onGraphicChanged(), te::qt::widgets::PointSymbolizerProperty::PointSymbolizerProperty(), and te::qt::widgets::PointSymbolizerWidget::PointSymbolizerWidget().
|
inherited |
Definition at line 67 of file Symbolizer.cpp.
References te::se::Symbolizer::m_name.
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.
References te::se::Symbolizer::m_uom.
|
inherited |
Definition at line 99 of file Symbolizer.cpp.
References te::se::Symbolizer::m_version.
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 getGeometry(), PointSymbolizer(), setGeometry(), and ~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 getGraphic(), PointSymbolizer(), setGraphic(), and ~PointSymbolizer().
|
staticprivate |
A static data member used in the implementation of getType method.
Definition at line 103 of file PointSymbolizer.h.
Referenced by getType().