VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
Chart
vtkQtChartSeriesHueRange.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtChartSeriesHueRange.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 _vtkQtChartSeriesHueRange_h
25
#define _vtkQtChartSeriesHueRange_h
26
27
#include "vtkQtChartExport.h"
28
#include "
vtkQtChartSeriesColors.h
"
29
30
class
QColor;
31
32
37
class
VTKQTCHART_EXPORT
vtkQtChartSeriesHueRange
:
38
public
vtkQtChartSeriesColors
39
{
40
public
:
44
vtkQtChartSeriesHueRange
(QObject *parent=0);
45
virtual
~
vtkQtChartSeriesHueRange
();
46
48
49
virtual
void
getBrush
(
int
index
,
int
total, QBrush &brush)
const
;
60
62
63
void
setRange(
const
QColor &color1,
const
QColor &color2);
69
70
private
:
71
QColor *First;
72
QColor *Second;
73
74
private
:
75
vtkQtChartSeriesHueRange
(
const
vtkQtChartSeriesHueRange
&);
76
vtkQtChartSeriesHueRange
&operator=(
const
vtkQtChartSeriesHueRange
&);
77
};
78
79
#endif
vtkQtChartSeriesColors.h
vtkQtChartSeriesHueRange
The vtkQtChartSeriesHueRange class is used to color a chart series with a range of colors...
Definition:
vtkQtChartSeriesHueRange.h:37
vtkX3D::index
Definition:
vtkX3D.h:246
vtkQtChartSeriesColors::getBrush
virtual void getBrush(int index, int total, QBrush &brush) const =0
Gets the brush for the given index of a series.
vtkQtChartSeriesColors
The vtkQtChartSeriesColors class is used to color a chart series with multiple colors.
Definition:
vtkQtChartSeriesColors.h:37
Generated on Tue Oct 28 2014 11:39:54 for VTK by
1.8.8