31 #ifndef __TERRALIB_LAYOUT_INTERNAL_LEGEND_MODEL_H
32 #define __TERRALIB_LAYOUT_INTERNAL_LEGEND_MODEL_H
35 #include "../core/pattern/mvc/ItemModelObservable.h"
36 #include "../core/ContextItem.h"
37 #include "../core/pattern/derivativevisitor/AbstractVisitor.h"
38 #include "../../maptools/AbstractLayer.h"
39 #include "../../maptools/Canvas.h"
40 #include "../../maptools/Grouping.h"
41 #include "../core/Utils.h"
42 #include "../core/Font.h"
43 #include "../core/Config.h"
82 virtual void setBorderDisplacement(
double value);
84 virtual double getBorderDisplacement();
86 virtual void setDisplacementBetweenSymbols(
double value);
88 virtual double getDisplacementBetweenSymbols();
90 virtual void setDisplacementBetweenTitleAndSymbols(
double value);
92 virtual double getDisplacementBetweenTitleAndSymbols();
94 virtual void setDisplacementBetweenSymbolAndText(
double value);
96 virtual double getDisplacementBetweenSymbolAndText();
98 virtual double getSymbolSize();
100 virtual void setSymbolSize(
const double& value);
102 virtual std::map<te::gm::Point*, std::string> getCoordChildren();
106 virtual Font getFont();
124 virtual void childrenFreeMemory();
double m_borderDisplacement
Class responsible for maintaining the drawing context of a MVC component. It is always used by the "M...
double m_displacementBetweenTitleAndSymbols
Class that represents a "Model" part of Legend MVC component. Its coordinate system is the same of sc...
Abstract class to represent a visitor. All classes representing a visitor must inherit from this clas...
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
std::map< te::gm::Point *, std::string > m_coordChildren
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
te::color::RGBAColor m_fontColor
Abstract class to represent an observable. "Model" part of MVC component. All classes representing th...
The Properties class represents a persistent set of properties. The Properties can be saved to a file...
te::map::AbstractLayerPtr m_layer
This class contains the parameters needed for grouping the values of a Property.
double m_displacementBetweenSymbolsAndText
A canvas is an abstraction of a drawing area.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
double m_displacementBetweenSymbols
Utility class with functions to manipulate the canvas and conversion between projections.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr