56 #ifndef vtkConnectivityFilter_h
57 #define vtkConnectivityFilter_h
59 #include "vtkFiltersCoreModule.h"
62 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
63 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
64 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
65 #define VTK_EXTRACT_LARGEST_REGION 4
66 #define VTK_EXTRACT_ALL_REGIONS 5
67 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
93 vtkGetMacro(ScalarConnectivity,
int);
101 vtkSetVector2Macro(ScalarRange,
double);
102 vtkGetVector2Macro(ScalarRange,
double);
109 vtkSetClampMacro(ExtractionMode,
int,
111 vtkGetMacro(ExtractionMode,
int);
124 const char *GetExtractionModeAsString();
130 void InitializeSeedList();
145 void InitializeSpecifiedRegionList();
150 void AddSpecifiedRegion(
int id);
155 void DeleteSpecifiedRegion(
int id);
162 vtkSetVector3Macro(ClosestPoint,
double);
163 vtkGetVectorMacro(ClosestPoint,
double,3);
169 int GetNumberOfExtractedRegions();
176 vtkGetMacro(ColorRegions,
int);
187 vtkGetMacro(OutputPointsPrecision,
int);
200 int OutputPointsPrecision;
205 double ClosestPoint[3];
207 int ScalarConnectivity;
208 double ScalarRange[2];
241 return "ExtractPointSeededRegions";
245 return "ExtractCellSeededRegions";
249 return "ExtractSpecifiedRegions";
253 return "ExtractAllRegions";
257 return "ExtractClosestPointRegion";
261 return "ExtractLargestRegion";