VTK
Functions
vtkChartSelectionHelper Namespace Reference

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 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 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 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...
 

Function Documentation

static void vtkChartSelectionHelper::MakeSelection ( vtkAnnotationLink link,
vtkIdTypeArray selectionIds,
vtkPlot plot 
)
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 52 of file vtkChartSelectionHelper.h.

static void vtkChartSelectionHelper::MinusSelection ( vtkIdTypeArray selection,
vtkIdTypeArray oldSelection 
)
static

Subtract the supplied selection from the oldSelection.

Definition at line 101 of file vtkChartSelectionHelper.h.

static void vtkChartSelectionHelper::AddSelection ( vtkIdTypeArray selection,
vtkIdTypeArray oldSelection 
)
static

Add the supplied selection from the oldSelection.

Definition at line 148 of file vtkChartSelectionHelper.h.

static void vtkChartSelectionHelper::ToggleSelection ( vtkIdTypeArray selection,
vtkIdTypeArray oldSelection 
)
static

Toggle the supplied selection from the oldSelection.

Definition at line 178 of file vtkChartSelectionHelper.h.

static void vtkChartSelectionHelper::BuildSelection ( vtkAnnotationLink link,
int  selectionMode,
vtkIdTypeArray plotSelection,
vtkIdTypeArray oldSelection,
vtkPlot plot 
)
static

Build a selection based on the supplied selectionMode using the new plotSelection and combining it with the oldSelection.

If link is not NULL then the resulting selection will be set on the link.

Definition at line 229 of file vtkChartSelectionHelper.h.

static int vtkChartSelectionHelper::GetMouseSelectionMode ( const vtkContextMouseEvent mouse,
int  selectionMode 
)
static

Combine the SelectionMode with any mouse modifiers to get an effective selection mode for this click event.

Definition at line 267 of file vtkChartSelectionHelper.h.