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