VTK
vtkLookupTableItem.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLookupTableItem.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 __vtkLookupTableItem_h
17 #define __vtkLookupTableItem_h
18 
19 #include "vtkScalarsToColorsItem.h"
20 
21 class vtkLookupTable;
22 
23 // Description:
24 // vtkPlot::Color, vtkPlot::Brush, vtkScalarsToColors::DrawPolyLine,
25 // vtkScalarsToColors::MaskAboveCurve have no effect here.
27 {
28 public:
29  static vtkLookupTableItem* New();
31  virtual void PrintSelf(ostream &os, vtkIndent indent);
32 
33  // Description:
34  // Reimplemented to return the range of the lookup table
35  virtual void GetBounds(double bounds[4]);
36 
37  void SetLookupTable(vtkLookupTable* t);
38  vtkGetObjectMacro(LookupTable, vtkLookupTable);
39 
40 protected:
42  virtual ~vtkLookupTableItem();
43 
44  virtual void ComputeTexture();
46 
47 private:
48  vtkLookupTableItem(const vtkLookupTableItem &); // Not implemented.
49  void operator=(const vtkLookupTableItem &); // Not implemented.
50 };
51 
52 #endif
#define VTK_CHARTS_EXPORT
map scalar values into colors via a lookup table
virtual void ComputeTexture()=0
Abstract class for ScalarsToColors items.
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual void GetBounds(double bounds[4])
static vtkObject * New()
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkLookupTable * LookupTable