VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
Chart
vtkQtChartColorStyleGenerator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtChartColorStyleGenerator.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 _vtkQtChartColorStyleGenerator_h
25
#define _vtkQtChartColorStyleGenerator_h
26
27
#include "vtkQtChartExport.h"
28
#include "
vtkQtChartStylePen.h
"
29
30
class
vtkQtChartColors
;
31
class
vtkQtChartColorStyleGeneratorInternal;
32
33
38
class
VTKQTCHART_EXPORT
vtkQtChartColorStyleGenerator
:
39
public
vtkQtChartStylePen
40
{
41
Q_OBJECT
42
43
public
:
47
vtkQtChartColorStyleGenerator
(QObject *parent=0);
48
virtual
~
vtkQtChartColorStyleGenerator
();
49
51
52
53
54
55
56
57
58
59
60
61
62
virtual
QPen
getStylePen
(
int
index
)
const
;
64
66
67
68
69
70
71
vtkQtChartColors
*
getColors
() {
return
this->Colors;}
72
77
const
vtkQtChartColors
*
getColors
()
const
{
return
this->Colors;}
78
82
void
setColors
(
vtkQtChartColors
*colors) {this->Colors = colors;}
84
86
87
88
89
90
91
int
getNumberOfStyles()
const
;
92
103
Qt::PenStyle getPenStyle(
int
index)
const
;
104
112
void
setPenStyle(
int
index, Qt::PenStyle
style
);
113
115
void
clearPenStyles();
116
120
void
addPenStyle(Qt::PenStyle
style
);
121
126
void
insertPenStyle(
int
index, Qt::PenStyle
style
);
127
131
void
removePenStyle(
int
index);
133
134
private
:
136
vtkQtChartColorStyleGeneratorInternal *Internal;
137
vtkQtChartColors
*Colors;
138
139
private
:
140
vtkQtChartColorStyleGenerator
(
const
vtkQtChartColorStyleGenerator
&);
141
vtkQtChartColorStyleGenerator
&operator=(
142
const
vtkQtChartColorStyleGenerator
&);
143
};
144
145
#endif
Generated on Wed Nov 21 2012 21:33:55 for VTK by
1.8.2