Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Imaging/vtkImageLuminance.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageLuminance.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00043 #ifndef __vtkImageLuminance_h
    00044 #define __vtkImageLuminance_h
    00045
    00046
    00047 #include "vtkImageToImageFilter.h"
    00048
    00049 class VTK_IMAGING_EXPORT vtkImageLuminance : public vtkImageToImageFilter
    00050 {
    00051 public:
    00052   static vtkImageLuminance *New();
    00053   vtkTypeRevisionMacro(vtkImageLuminance,vtkImageToImageFilter);
    00054
    00055 protected:
    00056   vtkImageLuminance() {};
    00057   ~vtkImageLuminance() {};
    00058
    00059   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
    00060   void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
    00061   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00062                        int ext[6], int id);
    00063 private:
    00064   vtkImageLuminance(const vtkImageLuminance&);  // Not implemented.
    00065   void operator=(const vtkImageLuminance&);  // Not implemented.
    00066 };
    00067
    00068 #endif
    00069
    00070
    00071
    00072
    00073
    00074
    00075
    00076
    00077
    00078