vtkQtChartScene Class Reference

#include <vtkQtChartScene.h>

Collaboration diagram for vtkQtChartScene:

Collaboration graph
[legend]

List of all members.


Detailed Description

The vtkQtChartScene class is used to draw the mouse box and make it possible for chart layers to clip correctly.

Definition at line 37 of file vtkQtChartScene.h.


Public Member Functions

 vtkQtChartScene (QObject *parent=0)
 Creates a chart scene.
virtual ~vtkQtChartScene ()
void setMouseBox (vtkQtChartMouseBox *box)
 Sets the chart mouse box.

Protected Member Functions

virtual void drawItems (QPainter *painter, int numItems, QGraphicsItem **items, const QStyleOptionGraphicsItem *options, QWidget *widget=0)
 Allows the chart layers to clip their objects.
virtual void drawForeground (QPainter *painter, const QRectF &area)
 Draws the chart mouse box in the foreground.

Constructor & Destructor Documentation

vtkQtChartScene::vtkQtChartScene ( QObject *  parent = 0  ) 

Creates a chart scene.

Parameters:
parent The parent object.

virtual vtkQtChartScene::~vtkQtChartScene (  )  [inline, virtual]

Definition at line 44 of file vtkQtChartScene.h.


Member Function Documentation

void vtkQtChartScene::setMouseBox ( vtkQtChartMouseBox box  )  [inline]

Sets the chart mouse box.

Parameters:
box The chart mouse box.

Definition at line 49 of file vtkQtChartScene.h.

virtual void vtkQtChartScene::drawItems ( QPainter *  painter,
int  numItems,
QGraphicsItem **  items,
const QStyleOptionGraphicsItem *  options,
QWidget *  widget = 0 
) [protected, virtual]

Allows the chart layers to clip their objects.

Parameters:
painter The painter to use.
numItems The length of the items array.
items The list of graphics items to draw.
options The graphics item painting options.
widget The widget being painted.

virtual void vtkQtChartScene::drawForeground ( QPainter *  painter,
const QRectF &  area 
) [protected, virtual]

Draws the chart mouse box in the foreground.

Parameters:
painter The painter to use.
area The area to update.


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

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