The vtkQtChartInteractorSetup class is used to set up the chart interactor. More...
#include <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. |
The vtkQtChartInteractorSetup class is used to set up the chart interactor.
Definition at line 38 of file vtkQtChartInteractorSetup.h.
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.
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. |
Referenced by QmitkVtkHistogramWidget::QmitkVtkHistogramWidget(), and QmitkVtkLineProfileWidget::QmitkVtkLineProfileWidget().
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. |