VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
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
42
class
VTK_COMMON_EXPORT
vtkLookupTableWithEnabling
:
public
vtkLookupTable
43
{
44
public
:
45
static
vtkLookupTableWithEnabling
*
New
();
46
47
vtkTypeMacro(
vtkLookupTableWithEnabling
,
vtkLookupTable
);
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);
74
~
vtkLookupTableWithEnabling
();
75
76
vtkDataArray
*
EnabledArray
;
77
78
private
:
79
vtkLookupTableWithEnabling
(
const
vtkLookupTableWithEnabling
&);
// Not implemented.
80
void
operator=(
const
vtkLookupTableWithEnabling
&);
// Not implemented.
81
};
82
83
84
#endif
85
86
87
Generated on Wed May 30 2012 13:21:51 for VTK by
1.8.1