VTK
|
The vtkQtChartKeyboardZoom class zooms the chart contents. More...
#include <vtkQtChartKeyboardZoom.h>
Public Types | |
enum | ZoomFlags { ZoomBoth, ZoomXOnly, ZoomYOnly } |
enum | ZoomMethod { ZoomIn, ZoomOut } |
Public Member Functions | |
vtkQtChartKeyboardZoom (QObject *parent=0) | |
Creates a chart keyboard zoom instance. More... | |
virtual | ~vtkQtChartKeyboardZoom () |
virtual void | activate () |
Zooms the chart contents according to the method and flags. More... | |
![]() | |
vtkQtChartKeyboardFunction (QObject *parent=0) | |
Creates a chart keyboard function instance. More... | |
virtual | ~vtkQtChartKeyboardFunction () |
vtkQtChartArea * | getChartArea () const |
Gets the chart area for the keyboard function. More... | |
void | setChartArea (vtkQtChartArea *chart) |
Sets the chart area for the keyboard function. More... | |
Protected Member Functions | |
void | setZoomFlags (ZoomFlags flags) |
Sets the zoom flags to use when activated. More... | |
void | setZoomMethod (ZoomMethod method) |
Sets the zoom method to use when activated. More... | |
Additional Inherited Members | |
![]() | |
![]() | |
vtkQtChartArea * | Chart |
Stores the chart area. More... | |
The vtkQtChartKeyboardZoom class zooms the chart contents.
Definition at line 35 of file vtkQtChartKeyboardZoom.h.
Enumerator | |
---|---|
ZoomBoth |
Zoom in both directions. |
ZoomXOnly |
Zoom only in the x-direction. |
ZoomYOnly |
Zoom only in the y-direction. |
Definition at line 39 of file vtkQtChartKeyboardZoom.h.
Enumerator | |
---|---|
ZoomIn |
Zoom in. |
ZoomOut |
Zoom out. |
Definition at line 46 of file vtkQtChartKeyboardZoom.h.
vtkQtChartKeyboardZoom::vtkQtChartKeyboardZoom | ( | QObject * | parent = 0 | ) |
Creates a chart keyboard zoom instance.
parent | The parent object. |
|
inlinevirtual |
Definition at line 57 of file vtkQtChartKeyboardZoom.h.
|
virtual |
Zooms the chart contents according to the method and flags.
The default is to zoom in on the chart in both directions.
Reimplemented from vtkQtChartKeyboardFunction.
|
inlineprotected |
Sets the zoom flags to use when activated.
flags | The zoom flags to use. |
Definition at line 69 of file vtkQtChartKeyboardZoom.h.
|
inlineprotected |
Sets the zoom method to use when activated.
method | The zoom method to use. |
Definition at line 74 of file vtkQtChartKeyboardZoom.h.