vtkImageMapToWindowLevelColors2.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef __vtkImageMapToWindowLevelColors2_h
00029 #define __vtkImageMapToWindowLevelColors2_h
00030
00031 #include "vtkImageMapToColors.h"
00032 #include "gdcmTypes.h"
00033
00034 class GDCM_EXPORT vtkImageMapToWindowLevelColors2 : public vtkImageMapToColors
00035 {
00036 public:
00037 static vtkImageMapToWindowLevelColors2 *New();
00038 vtkTypeRevisionMacro(vtkImageMapToWindowLevelColors2,vtkImageMapToColors);
00039 void PrintSelf(ostream& os, vtkIndent indent);
00040
00041
00042
00043
00044
00045 vtkSetMacro( Window, double );
00046 vtkGetMacro( Window, double );
00047
00048
00049
00050
00051
00052 vtkSetMacro( Level, double );
00053 vtkGetMacro( Level, double );
00054
00055 protected:
00056 vtkImageMapToWindowLevelColors2();
00057 ~vtkImageMapToWindowLevelColors2();
00058
00059 virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00060 void ThreadedRequestData(vtkInformation *request,
00061 vtkInformationVector **inputVector,
00062 vtkInformationVector *outputVector,
00063 vtkImageData ***inData, vtkImageData **outData,
00064 int extent[6], int id);
00065 virtual int RequestData(vtkInformation *request,
00066 vtkInformationVector **inputVector,
00067 vtkInformationVector *outputVector);
00068
00069 double Window;
00070 double Level;
00071
00072 private:
00073 vtkImageMapToWindowLevelColors2(const vtkImageMapToWindowLevelColors2&);
00074 void operator=(const vtkImageMapToWindowLevelColors2&);
00075 };
00076
00077 #endif
00078
00079
00080
00081
00082
00083
00084