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 "vtkChartsCoreModule.h" // For export macro
20 #include "vtkScalarsToColorsItem.h"
21 
22 class vtkLookupTable;
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 
36 
37 protected:
40 
41  // Description:
42  // Reimplemented to return the range of the lookup table
43  virtual void ComputeBounds(double bounds[4]);
44 
45 
46  virtual void ComputeTexture();
48 
49 private:
50  vtkLookupTableItem(const vtkLookupTableItem &); // Not implemented.
51  void operator=(const vtkLookupTableItem &); // Not implemented.
52 };
53 
54 #endif
vtkChartsCoreModule.h
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkScalarsToColorsItem
Abstract class for ScalarsToColors items.
Definition: vtkScalarsToColorsItem.h:40
vtkLookupTableItem::vtkLookupTableItem
vtkLookupTableItem()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkScalarsToColorsItem.h
vtkLookupTableItem::LookupTable
vtkLookupTable * LookupTable
Definition: vtkLookupTableItem.h:47
vtkLookupTableItem::ComputeBounds
virtual void ComputeBounds(double bounds[4])
vtkLookupTableItem::~vtkLookupTableItem
virtual ~vtkLookupTableItem()
vtkLookupTableItem::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkLookupTableItem::ComputeTexture
virtual void ComputeTexture()
vtkLookupTableItem
Definition: vtkLookupTableItem.h:28
vtkLookupTable
map scalar values into colors via a lookup table
Definition: vtkLookupTable.h:74
vtkgl::t
GLdouble GLdouble t
Definition: vtkgl.h:11602
vtkLookupTableItem::SetLookupTable
void SetLookupTable(vtkLookupTable *t)
VTKCHARTSCORE_EXPORT
#define VTKCHARTSCORE_EXPORT
Definition: vtkChartsCoreModule.h:15
vtkLookupTableItem::New
static vtkLookupTableItem * New()