vtkImageSkeleton2D.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00043 #ifndef __vtkImageSkeleton2D_h
00044 #define __vtkImageSkeleton2D_h
00045
00046 #include "vtkImageIterateFilter.h"
00047
00048 class VTK_IMAGING_EXPORT vtkImageSkeleton2D : public vtkImageIterateFilter
00049 {
00050 public:
00051 static vtkImageSkeleton2D *New();
00052 vtkTypeRevisionMacro(vtkImageSkeleton2D,vtkImageIterateFilter);
00053 void PrintSelf(ostream& os, vtkIndent indent);
00054
00056
00057 vtkSetMacro(Prune,int);
00058 vtkGetMacro(Prune,int);
00059 vtkBooleanMacro(Prune,int);
00061
00063 void SetNumberOfIterations(int num);
00064
00065 virtual void IterativeExecuteData(vtkImageData *in, vtkImageData *out)
00066 { this->MultiThread(in,out);};
00067
00068 protected:
00069 vtkImageSkeleton2D();
00070 ~vtkImageSkeleton2D() {};
00071
00072 int Prune;
00073
00074 void ComputeInputUpdateExtent(int inExt[6], int outExt[6] );
00075 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
00076 int outExt[6], int id);
00077 private:
00078 vtkImageSkeleton2D(const vtkImageSkeleton2D&);
00079 void operator=(const vtkImageSkeleton2D&);
00080 };
00081
00082 #endif
00083
00084
00085