VTK
|
helper functions for making selections in charts. More...
Functions | |
static void | MakeSelection (vtkAnnotationLink *link, vtkIdTypeArray *selectionIds, vtkPlot *plot) |
Populate the annotation link with the supplied selectionIds array, and set the appropriate node properties for a standard row based chart selection. More... | |
static void | MinusSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection) |
Subtract the supplied selection from the oldSelection. More... | |
static void | AddSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection) |
Add the supplied selection from the oldSelection. More... | |
static void | ToggleSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection) |
Toggle the supplied selection from the oldSelection. More... | |
static void | BuildSelection (vtkAnnotationLink *link, int selectionMode, vtkIdTypeArray *plotSelection, vtkIdTypeArray *oldSelection, vtkPlot *plot) |
Build a selection based on the supplied selectionMode using the new plotSelection and combining it with the oldSelection. More... | |
static int | GetMouseSelectionMode (const vtkContextMouseEvent &mouse, int selectionMode) |
Combine the SelectionMode with any mouse modifiers to get an effective selection mode for this click event. More... | |
helper functions for making selections in charts.
This contains several inline methods intended for use inside chart implementations to make chart selections easier. This is intended for internal use and the API should not be considered stable.
|
static |
Populate the annotation link with the supplied selectionIds array, and set the appropriate node properties for a standard row based chart selection.
Definition at line 51 of file vtkChartSelectionHelper.h.
|
static |
Subtract the supplied selection from the oldSelection.
Definition at line 99 of file vtkChartSelectionHelper.h.
|
static |
Add the supplied selection from the oldSelection.
Definition at line 144 of file vtkChartSelectionHelper.h.
|
static |
Toggle the supplied selection from the oldSelection.
Definition at line 172 of file vtkChartSelectionHelper.h.
|
static |
Build a selection based on the supplied selectionMode using the new plotSelection and combining it with the oldSelection.
If link is not nullptr then the resulting selection will be set on the link.
Definition at line 222 of file vtkChartSelectionHelper.h.
|
static |
Combine the SelectionMode with any mouse modifiers to get an effective selection mode for this click event.
Definition at line 259 of file vtkChartSelectionHelper.h.