#include <vtkQtChartInteractorSetup.h>
Definition at line 38 of file vtkQtChartInteractorSetup.h.
Public Member Functions | |
vtkQtChartInteractorSetup () | |
~vtkQtChartInteractorSetup () | |
Static Public Member Functions | |
static vtkQtChartMouseSelection * | createDefault (vtkQtChartArea *area) |
Creates the default interactor setup for the given chart. | |
static vtkQtChartMouseSelection * | createSplitZoom (vtkQtChartArea *area) |
Creates an interactor with the zoom functionality on separate buttons. |
vtkQtChartInteractorSetup::vtkQtChartInteractorSetup | ( | ) | [inline] |
Definition at line 41 of file vtkQtChartInteractorSetup.h.
vtkQtChartInteractorSetup::~vtkQtChartInteractorSetup | ( | ) | [inline] |
Definition at line 42 of file vtkQtChartInteractorSetup.h.
static vtkQtChartMouseSelection* vtkQtChartInteractorSetup::createDefault | ( | vtkQtChartArea * | area | ) | [static] |
Creates the default interactor setup for the given chart.
Selection is set on the left mouse button. All the zoom functionality is added to the middle button. The panning capability is added to the right button. The separate zooming functions are accessed using keyboard modifiers.
area | The chart to add the interactor to. |
static vtkQtChartMouseSelection* vtkQtChartInteractorSetup::createSplitZoom | ( | vtkQtChartArea * | area | ) | [static] |
Creates an interactor with the zoom functionality on separate buttons.
The panning capability is added to the left button along with selection. The left button interaction mode must be set to access the different functionality. The zoom box function is set on the right button. The rest of the zoom capability is added to the middle button. X-only and y-only zooms are accessed using the control and alt modifiers respectively. If no modifiers are pressed, regular drag zoom is activated.
The interactor is created as a child of the chart area. The mouse functions are created as children of the interactor.
area | The chart to add the interactor to. |