Go to the documentation of this file.
26 #ifndef __TERRALIB_SE_INTERNAL_RULE_H
27 #define __TERRALIB_SE_INTERNAL_RULE_H
30 #include "../fe/Filter.h"
38 #include <boost/noncopyable.hpp>
174 #endif // __TERRALIB_SE_INTERNAL_RULE_H
const double & getMinScaleDenominator() const
void setMinScaleDenominator(const double &minScaleDenominator)
double m_maxScaleDenominator
It defines the range of map-rendering scales for which the rule should be applied....
const Graphic * getLegendGraphic() const
void setFilter(te::fe::Filter *f)
const double & getMaxScaleDenominator() const
const Symbolizer * getSymbolizer(std::size_t i) const
const std::string * getName() const
Rule()
It initializes a new Rule.
bool hasElseFilter() const
bool m_elseFilter
It allows rules to be specified that are activated for features that are not selected by any other ru...
std::string * m_name
It allows the rule to be referenced externally, which is needed in some methods of SE usage....
Graphic * m_legendGraphic
It allows an optional explicit Graphic Symbolizer to be displayed in a legend for this rule....
void removeSymbolizer(std::size_t i)
A filter is any valid predicate expression.
te::fe::Filter * m_filter
It allows the selection of features in rules to be controlled by attribute conditions....
void removeLegendGraphic()
void setName(std::string *name)
void setMaxScaleDenominator(const double &maxScaleDenominator)
void setSymbolizers(const std::vector< Symbolizer * > &symbs)
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
double m_minScaleDenominator
It defines the range of map-rendering scales for which the rule should be applied....
const te::fe::Filter * getFilter() const
const Description * getDescription() const
A Description gives human-readable descriptive information for the object it is included within.
Description * m_description
It gives the familiar short title for display lists and longer description for the rule....
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
Rule * clone() const
It creates a new copy of this object.
Proxy configuration file for TerraView (see terraview_config.h).
std::vector< Symbolizer * > m_symbolizers
A Symbolizer describes how a feature/coverage is to appear on a map. (Mandatory)
void push_back(Symbolizer *s)
A Symbolizer describes how a feature is to appear on a map.
const std::vector< Symbolizer * > & getSymbolizers() const
void setLegendGraphic(Graphic *legendGraphic)
void setSymbolizer(std::size_t i, Symbolizer *s)
void setDescription(Description *d)