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

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   virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00067   void ThreadedRequestData(vtkInformation *request,
00068                            vtkInformationVector **inputVector,
00069                            vtkInformationVector *outputVector,
00070                            vtkImageData ***inData, vtkImageData **outData,
00071                            int extent[6], int id);
00072   virtual int RequestData(vtkInformation *request,
00073                           vtkInformationVector **inputVector,
00074                           vtkInformationVector *outputVector);
00075 
00076   double Window;
00077   double Level;
00078   
00079 private:
00080   vtkImageMapToWindowLevelColors(const vtkImageMapToWindowLevelColors&);  // Not implemented.
00081   void operator=(const vtkImageMapToWindowLevelColors&);  // Not implemented.
00082 };
00083 
00084 #endif
00085 
00086 
00087 
00088 
00089 
00090 
00091 

Generated on Mon Jan 21 23:07:29 2008 for VTK by  doxygen 1.4.3-20050530