VTK
vtkChartSelectionHelper Namespace Reference

Functions

static void MakeSelection (vtkAnnotationLink *link, vtkIdTypeArray *selectionIds, vtkPlot *plot)
 
static void MinusSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection)
 
static void AddSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection)
 
static void ToggleSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection)
 
static void BuildSelection (vtkAnnotationLink *link, int selectionMode, vtkIdTypeArray *plotSelection, vtkIdTypeArray *oldSelection, vtkPlot *plot)
 
static int GetMouseSelectionMode (const vtkContextMouseEvent &mouse, int selectionMode)
 

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 51 of file vtkChartSelectionHelper.h.

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

Subtract the supplied selection from the oldSelection.

Definition at line 99 of file vtkChartSelectionHelper.h.

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

Add the supplied selection from the oldSelection.

Definition at line 144 of file vtkChartSelectionHelper.h.

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

Toggle the supplied selection from the oldSelection.

Definition at line 172 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 222 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 259 of file vtkChartSelectionHelper.h.