This class implements a concrete tool to create polygons. More...
#include <CreatePolygonTool.h>
Signals | |
| void | geometriesEdited () |
| void | geometriesStarted () |
| void | toolDeleted () |
Public Member Functions | |
| void | disableMouseEvent (QMouseEvent::Type mEvent) |
| std::string | getLayerId () |
| bool | isInUse () const |
| void | resetVisualizationTool () |
| void | setInUse (const bool &status) |
| void | setLayer (te::map::AbstractLayer *layer) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| CreatePolygonTool (te::qt::widgets::MapDisplay *display, const te::map::AbstractLayerPtr &layer, const QCursor &cursor, bool showVertexes=true, QObject *parent=0) | |
| It constructs a create polygon tool associated with the given map display. More... | |
| ~CreatePolygonTool () | |
| Destructor. More... | |
AbstractTool Methods | |
Methods related with tool behavior. | |
| bool | mousePressEvent (QMouseEvent *e) |
| This event handler can be reimplemented in a concrete tool class to receive mouse press events for the watched object. More... | |
| bool | mouseMoveEvent (QMouseEvent *e) |
| This event handler can be reimplemented in a concrete tool class to receive mouse move events for the watched object. More... | |
| bool | mouseDoubleClickEvent (QMouseEvent *e) |
| This event handler can be reimplemented in a concrete tool class to receive mouse double click events for the watched object. More... | |
| bool | mouseReleaseEvent (QMouseEvent *e) |
| This event handler can be reimplemented in a concrete tool class to receive mouse release events for the watched object. More... | |
AbstractTool Methods | |
Methods related with tool behavior. | |
| virtual bool | keyPressEvent (QKeyEvent *e) |
| This event handler can be reimplemented in a concrete tool class to receive key press events for the watched object. More... | |
Protected Member Functions | |
| void | setCursor (const QCursor &cursor) |
| It sets the tool cursor. More... | |
Protected Attributes | |
| bool | m_continuousMode |
| A flag that indicates if the tool is working in 'continuous mode'. i.e. the coordinates will be acquired from each mouseMove. More... | |
| std::vector< te::gm::Coord2D > | m_coords |
| The coord list managed by this tool. More... | |
| QCursor | m_curCursor |
| The current mapdisplay cursor. More... | |
| QCursor | m_cursor |
| The default tool cursor. More... | |
| MapDisplay * | m_display |
| The map display associated with the tool. More... | |
| Feature * | m_feature |
| bool | m_isFinished |
| A flag that indicates if the operations was finished. More... | |
| bool | m_isInUse |
| te::gm::Coord2D | m_lastPos |
| The last position captured on mouse move event. More... | |
| te::map::AbstractLayer * | m_layer |
| QMouseEvent::Type | m_mEvent |
| bool | m_showVertexes |
| A flag that indicates whether the tool will display the vertices. More... | |
| UndoStackManager & | m_stack |
Private Slots | |
| void | onCommandFeedback () |
| void | onExtentChanged () |
Private Member Functions | |
| te::gm::Geometry * | buildLine () |
| te::gm::Geometry * | buildPolygon () |
| void | clear () |
| void | draw () |
| void | drawLine () |
| void | drawPolygon () |
| bool | editingFinished () |
| void | storeFeature () |
| void | storeUndoCommand () |
This class implements a concrete tool to create polygons.
Definition at line 64 of file CreatePolygonTool.h.
| te::edit::CreatePolygonTool::CreatePolygonTool | ( | te::qt::widgets::MapDisplay * | display, |
| const te::map::AbstractLayerPtr & | layer, | ||
| const QCursor & | cursor, | ||
| bool | showVertexes = true, |
||
| QObject * | parent = 0 |
||
| ) |
It constructs a create polygon tool associated with the given map display.
| display | The map display associated with the tool. |
| parent | The tool's parent. |
Definition at line 49 of file CreatePolygonTool.cpp.
References draw(), te::qt::widgets::AbstractTool::m_display, onExtentChanged(), te::edit::GeometriesUpdateTool::setCursor(), and ~CreatePolygonTool().
|
default |
Destructor.
Referenced by CreatePolygonTool().
|
private |
Definition at line 255 of file CreatePolygonTool.cpp.
References line, te::gm::LineStringType, m_coords, and te::gm::LineString::setPoint().
Referenced by drawLine().
|
private |
Definition at line 240 of file CreatePolygonTool.cpp.
References te::map::MapDisplay::getSRID(), te::gm::LineStringType, m_coords, te::qt::widgets::AbstractTool::m_display, te::gm::PolygonType, te::gm::LineString::setPoint(), te::gm::CurvePolygon::setRingN(), and te::gm::CurvePolygon::setSRID().
Referenced by drawPolygon(), and storeUndoCommand().
|
private |
Definition at line 232 of file CreatePolygonTool.cpp.
References m_coords, and te::edit::GeometriesUpdateTool::m_feature.
Referenced by mousePressEvent(), and resetVisualizationTool().
|
inherited |
Definition at line 82 of file GeometriesUpdateTool.cpp.
References te::edit::GeometriesUpdateTool::m_mEvent.
|
private |
Definition at line 174 of file CreatePolygonTool.cpp.
References te::edit::Renderer::begin(), drawLine(), drawPolygon(), te::edit::Renderer::drawRepository(), te::edit::Renderer::end(), te::qt::widgets::MapDisplay::getDraftPixmap(), te::map::MapDisplay::getExtent(), te::map::AbstractLayer::getId(), te::common::Singleton< T >::getInstance(), te::map::MapDisplay::getSRID(), te::gm::Envelope::isValid(), m_continuousMode, m_coords, te::edit::UndoStackManager::m_currentIndex, te::qt::widgets::AbstractTool::m_display, te::edit::GeometriesUpdateTool::m_layer, and m_stack.
Referenced by CreatePolygonTool(), and mouseMoveEvent().
|
private |
Definition at line 220 of file CreatePolygonTool.cpp.
References buildLine(), te::edit::Renderer::draw(), te::common::Singleton< T >::getInstance(), line, and m_showVertexes.
Referenced by draw().
|
private |
Definition at line 208 of file CreatePolygonTool.cpp.
References buildPolygon(), te::edit::Renderer::draw(), te::common::Singleton< T >::getInstance(), and m_showVertexes.
Referenced by draw().
|
private |
Definition at line 314 of file CreatePolygonTool.cpp.
References te::edit::GeometriesUpdateTool::geometriesEdited(), m_coords, te::edit::GeometriesUpdateTool::m_feature, m_isFinished, and storeFeature().
Referenced by mouseDoubleClickEvent(), and mouseReleaseEvent().
|
signalinherited |
Referenced by te::edit::MergeGeometriesTool::editingFinished(), te::edit::SubtractAreaTool::editingFinished(), te::edit::AggregateAreaTool::editingFinished(), te::edit::SplitPolygonTool::editingFinished(), editingFinished(), te::edit::CreatePointTool::mouseDoubleClickEvent(), te::edit::CreateLineTool::mouseDoubleClickEvent(), te::mnt::ProfileTools::mouseReleaseEvent(), te::edit::DeleteGeometryByAreaTool::mouseReleaseEvent(), te::edit::MoveGeometryTool::mouseReleaseEvent(), te::edit::DeleteGeometryTool::storeFeature(), te::edit::DeletePartTool::storeFeature(), and te::edit::VertexTool::storeFeature().
|
signalinherited |
Referenced by mousePressEvent().
|
inherited |
Definition at line 54 of file GeometriesUpdateTool.cpp.
References te::map::AbstractLayer::getId(), and te::edit::GeometriesUpdateTool::m_layer.
|
inherited |
Definition at line 59 of file GeometriesUpdateTool.cpp.
References te::edit::GeometriesUpdateTool::m_isInUse.
Referenced by te::qt::plugins::edit::ToolBar::~ToolBar().
|
virtualinherited |
This event handler can be reimplemented in a concrete tool class to receive key press events for the watched object.
| e | The key event. |
Reimplemented in te::qt::widgets::Measure.
Definition at line 101 of file AbstractTool.cpp.
Referenced by te::qt::widgets::AbstractTool::eventFilter().
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse double click events for the watched object.
| e | The mouse event. |
Reimplemented from te::qt::widgets::AbstractTool.
Definition at line 142 of file CreatePolygonTool.cpp.
References editingFinished(), and te::qt::widgets::AbstractTool::m_display.
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse move events for the watched object.
| e | The mouse event. |
Reimplemented from te::qt::widgets::AbstractTool.
Definition at line 94 of file CreatePolygonTool.cpp.
References draw(), te::qt::widgets::MapDisplay::getDigitalization(), te::edit::GetDistance(), te::edit::GetPosition(), te::qt::widgets::MapDisplay::getScale(), te::map::MapDisplay::getSRID(), m_continuousMode, m_coords, te::qt::widgets::AbstractTool::m_display, m_isFinished, m_lastPos, storeUndoCommand(), te::qt::widgets::MapDisplay::transform(), te::edit::TrySnap(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse press events for the watched object.
| e | The mouse event. |
Reimplemented from te::qt::widgets::AbstractTool.
Definition at line 67 of file CreatePolygonTool.cpp.
References clear(), te::edit::GeometriesUpdateTool::geometriesStarted(), te::edit::GetPosition(), te::map::MapDisplay::getSRID(), m_coords, te::qt::widgets::AbstractTool::m_display, m_isFinished, storeUndoCommand(), te::qt::widgets::MapDisplay::transform(), and te::edit::TrySnap().
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse release events for the watched object.
| e | The mouse event. |
Reimplemented from te::qt::widgets::AbstractTool.
Definition at line 158 of file CreatePolygonTool.cpp.
References editingFinished(), and te::qt::widgets::AbstractTool::m_display.
|
privateslot |
Definition at line 291 of file CreatePolygonTool.cpp.
References te::edit::GetCoordinates(), te::edit::RepositoryManager::getFeature(), te::edit::Feature::getGeometry(), te::edit::Feature::getId(), te::map::AbstractLayer::getId(), te::common::Singleton< RepositoryManager >::getInstance(), te::edit::RepositoryManager::hasIdentify(), m_coords, te::edit::GeometriesUpdateTool::m_feature, m_isFinished, te::edit::GeometriesUpdateTool::m_layer, and te::edit::RepositoryManager::removeFeature().
Referenced by storeUndoCommand().
|
privateslot |
Definition at line 264 of file CreatePolygonTool.cpp.
References m_coords, and m_lastPos.
Referenced by CreatePolygonTool().
|
virtual |
Reimplemented from te::edit::GeometriesUpdateTool.
Definition at line 309 of file CreatePolygonTool.cpp.
References clear().
|
protectedvirtualinherited |
It sets the tool cursor.
| cursor | The cursor that will be used during the tool operation. |
Reimplemented from te::qt::widgets::AbstractTool.
Definition at line 87 of file GeometriesUpdateTool.cpp.
References te::qt::widgets::AbstractTool::m_curCursor, te::qt::widgets::AbstractTool::m_cursor, and te::qt::widgets::AbstractTool::m_display.
Referenced by te::edit::AggregateAreaTool::AggregateAreaTool(), te::edit::CreateLineTool::CreateLineTool(), te::edit::CreatePointTool::CreatePointTool(), CreatePolygonTool(), te::edit::SubtractAreaTool::editingFinished(), te::edit::AggregateAreaTool::editingFinished(), te::edit::MergeGeometriesTool::MergeGeometriesTool(), te::edit::SubtractAreaTool::pickFeature(), te::edit::AggregateAreaTool::pickFeature(), te::edit::RotateGeometryTool::RotateGeometryTool(), te::edit::SplitPolygonTool::splitPolygon(), te::edit::SplitPolygonTool::SplitPolygonTool(), te::edit::SubtractAreaTool::SubtractAreaTool(), te::edit::EditInfoTool::updateCursor(), te::edit::DeleteGeometryTool::updateCursor(), te::edit::DeletePartTool::updateCursor(), te::edit::DeleteGeometryByAreaTool::updateCursor(), te::edit::MoveGeometryTool::updateCursor(), and te::edit::VertexTool::updateCursor().
|
inherited |
Definition at line 64 of file GeometriesUpdateTool.cpp.
References te::edit::GeometriesUpdateTool::m_isInUse.
Referenced by te::qt::plugins::edit::ToolBar::enableCurrentTool().
|
inherited |
Definition at line 49 of file GeometriesUpdateTool.cpp.
References te::edit::GeometriesUpdateTool::m_layer.
Referenced by te::qt::plugins::edit::ToolBar::updateLayer().
|
private |
Definition at line 329 of file CreatePolygonTool.cpp.
References te::edit::Feature::clone(), te::map::AbstractLayer::getId(), te::common::Singleton< RepositoryManager >::getInstance(), te::edit::GeometriesUpdateTool::m_feature, and te::edit::GeometriesUpdateTool::m_layer.
Referenced by editingFinished().
|
private |
Definition at line 272 of file CreatePolygonTool.cpp.
References te::edit::UndoStackManager::addUndoStack(), te::edit::UndoStackManager::addWatch(), buildPolygon(), te::edit::Feature::clone(), te::edit::Feature::getId(), te::edit::INSERT, m_coords, te::qt::widgets::AbstractTool::m_display, te::edit::GeometriesUpdateTool::m_feature, te::edit::GeometriesUpdateTool::m_layer, m_stack, onCommandFeedback(), te::edit::Feature::setGeometry(), and te::edit::Feature::setOperationTypeId().
Referenced by mouseMoveEvent(), and mousePressEvent().
|
signalinherited |
Referenced by te::edit::GeometriesUpdateTool::~GeometriesUpdateTool().
|
protected |
A flag that indicates if the tool is working in 'continuous mode'. i.e. the coordinates will be acquired from each mouseMove.
Definition at line 138 of file CreatePolygonTool.h.
Referenced by draw(), and mouseMoveEvent().
|
protected |
The coord list managed by this tool.
Definition at line 136 of file CreatePolygonTool.h.
Referenced by buildLine(), buildPolygon(), clear(), draw(), editingFinished(), mouseMoveEvent(), mousePressEvent(), onCommandFeedback(), onExtentChanged(), and storeUndoCommand().
|
protectedinherited |
The current mapdisplay cursor.
Definition at line 173 of file AbstractTool.h.
Referenced by te::edit::GeometriesUpdateTool::setCursor(), te::qt::widgets::AbstractTool::setCursor(), and te::qt::widgets::AbstractTool::~AbstractTool().
|
protectedinherited |
The default tool cursor.
Definition at line 172 of file AbstractTool.h.
Referenced by te::qt::widgets::AbstractTool::eventFilter(), te::qt::widgets::Pan::mouseReleaseEvent(), te::edit::GeometriesUpdateTool::setCursor(), and te::qt::widgets::AbstractTool::setCursor().
|
protectedinherited |
The map display associated with the tool.
Definition at line 171 of file AbstractTool.h.
Referenced by te::qt::widgets::AbstractTool::AbstractTool(), te::qt::widgets::Zoom::applyZoom(), te::edit::MergeGeometriesTool::buildEnvelope(), te::edit::EditInfoTool::buildEnvelope(), te::qt::widgets::PointMove::buildEnvelope(), te::edit::SubtractAreaTool::buildEnvelope(), te::edit::RotateGeometryTool::buildEnvelope(), te::edit::DeleteGeometryTool::buildEnvelope(), te::edit::DeletePartTool::buildEnvelope(), te::edit::AggregateAreaTool::buildEnvelope(), te::edit::MoveGeometryTool::buildEnvelope(), te::edit::DeleteGeometryByAreaTool::buildEnvelope(), te::edit::VertexTool::buildEnvelope(), te::edit::CreateLineTool::buildLine(), te::edit::CreatePointTool::buildPoint(), te::edit::SubtractAreaTool::buildPolygon(), te::edit::AggregateAreaTool::buildPolygon(), te::edit::DeleteGeometryByAreaTool::buildPolygon(), buildPolygon(), te::qt::widgets::PolygonAcquire::clear(), te::qt::widgets::Measure::clear(), te::qt::widgets::CoordTracking::CoordTracking(), te::edit::CreateLineTool::CreateLineTool(), CreatePolygonTool(), te::edit::MergeGeometriesTool::draw(), te::edit::EditInfoTool::draw(), te::edit::SubtractAreaTool::draw(), te::qt::widgets::PointMove::draw(), te::edit::AggregateAreaTool::draw(), te::edit::RotateGeometryTool::draw(), te::edit::CreatePointTool::draw(), te::edit::DeleteGeometryByAreaTool::draw(), te::edit::CreateLineTool::draw(), draw(), te::edit::MoveGeometryTool::draw(), te::edit::SplitPolygonTool::draw(), te::edit::VertexTool::draw(), te::qt::widgets::PanExtent::drawCurrentExtent(), SelectionTool::drawGeometries(), te::qt::widgets::PolygonAcquire::drawGeometry(), te::qt::widgets::Measure::drawGeometry(), te::edit::MergeGeometriesTool::editingFinished(), te::edit::SubtractAreaTool::editingFinished(), te::edit::AggregateAreaTool::editingFinished(), te::qt::widgets::ZoomKeyboard::eventFilter(), te::qt::widgets::ZoomWheel::eventFilter(), te::qt::widgets::AbstractTool::eventFilter(), te::qt::widgets::Selection::executeSelection(), te::edit::DeleteGeometryByAreaTool::executeSelection(), te::edit::MergeGeometriesTool::getBaseOID(), te::edit::MergeGeometriesTool::getRefEnvelope(), te::qt::widgets::Measure::Measure(), te::edit::SubtractAreaTool::mouseDoubleClickEvent(), te::edit::AggregateAreaTool::mouseDoubleClickEvent(), te::qt::widgets::PolygonAcquire::mouseDoubleClickEvent(), mouseDoubleClickEvent(), te::edit::VertexTool::mouseDoubleClickEvent(), te::qt::plugins::mnt::ShowValuesTool::mouseMoveEvent(), te::qt::widgets::PanMiddleClick::mouseMoveEvent(), te::qt::widgets::ZoomClick::mouseMoveEvent(), te::qt::widgets::Pan::mouseMoveEvent(), te::qt::widgets::CoordTracking::mouseMoveEvent(), te::qt::widgets::RubberBand::mouseMoveEvent(), te::qt::widgets::PointMove::mouseMoveEvent(), te::qt::widgets::PointPicker::mouseMoveEvent(), te::qt::widgets::Zoom::mouseMoveEvent(), te::qt::widgets::PanExtent::mouseMoveEvent(), te::qt::widgets::PolygonAcquire::mouseMoveEvent(), te::edit::CreateLineTool::mouseMoveEvent(), te::edit::DeleteGeometryByAreaTool::mouseMoveEvent(), mouseMoveEvent(), te::edit::MoveGeometryTool::mouseMoveEvent(), te::qt::widgets::Measure::mouseMoveEvent(), te::edit::VertexTool::mouseMoveEvent(), te::edit::EditInfoTool::mousePressEvent(), te::qt::widgets::ZoomLeftAndRightClick::mousePressEvent(), te::qt::widgets::PanMiddleClick::mousePressEvent(), te::qt::widgets::Pan::mousePressEvent(), te::qt::widgets::ZoomClick::mousePressEvent(), te::qt::widgets::PointPicker::mousePressEvent(), te::qt::widgets::PanExtent::mousePressEvent(), te::qt::widgets::PolygonAcquire::mousePressEvent(), te::edit::CreateLineTool::mousePressEvent(), te::edit::CreatePointTool::mousePressEvent(), te::edit::DeleteGeometryTool::mousePressEvent(), te::edit::DeletePartTool::mousePressEvent(), mousePressEvent(), te::edit::MoveGeometryTool::mousePressEvent(), te::edit::DeleteGeometryByAreaTool::mousePressEvent(), te::qt::widgets::Measure::mousePressEvent(), te::qt::widgets::ReadPixelTool::mouseReleaseEvent(), SelectionTool::mouseReleaseEvent(), ReadPixelTool::mouseReleaseEvent(), te::mnt::ProfileTools::mouseReleaseEvent(), te::edit::SubtractAreaTool::mouseReleaseEvent(), te::qt::widgets::PanMiddleClick::mouseReleaseEvent(), te::qt::widgets::ZoomArea::mouseReleaseEvent(), te::qt::widgets::Pan::mouseReleaseEvent(), te::qt::widgets::ZoomClick::mouseReleaseEvent(), te::qt::widgets::PointPicker::mouseReleaseEvent(), te::qt::widgets::PointMove::mouseReleaseEvent(), te::qt::widgets::RubberBand::mouseReleaseEvent(), te::qt::widgets::ExtentAcquire::mouseReleaseEvent(), te::qt::widgets::Zoom::mouseReleaseEvent(), te::edit::AggregateAreaTool::mouseReleaseEvent(), mouseReleaseEvent(), te::qt::widgets::Selection::mouseReleaseEvent(), te::qt::widgets::Info::mouseReleaseEvent(), te::qt::widgets::Measure::onExtentChanged(), te::edit::MergeGeometriesTool::pickFeature(), te::edit::EditInfoTool::pickFeature(), te::edit::SubtractAreaTool::pickFeature(), te::edit::RotateGeometryTool::pickFeature(), te::edit::AggregateAreaTool::pickFeature(), te::edit::MoveGeometryTool::pickFeature(), te::edit::VertexTool::pickFeature(), te::edit::SplitPolygonTool::pickFeatures(), te::qt::widgets::PolygonAcquire::PolygonAcquire(), SelectionTool::SelectionTool(), te::edit::GeometriesUpdateTool::setCursor(), te::qt::widgets::AbstractTool::setCursor(), te::edit::SplitPolygonTool::splitPolygon(), te::edit::SubtractAreaTool::storeUndoCommand(), te::edit::AggregateAreaTool::storeUndoCommand(), te::edit::MoveGeometryTool::storeUndoCommand(), storeUndoCommand(), te::edit::VertexTool::storeUndoCommand(), te::qt::widgets::ZoomKeyboard::ZoomKeyboard(), te::qt::widgets::AbstractTool::~AbstractTool(), te::qt::widgets::Info::~Info(), te::qt::widgets::Measure::~Measure(), te::qt::widgets::PolygonAcquire::~PolygonAcquire(), and SelectionTool::~SelectionTool().
|
protectedinherited |
Definition at line 102 of file GeometriesUpdateTool.h.
Referenced by te::edit::SubtractAreaTool::buildPolygon(), te::edit::AggregateAreaTool::buildPolygon(), te::edit::SubtractAreaTool::clear(), te::edit::AggregateAreaTool::clear(), clear(), te::edit::CreateLineTool::clear(), te::edit::MergeGeometriesTool::draw(), te::edit::EditInfoTool::draw(), te::edit::RotateGeometryTool::draw(), te::edit::VertexTool::draw(), te::edit::SubtractAreaTool::drawPolygon(), te::edit::AggregateAreaTool::drawPolygon(), te::edit::MergeGeometriesTool::editingFinished(), te::edit::SubtractAreaTool::editingFinished(), te::edit::AggregateAreaTool::editingFinished(), editingFinished(), te::edit::DeleteGeometryByAreaTool::executeSelection(), te::edit::EditInfoTool::getInfo(), te::mnt::ProfileTools::mouseMoveEvent(), te::edit::RotateGeometryTool::mouseMoveEvent(), te::edit::VertexTool::mouseMoveEvent(), te::edit::EditInfoTool::mousePressEvent(), te::edit::RotateGeometryTool::mousePressEvent(), te::edit::DeleteGeometryTool::mousePressEvent(), te::edit::DeletePartTool::mousePressEvent(), te::edit::MoveGeometryTool::mousePressEvent(), te::edit::VertexTool::mouseReleaseEvent(), onCommandFeedback(), te::edit::VertexTool::onCommandFeedback(), te::edit::EditInfoTool::onOkPushButtonPressed(), te::edit::MergeGeometriesTool::pickFeature(), te::edit::EditInfoTool::pickFeature(), te::edit::SubtractAreaTool::pickFeature(), te::edit::RotateGeometryTool::pickFeature(), te::edit::AggregateAreaTool::pickFeature(), te::edit::MoveGeometryTool::pickFeature(), te::edit::VertexTool::pickFeature(), te::edit::RotateGeometryTool::reset(), te::edit::MoveGeometryTool::reset(), te::edit::VertexTool::reset(), te::edit::GeometriesUpdateTool::resetVisualizationTool(), te::edit::MoveGeometryTool::resetVisualizationTool(), te::edit::VertexTool::resetVisualizationTool(), te::edit::MergeGeometriesTool::storeFeature(), te::edit::EditInfoTool::storeFeature(), te::edit::SubtractAreaTool::storeFeature(), te::edit::AggregateAreaTool::storeFeature(), te::edit::DeleteGeometryTool::storeFeature(), te::edit::RotateGeometryTool::storeFeature(), te::edit::DeletePartTool::storeFeature(), te::edit::CreatePointTool::storeFeature(), te::edit::CreateLineTool::storeFeature(), te::edit::DeleteGeometryByAreaTool::storeFeature(), storeFeature(), te::edit::VertexTool::storeFeature(), te::edit::SubtractAreaTool::storeUndoCommand(), te::edit::AggregateAreaTool::storeUndoCommand(), storeUndoCommand(), and te::edit::VertexTool::storeUndoCommand().
|
protected |
A flag that indicates if the operations was finished.
Definition at line 139 of file CreatePolygonTool.h.
Referenced by editingFinished(), mouseMoveEvent(), mousePressEvent(), and onCommandFeedback().
|
protectedinherited |
Definition at line 99 of file GeometriesUpdateTool.h.
Referenced by te::edit::GeometriesUpdateTool::isInUse(), and te::edit::GeometriesUpdateTool::setInUse().
|
protected |
The last position captured on mouse move event.
Definition at line 137 of file CreatePolygonTool.h.
Referenced by mouseMoveEvent(), and onExtentChanged().
|
protectedinherited |
Definition at line 103 of file GeometriesUpdateTool.h.
Referenced by te::edit::DeleteGeometryByAreaTool::buildPolygon(), te::edit::MergeGeometriesTool::draw(), te::edit::EditInfoTool::draw(), te::edit::SubtractAreaTool::draw(), te::edit::RotateGeometryTool::draw(), te::edit::CreatePointTool::draw(), te::edit::DeleteGeometryByAreaTool::draw(), te::edit::CreateLineTool::draw(), draw(), te::edit::MoveGeometryTool::draw(), te::edit::SplitPolygonTool::draw(), te::edit::VertexTool::draw(), te::edit::MergeGeometriesTool::editingFinished(), te::edit::SplitPolygonTool::editingFinished(), te::edit::DeleteGeometryByAreaTool::executeSelection(), te::edit::EditInfoTool::getInfo(), te::edit::GeometriesUpdateTool::getLayerId(), te::edit::MergeGeometriesTool::getRefEnvelope(), te::edit::EditInfoTool::mousePressEvent(), te::edit::DeleteGeometryTool::mousePressEvent(), te::edit::DeletePartTool::mousePressEvent(), te::edit::MoveGeometryTool::mousePressEvent(), te::mnt::ProfileTools::mouseReleaseEvent(), te::edit::VertexTool::mouseReleaseEvent(), onCommandFeedback(), te::edit::SubtractAreaTool::pickFeature(), te::edit::RotateGeometryTool::pickFeature(), te::edit::AggregateAreaTool::pickFeature(), te::edit::MoveGeometryTool::pickFeature(), te::edit::SplitPolygonTool::pickFeatures(), te::edit::SplitPolygonTool::resetVisualizationTool(), te::edit::GeometriesUpdateTool::setLayer(), te::edit::SplitPolygonTool::splitPolygon(), te::edit::MergeGeometriesTool::storeFeature(), te::edit::EditInfoTool::storeFeature(), te::edit::SubtractAreaTool::storeFeature(), te::edit::AggregateAreaTool::storeFeature(), te::edit::DeleteGeometryTool::storeFeature(), te::edit::RotateGeometryTool::storeFeature(), te::edit::DeletePartTool::storeFeature(), te::edit::CreatePointTool::storeFeature(), te::edit::CreateLineTool::storeFeature(), te::edit::DeleteGeometryByAreaTool::storeFeature(), te::edit::MoveGeometryTool::storeFeature(), storeFeature(), te::edit::VertexTool::storeFeature(), te::edit::SubtractAreaTool::storeUndoCommand(), te::edit::AggregateAreaTool::storeUndoCommand(), te::edit::MoveGeometryTool::storeUndoCommand(), storeUndoCommand(), te::edit::VertexTool::storeUndoCommand(), te::edit::MoveGeometryTool::updateCursor(), te::mnt::ProfileTools::updateRepository(), te::edit::MergeGeometriesTool::~MergeGeometriesTool(), and te::edit::SplitPolygonTool::~SplitPolygonTool().
|
protectedinherited |
Definition at line 100 of file GeometriesUpdateTool.h.
Referenced by te::edit::GeometriesUpdateTool::disableMouseEvent(), and te::edit::GeometriesUpdateTool::eventFilter().
|
protected |
A flag that indicates whether the tool will display the vertices.
Definition at line 140 of file CreatePolygonTool.h.
Referenced by drawLine(), and drawPolygon().
|
protected |
Definition at line 141 of file CreatePolygonTool.h.
Referenced by draw(), and storeUndoCommand().