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 "vtkThreadedImageAlgorithm.h" 00032 00033 class VTK_IMAGING_EXPORT vtkImageLuminance : public vtkThreadedImageAlgorithm 00034 { 00035 public: 00036 static vtkImageLuminance *New(); 00037 vtkTypeMacro(vtkImageLuminance,vtkThreadedImageAlgorithm); 00038 00039 protected: 00040 vtkImageLuminance(); 00041 ~vtkImageLuminance() {}; 00042 00043 virtual int RequestInformation (vtkInformation *, vtkInformationVector**, 00044 vtkInformationVector *); 00045 00046 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00047 int outExt[6], int id); 00048 00049 private: 00050 vtkImageLuminance(const vtkImageLuminance&); // Not implemented. 00051 void operator=(const vtkImageLuminance&); // Not implemented. 00052 }; 00053 00054 #endif 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064