VTK
vtkImageMapToWindowLevelColors.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageMapToWindowLevelColors.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 =========================================================================*/
33 #ifndef vtkImageMapToWindowLevelColors_h
34 #define vtkImageMapToWindowLevelColors_h
35 
36 
37 #include "vtkImagingColorModule.h" // For export macro
38 #include "vtkImageMapToColors.h"
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
51  vtkSetMacro( Window, double );
52  vtkGetMacro( Window, double );
54 
56 
59  vtkSetMacro( Level, double );
60  vtkGetMacro( Level, double );
62 
63 protected:
66 
68  void ThreadedRequestData(vtkInformation *request,
69  vtkInformationVector **inputVector,
70  vtkInformationVector *outputVector,
71  vtkImageData ***inData, vtkImageData **outData,
72  int extent[6], int id);
73  virtual int RequestData(vtkInformation *request,
74  vtkInformationVector **inputVector,
75  vtkInformationVector *outputVector);
76 
77  double Window;
78  double Level;
79 
80 private:
82  void operator=(const vtkImageMapToWindowLevelColors&); // Not implemented.
83 };
84 
85 #endif
86 
87 
88 
89 
90 
91 
92 
Store vtkAlgorithm input/output information.
map the input image through a lookup table and window / level it
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
map the input image through a lookup table
void PrintSelf(ostream &os, vtkIndent indent)
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id)
Store zero or more vtkInformation instances.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKIMAGINGCOLOR_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkImageMapToColors * New()