ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cvSelectionData.h File Reference
#include "qPCL.h"
#include <QtCore/QHashFunctions>
#include <QtCore/QSharedPointer>
#include <QtCore/QString>
#include <QtCore/QVector>
#include <vtkSmartPointer.h>
Include dependency graph for cvSelectionData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cvActorSelectionInfo
 Information about a selected actor/representation. More...
 
class  cvSelectionData
 Encapsulates selection data without exposing VTK types. More...
 

Typedefs

using cvSelectionDataPtr = QSharedPointer< cvSelectionData >
 Shared pointer to selection data. More...
 

Enumerations

enum class  SelectionMode {
  SELECT_SURFACE_CELLS , SELECT_SURFACE_POINTS , SELECT_SURFACE_CELLS_POLYGON , SELECT_SURFACE_POINTS_POLYGON ,
  SELECT_FRUSTUM_CELLS , SELECT_FRUSTUM_POINTS , SELECT_BLOCKS , SELECT_FRUSTUM_BLOCKS ,
  SELECT_SURFACE_CELLS_INTERACTIVELY , SELECT_SURFACE_POINTS_INTERACTIVELY , SELECT_SURFACE_CELLDATA_INTERACTIVELY , SELECT_SURFACE_POINTDATA_INTERACTIVELY ,
  HOVER_CELLS_TOOLTIP , HOVER_POINTS_TOOLTIP , SELECT_CUSTOM_POLYGON , ZOOM_TO_BOX ,
  CLEAR_SELECTION , GROW_SELECTION , SHRINK_SELECTION
}
 Selection modes matching ParaView's SelectionMode enum. More...
 
enum class  SelectionModifier { SELECTION_DEFAULT , SELECTION_ADDITION , SELECTION_SUBTRACTION , SELECTION_TOGGLE }
 Selection modifiers for combining selections. More...
 

Functions

uint qHash (SelectionMode key, uint seed=0) noexcept
 
uint qHash (SelectionModifier key, uint seed=0) noexcept
 

Typedef Documentation

◆ cvSelectionDataPtr

using cvSelectionDataPtr = QSharedPointer<cvSelectionData>

Shared pointer to selection data.

Definition at line 304 of file cvSelectionData.h.

Enumeration Type Documentation

◆ SelectionMode

enum SelectionMode
strong

Selection modes matching ParaView's SelectionMode enum.

Reference: pqRenderViewSelectionReaction.h, lines 36-58

Enumerator
SELECT_SURFACE_CELLS 

Select cells on surface (rectangle)

SELECT_SURFACE_POINTS 

Select points on surface (rectangle)

SELECT_SURFACE_CELLS_POLYGON 

Select cells on surface (polygon)

SELECT_SURFACE_POINTS_POLYGON 

Select points on surface (polygon)

SELECT_FRUSTUM_CELLS 

Select cells in frustum.

SELECT_FRUSTUM_POINTS 

Select points in frustum.

SELECT_BLOCKS 

Select blocks (rectangle)

SELECT_FRUSTUM_BLOCKS 

Select blocks in frustum.

SELECT_SURFACE_CELLS_INTERACTIVELY 

Hover highlight + click select (cells)

SELECT_SURFACE_POINTS_INTERACTIVELY 

Hover highlight + click select (points)

SELECT_SURFACE_CELLDATA_INTERACTIVELY 

Hover highlight cell data.

SELECT_SURFACE_POINTDATA_INTERACTIVELY 

Hover highlight point data.

HOVER_CELLS_TOOLTIP 

Show cell data tooltip on hover (read-only)

HOVER_POINTS_TOOLTIP 

Show point data tooltip on hover (read-only)

SELECT_CUSTOM_POLYGON 

Custom polygon selection (signal only)

ZOOM_TO_BOX 

Zoom to box region.

CLEAR_SELECTION 

Clear current selection.

GROW_SELECTION 

Expand selection by one layer.

SHRINK_SELECTION 

Shrink selection by one layer.

Definition at line 36 of file cvSelectionData.h.

◆ SelectionModifier

enum SelectionModifier
strong

Selection modifiers for combining selections.

Reference: pqView.h, PV_SELECTION_* enums

Enumerator
SELECTION_DEFAULT 

Replace selection (default)

SELECTION_ADDITION 

Add to selection (Ctrl)

SELECTION_SUBTRACTION 

Subtract from selection (Shift)

SELECTION_TOGGLE 

Toggle selection (Ctrl+Shift)

Definition at line 80 of file cvSelectionData.h.

Function Documentation

◆ qHash() [1/2]

uint qHash ( SelectionMode  key,
uint  seed = 0 
)
inlinenoexcept

Definition at line 88 of file cvSelectionData.h.

Referenced by qHash().

◆ qHash() [2/2]

uint qHash ( SelectionModifier  key,
uint  seed = 0 
)
inlinenoexcept

Definition at line 94 of file cvSelectionData.h.

References qHash().