pqRenderViewSelectionReaction handles various selection modes available on RenderViews.
More...
#include <pqRenderViewSelectionReaction.h>
|
enum | SelectionMode {
SELECT_SURFACE_CELLS,
SELECT_SURFACE_POINTS,
SELECT_FRUSTUM_CELLS,
SELECT_FRUSTUM_POINTS,
SELECT_SURFACE_CELLS_POLYGON,
SELECT_SURFACE_POINTS_POLYGON,
SELECT_BLOCKS,
SELECT_CUSTOM_BOX,
SELECT_CUSTOM_POLYGON,
ZOOM_TO_BOX,
CLEAR_SELECTION,
SELECT_SURFACE_CELLS_INTERACTIVELY,
SELECT_SURFACE_POINTS_INTERACTIVELY,
SELECT_SURFACE_POINTS_TOOLTIP
} |
|
pqRenderViewSelectionReaction handles various selection modes available on RenderViews.
Simply create multiple instances of pqRenderViewSelectionReaction to handle selection modes for that RenderView. pqRenderViewSelectionReaction uses internal static members to ensure that at most 1 view (and 1 type of selection) is in selection-mode at any given time.
Definition at line 54 of file pqRenderViewSelectionReaction.h.
§ SelectionMode
Enumerator |
---|
SELECT_SURFACE_CELLS | |
SELECT_SURFACE_POINTS | |
SELECT_FRUSTUM_CELLS | |
SELECT_FRUSTUM_POINTS | |
SELECT_SURFACE_CELLS_POLYGON | |
SELECT_SURFACE_POINTS_POLYGON | |
SELECT_BLOCKS | |
SELECT_CUSTOM_BOX | |
SELECT_CUSTOM_POLYGON | |
ZOOM_TO_BOX | |
CLEAR_SELECTION | |
SELECT_SURFACE_CELLS_INTERACTIVELY | |
SELECT_SURFACE_POINTS_INTERACTIVELY | |
SELECT_SURFACE_POINTS_TOOLTIP | |
Definition at line 60 of file pqRenderViewSelectionReaction.h.
§ pqRenderViewSelectionReaction()
pqRenderViewSelectionReaction::pqRenderViewSelectionReaction |
( |
QAction * |
parentAction, |
|
|
pqRenderView * |
view, |
|
|
SelectionMode |
mode, |
|
|
QActionGroup * |
modifierGroup = NULL |
|
) |
| |
If view
is NULL, this reaction will track the active-view maintained by pqActiveObjects.
§ ~pqRenderViewSelectionReaction()
virtual pqRenderViewSelectionReaction::~pqRenderViewSelectionReaction |
( |
| ) |
|
|
virtual |
§ selectedCustomBox [1/2]
void pqRenderViewSelectionReaction::selectedCustomBox |
( |
int |
xmin, |
|
|
int |
ymin, |
|
|
int |
xmax, |
|
|
int |
ymax |
|
) |
| |
|
signal |
§ selectedCustomBox [2/2]
void pqRenderViewSelectionReaction::selectedCustomBox |
( |
const int |
region[4] | ) |
|
|
signal |
§ selectedCustomPolygon
void pqRenderViewSelectionReaction::selectedCustomPolygon |
( |
vtkIntArray * |
polygon | ) |
|
|
signal |
The documentation for this class was generated from the following file: