26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_MAPDISPLAY_H    27 #define __TERRALIB_QT_WIDGETS_INTERNAL_MAPDISPLAY_H    31 #include "../../../maptools/MapDisplay.h"    32 #include "../../../srs.h"    34 #include "../Config.h"    49   namespace gm { 
class Envelope; }
    50   namespace map { 
class AbstractLayer; }
    98           MapDisplay(
const QSize& size, QWidget* parent = 0, Qt::WindowFlags f = 0);
   100           MapDisplay(QWidget* parent = 0, Qt::WindowFlags f = 0);
   114           virtual void refresh(
bool redraw = 
false);
   116           unsigned int getWidth() 
const;
   118           unsigned int getHeight() 
const;
   120           double getWidthMM() 
const;
   122           double getHeightMM() 
const;
   124           virtual void setSRID(
const int& srid, 
bool doRefresh = 
true);
   135           virtual QPixmap* getDisplayPixmap() 
const;
   145           virtual QPixmap* getDraftPixmap() 
const;
   152           virtual void setResizePolicy(
const ResizePolicy& policy);
   159           virtual void setResizeInterval(
int msec);
   170           virtual QPointF transform(
const QPointF& p);
   177           virtual QColor getBackgroundColor();
   184           virtual void setBackgroundColor(
const QColor& color);
   187           bool isDrawing() 
const;
   192           virtual double getScale() 
const;
   197           virtual bool setScale(
const double& scale);
   202           virtual void getDPI(
int& dpiX, 
int& dpiY) 
const;
   208           virtual void setOverrideDPI(
int dpiX, 
int dpiY);
   213           virtual void restoreDPI();
   244           virtual void resizeAllCanvas();
   252           virtual void adjustExtent(
const QSize& oldSize, 
const QSize& size);
   259           virtual void paintEvent(QPaintEvent* e);
   266           virtual void resizeEvent(QResizeEvent* e);
   270           virtual void onResizeTimeout();
   275           void extentChanged();
   278           void displayPaintEvent(QPainter*);
   281           void displaySridChanged();
   334 #endif  // __TERRALIB_QT_WIDGETS_INTERNAL_MAPDISPLAY_H 
This is the base class for layers. 
 
An Envelope defines a 2D rectangular region. 
 
#define TE_UNKNOWN_SRS
A numeric value to represent a unknown SRS identification in TerraLib. 
 
This class controls how a set of layers are displayed. 
 
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr