VTK
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 
20 
22 
23 // Description:
24 // vtkPlot::Color and vtkPlot::Brush have no effect here.
26 {
27 public:
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:
42 
43  virtual void ComputeTexture();
45 
46 private:
48  void operator=(const vtkCompositeTransferFunctionItem&); // Not implemented
49 };
50 
51 #endif
#define VTK_CHARTS_EXPORT
virtual void PrintSelf(ostream &os, vtkIndent indent)
Defines a 1D piecewise function.
virtual void GetBounds(double bounds[4])
a simple class to control print indentation
Definition: vtkIndent.h:37
static vtkColorTransferFunctionItem * New()