26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_MULTITHREAD_MAPDISPLAY_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_MULTITHREAD_MAPDISPLAY_H
33 #include <QtCore/QMap>
34 #include <QtCore/QString>
35 #include <QtGui/QImage>
47 class DrawLayerThread;
77 MultiThreadMapDisplay(
const QSize& size,
const bool& showFeedback =
true, QWidget* parent = 0, Qt::WindowFlags f = 0);
103 virtual QPointF transform(
const QPointF& p);
107 void updateTransform();
111 void showFeedback(
const QImage& image);
113 void onDrawLayerFinished(
const int& index,
const QImage& image);
126 void drawLayersFinished(
const QMap<QString, QString>& errors);
166 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_MULTITHREAD_MAPDISPLAY_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::list< te::map::AbstractLayerPtr > m_visibleLayers
The set of visible layers.
A Qt4 widget to control the display of a set of layers.
QMatrix m_matrix
Used to convert screen coordinates to world coordinates.
std::map< int, QImage > m_images
The set of images built by each thread. It will be used to compose the final result, keeping the layer list order.
bool m_showFeedback
A flag that indicates if the map display will show drawing feedback.
A widget to control the display of a set of layers.
A multi thread Qt4 widget to control the display of a set of layers.
std::vector< DrawLayerThread * > m_threads
The set of threads used to draw the layer list.
An Envelope defines a 2D rectangular region.