30 #ifndef __TERRALIB_LAYOUT_INTERNAL_CONTEXT_H
31 #define __TERRALIB_LAYOUT_INTERNAL_CONTEXT_H
34 #include "../../enum/AbstractType.h"
35 #include "../../Utils.h"
36 #include "../factory/AbstractOutsideFactory.h"
37 #include "../../../../maptools/Canvas.h"
38 #include "../../../../geometry/Envelope.h"
39 #include "../../Config.h"
40 #include "../../../../common/Singleton.h"
41 #include "../../SystematicScaleConfig.h"
42 #include "../../PaperConfig.h"
43 #include "../mvc/ItemObserver.h"
50 class AbstractItemFactory;
51 class AbstractOutsideFactory;
52 class AbstractTemplateFactory;
53 class AbstractBuildGraphicsItem;
55 class AbstractProxyProject;
57 class AbstractBuildGraphicsOutside;
101 LayoutUnitsMetrics getUnitMetric();
103 void setUnitMetric(LayoutUnitsMetrics unit);
124 double getZoomFactor();
131 void setZoomFactor(
double zoomFactor);
138 double getDefaultZoomFactor();
145 void setDefaultZoomFactor(
double zoomFactor);
152 double getOldZoomFactor();
159 void setOldZoomFactor(
double zoomFactor);
229 void setUtils(
Utils* utils);
233 void setDpiX(
double dpiX);
237 void setDpiY(
double dpiY);
244 std::string getVersion();
274 EnumType* getLineIntersectionMouseMode();
276 void setLineIntersectionMouseMode(
EnumType* mode);
double m_zoomFactor
current zoom factor. Ex.: 0.5 (50%)
AbstractScene * m_scene
abstract scene for QGraphicsScene class, part of Graphics View Framework.
Abstract Factory provide an interface for creating families of related or dependent graphic objects (...
AbstractBuildGraphicsOutside * m_buildGraphicsOutside
build MVC widgets.
AbstractBuildGraphicsItem * m_buildGraphicsItem
build graphics MVC components.
Class responsible for paper setting. Size, orientation, custom size, etc.
LayoutUnitsMetrics m_unitMetric
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Utils * m_utils
pointer with functions to manipulate the canvas and conversion between projections ...
ItemUtils * m_itemUtils
pointer for manipulating items in the scene and vectorization of text and legend
Abstract Factory provide an interface for creating families of related or dependent templates without...
Abstract class to represent an observer. "View" part of MVC component. All classes representing the g...
double m_oldZoomFactor
previous zoom factor. Ex.: 0.5 (50%)
PaperConfig * m_paperConfig
paper settings
double m_defaultZoomFactor
default zoom factor. Ex.: 0.5 (50%)
Abstract class for build MVC widgets.
EnumType * m_mode
value of the enumeration of mode type
std::string m_version
template structure version
Utility class for manipulating items in the scene and vectorization of text and legend.
EnumType * m_lineIntersectionMouseMode
te::map::Canvas * m_canvas
abstraction of a drawing area
Abstract scene for Scene, a QGraphicsScene class, part of Graphics View Framework.
SystematicScaleConfig * m_systematicConfig
Abstract class to provide a surrogate or placeholder for te::qt::af::Project to control access to it...
A canvas is an abstraction of a drawing area.
AbstractTemplateFactory * m_templateFactory
factory provide an interface for creating families of related or dependent templates ...
AbstractProxyProject * m_proxyProject
provide a surrogate or placeholder for te::qt::af::Project to control access to it ...
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
AbstractOutsideFactory * m_outsideFactory
factory provide an interface for creating families of related or dependent graphic widgets (MVC widge...
Abstract Factory provide an interface for creating families of related or dependent graphic widgets (...
AbstractItemFactory * m_itemFactory
factory that provide an interface for creating families of related or dependent graphic objects (MVC ...
Singleton class responsible for keeping active objects while the plugin is loaded in memory and make ...
Abstract class for build graphics MVC components.
Utility class with functions to manipulate the canvas and conversion between projections.
Template support for singleton pattern.