Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkImageContinuousErode3D.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageContinuousErode3D.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 =========================================================================*/
00037 #ifndef __vtkImageContinuousErode3D_h
00038 #define __vtkImageContinuousErode3D_h
00039 
00040 
00041 #include "vtkImageSpatialFilter.h"
00042 
00043 class vtkImageEllipsoidSource;
00044 
00045 class VTK_IMAGING_EXPORT vtkImageContinuousErode3D : public vtkImageSpatialFilter
00046 {
00047 public:
00049 
00051   static vtkImageContinuousErode3D *New();
00052   vtkTypeRevisionMacro(vtkImageContinuousErode3D,vtkImageSpatialFilter);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00055   
00059   void SetKernelSize(int size0, int size1, int size2);
00060 
00062 
00065   vtkGetStringMacro(InputScalarsSelection);
00066   void SelectInputScalars(const char *fieldName) 
00067     {this->SetInputScalarsSelection(fieldName);}  
00069   
00070 protected:
00071   vtkImageContinuousErode3D();
00072   ~vtkImageContinuousErode3D();
00073 
00074   vtkImageEllipsoidSource *Ellipse;
00075     
00076   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 
00077                        int extent[6], int id);
00078 private:
00079   vtkImageContinuousErode3D(const vtkImageContinuousErode3D&);  // Not implemented.
00080   void operator=(const vtkImageContinuousErode3D&);  // Not implemented.
00081 };
00082 
00083 #endif
00084 
00085 
00086