26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_MAPDISPLAY_H 
   27 #define __TERRALIB_QT_WIDGETS_INTERNAL_MAPDISPLAY_H 
   30 #include "../../../maptools/MapDisplay.h" 
   31 #include "../../../srs.h" 
   32 #include "../Config.h" 
   47   namespace gm { 
class Envelope; }
 
   48   namespace map { 
class AbstractLayer; }
 
   96           MapDisplay(
const QSize& size, QWidget* parent = 0, Qt::WindowFlags f = 0);
 
   98           MapDisplay(QWidget* parent = 0, Qt::WindowFlags f = 0);
 
  112           virtual void refresh();
 
  114           unsigned int getWidth() 
const;
 
  116           unsigned int getHeight() 
const;
 
  118           double getWidthMM() 
const;
 
  120           double getHeightMM() 
const;
 
  122           virtual void setSRID(
const int& srid, 
bool doRefresh = 
true);
 
  133           virtual QPixmap* getDisplayPixmap() 
const;
 
  143           virtual QPixmap* getDraftPixmap() 
const;
 
  150           virtual void setResizePolicy(
const ResizePolicy& policy);
 
  157           virtual void setResizeInterval(
int msec);
 
  168           virtual QPointF transform(
const QPointF& p);
 
  175           virtual QColor getBackgroundColor();
 
  182           virtual void setBackgroundColor(
const QColor& color);
 
  185           bool isDrawing() 
const;
 
  214           virtual void resizeAllCanvas();
 
  222           virtual void adjustExtent(
const QSize& oldSize, 
const QSize& size);
 
  229           virtual void paintEvent(QPaintEvent* e);
 
  236           virtual void resizeEvent(QResizeEvent* e);
 
  240           virtual void onResizeTimeout();
 
  245           void extentChanged();
 
  248           void displayPaintEvent(QPainter*);
 
  251           void displaySridChanged();
 
  301 #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