Go to the documentation of this file.
   26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTMAPDISPLAY_H 
   27 #define __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTMAPDISPLAY_H 
   37 #include <boost/noncopyable.hpp> 
   72         virtual void setLayerList(
const std::list<te::map::AbstractLayerPtr>& layers) = 0;
 
  137         virtual void setSRID(
const int& srid, 
bool doRefresh = 
true) = 0;
 
  140         virtual void refresh(
bool redraw = 
false) = 0;
 
  181 #endif  // __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTMAPDISPLAY_H 
  
 
An Envelope defines a 2D rectangular region.
 
virtual te::map::AlignType getHAlign() const =0
It returns the MapDisplay current horizontal align.
 
AlignType
This enum contains values to control the alignment of components (like Canvas and MapDisplay).
 
virtual void setSRID(const int &srid, bool doRefresh=true)=0
It sets a new Spatial Reference System to be used by the Map Display.
 
virtual void setLayerList(const std::list< te::map::AbstractLayerPtr > &layers)=0
It sets the layer list to be showed in the Map Display.
 
Enumerations of XML module.
 
It defines the concept of a map display responsible for controlling how a set of layers are displayed...
 
virtual void refresh(bool redraw=false)=0
It updates the contents in the map display.
 
virtual void setAlign(te::map::AlignType h, te::map::AlignType v)=0
It will set the align rendering of objects into the map display. Just successive drawings will be aff...
 
virtual const te::gm::Envelope & getExtent() const =0
It returns the world extent showned by the MapDisplay.
 
virtual unsigned int getHeight() const =0
It returns the MapDisplay current height in pixels.
 
AbstractMapDisplay()
It initializes a new MapDisplay.
 
virtual double getWidthMM() const =0
It returns the MapDisplay current width in millimeters.
 
virtual ~AbstractMapDisplay()
Virtual destructor.
 
virtual void setExtent(te::gm::Envelope &e, bool doRefresh=true)=0
It sets the world visible area and refreshes the contents in the map display.
 
This is the base class for Layers.
 
virtual te::map::AlignType getVAlign() const =0
It returns the MapDisplay current vertical align.
 
virtual int getSRID() const =0
It return the Spatial Reference System used by the Map Display.
 
virtual unsigned int getWidth() const =0
It returns the MapDisplay current width in pixels.
 
virtual double getHeightMM() const =0
It returns the MapDisplay current height in millimeters.