50 #ifndef vtkConnectivityFilter_h
51 #define vtkConnectivityFilter_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
87 vtkGetMacro(ScalarConnectivity,
int);
95 vtkSetVector2Macro(ScalarRange,
double);
96 vtkGetVector2Macro(ScalarRange,
double);
103 vtkSetClampMacro(ExtractionMode,
int,
105 vtkGetMacro(ExtractionMode,
int);
118 const char *GetExtractionModeAsString();
124 void InitializeSeedList();
139 void InitializeSpecifiedRegionList();
144 void AddSpecifiedRegion(
int id);
149 void DeleteSpecifiedRegion(
int id);
156 vtkSetVector3Macro(ClosestPoint,
double);
157 vtkGetVectorMacro(ClosestPoint,
double,3);
163 int GetNumberOfExtractedRegions();
170 vtkGetMacro(ColorRegions,
int);
181 vtkGetMacro(OutputPointsPrecision,
int);
190 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
194 int OutputPointsPrecision;
199 double ClosestPoint[3];
201 int ScalarConnectivity;
202 double ScalarRange[2];
235 return "ExtractPointSeededRegions";
239 return "ExtractCellSeededRegions";
243 return "ExtractSpecifiedRegions";
247 return "ExtractAllRegions";
251 return "ExtractClosestPointRegion";
255 return "ExtractLargestRegion";
void SetExtractionModeToPointSeededRegions()
Control the extraction of connected surfaces.
void SetExtractionModeToClosestPointRegion()
Control the extraction of connected surfaces.
void SetExtractionModeToCellSeededRegions()
Control the extraction of connected surfaces.
extract data based on geometric connectivity
abstract class to specify dataset behavior
void SetExtractionModeToAllRegions()
Control the extraction of connected surfaces.
static vtkUnstructuredGridAlgorithm * New()
dynamic, self-adjusting array of float
#define VTK_EXTRACT_LARGEST_REGION
dynamic, self-adjusting array of vtkIdType
#define VTK_EXTRACT_SPECIFIED_REGIONS
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
dynamic, self-adjusting array of int
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
#define VTK_EXTRACT_POINT_SEEDED_REGIONS
#define VTK_EXTRACT_CLOSEST_POINT_REGION
list of point or cell ids
abstract superclass for arrays of numeric data
Superclass for algorithms that produce only unstructured grid as output.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#define VTK_EXTRACT_ALL_REGIONS
void SetExtractionModeToLargestRegion()
Control the extraction of connected surfaces.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetExtractionModeToSpecifiedRegions()
Control the extraction of connected surfaces.