VTK
Namespaces | Functions
vtkChartSelectionHelper.h File Reference
#include "vtkNew.h"
#include "vtkSmartPointer.h"
#include "vtkAnnotationLink.h"
#include "vtkSelection.h"
#include "vtkSelectionNode.h"
#include "vtkIdTypeArray.h"
#include "vtkContextScene.h"
#include "vtkContextMouseEvent.h"
#include "vtkInformation.h"
#include "vtkPlot.h"
#include "vtkTable.h"
#include <vector>
#include <algorithm>
Include dependency graph for vtkChartSelectionHelper.h:

Go to the source code of this file.

Namespaces

 vtkChartSelectionHelper
 helper functions for making selections in charts.
 

Functions

static void vtkChartSelectionHelper::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 vtkChartSelectionHelper::MinusSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection)
 Subtract the supplied selection from the oldSelection. More...
 
static void vtkChartSelectionHelper::AddSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection)
 Add the supplied selection from the oldSelection. More...
 
static void vtkChartSelectionHelper::ToggleSelection (vtkIdTypeArray *selection, vtkIdTypeArray *oldSelection)
 Toggle the supplied selection from the oldSelection. More...
 
static void vtkChartSelectionHelper::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 vtkChartSelectionHelper::GetMouseSelectionMode (const vtkContextMouseEvent &mouse, int selectionMode)
 Combine the SelectionMode with any mouse modifiers to get an effective selection mode for this click event. More...