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 "vtkRenderingCoreModule.h" // For export macro
39 #include "vtkLookupTable.h"
40 
41 class vtkDataArray;
42 
44 {
45 public:
47 
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
57  virtual void SetEnabledArray(vtkDataArray *enabledArray);
59 
61 
62  void MapScalarsThroughTable2(void *input, unsigned char *output,
63  int inputDataType, int numberOfValues,
64  int inputIncrement, int outputIncrement);
66 
68 
69  virtual void DisableColor(unsigned char r, unsigned char g, unsigned char b,
70  unsigned char *rd, unsigned char *gd, unsigned char *bd);
72 
73 protected:
74  vtkLookupTableWithEnabling(int sze=256, int ext=256);
76 
78 
79 private:
80  vtkLookupTableWithEnabling(const vtkLookupTableWithEnabling&); // Not implemented.
81  void operator=(const vtkLookupTableWithEnabling&); // Not implemented.
82 };
83 
84 
85 #endif
86 
87 
88 
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkgl::b
GLboolean GLboolean GLboolean b
Definition: vtkgl.h:12312
vtkLookupTableWithEnabling::EnabledArray
vtkDataArray * EnabledArray
Definition: vtkLookupTableWithEnabling.h:77
vtkLookupTableWithEnabling::New
static vtkLookupTableWithEnabling * New()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkLookupTableWithEnabling::SetEnabledArray
virtual void SetEnabledArray(vtkDataArray *enabledArray)
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkLookupTableWithEnabling::~vtkLookupTableWithEnabling
~vtkLookupTableWithEnabling()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkRenderingCoreModule.h
vtkLookupTableWithEnabling::vtkLookupTableWithEnabling
vtkLookupTableWithEnabling(int sze=256, int ext=256)
vtkLookupTable.h
vtkLookupTable
map scalar values into colors via a lookup table
Definition: vtkLookupTable.h:74
vtkgl::r
GLdouble GLdouble GLdouble r
Definition: vtkgl.h:11610
vtkgl::g
GLboolean GLboolean g
Definition: vtkgl.h:12312
VTKRENDERINGCORE_EXPORT
#define VTKRENDERINGCORE_EXPORT
Definition: vtkRenderingCoreModule.h:15
vtkLookupTableWithEnabling::MapScalarsThroughTable2
void MapScalarsThroughTable2(void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputIncrement)
vtkLookupTableWithEnabling::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkLookupTableWithEnabling::DisableColor
virtual void DisableColor(unsigned char r, unsigned char g, unsigned char b, unsigned char *rd, unsigned char *gd, unsigned char *bd)
vtkLookupTableWithEnabling
A lookup table that allows for an optional array to be provided that specifies which scalars to "enab...
Definition: vtkLookupTableWithEnabling.h:44