VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
Chart
vtkQtChartPenGenerator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtChartPenGenerator.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 _vtkQtChartPenGenerator_h
25
#define _vtkQtChartPenGenerator_h
26
27
28
#include "vtkQtChartExport.h"
29
#include "
vtkQtChartStylePen.h
"
30
31
class
vtkQtChartColors
;
32
class
vtkQtChartPenGeneratorInternal;
33
34
39
class
VTKQTCHART_EXPORT
vtkQtChartPenGenerator
:
public
vtkQtChartStylePen
40
{
41
Q_OBJECT
42
43
public
:
47
vtkQtChartPenGenerator
(QObject *parent=0);
48
virtual
~
vtkQtChartPenGenerator
();
49
51
52
53
54
55
56
57
58
59
60
61
virtual
QPen
getStylePen
(
int
index
)
const
;
63
65
66
67
68
69
70
int
getNumberOfPens()
const
;
71
82
QPen getPen(
int
index)
const
;
83
91
void
setPen(
int
index,
const
QPen &pen);
92
94
void
clearPens();
95
99
void
addPens(
const
vtkQtChartColors
&colors);
100
104
void
addPen(
const
QPen &pen);
105
110
void
insertPen(
int
index,
const
QPen &pen);
111
115
void
removePen(
int
index);
117
118
private
:
119
vtkQtChartPenGeneratorInternal *Internal;
120
121
private
:
122
vtkQtChartPenGenerator
(
const
vtkQtChartPenGenerator
&);
123
vtkQtChartPenGenerator
&operator=(
const
vtkQtChartPenGenerator
&);
124
};
125
126
#endif
Generated on Thu Mar 13 2014 08:10:11 for VTK by
1.8.1.2