1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
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.
13 It is distributed under dual licence
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>
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
25 class vvImageMapToWLColors : public vtkImageMapToWindowLevelColors
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);