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
void
SetLookupTable(
vtkLookupTable
* t);
34
vtkGetObjectMacro(LookupTable,
vtkLookupTable
);
35
36
protected
:
37
vtkLookupTableItem
();
38
virtual
~
vtkLookupTableItem
();
39
40
// Description:
41
// Reimplemented to return the range of the lookup table
42
virtual
void
ComputeBounds
(
double
bounds[4]);
43
44
45
virtual
void
ComputeTexture
();
46
vtkLookupTable
*
LookupTable
;
47
48
private
:
49
vtkLookupTableItem
(
const
vtkLookupTableItem
&);
// Not implemented.
50
void
operator=(
const
vtkLookupTableItem
&);
// Not implemented.
51
};
52
53
#endif
Generated on Tue Jan 8 2013 05:45:22 for VTK by
1.8.1.2