1 /*=========================================================================
4 Module: $RCSfile: vtkImagePolyDataSeedConnectivity.h,v $
6 Date: $Date: 2009/05/14 13:54:57 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
17 // .NAME vtkImagePolyDataSeedConnectivity - create
18 // .SECTION Description
21 #ifndef __vtkImagePolyDataSeedConnectivity_h
22 #define __vtkImagePolyDataSeedConnectivity_h
24 #include <vtkStructuredPointsToPolyDataFilter.h>
28 class vtkImagePolyDataSeedConnectivity : public vtkStructuredPointsToPolyDataFilter
31 static vtkImagePolyDataSeedConnectivity *New();
32 vtkTypeRevisionMacro(vtkImagePolyDataSeedConnectivity,vtkStructuredPointsToPolyDataFilter);
33 void PrintSelf(ostream& os, vtkIndent indent);
37 virtual void SetAxis(vtkPolyData*);
38 vtkGetObjectMacro(Axis,vtkPolyData);
41 // Set threshold ratio, by default .45
42 vtkSetMacro(ThresholdRatio,double);
43 vtkGetMacro(ThresholdRatio,double);
47 vtkGetObjectMacro(OuterMold,vtkPolyData);
50 vtkImagePolyDataSeedConnectivity();
51 ~vtkImagePolyDataSeedConnectivity();
54 void ClipImageWithAxis();
56 double ThresholdRatio;
59 //image data that has been clip with polydata
60 vtkImageData *ClipImageData;
61 vtkPolyData *OuterMold;
63 vtkImagePolyDataSeedConnectivity(const vtkImagePolyDataSeedConnectivity&); // Not implemented.
64 void operator=(const vtkImagePolyDataSeedConnectivity&); // Not implemented.