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 93 vtkGetMacro(ScalarConnectivity,
int);
108 vtkGetMacro(FullScalarConnectivity,
int);
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();
192 vtkGetMacro(ColorRegions,
int);
202 vtkGetMacro( MarkVisitedPointIds,
int );
211 vtkGetObjectMacro( VisitedPointIds,
vtkIdList );
221 vtkGetMacro(OutputPointsPrecision,
int);
237 double ClosestPoint[3];
239 int ScalarConnectivity;
240 int FullScalarConnectivity;
243 int IsScalarConnected(
vtkIdType cellId );
245 double ScalarRange[2];
247 void TraverseAndMark();
266 int MarkVisitedPointIds;
267 int OutputPointsPrecision;
282 return "ExtractPointSeededRegions";
286 return "ExtractCellSeededRegions";
290 return "ExtractSpecifiedRegions";
294 return "ExtractAllRegions";
298 return "ExtractClosestPointRegion";
302 return "ExtractLargestRegion";
void SetExtractionModeToSpecifiedRegions()
Control the extraction of connected surfaces.
#define VTK_EXTRACT_CLOSEST_POINT_REGION
#define VTK_EXTRACT_POINT_SEEDED_REGIONS
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetExtractionModeToPointSeededRegions()
Control the extraction of connected surfaces.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
void SetExtractionModeToClosestPointRegion()
Control the extraction of connected surfaces.
a simple class to control print indentation
extract polygonal data based on geometric connectivity
list of point or cell ids
abstract superclass for arrays of numeric data
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#define VTK_EXTRACT_LARGEST_REGION
void SetExtractionModeToLargestRegion()
Control the extraction of connected surfaces.
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
void SetExtractionModeToAllRegions()
Control the extraction of connected surfaces.
#define VTK_EXTRACT_ALL_REGIONS
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetExtractionModeToCellSeededRegions()
Control the extraction of connected surfaces.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_EXTRACT_SPECIFIED_REGIONS