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 "vtkImageMapToColors.h"
38 
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
50  vtkSetMacro( Window, double );
51  vtkGetMacro( Window, double );
53 
55 
58  vtkSetMacro( Level, double );
59  vtkGetMacro( Level, double );
61 
62 protected:
65 
67  void ThreadedRequestData(vtkInformation *request,
68  vtkInformationVector **inputVector,
69  vtkInformationVector *outputVector,
70  vtkImageData ***inData, vtkImageData **outData,
71  int extent[6], int id);
72  virtual int RequestData(vtkInformation *request,
73  vtkInformationVector **inputVector,
74  vtkInformationVector *outputVector);
75 
76  double Window;
77  double Level;
78 
79 private:
81  void operator=(const vtkImageMapToWindowLevelColors&); // Not implemented.
82 };
83 
84 #endif
85 
86 
87 
88 
89 
90 
91