vtkQtChartInteractorSetup Class Reference

#include <vtkQtChartInteractorSetup.h>

List of all members.


Detailed Description

The vtkQtChartInteractorSetup class is used to set up the chart interactor.

Definition at line 38 of file vtkQtChartInteractorSetup.h.


Public Member Functions

 vtkQtChartInteractorSetup ()
 ~vtkQtChartInteractorSetup ()

Static Public Member Functions

static vtkQtChartMouseSelectioncreateDefault (vtkQtChartArea *area)
 Creates the default interactor setup for the given chart.
static vtkQtChartMouseSelectioncreateSplitZoom (vtkQtChartArea *area)
 Creates an interactor with the zoom functionality on separate buttons.

Constructor & Destructor Documentation

vtkQtChartInteractorSetup::vtkQtChartInteractorSetup (  )  [inline]

Definition at line 41 of file vtkQtChartInteractorSetup.h.

vtkQtChartInteractorSetup::~vtkQtChartInteractorSetup (  )  [inline]

Definition at line 42 of file vtkQtChartInteractorSetup.h.


Member Function Documentation

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.

  • No modifiers: regular drag zoom.
  • Control: x-only drag zoom.
  • Alt: y-only drag zoom.
  • Shift: zoom box.
The interactor is created as a child of the chart area. The mouse functions are created as children of the interactor.

Parameters:
area The chart to add the interactor to.
Returns:
A pointer to the mouse selection handler.

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.

Parameters:
area The chart to add the interactor to.
Returns:
A pointer to the mouse selection handler.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:28:16 2009 for VTK by  doxygen 1.5.6