53 #ifndef vtkPolyDataConnectivityFilter_h
54 #define vtkPolyDataConnectivityFilter_h
56 #include "vtkFiltersCoreModule.h"
59 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
60 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
61 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
62 #define VTK_EXTRACT_LARGEST_REGION 4
63 #define VTK_EXTRACT_ALL_REGIONS 5
64 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
112 vtkBooleanMacro(FullScalarConnectivity,
vtkTypeBool);
119 vtkSetVector2Macro(ScalarRange,
double);
120 vtkGetVector2Macro(ScalarRange,
double);
127 vtkSetClampMacro(ExtractionMode,
int,
130 vtkGetMacro(ExtractionMode,
int);
143 const char *GetExtractionModeAsString();
149 void InitializeSeedList();
154 void AddSeed(
int id);
159 void DeleteSeed(
int id);
164 void InitializeSpecifiedRegionList();
169 void AddSpecifiedRegion(
int id);
174 void DeleteSpecifiedRegion(
int id);
181 vtkSetVector3Macro(ClosestPoint,
double);
182 vtkGetVectorMacro(ClosestPoint,
double,3);
188 int GetNumberOfExtractedRegions();
206 vtkBooleanMacro( MarkVisitedPointIds,
vtkTypeBool );
214 vtkGetObjectMacro( VisitedPointIds,
vtkIdList );
223 vtkSetMacro(OutputPointsPrecision,
int);
224 vtkGetMacro(OutputPointsPrecision,
int);
240 double ClosestPoint[3];
246 int IsScalarConnected(
vtkIdType cellId );
248 double ScalarRange[2];
250 void TraverseAndMark();
285 return "ExtractPointSeededRegions";
289 return "ExtractCellSeededRegions";
293 return "ExtractSpecifiedRegions";
297 return "ExtractAllRegions";
301 return "ExtractClosestPointRegion";
305 return "ExtractLargestRegion";