VTK
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.
28 {
29 public:
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:
44 
45  virtual void ComputeTexture();
46  vtkColorTransferFunction* ColorTransferFunction;
47 private:
49  void operator=(const vtkColorTransferFunctionItem&); // Not implemented
50 };
51 
52 #endif
#define VTK_CHARTS_EXPORT
virtual void ComputeTexture()=0
Abstract class for ScalarsToColors items.
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
vtkColorTransferFunction * ColorTransferFunction
virtual void GetBounds(double bounds[4])
static vtkObject * New()
virtual void PrintSelf(ostream &os, vtkIndent indent)