|
VTK
|
The vtkQtChartZoomViewport class stores the position and zoom factors for a viewport. More...
#include <vtkQtChartZoomHistory.h>
Public Member Functions | |
| vtkQtChartZoomViewport () | |
| ~vtkQtChartZoomViewport () | |
| void | setPosition (float x, float y) |
| Sets the viewport position coordinates. | |
| void | setZoom (float x, float y) |
| Sets the zoom percentages. | |
| float | getXPosition () const |
| Gets the x coordinate of the viewport. | |
| float | getYPosition () const |
| Gets the y coordinate of the viewport. | |
| float | getXZoom () const |
| Gets the x-axis zoom factor. | |
| float | getYZoom () const |
| Gets the y-axis zoom factor. | |
The vtkQtChartZoomViewport class stores the position and zoom factors for a viewport.
The position stores the top-left corner of the viewport in content coordinates. The zoom factors are stored as percentages.
Definition at line 40 of file vtkQtChartZoomHistory.h.
| vtkQtChartZoomViewport::vtkQtChartZoomViewport | ( | ) |
| vtkQtChartZoomViewport::~vtkQtChartZoomViewport | ( | ) | [inline] |
Definition at line 44 of file vtkQtChartZoomHistory.h.
Sets the viewport position coordinates.
| x | The x coordinate. |
| y | The y coordinate. |
Sets the zoom percentages.
| x | The x-axis zoom factor. |
| y | The y-axis zoom factor. |
| float vtkQtChartZoomViewport::getXPosition | ( | ) | const [inline] |
Gets the x coordinate of the viewport.
Definition at line 67 of file vtkQtChartZoomHistory.h.
| float vtkQtChartZoomViewport::getYPosition | ( | ) | const [inline] |
Gets the y coordinate of the viewport.
Definition at line 74 of file vtkQtChartZoomHistory.h.
| float vtkQtChartZoomViewport::getXZoom | ( | ) | const [inline] |
Gets the x-axis zoom factor.
Definition at line 81 of file vtkQtChartZoomHistory.h.
| float vtkQtChartZoomViewport::getYZoom | ( | ) | const [inline] |
Gets the y-axis zoom factor.
Definition at line 88 of file vtkQtChartZoomHistory.h.
1.7.5.1