VTK
Functions
vtkChartSelectionHelper Namespace Reference

helper functions for making selections in charts. More...

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)
 

Detailed Description

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.

Function Documentation

◆ MakeSelection()

static void vtkChartSelectionHelper::MakeSelection ( vtkAnnotationLink *  link,
vtkIdTypeArray *  selectionIds,
vtkPlot *  plot 
)
static

Definition at line 51 of file vtkChartSelectionHelper.h.

◆ MinusSelection()

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

Definition at line 99 of file vtkChartSelectionHelper.h.

◆ AddSelection()

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

Definition at line 144 of file vtkChartSelectionHelper.h.

◆ ToggleSelection()

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

Definition at line 172 of file vtkChartSelectionHelper.h.

◆ BuildSelection()

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

Definition at line 222 of file vtkChartSelectionHelper.h.

◆ GetMouseSelectionMode()

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

Definition at line 259 of file vtkChartSelectionHelper.h.