VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
vtkQtChartRepresentation.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtChartRepresentation.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 (c) Sandia Corporation
17
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18
----------------------------------------------------------------------------*/
32
#ifndef __vtkQtChartRepresentation_h
33
#define __vtkQtChartRepresentation_h
34
35
#include "
vtkQtTableRepresentation.h
"
36
class
vtkIntArray
;
37
class
vtkQtChartSeriesOptionsModel
;
38
class
vtkQtChartTableSeriesModel
;
39
40
class
QVTK_EXPORT
vtkQtChartRepresentation
:
public
vtkQtTableRepresentation
41
{
42
public
:
43
static
vtkQtChartRepresentation
*
New
();
44
vtkTypeMacro(
vtkQtChartRepresentation
,
vtkQtTableRepresentation
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
48
vtkQtChartTableSeriesModel
* GetSeriesModel();
49
50
52
55
void
SetOptionsModel(
vtkQtChartSeriesOptionsModel
*);
56
vtkQtChartSeriesOptionsModel
* GetOptionsModel();
58
61
int
GetNumberOfSeries();
62
66
const
char
* GetSeriesName(
int
series);
67
69
71
void
SetColumnsAsSeries(
bool
);
72
vtkGetMacro(ColumnsAsSeries,
int
);
74
75
protected
:
76
vtkQtChartRepresentation
();
77
~
vtkQtChartRepresentation
();
78
81
bool
AddToView
(
vtkView
* view);
82
85
bool
RemoveFromView
(
vtkView
* view);
86
87
bool
ColumnsAsSeries
;
88
89
private
:
90
91
class
vtkInternal;
92
vtkInternal* Internal;
93
94
vtkQtChartRepresentation
(
const
vtkQtChartRepresentation
&);
// Not implemented.
95
void
operator=(
const
vtkQtChartRepresentation
&);
// Not implemented.
96
};
97
98
#endif
Generated on Wed Nov 21 2012 21:33:56 for VTK by
1.8.2