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;
This is the base class for Layers.
An Envelope defines a 2D rectangular region.
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 refresh(bool redraw=false)=0
It updates the contents in the map display.
virtual unsigned int getHeight() const =0
It returns the MapDisplay current height in pixels.
virtual te::map::AlignType getVAlign() const =0
It returns the MapDisplay current vertical align.
virtual te::map::AlignType getHAlign() const =0
It returns the MapDisplay current horizontal align.
virtual void setLayerList(const std::list< te::map::AbstractLayerPtr > &layers)=0
It sets the layer list to be showed in the Map Display.
virtual const te::gm::Envelope & getExtent() const =0
It returns the world extent showned by the MapDisplay.
virtual double getWidthMM() const =0
It returns the MapDisplay current width in millimeters.
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.
virtual ~AbstractMapDisplay()
Virtual destructor.
virtual double getHeightMM() const =0
It returns the MapDisplay current height in millimeters.
virtual unsigned int getWidth() const =0
It returns the MapDisplay current width in pixels.
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...
AbstractMapDisplay()
It initializes a new MapDisplay.
virtual int getSRID() const =0
It return the Spatial Reference System used by the Map Display.
Namespace for the Map Tools module of TerraLib.
AlignType
This enum contains values to control the alignment of components (like Canvas and MapDisplay).