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