Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 =========================================================================*/
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&);  // Not implemented.
00088   void operator=(const vtkImageMapToWindowLevelColors&);  // Not implemented.
00089 };
00090 
00091 #endif
00092 
00093 
00094 
00095 
00096 
00097 
00098