Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Imaging/vtkImageMapToWindowLevelColors.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageMapToWindowLevelColors.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00033 #ifndef __vtkImageMapToWindowLevelColors_h 00034 #define __vtkImageMapToWindowLevelColors_h 00035 00036 00037 #include "vtkImageMapToColors.h" 00038 00039 class VTK_IMAGING_EXPORT vtkImageMapToWindowLevelColors : public vtkImageMapToColors 00040 { 00041 public: 00042 static vtkImageMapToWindowLevelColors *New(); 00043 vtkTypeRevisionMacro(vtkImageMapToWindowLevelColors,vtkImageMapToColors); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 00050 vtkSetMacro( Window, double ); 00051 vtkGetMacro( Window, double ); 00053 00055 00058 vtkSetMacro( Level, double ); 00059 vtkGetMacro( Level, double ); 00061 00062 protected: 00063 vtkImageMapToWindowLevelColors(); 00064 ~vtkImageMapToWindowLevelColors(); 00065 00066 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData); 00067 void ExecuteInformation(){this->vtkImageMapToColors::ExecuteInformation();}; 00068 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00069 int extent[6], int id); 00070 void ExecuteData(vtkDataObject *output); 00071 00072 double Window; 00073 double Level; 00074 00075 private: 00076 vtkImageMapToWindowLevelColors(const vtkImageMapToWindowLevelColors&); // Not implemented. 00077 void operator=(const vtkImageMapToWindowLevelColors&); // Not implemented. 00078 }; 00079 00080 #endif 00081 00082 00083 00084 00085 00086 00087