48 #ifndef vtkConnectivityFilter_h
49 #define vtkConnectivityFilter_h
51 #include "vtkFiltersCoreModule.h"
57 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
58 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
59 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
60 #define VTK_EXTRACT_LARGEST_REGION 4
61 #define VTK_EXTRACT_ALL_REGIONS 5
62 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
64 VTK_ABI_NAMESPACE_BEGIN
99 vtkSetVector2Macro(ScalarRange,
double);
100 vtkGetVector2Macro(ScalarRange,
double);
109 vtkGetMacro(ExtractionMode,
int);
128 const char* GetExtractionModeAsString();
134 void InitializeSeedList();
149 void InitializeSpecifiedRegionList();
154 void AddSpecifiedRegion(
int id);
159 void DeleteSpecifiedRegion(
int id);
166 vtkSetVector3Macro(ClosestPoint,
double);
167 vtkGetVectorMacro(ClosestPoint,
double, 3);
173 int GetNumberOfExtractedRegions();
199 vtkSetMacro(RegionIdAssignmentMode,
int);
201 vtkGetMacro(RegionIdAssignmentMode,
int);
209 vtkSetMacro(OutputPointsPrecision,
int);
210 vtkGetMacro(OutputPointsPrecision,
int);
220 vtkSetMacro(CompressArrays,
bool);
221 vtkGetMacro(CompressArrays,
bool);
222 vtkBooleanMacro(CompressArrays,
bool);
262 double ClosestPoint[3] = { 0, 0, 0 };
265 double ScalarRange[2] = { 0, 1 };
267 int RegionIdAssignmentMode = UNSPECIFIED;
302 bool CompressArrays =
true;
315 return "ExtractPointSeededRegions";
319 return "ExtractCellSeededRegions";
323 return "ExtractSpecifiedRegions";
327 return "ExtractAllRegions";
331 return "ExtractClosestPointRegion";
335 return "ExtractLargestRegion";
339 VTK_ABI_NAMESPACE_END
void SetExtractionModeToPointSeededRegions()
Control the extraction of connected surfaces.
void SetExtractionModeToClosestPointRegion()
Control the extraction of connected surfaces.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
See vtkAlgorithm for details.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
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.
const char * GetExtractionModeAsString()
Return the method of extraction as a string.
dynamic, self-adjusting array of float
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing instances of the class...
#define VTK_EXTRACT_LARGEST_REGION
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_EXTRACT_SPECIFIED_REGIONS
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
dynamic, self-adjusting array of int
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
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 process vtkPointSet input.
RegionIdAssignment
Enumeration of the various ways to assign RegionIds when the ColorRegions option is on...
#define VTK_EXTRACT_ALL_REGIONS
static vtkPointSetAlgorithm * New()
Standard methods for instantiation, obtaining type information, and printing instances of the class...
void SetExtractionModeToLargestRegion()
Control the extraction of connected surfaces.
void SetExtractionModeToSpecifiedRegions()
Control the extraction of connected surfaces.