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

# Imaging/vtkImageMedian3D.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageMedian3D.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 =========================================================================*/
    00045 #ifndef __vtkImageMedian3D_h
    00046 #define __vtkImageMedian3D_h
    00047
    00048
    00049 #include "vtkImageSpatialFilter.h"
    00050
    00051 class VTK_IMAGING_EXPORT vtkImageMedian3D : public vtkImageSpatialFilter
    00052 {
    00053 public:
    00054   static vtkImageMedian3D *New();
    00055   vtkTypeRevisionMacro(vtkImageMedian3D,vtkImageSpatialFilter);
    00056   void PrintSelf(ostream& os, vtkIndent indent);
    00057
    00060   void SetKernelSize(int size0, int size1, int size2);
    00061
    00063
    00064   vtkGetMacro(NumberOfElements,int);
    00066
    00067 protected:
    00068   vtkImageMedian3D();
    00069   ~vtkImageMedian3D();
    00070
    00071   int NumberOfElements;
    00072
    00073   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00074                        int extent[6], int id);
    00075
    00076   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
    00077   // Called by the superclass
    00078   void ExecuteInformation() { this->Superclass::ExecuteInformation(); }
    00079
    00080   void ExecuteData(vtkDataObject *out);
    00081
    00082 private:
    00083   vtkImageMedian3D(const vtkImageMedian3D&);  // Not implemented.
    00084   void operator=(const vtkImageMedian3D&);  // Not implemented.
    00085 };
    00086
    00087 #endif
    00088
    00089
    00090