VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Imaging/General/vtkImageMedian3D.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageMedian3D.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 =========================================================================*/
00028 #ifndef vtkImageMedian3D_h
00029 #define vtkImageMedian3D_h
00030 
00031 
00032 #include "vtkImagingGeneralModule.h" // For export macro
00033 #include "vtkImageSpatialAlgorithm.h"
00034 
00035 class VTKIMAGINGGENERAL_EXPORT vtkImageMedian3D : public vtkImageSpatialAlgorithm
00036 {
00037 public:
00038   static vtkImageMedian3D *New();
00039   vtkTypeMacro(vtkImageMedian3D,vtkImageSpatialAlgorithm);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00044   void SetKernelSize(int size0, int size1, int size2);
00045 
00047 
00048   vtkGetMacro(NumberOfElements,int);
00050 
00051 protected:
00052   vtkImageMedian3D();
00053   ~vtkImageMedian3D();
00054 
00055   int NumberOfElements;
00056 
00057   void ThreadedRequestData(vtkInformation *request,
00058                            vtkInformationVector **inputVector,
00059                            vtkInformationVector *outputVector,
00060                            vtkImageData ***inData, vtkImageData **outData,
00061                            int extent[6], int id);
00062 
00063 private:
00064   vtkImageMedian3D(const vtkImageMedian3D&);  // Not implemented.
00065   void operator=(const vtkImageMedian3D&);  // Not implemented.
00066 };
00067 
00068 #endif