1 /*=========================================================================
5 Author : Joel Schaerer (joel.schaerer@insa-lyon.fr)
9 Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
10 CREATIS-LRMN http://www.creatis.insa-lyon.fr
12 This program is free software: you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation, version 3 of the License.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>.
24 =========================================================================*/
25 #ifndef vvImageMapToWLColors_h
26 #define vvImageMapToWLColors_h
28 #include <vtkImageMapToWindowLevelColors.h>
30 //This is mostly a copy of the vtk parent class, but with the option
31 //not to use the W/L when a LUT is set
33 class vvImageMapToWLColors : public vtkImageMapToWindowLevelColors
36 static vvImageMapToWLColors * New();
37 vvImageMapToWLColors();
38 void SetWindowLevelMode(bool wl) {wl_mode=wl;}
39 void ThreadedRequestData(vtkInformation *request,
40 vtkInformationVector **inputVector,
41 vtkInformationVector *outputVector,
42 vtkImageData ***inData, vtkImageData **outData,
43 int extent[6], int id);