ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cvViewSelectionManager.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // clang-format off
11 // Qt - must be included before qPCL.h for MOC to work correctly
12 #include <QtCore/QMap>
13 #include <QtCore/QObject>
14 // clang-format on
15 
16 // LOCAL
17 #include "cvGenericSelectionTool.h"
18 #include "cvSelectionData.h" // Contains SelectionMode, SelectionModifier enums // For SelectionMode and SelectionModifier enums
19 #include "qPCL.h"
20 
21 // CV_DB_LIB
22 #include <ecvHObject.h>
23 
24 // Forward declarations
25 class cvSelectionData;
26 class cvSelectionAlgebra;
28 class cvSelectionFilter;
31 class vtkIntArray;
32 class vtkIdTypeArray;
33 class vtkPolyData;
34 class ccHObject;
35 class ccPointCloud;
36 class ccMesh;
37 
38 namespace PclUtils {
39 class PCLVis;
40 }
41 
53  : public QObject,
54  public cvGenericSelectionTool {
55  Q_OBJECT
56 
57 public:
58  // SelectionMode and SelectionModifier are now defined in cvSelectionTypes.h
59  // to avoid circular dependency with cvRenderViewSelectionTool
60  // Use type aliases for backward compatibility
63 
68  static cvViewSelectionManager* instance();
69 
77  void setVisualizer(ecvGenericVisualizer3D* viewer) override;
78 
79  // Inherited from cvGenericSelectionTool:
80  // ecvGenericVisualizer3D* getVisualizer() const;
81 
90  void enableSelection(SelectionMode mode);
91 
99  void disableSelection();
100 
104  bool isSelectionActive() const;
105 
110  SelectionMode getCurrentMode() const { return m_currentMode; }
111 
119  void setSelectionModifier(SelectionModifier modifier);
120 
124  SelectionModifier getCurrentModifier() const { return m_currentModifier; }
125 
131  void clearSelection();
132 
139  void clearCurrentSelection();
140 
146  void growSelection();
147 
153  void shrinkSelection();
154 
164  bool isCompatible(SelectionMode mode1, SelectionMode mode2) const;
165 
170  const cvSelectionData& currentSelection() const;
171 
178  void setCurrentSelection(const cvSelectionData& selectionData,
179  bool resetLayers = true);
180 
188  void setCurrentSelection(const vtkSmartPointer<vtkIdTypeArray>& selection,
189  int fieldAssociation,
190  bool resetLayers = true);
191 
196  bool hasSelection() const;
197 
198  //-------------------------------------------------------------------------
199  // Utility module accessors (ParaView-style integration)
200  //-------------------------------------------------------------------------
201 
202  // History (undo/redo) removed - UI not implemented
203 
208  cvSelectionAlgebra* getAlgebra() { return m_algebra; }
209 
214  cvSelectionPipeline* getPipeline() { return m_pipeline; }
215 
220  cvSelectionFilter* getFilter() { return m_filter; }
221 
222  // Bookmarks removed - UI not implemented
223 
228  cvSelectionAnnotationManager* getAnnotations() { return m_annotations; }
229 
238  cvSelectionHighlighter* getHighlighter() { return m_highlighter; }
239 
240  //-------------------------------------------------------------------------
241  // Advanced selection operations (using utility modules)
242  //-------------------------------------------------------------------------
243 
244  // Undo/Redo removed - UI not implemented
245 
253  cvSelectionData performAlgebraOperation(
254  int op,
255  const cvSelectionData& selectionA,
256  const cvSelectionData& selectionB = cvSelectionData());
257 
262  vtkPolyData* getPolyData() const;
263 
273  void setSourceObject(ccHObject* obj);
274 
279  ccHObject* getSourceObject() const;
280 
285  ccPointCloud* getSourcePointCloud() const;
286 
291  ccMesh* getSourceMesh() const;
292 
297  bool isSourceObjectValid() const;
298 
308  void notifyDataUpdated();
309 
318  void setPointPickingRadius(unsigned int radius);
319 
323  unsigned int getPointPickingRadius() const;
324 
326 
336  void setGrowSelectionRemoveSeed(bool remove);
337  bool getGrowSelectionRemoveSeed() const { return m_growRemoveSeed; }
338 
342  void setGrowSelectionRemoveIntermediateLayers(bool remove);
344  return m_growRemoveIntermediateLayers;
345  }
346 
356  void expandSelection(int layers,
357  bool removeSeed = false,
358  bool removeIntermediateLayers = false);
359 
368  bool canShrinkSelection() const { return m_numberOfLayers >= 1; }
369 
375  int getNumberOfLayers() const { return m_numberOfLayers; }
377 
378 signals:
382  void selectionCompleted();
383 
388  void selectionChanged(const cvSelectionData& selectionData);
389 
394  void selectionChanged();
395 
400  void modeChanged(SelectionMode mode);
401 
406  void modifierChanged(SelectionModifier modifier);
407 
414  void customBoxSelected(int region[4]);
415  void customBoxSelected(int xmin, int ymin, int xmax, int ymax);
416 
423  void customPolygonSelected(vtkIntArray* polygon);
424 
431  void zoomToBoxRequested(int region[4]);
432  void zoomToBoxRequested(int xmin, int ymin, int xmax, int ymax);
433 
434 private:
435  // Singleton constructor/destructor
436  explicit cvViewSelectionManager(QObject* parent = nullptr);
437  ~cvViewSelectionManager() override;
438 
439  // Disable copy
440  Q_DISABLE_COPY(cvViewSelectionManager)
441 
442  // m_viewer is inherited from cvGenericSelectionTool
443 
444  // Current state
445  SelectionMode m_currentMode;
446  SelectionModifier m_currentModifier;
447  bool m_isActive;
448 
449  // Selection state (encapsulated - no VTK exposure in MainWindow)
450  // Note: Stored as VTK array + field association for backward compatibility
451  // Consider migrating to cvSelectionData in future major version
453  int m_currentSelectionFieldAssociation; // 0=cells, 1=points
454 
455  //-------------------------------------------------------------------------
456  // Utility modules (ParaView-style architecture)
457  //-------------------------------------------------------------------------
458  // Note: m_history and m_bookmarks removed - UI not implemented
460  m_algebra;
461  cvSelectionPipeline* m_pipeline;
462  cvSelectionFilter* m_filter;
463  cvSelectionAnnotationManager* m_annotations;
465  m_highlighter;
466 
467  // Grow selection settings (ParaView-style)
468  bool m_growRemoveSeed = false;
469  bool m_growRemoveIntermediateLayers = false;
470 
471  // Track number of layers for grow/shrink operations (ParaView-style)
472  // This allows us to determine when shrink should be disabled
473  int m_numberOfLayers = 0;
474 
475  // Store the original selection (seed) for ParaView-style grow/shrink
476  // ParaView always expands/shrinks from the original selection, not from the
477  // current one Reference: vtkSelector.cxx line 139-148,
478  // vtkSMSelectionHelper::ExpandSelection
479  cvSelectionData m_originalSelection;
480 
481  // Source object for direct extraction (avoid VTK→ccHObject conversion)
482  // Note: ccHObject is not a QObject, so we use a raw pointer
483  ccHObject* m_sourceObject;
484 };
cvViewSelectionManager::getHighlighter
cvSelectionHighlighter * getHighlighter()
Get the shared highlighter.
Definition: cvViewSelectionManager.h:238
cvSelectionBase::getDataFromActor
vtkDataSet * getDataFromActor(vtkActor *actor)
Get data object from a specific actor (ParaView-style)
Definition: cvSelectionBase.cpp:49
cvViewSelectionManager::currentSelection
const cvSelectionData & currentSelection() const
Get the current selection data (VTK-independent)
Definition: cvViewSelectionManager.cpp:356
ccObject::isKindOf
bool isKindOf(CV_CLASS_ENUM type) const
Definition: ecvObject.h:128
cvViewSelectionManager::setSelectionModifier
void setSelectionModifier(SelectionModifier modifier)
Set the selection modifier.
Definition: cvViewSelectionManager.cpp:165
cvSelectionPipeline::setVisualizer
void setVisualizer(PclUtils::PCLVis *viewer)
Set the visualizer for selection operations.
Definition: cvSelectionPipeline.cpp:74
SelectionMode::SELECT_FRUSTUM_POINTS
@ SELECT_FRUSTUM_POINTS
Select points in frustum.
cvViewSelectionManager::growSelection
void growSelection()
Grow the current selection by one layer.
Definition: cvViewSelectionManager.cpp:188
cvViewSelectionManager::isCompatible
bool isCompatible(SelectionMode mode1, SelectionMode mode2) const
Check if a selection mode is compatible with the current mode.
Definition: cvViewSelectionManager.cpp:314
ccMesh::size
virtual unsigned size() const override
Returns the number of triangles.
Definition: ecvMesh.cpp:2143
SelectionModifier
SelectionModifier
Selection modifiers for combining selections.
Definition: cvSelectionData.h:80
cvSelectionPipeline::invalidateCachedSelection
void invalidateCachedSelection()
Clear selection cache and invalidate cached buffers.
Definition: cvSelectionPipeline.cpp:491
cvSelectionHighlighter::highlightSelection
bool highlightSelection(const vtkSmartPointer< vtkIdTypeArray > &selection, int fieldAssociation, HighlightMode mode=SELECTED)
Highlight selected elements (automatically gets polyData from visualizer)
Definition: cvSelectionHighlighter.cpp:268
cvSelectionData::fieldAssociation
FieldAssociation fieldAssociation() const
Get field association.
Definition: cvSelectionData.h:193
SelectionMode::SELECT_SURFACE_CELLS_POLYGON
@ SELECT_SURFACE_CELLS_POLYGON
Select cells on surface (polygon)
data
GraphType data
Definition: graph_cut.cc:138
cvSelectionPipeline::setPointPickingRadius
void setPointPickingRadius(unsigned int radius)
Point Picking Radius support (ParaView-aligned)
Definition: cvSelectionPipeline.cpp:516
CV_TYPES::MESH
@ MESH
Definition: CVTypes.h:105
CVLog::PrintVerbose
static bool PrintVerbose(const char *format,...)
Prints out a verbose formatted message in console.
Definition: CVLog.cpp:103
cvGenericSelectionTool::SelectionMode
::SelectionMode SelectionMode
Selection mode Now using global SelectionMode enum from cvSelectionTypes.h.
Definition: cvGenericSelectionTool.h:53
signals
#define signals
Definition: PythonPlugin.cpp:26
ccObject::isA
bool isA(CV_CLASS_ENUM type) const
Definition: ecvObject.h:131
cvSelectionPipeline::getLastSelection
vtkSmartPointer< vtkSelection > getLastSelection() const
Get the last selection result.
Definition: cvSelectionPipeline.h:195
CVLog::Print
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
CV_TYPES::POINT_CLOUD
@ POINT_CLOUD
Definition: CVTypes.h:104
cvSelectionHighlighter::SELECTED
@ SELECTED
Definition: cvSelectionHighlighter.h:120
cvSelectionBase::setVisualizer
virtual void setVisualizer(ecvGenericVisualizer3D *viewer)
Set the visualizer instance.
Definition: cvSelectionBase.h:56
cvSelectionPipeline::getPointPickingRadius
unsigned int getPointPickingRadius() const
Get the current point picking radius.
Definition: cvSelectionPipeline.h:271
CVLog.h
cloudViewer::PointCloudTpl::size
unsigned size() const override
Definition: PointCloudTpl.h:38
cvViewSelectionManager::getPointPickingRadius
unsigned int getPointPickingRadius() const
Get the current point picking radius.
Definition: cvViewSelectionManager.cpp:593
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
cvViewSelectionManager::shrinkSelection
void shrinkSelection()
Shrink the current selection by one layer.
Definition: cvViewSelectionManager.cpp:194
vtkSmartPointer< vtkIdTypeArray >
PclUtils
Definition: CustomContextItem.cpp:18
cvViewSelectionManager::getCurrentModifier
SelectionModifier getCurrentModifier() const
Get the current selection modifier.
Definition: cvViewSelectionManager.h:124
cvViewSelectionManager::setGrowSelectionRemoveSeed
void setGrowSelectionRemoveSeed(bool remove)
Grow/Shrink Selection Settings (ParaView-aligned)
Definition: cvViewSelectionManager.cpp:300
SelectionMode::SELECT_SURFACE_CELLS_INTERACTIVELY
@ SELECT_SURFACE_CELLS_INTERACTIVELY
SelectionMode::SHRINK_SELECTION
@ SHRINK_SELECTION
Shrink selection by one layer.
cvSelectionAlgebra
Selection algebra operations.
Definition: cvSelectionAlgebra.h:46
cvViewSelectionManager::getNumberOfLayers
int getNumberOfLayers() const
Get the current number of layers.
Definition: cvViewSelectionManager.h:375
cvSelectionBase::getPCLVis
PclUtils::PCLVis * getPCLVis() const
Get PCLVis instance (for VTK-specific operations)
Definition: cvSelectionBase.cpp:33
cvViewSelectionManager::isSelectionActive
bool isSelectionActive() const
Check if any selection mode is currently active.
Definition: cvViewSelectionManager.cpp:162
cvViewSelectionManager::hasSelection
bool hasSelection() const
Check if there is a current selection.
Definition: cvViewSelectionManager.cpp:510
result
core::Tensor result
Definition: VtkUtils.cpp:76
ccHObject::getClassID
CV_CLASS_ENUM getClassID() const override
Returns class ID.
Definition: ecvHObject.h:232
cvSelectionFilter
Advanced selection filtering system.
Definition: cvSelectionAlgebra.h:271
CVLog::Error
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
qPCL.h
cvViewSelectionManager::getCurrentMode
SelectionMode getCurrentMode() const
Get the current active selection mode.
Definition: cvViewSelectionManager.h:110
cvViewSelectionManager::modifierChanged
void modifierChanged(SelectionModifier modifier)
Emitted when selection modifier changes.
SelectionMode::SELECT_SURFACE_CELLS
@ SELECT_SURFACE_CELLS
Select cells on surface (rectangle)
cvSelectionAlgebra.h
cvViewSelectionManager::getAlgebra
cvSelectionAlgebra * getAlgebra()
Get the selection algebra utility.
Definition: cvViewSelectionManager.h:208
cvSelectionData::isEmpty
bool isEmpty() const
Check if selection is empty.
Definition: cvSelectionData.cpp:114
e
const double * e
Definition: essential_matrix_poly.h:10
SelectionModifier::SELECTION_DEFAULT
@ SELECTION_DEFAULT
Replace selection (default)
cvViewSelectionManager::performAlgebraOperation
cvSelectionData performAlgebraOperation(int op, const cvSelectionData &selectionA, const cvSelectionData &selectionB=cvSelectionData())
Perform algebra operation on selections.
Definition: cvViewSelectionManager.cpp:517
cvSelectionHighlighter::clearHighlights
void clearHighlights()
Clear all highlights.
Definition: cvSelectionHighlighter.cpp:430
cvGenericSelectionTool.h
cvViewSelectionManager.h
cvSelectionPipeline
Selection pipeline abstraction layer.
Definition: cvSelectionPipeline.h:53
cvViewSelectionManager::getGrowSelectionRemoveIntermediateLayers
bool getGrowSelectionRemoveIntermediateLayers() const
Definition: cvViewSelectionManager.h:343
cvViewSelectionManager::getPolyData
vtkPolyData * getPolyData() const
Get the underlying polyData for selection operations.
Definition: cvViewSelectionManager.cpp:538
cvViewSelectionManager
Central manager for all selection operations in the view.
Definition: cvViewSelectionManager.h:52
ecvGenericVisualizer3D
Generic visualizer 3D interface.
Definition: ecvGenericVisualizer3D.h:15
ecvMesh.h
cvSelectionData::count
int count() const
Get number of selected items.
Definition: cvSelectionData.cpp:119
cvViewSelectionManager::getPipeline
cvSelectionPipeline * getPipeline()
Get the selection pipeline.
Definition: cvViewSelectionManager.h:214
cvGenericSelectionTool
Base class for selection tools with picking capabilities.
Definition: cvGenericSelectionTool.h:47
cvSelectionAnnotationManager::setVisualizer
void setVisualizer(PclUtils::PCLVis *viewer)
Set the visualizer.
Definition: cvSelectionAnnotation.cpp:46
cvViewSelectionManager::getGrowSelectionRemoveSeed
bool getGrowSelectionRemoveSeed() const
Definition: cvViewSelectionManager.h:337
cvSelectionPipeline::getPrimaryDataFromSelection
static vtkDataSet * getPrimaryDataFromSelection(vtkSelection *selection)
Get the primary data object from selection.
Definition: cvSelectionPipeline.cpp:768
cvViewSelectionManager::setGrowSelectionRemoveIntermediateLayers
void setGrowSelectionRemoveIntermediateLayers(bool remove)
Set whether to remove intermediate layers when growing selection.
Definition: cvViewSelectionManager.cpp:305
cvViewSelectionManager::modeChanged
void modeChanged(SelectionMode mode)
Emitted when the selection mode changes.
SelectionMode::SELECT_BLOCKS
@ SELECT_BLOCKS
Select blocks (rectangle)
cvViewSelectionManager::getFilter
cvSelectionFilter * getFilter()
Get the selection filter.
Definition: cvViewSelectionManager.h:220
cvSelectionData::fieldTypeString
QString fieldTypeString() const
Get human-readable field type string.
Definition: cvSelectionData.cpp:143
cvViewSelectionManager::setPointPickingRadius
void setPointPickingRadius(unsigned int radius)
Set the point picking radius for single-point selection.
Definition: cvViewSelectionManager.cpp:586
cvSelectionBase::getDataActors
QList< vtkActor * > getDataActors() const
Get all visible data actors from visualizer.
Definition: cvSelectionBase.cpp:117
cvSelectionAlgebra::expandSelection
static cvSelectionData expandSelection(vtkPolyData *polyData, const cvSelectionData &input, int layers, bool removeSeed=false, bool removeIntermediateLayers=false)
Expand selection (ParaView-compatible)
Definition: cvSelectionAlgebra.cpp:462
cvViewSelectionManager::clearSelection
void clearSelection()
Clear all selections.
Definition: cvViewSelectionManager.cpp:175
cvViewSelectionManager::getAnnotations
cvSelectionAnnotationManager * getAnnotations()
Get the annotation manager.
Definition: cvViewSelectionManager.h:228
PCLVis.h
cvSelectionData
Encapsulates selection data without exposing VTK types.
Definition: cvSelectionData.h:136
cvViewSelectionManager::getSourceObject
ccHObject * getSourceObject() const
Get the source object for the current selection.
Definition: cvViewSelectionManager.cpp:636
CVLog::Warning
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
QPCL_ENGINE_LIB_API
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15
cvSelectionBase::getVisualizer
ecvGenericVisualizer3D * getVisualizer() const
Get the visualizer instance.
Definition: cvSelectionBase.h:64
cvViewSelectionManager::isSourceObjectValid
bool isSourceObjectValid() const
Check if the source object is still valid.
Definition: cvViewSelectionManager.cpp:706
cvSelectionHighlighter.h
cvViewSelectionManager::getSourcePointCloud
ccPointCloud * getSourcePointCloud() const
Get the source object as ccPointCloud.
Definition: cvViewSelectionManager.cpp:641
SelectionMode::SELECT_FRUSTUM_CELLS
@ SELECT_FRUSTUM_CELLS
Select cells in frustum.
cvViewSelectionManager::selectionChanged
void selectionChanged()
Emitted when the selection has changed (legacy - for backward compatibility)
cvGenericSelectionTool::m_currentSelection
cvSelectionData m_currentSelection
Current selection (for modifiers)
Definition: cvGenericSelectionTool.h:406
cvSelectionAnnotationManager
Selection annotation manager.
Definition: cvSelectionAnnotation.h:112
cvViewSelectionManager::disableSelection
void disableSelection()
Disable the current selection mode (legacy - state tracking only)
Definition: cvViewSelectionManager.cpp:147
SelectionMode
SelectionMode
Selection modes matching ParaView's SelectionMode enum.
Definition: cvSelectionData.h:36
cvViewSelectionManager::expandSelection
void expandSelection(int layers, bool removeSeed=false, bool removeIntermediateLayers=false)
Expand selection by given number of layers.
Definition: cvViewSelectionManager.cpp:200
ccMesh
Triangular mesh.
Definition: ecvMesh.h:35
polygon
boost::geometry::model::polygon< point_xy > polygon
Definition: TreeIso.cpp:37
cvViewSelectionManager::canShrinkSelection
bool canShrinkSelection() const
Check if the selection can be shrunk.
Definition: cvViewSelectionManager.h:368
SelectionMode::SELECT_FRUSTUM_BLOCKS
@ SELECT_FRUSTUM_BLOCKS
Select blocks in frustum.
cvViewSelectionManager::instance
static cvViewSelectionManager * instance()
Get the singleton instance.
Definition: cvViewSelectionManager.cpp:38
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
ccObject::getName
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
SelectionMode::SELECT_SURFACE_POINTS_INTERACTIVELY
@ SELECT_SURFACE_POINTS_INTERACTIVELY
cvSelectionData::vtkArray
vtkSmartPointer< vtkIdTypeArray > vtkArray() const
Get the underlying VTK array (for internal use only)
Definition: cvSelectionData.h:204
cvSelectionData.h
cvViewSelectionManager::setCurrentSelection
void setCurrentSelection(const cvSelectionData &selectionData, bool resetLayers=true)
Set the current selection data.
Definition: cvViewSelectionManager.cpp:370
cvViewSelectionManager::clearCurrentSelection
void clearCurrentSelection()
Clear the current selection data (prevents crashes from stale references)
Definition: cvViewSelectionManager.cpp:601
SelectionMode::CLEAR_SELECTION
@ CLEAR_SELECTION
Clear current selection.
cvSelectionAnnotation.h
cvGenericSelectionTool::SelectionModifier
::SelectionModifier SelectionModifier
Selection modifier (for multi-selection) Now using global SelectionModifier enum from cvSelectionType...
Definition: cvGenericSelectionTool.h:59
SelectionMode::SELECT_SURFACE_POINTS_POLYGON
@ SELECT_SURFACE_POINTS_POLYGON
Select points on surface (polygon)
SelectionMode::SELECT_SURFACE_POINTS
@ SELECT_SURFACE_POINTS
Select points on surface (rectangle)
SelectionMode::GROW_SELECTION
@ GROW_SELECTION
Expand selection by one layer.
cvViewSelectionManager::getSourceMesh
ccMesh * getSourceMesh() const
Get the source object as ccMesh.
Definition: cvViewSelectionManager.cpp:675
ecvHObject.h
cvViewSelectionManager::setSourceObject
void setSourceObject(ccHObject *obj)
Set the source object for selection operations.
Definition: cvViewSelectionManager.cpp:631
cvViewSelectionManager::enableSelection
void enableSelection(SelectionMode mode)
Enable a selection mode (legacy - state tracking only)
Definition: cvViewSelectionManager.cpp:121
cvSelectionHighlighter
Helper class for highlighting selected elements in the visualizer.
Definition: cvSelectionHighlighter.h:101
ecvPointCloud.h
cvSelectionAlgebra::Operation
Operation
Algebra operations Using enum class to avoid macro conflicts (e.g., DIFFERENCE may be defined as a ma...
Definition: cvSelectionAlgebra.h:57
cvSelectionAlgebra::performOperation
static cvSelectionData performOperation(Operation op, const cvSelectionData &a, const cvSelectionData &b, vtkPolyData *polyData=nullptr)
Perform algebra operation on two selections.
Definition: cvSelectionAlgebra.cpp:211
cvViewSelectionManager::notifyDataUpdated
void notifyDataUpdated()
Notify that scene data has been updated.
Definition: cvViewSelectionManager.cpp:577
cvViewSelectionManager::setVisualizer
void setVisualizer(ecvGenericVisualizer3D *viewer) override
Set the visualizer for all selection operations.
Definition: cvViewSelectionManager.cpp:89
cvSelectionPipeline.h