VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
Chart
vtkQtChartQuad.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtChartQuad.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 _vtkQtChartQuad_h
25
#define _vtkQtChartQuad_h
26
27
#include "vtkQtChartExport.h"
28
#include "
vtkQtChartShape.h
"
29
30
class
QPolygonF;
31
32
37
class
VTKQTCHART_EXPORT
vtkQtChartQuad
:
public
vtkQtChartShape
38
{
39
public
:
40
vtkQtChartQuad
();
41
46
vtkQtChartQuad
(
int
series,
int
index
);
47
vtkQtChartQuad
(
const
vtkQtChartQuad
&other);
48
virtual
~
vtkQtChartQuad
();
49
50
vtkQtChartQuad
&
operator=
(
const
vtkQtChartQuad
&other);
51
52
virtual
void
getBounds
(QRectF &bounds)
const
;
53
virtual
bool
contains
(
const
QPointF &
point
)
const
;
54
virtual
bool
intersects
(
const
QRectF &area)
const
;
55
63
virtual
void
setPolygon
(
const
QPolygonF &polygon) {this->setPoints(polygon);}
64
69
const
QPolygonF &getPoints()
const
;
70
74
void
setPoints(
const
QPolygonF &
points
);
75
80
void
setPoint(
int
index,
const
QPointF &point);
81
82
private
:
83
QPolygonF *Points;
84
};
85
86
#endif
Generated on Fri Aug 2 2013 12:19:58 for VTK by
1.8.4