26 #ifndef __TERRALIB_EDIT_QT_INTERNAL_RENDERER_H
27 #define __TERRALIB_EDIT_QT_INTERNAL_RENDERER_H
30 #include "../../common/Singleton.h"
31 #include "../../geometry/Enums.h"
36 #include <QPaintDevice>
77 void drawRepository(
const std::string& source,
const te::gm::Envelope& e,
int srid);
81 void draw(
te::gm::Geometry* geom,
bool showVertexes =
false,
const bool& removed =
false);
85 void drawVertexes(
const std::vector<te::gm::LineString*>& lines);
91 void setPolygonStyle(
const QColor& fillColor,
const QColor& contourColor,
const std::size_t& contourWidth);
93 void setPointStyle(
const QString& mark,
const QColor& fillColor,
const QColor& contourColor,
94 const std::size_t& contourWidth,
const std::size_t& size);
106 void setupDefaultStyle();
134 #endif // __TERRALIB_EDIT_QT_INTERNAL_RENDERER_H
te::gm::GeomType m_currentGeomType
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
#define TEEDITQTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the TerraLib Qt Edit module.
te::qt::widgets::Canvas * m_canvas
std::size_t m_polygonContourWidth
LineString is a curve with linear interpolation between points.
std::size_t m_pointContourWidth
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
This is a singleton for rendering geometries and features.
QColor m_polygonContourColor
QColor m_pointContourColor
QColor m_polygonFillColor
Template support for singleton pattern.