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