00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageLuminance.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 =========================================================================*/ 00039 #ifndef __vtkImageLuminance_h 00040 #define __vtkImageLuminance_h 00041 00042 00043 #include "vtkThreadedImageAlgorithm.h" 00044 00045 class VTK_IMAGING_EXPORT vtkImageLuminance : public vtkThreadedImageAlgorithm 00046 { 00047 public: 00048 static vtkImageLuminance *New(); 00049 vtkTypeRevisionMacro(vtkImageLuminance,vtkThreadedImageAlgorithm); 00050 00051 protected: 00052 vtkImageLuminance(); 00053 ~vtkImageLuminance() {}; 00054 00055 void ExecuteInformation (vtkInformation *, vtkInformationVector *, 00056 vtkInformationVector *); 00057 00058 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00059 int outExt[6], int id); 00060 00061 private: 00062 vtkImageLuminance(const vtkImageLuminance&); // Not implemented. 00063 void operator=(const vtkImageLuminance&); // Not implemented. 00064 }; 00065 00066 #endif 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076