42 #ifndef vtkConnectedPointsFilter_h
43 #define vtkConnectedPointsFilter_h
45 #include "vtkFiltersPointsModule.h"
49 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
50 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
51 #define VTK_EXTRACT_LARGEST_REGION 4
52 #define VTK_EXTRACT_ALL_REGIONS 5
53 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
55 VTK_ABI_NAMESPACE_BEGIN
80 vtkGetMacro(Radius,
double);
89 vtkGetMacro(ExtractionMode,
int);
104 const char* GetExtractionModeAsString();
112 vtkSetVector3Macro(ClosestPoint,
double);
113 vtkGetVectorMacro(ClosestPoint,
double, 3);
119 void InitializeSeedList();
134 void InitializeSpecifiedRegionList();
144 void DeleteSpecifiedRegion(
vtkIdType id);
153 vtkSetMacro(AlignedNormals,
int);
154 vtkGetMacro(AlignedNormals,
int);
155 vtkBooleanMacro(AlignedNormals,
int);
164 vtkSetClampMacro(NormalAngle,
double, 0.0001, 90.0);
165 vtkGetMacro(NormalAngle,
double);
174 vtkSetMacro(ScalarConnectivity,
int);
175 vtkGetMacro(ScalarConnectivity,
int);
176 vtkBooleanMacro(ScalarConnectivity,
int);
183 vtkSetVector2Macro(ScalarRange,
double);
184 vtkGetVector2Macro(ScalarRange,
double);
191 int GetNumberOfExtractedRegions();
224 double ClosestPoint[3];
233 double ScalarRange[2];
239 void TraverseAndMark(
263 return "ExtractPointSeededRegions";
267 return "ExtractSpecifiedRegions";
271 return "ExtractAllRegions";
275 return "ExtractClosestPointRegion";
279 return "ExtractLargestRegion";
283 VTK_ABI_NAMESPACE_END
vtkAbstractPointLocator * Locator
void SetExtractionModeToLargestRegion()
Control the extraction of connected regions.
#define VTK_EXTRACT_ALL_REGIONS
extract / segment points based on geometric connectivity
#define VTK_EXTRACT_LARGEST_REGION
#define VTK_EXTRACT_SPECIFIED_REGIONS
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
dynamic, self-adjusting array of float
void SetExtractionModeToPointSeededRegions()
Control the extraction of connected regions.
void SetExtractionModeToClosestPointRegion()
Control the extraction of connected regions.
dynamic, self-adjusting array of vtkIdType
void SetExtractionModeToAllRegions()
Control the extraction of connected regions.
vtkIdList * SpecifiedRegionIds
void SetExtractionModeToSpecifiedRegions()
Control the extraction of connected regions.
static vtkPolyDataAlgorithm * New()
dynamic, self-adjusting array of int
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
abstract class to quickly locate points in 3-space
list of point or cell ids
abstract superclass for arrays of numeric data
#define VTK_EXTRACT_POINT_SEEDED_REGIONS
const char * GetExtractionModeAsString()
Return the method of extraction as a string.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
#define VTK_EXTRACT_CLOSEST_POINT_REGION
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.