VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
Chart
vtkQtChartScene.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtChartScene.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
20
23
24
#ifndef _vtkQtChartScene_h
25
#define _vtkQtChartScene_h
26
27
#include "vtkQtChartExport.h"
28
#include <QGraphicsScene>
29
30
class
vtkQtChartMouseBox
;
31
32
37
class
VTKQTCHART_EXPORT
vtkQtChartScene
:
public
QGraphicsScene
38
{
39
public
:
43
vtkQtChartScene
(QObject *parent=0);
44
virtual
~vtkQtChartScene
() {}
45
49
void
setMouseBox
(
vtkQtChartMouseBox
*box) {this->
Box
= box;}
50
51
protected
:
59
virtual
void
drawItems(QPainter *painter,
int
numItems,
60
QGraphicsItem **items,
const
QStyleOptionGraphicsItem *options,
61
QWidget *widget=0);
62
67
virtual
void
drawForeground(QPainter *painter,
const
QRectF &area);
68
69
private
:
70
vtkQtChartMouseBox
*
Box
;
71
};
72
73
#endif
Generated on Thu Mar 13 2014 08:10:11 for VTK by
1.8.1.2