![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Graphical segmentation mechanism (with polyline) More...
#include <ecvGraphicalSegmentationTool.h>


Public Member Functions | |
| ccGraphicalSegmentationTool (QWidget *parent) | |
| Default constructor. More... | |
| virtual | ~ccGraphicalSegmentationTool () |
| Destructor. More... | |
| bool | addEntity (ccHObject *anObject, bool silent=false) |
| Adds an entity (and/or its children) to the 'to be segmented' pool. More... | |
| unsigned | getNumberOfValidEntities () const |
| ccPolyline * | getPolyLine () |
| Get a pointer to the polyline that has been segmented. More... | |
| QSet< ccHObject * > & | entities () |
| Returns the active 'to be segmented' set. More... | |
| const QSet< ccHObject * > & | entities () const |
| Returns the active 'to be segmented' set (const version) More... | |
| virtual bool | linkWith (QWidget *win) override |
| Links the overlay dialog with a MDI window. More... | |
| virtual bool | start () override |
| Starts process. More... | |
| virtual void | stop (bool accepted) override |
| Stops process/dialog. More... | |
| bool | deleteHiddenParts () const |
| Returns whether hidden parts should be delete after segmentation. More... | |
| void | removeAllEntities () |
| Remove entities from the 'to be segmented' pool. More... | |
| bool | applySegmentation (ecvMainAppInterface *app, ccHObject::Container &newEntities) |
| Apply segmentation and update the database (helper) More... | |
Public Member Functions inherited from ccOverlayDialog | |
| ccOverlayDialog (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::FramelessWindowHint|Qt::Tool) | |
| Default constructor. More... | |
| ~ccOverlayDialog () override | |
| Destructor. More... | |
| void | reject () override |
| void | addOverridenShortcut (Qt::Key key) |
| bool | started () const |
| Returns whether the tool is currently started or not. More... | |
Protected Types | |
| enum | ProcessStates { POLYLINE = 1 , RECTANGLE = 2 , PAUSED = 32 , STARTED = 64 , RUNNING = 128 } |
| Process states. More... | |
Protected Slots | |
| void | segmentIn () |
| void | segmentOut () |
| void | segment (bool) |
| void | reset () |
| void | apply () |
| void | applyAndDelete () |
| void | cancel () |
| void | addPointToPolyline (int x, int y) |
| void | closePolyLine (int x=0, int y=0) |
| void | updateSegmentation () |
| void | closeRectangle () |
| void | updatePolyLine (int x, int y, Qt::MouseButtons buttons) |
| void | pauseSegmentationMode (bool state, bool only2D=true) |
| void | pauseSegmentation (bool state) |
| void | resetSegmentation () |
| void | doSetPolylineSelection () |
| void | doSetRectangularSelection () |
| void | doActionUseExistingPolyline () |
| void | doExportSegmentationPolyline () |
| void | onShortcutTriggered (int) |
| To capture overridden shortcuts (pause button, etc.) More... | |
| void | prepareEntityForRemoval (ccHObject *entity, bool unallocateVisibilityArrays) |
| Prepare entity before removal. More... | |
| void | allowPolylineExport (bool state) |
| Whether to allow or not to exort the current segmentation polyline. More... | |
Protected Slots inherited from ccOverlayDialog | |
| virtual void | onLinkedWindowDeletion (QObject *object=nullptr) |
| Slot called when the linked window is deleted (calls 'onClose') More... | |
Protected Member Functions | |
| void | setDrawFlag (bool state=true) |
Protected Member Functions inherited from ccOverlayDialog | |
| bool | eventFilter (QObject *obj, QEvent *e) override |
Protected Attributes | |
| QSet< ccHObject * > | m_toSegment |
| Set of entities to be segmented. More... | |
| bool | m_somethingHasChanged |
| Whether something has changed or not (for proper 'cancel') More... | |
| unsigned | m_state |
| Current process state. More... | |
| ccPolyline * | m_segmentationPoly |
| Segmentation polyline. More... | |
| ccPointCloud * | m_polyVertices |
| Segmentation polyline vertices. More... | |
| bool | m_rectangularSelection |
| Selection mode. More... | |
| bool | m_deleteHiddenParts |
| Whether to delete hidden parts after segmentation. More... | |
Protected Attributes inherited from ccOverlayDialog | |
| QWidget * | m_associatedWin |
| Associated (MDI) window. More... | |
| bool | m_processing |
| Running/processing state. More... | |
| QList< int > | m_overriddenKeys |
| Overridden keys. More... | |
Additional Inherited Members | |
Signals inherited from ccOverlayDialog | |
| void | processFinished (bool accepted) |
| Signal emitted when process is finished. More... | |
| void | shortcutTriggered (int key) |
| Signal emitted when an overridden key shortcut is pressed. More... | |
| void | shown () |
| Signal emitted when a 'show' event is detected. More... | |
Graphical segmentation mechanism (with polyline)
Definition at line 27 of file ecvGraphicalSegmentationTool.h.
|
protected |
Process states.
| Enumerator | |
|---|---|
| POLYLINE | |
| RECTANGLE | |
| PAUSED | |
| STARTED | |
| RUNNING | |
Definition at line 118 of file ecvGraphicalSegmentationTool.h.
|
explicit |
Default constructor.
Definition at line 54 of file ecvGraphicalSegmentationTool.cpp.
References ccOverlayDialog::addOverridenShortcut(), allowPolylineExport(), apply(), applyAndDelete(), cancel(), doActionUseExistingPolyline(), doExportSegmentationPolyline(), doSetPolylineSelection(), doSetRectangularSelection(), ecvColor::green(), m_polyVertices, m_segmentationPoly, onShortcutTriggered(), pauseSegmentation(), reset(), segmentIn(), segmentOut(), ccPolyline::set2DMode(), cloudViewer::Polyline::setClosed(), ccPolyline::setColor(), ccPolyline::setForeground(), ccOverlayDialog::shortcutTriggered(), and ccDrawableObject::showColors().
|
virtual |
Destructor.
Definition at line 138 of file ecvGraphicalSegmentationTool.cpp.
References m_polyVertices, and m_segmentationPoly.
| bool ccGraphicalSegmentationTool::addEntity | ( | ccHObject * | anObject, |
| bool | silent = false |
||
| ) |
Adds an entity (and/or its children) to the 'to be segmented' pool.
Warning: some entities may be rejected if they are locked, or can't be segmented this way.
Definition at line 325 of file ecvGraphicalSegmentationTool.cpp.
References cloudViewer::ReferenceCloud::getAssociatedCloud(), ccGenericMesh::getAssociatedCloud(), ccHObject::getChild(), ccHObject::getChildrenNumber(), ccObject::getName(), CV_TYPES::HIERARCHY_OBJECT, ccObject::isA(), ccGenericMesh::IsCloudVerticesOfMesh(), ccPolyline::IsCloudVerticesOfPolyline(), ccObject::isKindOf(), m_toSegment, CV_TYPES::MESH, CV_TYPES::POINT_CLOUD, CV_TYPES::POLY_LINE, ccHObject::popDisplayState(), CV_TYPES::PRIMITIVE, ccHObject::pushDisplayState(), result, ccObject::setEnabled(), ccDrawableObject::setVisible(), CV_TYPES::SUB_MESH, ccHObjectCaster::ToGenericMesh(), ccHObjectCaster::ToGenericPointCloud(), ccHObjectCaster::ToPolyline(), and CVLog::Warning().
|
protectedslot |
Definition at line 511 of file ecvGraphicalSegmentationTool.cpp.
References cloudViewer::PointCloudTpl< T >::addPoint(), cloudViewer::ReferenceCloud::addPointIndex(), allowPolylineExport(), ccPointCloud::clear(), cloudViewer::Polyline::clear(), CVLog::Error(), cloudViewer::PointCloudTpl< T >::getPointPersistentPtr(), m_polyVertices, m_rectangularSelection, m_segmentationPoly, m_state, POLYLINE, RECTANGLE, ccPointCloud::reserve(), RUNNING, cloudViewer::Polyline::setClosed(), cloudViewer::PointCloudTpl< T >::size(), STARTED, ecvDisplayTools::ToVtkCoordinates(), updateSegmentation(), Tuple3Tpl< Type >::x, and Tuple3Tpl< Type >::y.
Referenced by linkWith().
|
protectedslot |
Whether to allow or not to exort the current segmentation polyline.
Definition at line 129 of file ecvGraphicalSegmentationTool.cpp.
Referenced by addPointToPolyline(), ccGraphicalSegmentationTool(), closePolyLine(), closeRectangle(), doActionUseExistingPolyline(), pauseSegmentationMode(), start(), and updatePolyLine().
|
protectedslot |
Definition at line 1065 of file ecvGraphicalSegmentationTool.cpp.
References m_deleteHiddenParts, and stop().
Referenced by ccGraphicalSegmentationTool().
|
protectedslot |
Definition at line 1070 of file ecvGraphicalSegmentationTool.cpp.
References m_deleteHiddenParts, and stop().
Referenced by ccGraphicalSegmentationTool().
| bool ccGraphicalSegmentationTool::applySegmentation | ( | ecvMainAppInterface * | app, |
| ccHObject::Container & | newEntities | ||
| ) |
Apply segmentation and update the database (helper)
Definition at line 1130 of file ecvGraphicalSegmentationTool.cpp.
References ccHObject::addChild(), ecvMainAppInterface::addToDB(), ccGBLSensor::clearDepthBuffer(), ccGenericPointCloud::createNewCloudFromVisibilitySelection(), ccMesh::createNewMeshFromSelection(), ccPolyline::createNewPolylinesFromSelection(), ecvMainAppInterface::dbRootObject(), cc2DLabel::PickedPoint::entity(), CVLog::Error(), ccHObject::filterChildren(), CV_TYPES::GBL_SENSOR, cloudViewer::ReferenceCloud::getAssociatedCloud(), ccGenericMesh::getAssociatedCloud(), ccObject::getName(), ccHObject::getParent(), cc2DLabel::getPickedPoint(), ccObject::isA(), ccHObject::isAncestorOf(), ccGenericMesh::IsCloudVerticesOfMesh(), ccPolyline::IsCloudVerticesOfPolyline(), ccObject::isKindOf(), ccObject::isLocked(), CV_TYPES::LABEL_2D, m_deleteHiddenParts, m_toSegment, CV_TYPES::MESH, ecvMainAppInterface::ccHObjectContext::parent, CV_TYPES::POINT_CLOUD, CV_TYPES::POLY_LINE, prepareEntityForRemoval(), ecvMainAppInterface::putObjectBackIntoDBTree(), removeAllEntities(), ccHObject::removeChild(), ecvMainAppInterface::removeObjectTemporarilyFromDBTree(), RemoveUnusedLabelsAndUpdateTheOthers(), ccObject::setName(), cc2DLabel::size(), cloudViewer::GenericCloud::size(), cloudViewer::GenericMesh::size(), cloudViewer::ReferenceCloud::size(), ccMesh::size(), ccHObjectCaster::ToGBLSensor(), ccHObjectCaster::ToGenericMesh(), ccHObjectCaster::ToGenericPointCloud(), ccHObjectCaster::ToMesh(), and CVLog::Warning().
|
protectedslot |
Definition at line 1075 of file ecvGraphicalSegmentationTool.cpp.
References m_deleteHiddenParts, reset(), and stop().
Referenced by ccGraphicalSegmentationTool().
|
protectedslot |
Definition at line 613 of file ecvGraphicalSegmentationTool.cpp.
References allowPolylineExport(), ccPointCloud::clear(), cloudViewer::Polyline::clear(), m_polyVertices, m_segmentationPoly, m_state, POLYLINE, cloudViewer::ReferenceCloud::resize(), RUNNING, cloudViewer::Polyline::setClosed(), cloudViewer::ReferenceCloud::size(), and updateSegmentation().
Referenced by linkWith().
|
protectedslot |
Definition at line 591 of file ecvGraphicalSegmentationTool.cpp.
References allowPolylineExport(), ccPointCloud::clear(), cloudViewer::Polyline::clear(), m_polyVertices, m_rectangularSelection, m_segmentationPoly, m_state, RECTANGLE, RUNNING, cloudViewer::ReferenceCloud::size(), and updateSegmentation().
Referenced by linkWith().
|
inline |
Returns whether hidden parts should be delete after segmentation.
Definition at line 62 of file ecvGraphicalSegmentationTool.h.
References m_deleteHiddenParts.
|
protectedslot |
Definition at line 836 of file ecvGraphicalSegmentationTool.cpp.
References cloudViewer::PointCloudTpl< T >::addPoint(), cloudViewer::ReferenceCloud::addPointIndex(), allowPolylineExport(), ccPointCloud::clear(), cloudViewer::Polyline::clear(), MainWindow::dbRootObject(), doSetPolylineSelection(), CVLog::Error(), ccHObject::filterChildren(), cloudViewer::ReferenceCloud::getAssociatedCloud(), ecvDisplayTools::GetGLCameraParameters(), ecvDisplayTools::GetMainWindow(), cc2DViewportObject::getParameters(), cloudViewer::GenericIndexedCloud::getPoint(), cloudViewer::PointCloudTpl< T >::getPoint(), cloudViewer::ReferenceCloud::getPointGlobalIndex(), ccPolyline::is2DMode(), cloudViewer::Polyline::isClosed(), m_polyVertices, m_rectangularSelection, m_segmentationPoly, m_state, pauseSegmentationMode(), CV_TYPES::POLY_LINE, POLYLINE, ccGLCameraParameters::project(), ecvDisplayTools::RedrawDisplay(), cloudViewer::ReferenceCloud::reserve(), ccPointCloud::reserve(), RUNNING, ccItemSelectionDlg::SelectEntity(), cloudViewer::Polyline::setClosed(), ecvDisplayTools::SetRedrawRecursive(), ecvDisplayTools::SetViewportParameters(), cloudViewer::GenericCloud::size(), cloudViewer::ReferenceCloud::size(), MainWindow::TheInstance(), updateSegmentation(), CV_TYPES::VIEWPORT_2D_OBJECT, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by ccGraphicalSegmentationTool().
|
protectedslot |
Definition at line 946 of file ecvGraphicalSegmentationTool.cpp.
References ccHObject::addChild(), MainWindow::addToDB(), Vector3Tpl< PointCoordinateType >::fromArray(), cloudViewer::ReferenceCloud::getAssociatedCloud(), ecvDisplayTools::GetClick3DPos(), ecvDisplayTools::GetGLCameraParameters(), ccShiftedObject::getGlobalScale(), ccShiftedObject::getGlobalShift(), cloudViewer::PointCloudTpl< T >::getPoint(), ecvDisplayTools::GetViewportParameters(), height, ccPointCloud::invalidateBoundingBox(), ccShiftedObject::isShifted(), m_segmentationPoly, m_toSegment, CVLog::Print(), s_polylineExportCount, ccPolyline::set2DMode(), cloudViewer::Polyline::setClosed(), ccPolyline::setColor(), ccObject::setEnabled(), ccPolyline::setGlobalScale(), ccPolyline::setGlobalShift(), ccObject::setName(), cc2DViewportObject::setParameters(), cloudViewer::GenericCloud::size(), cloudViewer::ReferenceCloud::size(), MainWindow::TheInstance(), ccHObjectCaster::ToShifted(), Tuple3Tpl< Type >::u, ccGLCameraParameters::viewport, CVLog::Warning(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and ecvColor::yellow().
Referenced by ccGraphicalSegmentationTool().
|
protectedslot |
Definition at line 784 of file ecvGraphicalSegmentationTool.cpp.
References ecvDisplayTools::DisplayNewMessage(), m_rectangularSelection, m_state, ecvDisplayTools::MANUAL_SEGMENTATION_MESSAGE, PAUSED, pauseSegmentationMode(), ecvDisplayTools::RedrawDisplay(), ecvDisplayTools::SetRedrawRecursive(), and ecvDisplayTools::UPPER_CENTER_MESSAGE.
Referenced by ccGraphicalSegmentationTool(), doActionUseExistingPolyline(), and onShortcutTriggered().
|
protectedslot |
Definition at line 810 of file ecvGraphicalSegmentationTool.cpp.
References ecvDisplayTools::DisplayNewMessage(), m_rectangularSelection, m_state, ecvDisplayTools::MANUAL_SEGMENTATION_MESSAGE, PAUSED, pauseSegmentationMode(), ecvDisplayTools::RedrawDisplay(), ecvDisplayTools::SetRedrawRecursive(), and ecvDisplayTools::UPPER_CENTER_MESSAGE.
Referenced by ccGraphicalSegmentationTool(), and onShortcutTriggered().
|
inline |
Returns the active 'to be segmented' set.
Definition at line 52 of file ecvGraphicalSegmentationTool.h.
References m_toSegment.
|
inline |
Returns the active 'to be segmented' set (const version)
Definition at line 54 of file ecvGraphicalSegmentationTool.h.
References m_toSegment.
| unsigned ccGraphicalSegmentationTool::getNumberOfValidEntities | ( | ) | const |
Returns the number of entites currently in the the 'to be segmented' pool
Definition at line 454 of file ecvGraphicalSegmentationTool.cpp.
References m_toSegment.
|
inline |
Get a pointer to the polyline that has been segmented.
Definition at line 49 of file ecvGraphicalSegmentationTool.h.
References m_segmentationPoly.
|
overridevirtual |
Links the overlay dialog with a MDI window.
Warning: link can't be modified while dialog is displayed/process is running!
Reimplemented from ccOverlayDialog.
Definition at line 183 of file ecvGraphicalSegmentationTool.cpp.
References addPointToPolyline(), closePolyLine(), closeRectangle(), ccOverlayDialog::linkWith(), m_segmentationPoly, ecvDisplayTools::TheInstance(), and updatePolyLine().
|
protectedslot |
To capture overridden shortcuts (pause button, etc.)
Definition at line 146 of file ecvGraphicalSegmentationTool.cpp.
References doSetPolylineSelection(), doSetRectangularSelection(), and m_rectangularSelection.
Referenced by ccGraphicalSegmentationTool().
|
inlineprotectedslot |
Definition at line 91 of file ecvGraphicalSegmentationTool.h.
References pauseSegmentationMode().
Referenced by ccGraphicalSegmentationTool().
|
protectedslot |
Definition at line 726 of file ecvGraphicalSegmentationTool.cpp.
References allowPolylineExport(), ccPointCloud::clear(), cloudViewer::Polyline::clear(), ecvDisplayTools::DisplayNewMessage(), ecvDisplayTools::GetCurrentScreen(), ecvDisplayTools::GetMainWindow(), ecvDisplayTools::INTERACT_SEND_ALL_SIGNALS, m_polyVertices, m_rectangularSelection, m_segmentationPoly, m_state, ecvDisplayTools::MANUAL_SEGMENTATION_MESSAGE, PAUSED, ecvDisplayTools::RedrawDisplay(), resetSegmentation(), ecvDisplayTools::SetInteractionMode(), ecvDisplayTools::SetRedrawRecursive(), cloudViewer::PointCloudTpl< T >::size(), STARTED, ecvDisplayTools::TRANSFORM_CAMERA(), and ecvDisplayTools::UPPER_CENTER_MESSAGE.
Referenced by doActionUseExistingPolyline(), doSetPolylineSelection(), doSetRectangularSelection(), pauseSegmentation(), segment(), and start().
|
protectedslot |
Prepare entity before removal.
Definition at line 225 of file ecvGraphicalSegmentationTool.cpp.
References ccGenericMesh::IsCloudVerticesOfMesh(), ccPolyline::IsCloudVerticesOfPolyline(), ccObject::isKindOf(), CV_TYPES::POINT_CLOUD, ccHObject::popDisplayState(), ccHObjectCaster::ToGenericPointCloud(), and ccGenericPointCloud::unallocateVisibilityArray().
Referenced by applySegmentation(), and removeAllEntities().
| void ccGraphicalSegmentationTool::removeAllEntities | ( | ) |
Remove entities from the 'to be segmented' pool.
Definition at line 264 of file ecvGraphicalSegmentationTool.cpp.
References m_toSegment, prepareEntityForRemoval(), and setDrawFlag().
Referenced by applySegmentation().
|
protectedslot |
Definition at line 302 of file ecvGraphicalSegmentationTool.cpp.
References ecvDisplayTools::GetCurrentScreen(), m_somethingHasChanged, m_toSegment, ecvDisplayTools::RedrawDisplay(), resetSegmentation(), ccGenericPointCloud::resetVisibilityArray(), setDrawFlag(), ecvDisplayTools::SetRedrawRecursive(), and ccHObjectCaster::ToGenericPointCloud().
Referenced by cancel(), ccGraphicalSegmentationTool(), and start().
|
protectedslot |
Definition at line 648 of file ecvGraphicalSegmentationTool.cpp.
References ecvDisplayTools::GetCurrentScreen(), ccHObject::getViewId(), m_segmentationPoly, ecvDisplayTools::RemoveWidgets(), and WIDGET_POLYLINE_2D.
Referenced by pauseSegmentationMode(), reset(), stop(), and updateSegmentation().
|
protectedslot |
Definition at line 660 of file ecvGraphicalSegmentationTool.cpp.
References CVLog::Error(), ecvDisplayTools::GetCurrentScreen(), ecvDisplayTools::GetGLCameraParameters(), cloudViewer::GenericIndexedCloud::getPoint(), ccGenericPointCloud::getTheVisibilityArray(), cloudViewer::Polyline::isClosed(), cloudViewer::ManualSegmentationTools::isPointInsidePoly(), m_segmentationPoly, m_somethingHasChanged, m_toSegment, pauseSegmentationMode(), POINT_HIDDEN, POINT_VISIBLE, ccGLCameraParameters::project(), ecvDisplayTools::RedrawDisplay(), setDrawFlag(), ecvDisplayTools::SetRedrawRecursive(), cloudViewer::GenericCloud::size(), ccHObjectCaster::ToGenericPointCloud(), Tuple3Tpl< Type >::x, and Tuple3Tpl< Type >::y.
Referenced by segmentIn(), and segmentOut().
|
protectedslot |
Definition at line 656 of file ecvGraphicalSegmentationTool.cpp.
References segment().
Referenced by ccGraphicalSegmentationTool().
|
protectedslot |
Definition at line 658 of file ecvGraphicalSegmentationTool.cpp.
References segment().
Referenced by ccGraphicalSegmentationTool().
|
protected |
Definition at line 295 of file ecvGraphicalSegmentationTool.cpp.
References m_toSegment.
Referenced by removeAllEntities(), reset(), and segment().
|
overridevirtual |
Starts process.
Reimplemented from ccOverlayDialog.
Definition at line 207 of file ecvGraphicalSegmentationTool.cpp.
References allowPolylineExport(), ccPointCloud::clear(), cloudViewer::Polyline::clear(), m_polyVertices, m_segmentationPoly, m_somethingHasChanged, ecvDisplayTools::NO_PICKING, pauseSegmentationMode(), reset(), ecvDisplayTools::SetPickingMode(), and ccOverlayDialog::start().
|
overridevirtual |
Stops process/dialog.
Automatically emits the 'processFinished' signal (with input state as argument).
| accepted | process/dialog result |
Reimplemented from ccOverlayDialog.
Definition at line 276 of file ecvGraphicalSegmentationTool.cpp.
References ecvDisplayTools::DEFAULT_PICKING, ecvDisplayTools::DisplayNewMessage(), ecvDisplayTools::GetCurrentScreen(), m_segmentationPoly, ecvDisplayTools::MANUAL_SEGMENTATION_MESSAGE, ecvDisplayTools::RedrawDisplay(), resetSegmentation(), ecvDisplayTools::SetInteractionMode(), ecvDisplayTools::SetPickingMode(), ecvDisplayTools::SetRedrawRecursive(), ccOverlayDialog::stop(), ecvDisplayTools::TRANSFORM_CAMERA(), and ecvDisplayTools::UPPER_CENTER_MESSAGE.
Referenced by apply(), applyAndDelete(), and cancel().
|
protectedslot |
Definition at line 458 of file ecvGraphicalSegmentationTool.cpp.
References cloudViewer::ReferenceCloud::addPointIndex(), allowPolylineExport(), cloudViewer::Polyline::clear(), CVLog::Error(), cloudViewer::PointCloudTpl< T >::getPointPersistentPtr(), m_polyVertices, m_segmentationPoly, m_state, POLYLINE, RECTANGLE, ccPointCloud::resize(), RUNNING, cloudViewer::Polyline::setClosed(), cloudViewer::PointCloudTpl< T >::size(), ecvDisplayTools::ToVtkCoordinates(), updateSegmentation(), Tuple3Tpl< Type >::x, and Tuple3Tpl< Type >::y.
Referenced by linkWith().
|
protectedslot |
Definition at line 638 of file ecvGraphicalSegmentationTool.cpp.
References ecvDisplayTools::DrawWidgets(), ecvDisplayTools::GetCurrentScreen(), m_segmentationPoly, WIDGETS_PARAMETER::opacity, resetSegmentation(), and WIDGET_POLYLINE_2D.
Referenced by addPointToPolyline(), closePolyLine(), closeRectangle(), doActionUseExistingPolyline(), and updatePolyLine().
|
protected |
Whether to delete hidden parts after segmentation.
Definition at line 141 of file ecvGraphicalSegmentationTool.h.
Referenced by apply(), applyAndDelete(), applySegmentation(), cancel(), and deleteHiddenParts().
|
protected |
Segmentation polyline vertices.
Definition at line 135 of file ecvGraphicalSegmentationTool.h.
Referenced by addPointToPolyline(), ccGraphicalSegmentationTool(), closePolyLine(), closeRectangle(), doActionUseExistingPolyline(), pauseSegmentationMode(), start(), updatePolyLine(), and ~ccGraphicalSegmentationTool().
|
protected |
Selection mode.
Definition at line 138 of file ecvGraphicalSegmentationTool.h.
Referenced by addPointToPolyline(), closeRectangle(), doActionUseExistingPolyline(), doSetPolylineSelection(), doSetRectangularSelection(), onShortcutTriggered(), and pauseSegmentationMode().
|
protected |
Segmentation polyline.
Definition at line 133 of file ecvGraphicalSegmentationTool.h.
Referenced by addPointToPolyline(), ccGraphicalSegmentationTool(), closePolyLine(), closeRectangle(), doActionUseExistingPolyline(), doExportSegmentationPolyline(), getPolyLine(), linkWith(), pauseSegmentationMode(), resetSegmentation(), segment(), start(), stop(), updatePolyLine(), updateSegmentation(), and ~ccGraphicalSegmentationTool().
|
protected |
Whether something has changed or not (for proper 'cancel')
Definition at line 115 of file ecvGraphicalSegmentationTool.h.
|
protected |
Current process state.
Definition at line 130 of file ecvGraphicalSegmentationTool.h.
Referenced by addPointToPolyline(), closePolyLine(), closeRectangle(), doActionUseExistingPolyline(), doSetPolylineSelection(), doSetRectangularSelection(), pauseSegmentationMode(), and updatePolyLine().
|
protected |
Set of entities to be segmented.
Definition at line 112 of file ecvGraphicalSegmentationTool.h.
Referenced by addEntity(), applySegmentation(), doExportSegmentationPolyline(), entities(), getNumberOfValidEntities(), removeAllEntities(), reset(), segment(), and setDrawFlag().