VTK
dox/Imaging/Morphological/vtkImageContinuousDilate3D.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageContinuousDilate3D.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 =========================================================================*/
00026 #ifndef __vtkImageContinuousDilate3D_h
00027 #define __vtkImageContinuousDilate3D_h
00028 
00029 
00030 #include "vtkImagingMorphologicalModule.h" // For export macro
00031 #include "vtkImageSpatialAlgorithm.h"
00032 
00033 class vtkImageEllipsoidSource;
00034 
00035 class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageContinuousDilate3D : public vtkImageSpatialAlgorithm
00036 {
00037 public:
00038 
00040 
00042   static vtkImageContinuousDilate3D *New();
00043   vtkTypeMacro(vtkImageContinuousDilate3D,vtkImageSpatialAlgorithm);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00050   void SetKernelSize(int size0, int size1, int size2);
00051 
00052 protected:
00053   vtkImageContinuousDilate3D();
00054   ~vtkImageContinuousDilate3D();
00055 
00056   vtkImageEllipsoidSource *Ellipse;
00057 
00058   void ThreadedRequestData(vtkInformation *request,
00059                            vtkInformationVector **inputVector,
00060                            vtkInformationVector *outputVector,
00061                            vtkImageData ***inData, vtkImageData **outData,
00062                            int extent[6], int id);
00063   virtual int RequestData(vtkInformation *request,
00064                           vtkInformationVector **inputVector,
00065                           vtkInformationVector *outputVector);
00066 
00067 private:
00068   vtkImageContinuousDilate3D(const vtkImageContinuousDilate3D&);  // Not implemented.
00069   void operator=(const vtkImageContinuousDilate3D&);  // Not implemented.
00070 };
00071 
00072 #endif