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

# Imaging/vtkImageDilateErode3D.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageDilateErode3D.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 =========================================================================*/
    00040 #ifndef __vtkImageDilateErode3D_h
    00041 #define __vtkImageDilateErode3D_h
    00042
    00043
    00044 #include "vtkImageSpatialFilter.h"
    00045
    00046 class vtkImageEllipsoidSource;
    00047
    00048 class VTK_IMAGING_EXPORT vtkImageDilateErode3D : public vtkImageSpatialFilter
    00049 {
    00050 public:
    00052
    00054   static vtkImageDilateErode3D *New();
    00055   vtkTypeRevisionMacro(vtkImageDilateErode3D,vtkImageSpatialFilter);
    00056   void PrintSelf(ostream& os, vtkIndent indent);
    00058
    00062   void SetKernelSize(int size0, int size1, int size2);
    00063
    00064
    00066
    00067   vtkSetMacro(DilateValue, float);
    00068   vtkGetMacro(DilateValue, float);
    00069   vtkSetMacro(ErodeValue, float);
    00070   vtkGetMacro(ErodeValue, float);
    00072
    00073 protected:
    00074   vtkImageDilateErode3D();
    00075   ~vtkImageDilateErode3D();
    00076
    00077   vtkImageEllipsoidSource *Ellipse;
    00078   float DilateValue;
    00079   float ErodeValue;
    00080
    00081   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00082                        int extent[6], int id);
    00083 private:
    00084   vtkImageDilateErode3D(const vtkImageDilateErode3D&);  // Not implemented.
    00085   void operator=(const vtkImageDilateErode3D&);  // Not implemented.
    00086 };
    00087
    00088 #endif
    00089