30 #ifndef __TERRALIB_LAYOUT_INTERNAL_GRIDMAP_MODEL_H
31 #define __TERRALIB_LAYOUT_INTERNAL_GRIDMAP_MODEL_H
34 #include "../core/property/Properties.h"
35 #include "../../maptools/Canvas.h"
36 #include "../../maptools/Enums.h"
37 #include "../core/property/Property.h"
38 #include "../../geometry/Envelope.h"
39 #include "../core/Utils.h"
40 #include "../../geometry/Coord2D.h"
41 #include "../../geometry/Point.h"
42 #include "../core/pattern/mvc/ItemModelObservable.h"
43 #include "../core/ContextItem.h"
44 #include "../core/Config.h"
45 #include "../core/pattern/derivativevisitor/AbstractVisitor.h"
46 #include "../core/Systematic.h"
56 class GridSettingsConfigProperties;
90 virtual bool isVisible();
92 virtual void setVisible(
bool visible);
94 virtual void setMapScale(
double scale);
96 virtual double getMapScale();
106 virtual std::map<te::gm::Point*, std::string> getGridInfo();
108 virtual void setVisibleAllTexts(
bool visible);
110 virtual void setMapDisplacementX(
double displacement);
112 virtual double getMapDisplacementX();
114 virtual void setMapDisplacementY(
double displacement);
116 virtual double getMapDisplacementY();
118 virtual void setMapName(std::string name);
120 virtual std::string getMapName();
122 virtual int getSRID();
128 virtual double getLneHrzGap();
130 virtual double getLneVrtGap();
132 virtual double getInitialGridPointX();
134 virtual double getInitialGridPointY();
142 virtual int getLineWidth();
144 virtual int getTextPointSize();
146 virtual std::string getFontFamily();
150 virtual bool isVisibleAllTexts();
152 virtual bool isSuperscriptText();
154 virtual double getLneVrtDisplacement();
156 virtual double getLneHrzDisplacement();
158 virtual bool isBottomText();
160 virtual bool isLeftText();
162 virtual bool isRightText();
164 virtual bool isTopText();
166 virtual bool isBottomRotateText();
168 virtual bool isLeftRotateText();
170 virtual bool isRightRotateText();
172 virtual bool isTopRotateText();
182 virtual void gridTextFreeMemory();
Class responsible for maintaining the drawing context of a MVC component. It is always used by the "M...
Abstract class to represent a visitor. All classes representing a visitor must inherit from this clas...
Class that represents a "Model" part of GridMap MVC component. Its coordinate system is the same of s...
double m_initialGridPointX
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
GridSettingsConfigProperties * m_settingsConfig
te::gm::Envelope m_worldBox
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...
An Envelope defines a 2D rectangular region.
double m_initialGridPointY
Systematic * m_systematic
std::map< te::gm::Point *, std::string > m_gridTexts
te::color::RGBAColor m_textColor
te::color::RGBAColor m_lineColor
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
te::gm::Envelope m_boxMapMM
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
double m_mapDisplacementY
double m_lneHrzDisplacement
te::gm::Envelope m_boundingBoxItemMM
double m_lneVrtDisplacement
double m_mapDisplacementX