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);
126 vtkGetMacro(ExtractionMode,
int);
145 const char* GetExtractionModeAsString();
151 void InitializeSeedList();
156 void AddSeed(
int id);
161 void DeleteSeed(
int id);
166 void InitializeSpecifiedRegionList();
171 void AddSpecifiedRegion(
int id);
176 void DeleteSpecifiedRegion(
int id);
183 vtkSetVector3Macro(ClosestPoint,
double);
184 vtkGetVectorMacro(ClosestPoint,
double, 3);
190 int GetNumberOfExtractedRegions();
217 vtkGetObjectMacro(VisitedPointIds,
vtkIdList);
226 vtkSetMacro(OutputPointsPrecision,
int);
227 vtkGetMacro(OutputPointsPrecision,
int);
243 double ClosestPoint[3];
251 double ScalarRange[2];
253 void TraverseAndMark();
288 return "ExtractPointSeededRegions";
292 return "ExtractCellSeededRegions";
296 return "ExtractSpecifiedRegions";
300 return "ExtractAllRegions";
304 return "ExtractClosestPointRegion";
308 return "ExtractLargestRegion";