VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Imaging/Color/vtkImageLuminance.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageLuminance.h
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 =========================================================================*/
00027 #ifndef vtkImageLuminance_h
00028 #define vtkImageLuminance_h
00029 
00030 
00031 #include "vtkImagingColorModule.h" // For export macro
00032 #include "vtkThreadedImageAlgorithm.h"
00033 
00034 class VTKIMAGINGCOLOR_EXPORT vtkImageLuminance : public vtkThreadedImageAlgorithm
00035 {
00036 public:
00037   static vtkImageLuminance *New();
00038   vtkTypeMacro(vtkImageLuminance,vtkThreadedImageAlgorithm);
00039 
00040 protected:
00041   vtkImageLuminance();
00042   ~vtkImageLuminance() {}
00043 
00044   virtual int RequestInformation (vtkInformation *, vtkInformationVector**,
00045                                   vtkInformationVector *);
00046 
00047   void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
00048                         int outExt[6], int id);
00049 
00050 private:
00051   vtkImageLuminance(const vtkImageLuminance&);  // Not implemented.
00052   void operator=(const vtkImageLuminance&);  // Not implemented.
00053 };
00054 
00055 #endif
00056 
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00066 // VTK-HeaderTest-Exclude: vtkImageLuminance.h