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

Imaging/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 =========================================================================*/
00026 #ifndef __vtkImageContinuousErode3D_h
00027 #define __vtkImageContinuousErode3D_h
00028 
00029 
00030 #include "vtkImageSpatialFilter.h"
00031 
00032 class vtkImageEllipsoidSource;
00033 
00034 class VTK_IMAGING_EXPORT vtkImageContinuousErode3D : public vtkImageSpatialFilter
00035 {
00036 public:
00038 
00040   static vtkImageContinuousErode3D *New();
00041   vtkTypeRevisionMacro(vtkImageContinuousErode3D,vtkImageSpatialFilter);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00044   
00048   void SetKernelSize(int size0, int size1, int size2);
00049 
00051 
00054   vtkGetStringMacro(InputScalarsSelection);
00055   void SelectInputScalars(const char *fieldName) 
00056     {this->SetInputScalarsSelection(fieldName);}  
00058   
00059 protected:
00060   vtkImageContinuousErode3D();
00061   ~vtkImageContinuousErode3D();
00062 
00063   vtkImageEllipsoidSource *Ellipse;
00064     
00065   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 
00066                        int extent[6], int id);
00067 private:
00068   vtkImageContinuousErode3D(const vtkImageContinuousErode3D&);  // Not implemented.
00069   void operator=(const vtkImageContinuousErode3D&);  // Not implemented.
00070 };
00071 
00072 #endif
00073 
00074 
00075