VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkLookupTableItem.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkLookupTableItem.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
#ifndef __vtkLookupTableItem_h
17
#define __vtkLookupTableItem_h
18
19
#include "
vtkScalarsToColorsItem.h
"
20
21
class
vtkLookupTable
;
22
23
// Description:
24
// vtkPlot::Color, vtkPlot::Brush, vtkScalarsToColors::DrawPolyLine,
25
// vtkScalarsToColors::MaskAboveCurve have no effect here.
26
class
VTK_CHARTS_EXPORT
vtkLookupTableItem
:
public
vtkScalarsToColorsItem
27
{
28
public
:
29
static
vtkLookupTableItem
*
New
();
30
vtkTypeMacro(
vtkLookupTableItem
,
vtkScalarsToColorsItem
);
31
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
32
33
// Description:
34
// Reimplemented to return the range of the lookup table
35
virtual
void
GetBounds
(
double
bounds[4]);
36
37
void
SetLookupTable(
vtkLookupTable
* t);
38
vtkGetObjectMacro(LookupTable,
vtkLookupTable
);
39
40
protected
:
41
vtkLookupTableItem
();
42
virtual
~
vtkLookupTableItem
();
43
44
virtual
void
ComputeTexture
();
45
vtkLookupTable
*
LookupTable
;
46
47
private
:
48
vtkLookupTableItem
(
const
vtkLookupTableItem
&);
// Not implemented.
49
void
operator=(
const
vtkLookupTableItem
&);
// Not implemented.
50
};
51
52
#endif
Generated on Sun Sep 9 2012 13:03:25 for VTK by
1.8.1.2