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