vtkQtChartZoomViewport Class Reference

#include <vtkQtChartZoomHistory.h>

List of all members.


Detailed Description

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.


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.

Constructor & Destructor Documentation

vtkQtChartZoomViewport::vtkQtChartZoomViewport (  ) 

vtkQtChartZoomViewport::~vtkQtChartZoomViewport (  )  [inline]

Definition at line 44 of file vtkQtChartZoomHistory.h.


Member Function Documentation

void vtkQtChartZoomViewport::setPosition ( float  x,
float  y 
)

Sets the viewport position coordinates.

Parameters:
x The x coordinate.
y The y coordinate.
See also:
vtkQtChartZoomViewport::getXPosition(), vtkQtChartZoomViewport::getYPosition()

void vtkQtChartZoomViewport::setZoom ( float  x,
float  y 
)

Sets the zoom percentages.

Parameters:
x The x-axis zoom factor.
y The y-axis zoom factor.
See also:
vtkQtChartZoomViewport::getXZoom(), vtkQtChartZoomViewport::getYZoom()

float vtkQtChartZoomViewport::getXPosition (  )  const [inline]

Gets the x coordinate of the viewport.

Returns:
The x coordinate of the viewport.
See also:
vtkQtChartZoomViewport::setPosition(float, float)

Definition at line 67 of file vtkQtChartZoomHistory.h.

float vtkQtChartZoomViewport::getYPosition (  )  const [inline]

Gets the y coordinate of the viewport.

Returns:
The y coordinate of the viewport.
See also:
vtkQtChartZoomViewport::setPosition(float, float)

Definition at line 74 of file vtkQtChartZoomHistory.h.

float vtkQtChartZoomViewport::getXZoom (  )  const [inline]

Gets the x-axis zoom factor.

Returns:
The x-axis zoom factor.
See also:
vtkQtChartZoomViewport::setZoom(float, float)

Definition at line 81 of file vtkQtChartZoomHistory.h.

float vtkQtChartZoomViewport::getYZoom (  )  const [inline]

Gets the y-axis zoom factor.

Returns:
The y-axis zoom factor.
See also:
vtkQtChartZoomViewport::setZoom(float, float)

Definition at line 88 of file vtkQtChartZoomHistory.h.


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

Generated on Mon Sep 27 18:44:55 2010 for VTK by  doxygen 1.5.6