Public Member Functions | Protected Member Functions

vtkQtChartScene Class Reference

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

#include <vtkQtChartScene.h>

Collaboration diagram for vtkQtChartScene:
Collaboration graph
[legend]

List of all members.

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.

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.


Constructor & Destructor Documentation

vtkQtChartScene::vtkQtChartScene ( QObject *  parent = 0 )

Creates a chart scene.

Parameters:
parentThe parent object.
virtual vtkQtChartScene::~vtkQtChartScene (  ) [inline, virtual]

Definition at line 44 of file vtkQtChartScene.h.

{}

Member Function Documentation

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

Draws the chart mouse box in the foreground.

Parameters:
painterThe painter to use.
areaThe area to update.
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:
painterThe painter to use.
numItemsThe length of the items array.
itemsThe list of graphics items to draw.
optionsThe graphics item painting options.
widgetThe widget being painted.
void vtkQtChartScene::setMouseBox ( vtkQtChartMouseBox box ) [inline]

Sets the chart mouse box.

Parameters:
boxThe chart mouse box.

Definition at line 49 of file vtkQtChartScene.h.

{this->Box = box;}

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines