12 #include <QtCore/QMap>
13 #include <QtCore/QObject>
99 void disableSelection();
104 bool isSelectionActive()
const;
131 void clearSelection();
139 void clearCurrentSelection();
146 void growSelection();
153 void shrinkSelection();
179 bool resetLayers =
true);
189 int fieldAssociation,
190 bool resetLayers =
true);
196 bool hasSelection()
const;
262 vtkPolyData* getPolyData()
const;
291 ccMesh* getSourceMesh()
const;
297 bool isSourceObjectValid()
const;
308 void notifyDataUpdated();
318 void setPointPickingRadius(
unsigned int radius);
323 unsigned int getPointPickingRadius()
const;
336 void setGrowSelectionRemoveSeed(
bool remove);
342 void setGrowSelectionRemoveIntermediateLayers(
bool remove);
344 return m_growRemoveIntermediateLayers;
356 void expandSelection(
int layers,
357 bool removeSeed =
false,
358 bool removeIntermediateLayers =
false);
453 int m_currentSelectionFieldAssociation;
468 bool m_growRemoveSeed =
false;
469 bool m_growRemoveIntermediateLayers =
false;
473 int m_numberOfLayers = 0;
boost::geometry::model::polygon< point_xy > polygon
Hierarchical CLOUDVIEWER Object.
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Selection algebra operations.
Selection annotation manager.
virtual void setVisualizer(ecvGenericVisualizer3D *viewer)
Set the visualizer instance.
Encapsulates selection data without exposing VTK types.
Advanced selection filtering system.
Helper class for highlighting selected elements in the visualizer.
Selection pipeline abstraction layer.
Central manager for all selection operations in the view.
cvSelectionFilter * getFilter()
Get the selection filter.
bool canShrinkSelection() const
Check if the selection can be shrunk.
cvSelectionAlgebra * getAlgebra()
Get the selection algebra utility.
void customBoxSelected(int region[4])
Emitted for custom box selection.
bool getGrowSelectionRemoveSeed() const
void customPolygonSelected(vtkIntArray *polygon)
Emitted for custom polygon selection.
void modeChanged(SelectionMode mode)
Emitted when the selection mode changes.
void modifierChanged(SelectionModifier modifier)
Emitted when selection modifier changes.
cvSelectionPipeline * getPipeline()
Get the selection pipeline.
int getNumberOfLayers() const
Get the current number of layers.
void selectionChanged(const cvSelectionData &selectionData)
Emitted when the selection has changed (VTK-independent)
void selectionCompleted()
Emitted when a selection operation is completed.
bool getGrowSelectionRemoveIntermediateLayers() const
void customBoxSelected(int xmin, int ymin, int xmax, int ymax)
SelectionModifier getCurrentModifier() const
Get the current selection modifier.
void zoomToBoxRequested(int xmin, int ymin, int xmax, int ymax)
void zoomToBoxRequested(int region[4])
Emitted for zoom to box.
cvSelectionAnnotationManager * getAnnotations()
Get the annotation manager.
cvSelectionHighlighter * getHighlighter()
Get the shared highlighter.
SelectionMode getCurrentMode() const
Get the current active selection mode.
void selectionChanged()
Emitted when the selection has changed (legacy - for backward compatibility)
Generic visualizer 3D interface.
SelectionMode
Selection modes matching ParaView's SelectionMode enum.
SelectionModifier
Selection modifiers for combining selections.
#define QPCL_ENGINE_LIB_API