28 #ifndef __TERRALIB_LAYOUT_INTERNAL_GRID_MODEL_H
29 #define __TERRALIB_LAYOUT_INTERNAL_GRID_MODEL_H
32 #include "../core/property/Properties.h"
33 #include "../../maptools/Canvas.h"
34 #include "../../maptools/Enums.h"
35 #include "../core/property/Property.h"
36 #include "../../geometry/Envelope.h"
37 #include "../core/Utils.h"
38 #include "../core/Systematic.h"
39 #include "../../geometry/Coord2D.h"
40 #include "../../geometry/Point.h"
41 #include "../core/Config.h"
64 virtual void updateProperty(
Property property) = 0;
66 virtual std::string getName();
68 virtual void setName(std::string name);
70 virtual bool isVisible();
72 virtual void setVisible(
bool visible);
74 virtual void setMapScale(
double scale);
84 virtual std::map<te::gm::Point*, std::string> getGridInfo();
86 virtual void setVisibleAllTexts(
bool visible);
88 virtual bool isVisibleAllTexts();
90 virtual void setMapDisplacementX(
double displacement);
92 virtual void setMapDisplacementY(
double displacement);
94 virtual int getPointSize();
96 virtual std::string getFontFamily();
106 virtual void gridTextFreeMemory();
160 #endif //__TERRALIB_LAYOUT_INTERNAL_GRID_MODEL_H
std::map< te::gm::Point *, std::string > m_gridTexts
te::gm::Envelope m_worldBox
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
double m_lneHrzDisplacement
double m_mapDisplacementY
Systematic * m_systematic
double m_mapDisplacementX
te::color::RGBAColor m_lineColor
te::gm::Envelope m_boxMapMM
An Envelope defines a 2D rectangular region.
double m_initialGridPointY
double m_initialGridPointX
te::color::RGBAColor m_textColor
double m_lneVrtDisplacement
A canvas is an abstraction of a drawing area.
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
te::gm::Envelope m_boundingBoxItemMM
Utility class with functions to manipulate the canvas and conversion between projections.
A property acts like a attribute member of a object and stores the state of this attribute. A set of properties stores the state of an object. Any data type, not included in the convertValue method in the class te::layout::Variant, it will be by default "std::string" value.
te::layout::Property m_property