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
VTK_CHARTS_EXPORT
#define VTK_CHARTS_EXPORT
Definition:
vtkWin32Header.h:285
vtkColorTransferFunctionItem::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkCompositeTransferFunctionItem::OpacityFunction
vtkPiecewiseFunction * OpacityFunction
Definition:
vtkCompositeTransferFunctionItem.h:44
vtkColorTransferFunctionItem
Definition:
vtkColorTransferFunctionItem.h:27
vtkColorTransferFunctionItem::GetBounds
virtual void GetBounds(double bounds[4])
vtkColorTransferFunctionItem::ComputeTexture
virtual void ComputeTexture()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkCompositeTransferFunctionItem
Definition:
vtkCompositeTransferFunctionItem.h:25
vtkColorTransferFunctionItem.h
vtkColorTransferFunctionItem::New
static vtkColorTransferFunctionItem * New()
Generated on Sat Nov 16 2013 09:13:16 for VTK by
1.8.5