26 #ifndef __TERRALIB_EDIT_QT_INTERNAL_VERTEXTOOL_H
27 #define __TERRALIB_EDIT_QT_INTERNAL_VERTEXTOOL_H
30 #include "../../../geometry/Envelope.h"
32 #include "../../../maptools/AbstractLayer.h"
33 #include "../../../sam/rtree/Index.h"
34 #include "../../Utils.h"
36 #include "../core/command/AddCommand.h"
37 #include "../core/UndoStackManager.h"
38 #include "../Config.h"
119 bool mousePressEvent(QMouseEvent* e);
121 bool mouseMoveEvent(QMouseEvent* e);
123 bool mouseReleaseEvent(QMouseEvent* e);
125 bool mouseDoubleClickEvent(QMouseEvent* e);
129 void resetVisualizationTool();
141 void storeUndoCommand();
145 void onExtentChanged();
147 void onUndoFeedback(std::vector<te::gm::Coord2D> coords);
174 #endif // __TERRALIB_EDIT_QT_INTERNAL_VERTEXTOOL_H
#define TEEDITQTEXPORT
You can use this macro in order to export/import classes and functions from this module.
UndoStackManager & m_stack
StageType
Defines the operation stage to this tool.
A class that represents an R-tree.
This class implements a concrete tool for vertex operations (move, add, etc.).
std::vector< te::gm::LineString * > m_lines
A point with x and y coordinate values.
An Envelope defines a 2D rectangular region.
VertexIndex m_currentVertexIndex
te::sam::rtree::Index< VertexIndex, 8 > m_rtree
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr