50 #ifndef vtkPolyDataConnectivityFilter_h
51 #define vtkPolyDataConnectivityFilter_h
53 #include "vtkFiltersCoreModule.h"
56 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
57 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
58 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
59 #define VTK_EXTRACT_LARGEST_REGION 4
60 #define VTK_EXTRACT_ALL_REGIONS 5
61 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
109 vtkBooleanMacro(FullScalarConnectivity,
vtkTypeBool);
116 vtkSetVector2Macro(ScalarRange,
double);
117 vtkGetVector2Macro(ScalarRange,
double);
124 vtkSetClampMacro(ExtractionMode,
int,
127 vtkGetMacro(ExtractionMode,
int);
140 const char *GetExtractionModeAsString();
146 void InitializeSeedList();
151 void AddSeed(
int id);
156 void DeleteSeed(
int id);
161 void InitializeSpecifiedRegionList();
166 void AddSpecifiedRegion(
int id);
171 void DeleteSpecifiedRegion(
int id);
178 vtkSetVector3Macro(ClosestPoint,
double);
179 vtkGetVectorMacro(ClosestPoint,
double,3);
185 int GetNumberOfExtractedRegions();
203 vtkBooleanMacro( MarkVisitedPointIds,
vtkTypeBool );
211 vtkGetObjectMacro( VisitedPointIds,
vtkIdList );
220 vtkSetMacro(OutputPointsPrecision,
int);
221 vtkGetMacro(OutputPointsPrecision,
int);
237 double ClosestPoint[3];
243 int IsScalarConnected(
vtkIdType cellId );
245 double ScalarRange[2];
247 void TraverseAndMark();
282 return "ExtractPointSeededRegions";
286 return "ExtractCellSeededRegions";
290 return "ExtractSpecifiedRegions";
294 return "ExtractAllRegions";
298 return "ExtractClosestPointRegion";
302 return "ExtractLargestRegion";