]> Creatis software - clitk.git/blob - vv/vvImageMapToWLColors.h
changes in license header
[clitk.git] / vv / vvImageMapToWLColors.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef vvImageMapToWLColors_h
19 #define vvImageMapToWLColors_h
20 #include <vtkImageMapToWindowLevelColors.h>
21
22 //This is mostly a copy of the vtk parent class, but with the option
23 //not to use the W/L when a LUT is set
24
25 class vvImageMapToWLColors : public vtkImageMapToWindowLevelColors
26 {
27 public:
28     static vvImageMapToWLColors * New();
29     vvImageMapToWLColors();
30     void SetWindowLevelMode(bool wl) {wl_mode=wl;}
31     void ThreadedRequestData(vtkInformation *request,
32             vtkInformationVector **inputVector,
33             vtkInformationVector *outputVector,
34             vtkImageData ***inData, vtkImageData **outData,
35             int extent[6], int id);
36
37 protected:
38     bool wl_mode;
39
40 };
41
42 #endif