vtkImageMapToWindowLevelColors.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00044 #ifndef __vtkImageMapToWindowLevelColors_h
00045 #define __vtkImageMapToWindowLevelColors_h
00046
00047
00048 #include "vtkImageMapToColors.h"
00049
00050 class VTK_IMAGING_EXPORT vtkImageMapToWindowLevelColors : public vtkImageMapToColors
00051 {
00052 public:
00053 static vtkImageMapToWindowLevelColors *New();
00054 vtkTypeRevisionMacro(vtkImageMapToWindowLevelColors,vtkImageMapToColors);
00055 void PrintSelf(ostream& os, vtkIndent indent);
00056
00058
00061 vtkSetMacro( Window, double );
00062 vtkGetMacro( Window, double );
00064
00066
00069 vtkSetMacro( Level, double );
00070 vtkGetMacro( Level, double );
00072
00073 protected:
00074 vtkImageMapToWindowLevelColors();
00075 ~vtkImageMapToWindowLevelColors();
00076
00077 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00078 void ExecuteInformation(){this->vtkImageMapToColors::ExecuteInformation();};
00079 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
00080 int extent[6], int id);
00081 void ExecuteData(vtkDataObject *output);
00082
00083 double Window;
00084 double Level;
00085
00086 private:
00087 vtkImageMapToWindowLevelColors(const vtkImageMapToWindowLevelColors&);
00088 void operator=(const vtkImageMapToWindowLevelColors&);
00089 };
00090
00091 #endif
00092
00093
00094
00095
00096
00097
00098