]> Creatis software - clitk.git/blob - vv/vvImageMapToWLColors.h
removed headers
[clitk.git] / vv / vvImageMapToWLColors.h
1 #ifndef vvImageMapToWLColors_h
2 #define vvImageMapToWLColors_h
3 #include <vtkImageMapToWindowLevelColors.h>
4
5 //This is mostly a copy of the vtk parent class, but with the option
6 //not to use the W/L when a LUT is set
7
8 class vvImageMapToWLColors : public vtkImageMapToWindowLevelColors
9 {
10 public:
11     static vvImageMapToWLColors * New();
12     vvImageMapToWLColors();
13     void SetWindowLevelMode(bool wl) {wl_mode=wl;}
14     void ThreadedRequestData(vtkInformation *request,
15             vtkInformationVector **inputVector,
16             vtkInformationVector *outputVector,
17             vtkImageData ***inData, vtkImageData **outData,
18             int extent[6], int id);
19
20 protected:
21     bool wl_mode;
22
23 };
24
25 #endif