48 #ifndef vtkConnectivityFilter_h
49 #define vtkConnectivityFilter_h
51 #include "vtkFiltersCoreModule.h"
54 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
55 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
56 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
57 #define VTK_EXTRACT_LARGEST_REGION 4
58 #define VTK_EXTRACT_ALL_REGIONS 5
59 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
61 VTK_ABI_NAMESPACE_BEGIN
96 vtkSetVector2Macro(ScalarRange,
double);
97 vtkGetVector2Macro(ScalarRange,
double);
106 vtkGetMacro(ExtractionMode,
int);
125 const char* GetExtractionModeAsString();
131 void InitializeSeedList();
146 void InitializeSpecifiedRegionList();
151 void AddSpecifiedRegion(
int id);
156 void DeleteSpecifiedRegion(
int id);
163 vtkSetVector3Macro(ClosestPoint,
double);
164 vtkGetVectorMacro(ClosestPoint,
double, 3);
170 int GetNumberOfExtractedRegions();
196 vtkSetMacro(RegionIdAssignmentMode,
int);
198 vtkGetMacro(RegionIdAssignmentMode,
int);
206 vtkSetMacro(OutputPointsPrecision,
int);
207 vtkGetMacro(OutputPointsPrecision,
int);
231 double ClosestPoint[3];
234 double ScalarRange[2];
270 return "ExtractPointSeededRegions";
274 return "ExtractCellSeededRegions";
278 return "ExtractSpecifiedRegions";
282 return "ExtractAllRegions";
286 return "ExtractClosestPointRegion";
290 return "ExtractLargestRegion";
294 VTK_ABI_NAMESPACE_END
void SetExtractionModeToPointSeededRegions()
Control the extraction of connected surfaces.
void SetExtractionModeToClosestPointRegion()
Control the extraction of connected surfaces.
vtkTypeBool ScalarConnectivity
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
Methods invoked by print to print information about the object including superclasses.
#define VTK_EXTRACT_LARGEST_REGION
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkIdList * SpecifiedRegionIds
#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
int RegionIdAssignmentMode
list of point or cell ids
abstract superclass for arrays of numeric data
Superclass for algorithms that produce output of the same type as input.
int OutputPointsPrecision
RegionIdAssignment
Enumeration of the various ways to assign RegionIds when the ColorRegions option is on...
#define VTK_EXTRACT_ALL_REGIONS
static vtkPointSetAlgorithm * New()
void SetExtractionModeToLargestRegion()
Control the extraction of connected surfaces.
void SetExtractionModeToSpecifiedRegions()
Control the extraction of connected surfaces.
vtkIdTypeArray * RegionSizes