VTK
vtkLookupTableWithEnabling.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLookupTableWithEnabling.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 =========================================================================*/
35 #ifndef __vtkLookupTableWithEnabling_h
36 #define __vtkLookupTableWithEnabling_h
37 
38 #include "vtkLookupTable.h"
39 
40 class vtkDataArray;
41 
43 {
44 public:
46 
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
55  vtkGetObjectMacro(EnabledArray,vtkDataArray);
56  virtual void SetEnabledArray(vtkDataArray *enabledArray);
58 
60 
61  void MapScalarsThroughTable2(void *input, unsigned char *output,
62  int inputDataType, int numberOfValues,
63  int inputIncrement, int outputIncrement);
65 
67 
68  virtual void DisableColor(unsigned char r, unsigned char g, unsigned char b,
69  unsigned char *rd, unsigned char *gd, unsigned char *bd);
71 
72 protected:
73  vtkLookupTableWithEnabling(int sze=256, int ext=256);
75 
77 
78 private:
79  vtkLookupTableWithEnabling(const vtkLookupTableWithEnabling&); // Not implemented.
80  void operator=(const vtkLookupTableWithEnabling&); // Not implemented.
81 };
82 
83 
84 #endif
85 
86 
87