The CoverageStyle defines the styling that is to be applied to a subset of Coverage data. More...
#include <CoverageStyle.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... | |
| Style * | clone () const |
| It creates a new copy of this object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| CoverageStyle () | |
| It initializes a new CoverageStyle. More... | |
| ~CoverageStyle () | |
| Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
| void | setCoverageName (std::string *name) |
| const std::string * | getCoverageName () const |
| const std::string & | getType () const |
| It returns the style type. More... | |
Accessor methods | |
Methods used to get or set properties. | |
| void | setName (std::string *name) |
| const std::string * | getName () const |
| void | setDescription (Description *d) |
| const Description * | getDescription () const |
| void | push_back (const std::string &semanticTypeIdentifier) |
| void | push_back (Rule *rule) |
| void | push_back (te::xl::SimpleLink *onlineResource) |
| const std::string & | getSemanticTypeIdentifier (std::size_t i) |
| const std::vector< std::string > * | getSemanticTypeIdentifiers () const |
| const std::vector< Rule * > & | getRules () const |
| Rule * | getRule (std::size_t i) const |
| void | removeRule (std::size_t i) |
| void | removeRules () |
| const std::vector< te::xl::SimpleLink * > & | getOnlineResources () const |
| const te::xl::SimpleLink * | getOnlineResource (std::size_t i) const |
| void | setVersion (const std::string &v) |
| const std::string & | getVersion () const |
Protected Attributes | |
| Description * | m_description |
| It gives an informative description of the style. (Optional) More... | |
| std::string * | m_name |
| It allows the style to be referenced. Names must be unique in the context in which they are defined. (Optional) More... | |
| std::vector< te::xl::SimpleLink * > | m_onlineResources |
| It refers to an external document. (Mandatory if m_rules is empty, otherwise, it is optional) More... | |
| std::vector< Rule * > | m_rules |
| It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise, it is optional) More... | |
| std::vector< std::string > * | m_semanticTypeIdentifiers |
| The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature style is suitable to be used for using community-controlled name(s). (Optional) More... | |
| std::string | m_version |
| The version is an optional attribute on the FeatureTypeStyle that identifies the SE version number that the FeatureTypeStyle corresponds to. (Optional) More... | |
Private Attributes | |
| std::string * | m_coverageName |
| It identifies the specific coverage that the coverage style is for. (Optional) More... | |
Static Private Attributes | |
| static const std::string | sm_type |
| A static data member used in the implementation of getType method. More... | |
The CoverageStyle defines the styling that is to be applied to a subset of Coverage data.
Definition at line 45 of file CoverageStyle.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
| te::se::CoverageStyle::CoverageStyle | ( | ) |
It initializes a new CoverageStyle.
Definition at line 34 of file CoverageStyle.cpp.
Referenced by clone().
| te::se::CoverageStyle::~CoverageStyle | ( | ) |
|
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::Style.
Definition at line 60 of file CoverageStyle.cpp.
References te::se::Description::clone(), CoverageStyle(), m_coverageName, te::se::Style::m_description, te::se::Style::m_name, te::se::Style::m_onlineResources, te::se::Style::m_rules, te::se::Style::m_semanticTypeIdentifiers, te::se::Style::m_version, setCoverageName(), te::se::Style::setDescription(), and te::se::Style::setName().
| const std::string * te::se::CoverageStyle::getCoverageName | ( | ) | const |
Definition at line 50 of file CoverageStyle.cpp.
References m_coverageName.
Referenced by CoverageStyleWriter().
|
inherited |
Definition at line 70 of file Style.cpp.
References te::se::Style::m_description.
Referenced by CoverageStyleWriter(), FeatureTypeStyleWriter(), and te::qt::widgets::StyleItem::getToolTip().
|
inherited |
Definition at line 59 of file Style.cpp.
References te::se::Style::m_name.
Referenced by CoverageStyleWriter(), FeatureTypeStyleWriter(), and te::qt::widgets::StyleItem::StyleItem().
|
inherited |
Definition at line 137 of file Style.cpp.
References te::se::Style::m_onlineResources.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
|
inherited |
Definition at line 132 of file Style.cpp.
References te::se::Style::m_onlineResources.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
|
inherited |
Definition at line 105 of file Style.cpp.
References te::se::Style::m_rules.
Referenced by te::qt::widgets::ChartConfigurer::config(), CoverageStyleWriter(), te::graph::LayerRenderer::draw(), te::qt::af::MapDisplay::drawDataSet(), te::map::DrawGeometries(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), te::wms::WMSLayerRenderer::drawRaster(), te::map::DrawRaster(), FeatureTypeStyleWriter(), te::qt::widgets::ContrastDialogForm::getChannelSelection(), te::qt::widgets::FilterDialogForm::getChannelSelection(), te::qt::widgets::RasterNavigatorWidget::getCompositionInfo(), te::map::GetRaster(), te::se::GetRasterSymbolizer(), te::qt::widgets::StyleExplorer::getRule(), te::qt::widgets::ReadPixelTool::mouseReleaseEvent(), te::qt::widgets::StyleControllerWidget::onRemoveRuleClicked(), te::qt::widgets::ROIManagerWidget::onVectorLayerToolButtonClicked(), te::qt::widgets::GroupingWidget::setGrouping(), te::qt::widgets::StyleExplorer::updateStyleTree(), and te::qt::widgets::ROIManagerWidget::~ROIManagerWidget().
|
inherited |
Definition at line 94 of file Style.cpp.
References te::se::Style::m_rules.
Referenced by AddRuleItems(), te::qt::widgets::ChartConfigurer::config(), CoverageStyleWriter(), te::graph::LayerRenderer::draw(), te::qt::af::MapDisplay::drawDataSet(), te::map::DrawGeometries(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGrouping(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), te::wms::WMSLayerRenderer::drawRaster(), FeatureTypeStyleWriter(), te::map::GetRaster(), te::se::GetRasterSymbolizer(), te::qt::widgets::StyleControllerWidget::onRemoveRuleClicked(), te::qt::widgets::GroupingWidget::setGrouping(), and te::qt::widgets::StyleExplorer::updateStyleTree().
|
inherited |
Definition at line 83 of file Style.cpp.
References te::se::Style::m_semanticTypeIdentifiers.
|
inherited |
Definition at line 89 of file Style.cpp.
References te::se::Style::m_semanticTypeIdentifiers.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
|
virtual |
It returns the style type.
Implements te::se::Style.
Definition at line 55 of file CoverageStyle.cpp.
References sm_type.
|
inherited |
Definition at line 148 of file Style.cpp.
References te::se::Style::m_version.
Referenced by CoverageStyleWriter(), FeatureTypeStyleWriter(), te::qt::plugins::terramobile::WriteStyle(), and te::qt::widgets::StyleControllerWidget::writeStyle().
|
inherited |
Definition at line 75 of file Style.cpp.
References te::se::Style::m_semanticTypeIdentifiers.
Referenced by DisplayWindow::addVectorialLayer(), te::qt::plugins::terralib4::Convert2TerraLib5(), te::sa::CreateBayesGrouping(), te::se::CreateCoverageStyle(), te::se::CreateFeatureTypeStyle(), te::sa::CreateKernelGrouping(), te::sa::CreateSampleGeneratorStratifiedGrouping(), te::sa::CreateSkaterGrouping(), DashedLineStyle(), EncodeStyle(), te::qt::plugins::terralib4::GetGrouping(), getLDDGraphStyle(), getMSTGraphStyle(), GraphicFillContourPolygonStyle(), GraphicFillPolygonStyle(), LineWithBorderStyle(), MarkPointStyle(), MONO_0_Style(), MONO_2_Style(), te::qt::widgets::StyleControllerWidget::onAddRuleClicked(), te::qt::plugins::tv::TimeViewerDockWidget::onSliderChanged(), MainWindow::onSymbolizerUpdated(), RED_Style(), RGB_012_G_Contrast_Style(), RGB_012_RGB_Contrast_Style(), RGB_012_Style(), RGB_012_Transp_Style(), RGB_102_Style(), RoadStyleOne(), RoadStyleTwo(), te::qt::widgets::StyleControllerWidget::setLayer(), SimpleLineStyle(), SimplePolygonStyle(), SimplePolygonStyleWithStroke(), TransparentPolygonStyle(), and TreePolygonStyle().
|
inherited |
Definition at line 99 of file Style.cpp.
References te::se::Style::m_rules.
|
inherited |
Definition at line 126 of file Style.cpp.
References te::se::Style::m_onlineResources.
|
inherited |
Definition at line 111 of file Style.cpp.
References te::se::Style::m_rules.
Referenced by te::qt::widgets::StyleControllerWidget::onRemoveRuleClicked().
|
inherited |
Definition at line 120 of file Style.cpp.
References te::common::FreeContents(), and te::se::Style::m_rules.
Referenced by te::sa::CreateBayesGrouping(), te::sa::CreateKernelGrouping(), te::sa::CreateSampleGeneratorStratifiedGrouping(), te::sa::CreateSkaterGrouping(), te::qt::plugins::terralib4::GetGrouping(), and te::qt::plugins::tv::TimeViewerDockWidget::onSliderChanged().
| void te::se::CoverageStyle::setCoverageName | ( | std::string * | name | ) |
|
inherited |
Definition at line 64 of file Style.cpp.
References d, and te::se::Style::m_description.
Referenced by te::se::FeatureTypeStyle::clone(), clone(), EncodeStyle(), and te::qt::plugins::terralib4::GetGrouping().
|
inherited |
Definition at line 53 of file Style.cpp.
References te::se::Style::m_name.
Referenced by te::se::FeatureTypeStyle::clone(), clone(), EncodeStyle(), and te::qt::plugins::terralib4::GetGrouping().
|
inherited |
Definition at line 143 of file Style.cpp.
References te::se::Style::m_version.
|
private |
It identifies the specific coverage that the coverage style is for. (Optional)
Definition at line 82 of file CoverageStyle.h.
Referenced by clone(), getCoverageName(), setCoverageName(), and ~CoverageStyle().
|
protectedinherited |
It gives an informative description of the style. (Optional)
Definition at line 138 of file Style.h.
Referenced by te::se::FeatureTypeStyle::clone(), clone(), te::se::Style::getDescription(), te::se::Style::setDescription(), and te::se::Style::~Style().
|
protectedinherited |
It allows the style to be referenced. Names must be unique in the context in which they are defined. (Optional)
Definition at line 137 of file Style.h.
Referenced by te::se::FeatureTypeStyle::clone(), clone(), te::se::Style::getName(), te::se::Style::setName(), and te::se::Style::~Style().
|
protectedinherited |
It refers to an external document. (Mandatory if m_rules is empty, otherwise, it is optional)
Definition at line 141 of file Style.h.
Referenced by te::se::FeatureTypeStyle::clone(), clone(), te::se::Style::getOnlineResource(), te::se::Style::getOnlineResources(), te::se::Style::push_back(), and te::se::Style::~Style().
|
protectedinherited |
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise, it is optional)
Definition at line 140 of file Style.h.
Referenced by te::se::FeatureTypeStyle::clone(), clone(), te::se::Style::getRule(), te::se::Style::getRules(), te::se::Style::push_back(), te::se::Style::removeRule(), te::se::Style::removeRules(), and te::se::Style::~Style().
|
protectedinherited |
The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature style is suitable to be used for using community-controlled name(s). (Optional)
Definition at line 139 of file Style.h.
Referenced by te::se::FeatureTypeStyle::clone(), clone(), te::se::Style::getSemanticTypeIdentifier(), te::se::Style::getSemanticTypeIdentifiers(), te::se::Style::push_back(), and te::se::Style::~Style().
|
protectedinherited |
The version is an optional attribute on the FeatureTypeStyle that identifies the SE version number that the FeatureTypeStyle corresponds to. (Optional)
Definition at line 142 of file Style.h.
Referenced by te::se::FeatureTypeStyle::clone(), clone(), te::se::Style::getVersion(), and te::se::Style::setVersion().
|
staticprivate |
A static data member used in the implementation of getType method.
Definition at line 83 of file CoverageStyle.h.
Referenced by getType().