Go to the documentation of this file.
54 #ifndef vtkConnectedPointsFilter_h
55 #define vtkConnectedPointsFilter_h
57 #include "vtkFiltersPointsModule.h"
61 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
62 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
63 #define VTK_EXTRACT_LARGEST_REGION 4
64 #define VTK_EXTRACT_ALL_REGIONS 5
65 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
91 vtkGetMacro(Radius,
double);
98 vtkSetClampMacro(ExtractionMode,
int,
100 vtkGetMacro(ExtractionMode,
int);
111 const char *GetExtractionModeAsString();
119 vtkSetVector3Macro(ClosestPoint,
double);
120 vtkGetVectorMacro(ClosestPoint,
double,3);
126 void InitializeSeedList();
141 void InitializeSpecifiedRegionList();
151 void DeleteSpecifiedRegion(
vtkIdType id);
160 vtkSetMacro(AlignedNormals,
int);
161 vtkGetMacro(AlignedNormals,
int);
162 vtkBooleanMacro(AlignedNormals,
int);
171 vtkSetClampMacro(NormalAngle,
double,0.0001, 90.0);
172 vtkGetMacro(NormalAngle,
double);
181 vtkSetMacro(ScalarConnectivity,
int);
182 vtkGetMacro(ScalarConnectivity,
int);
183 vtkBooleanMacro(ScalarConnectivity,
int);
190 vtkSetVector2Macro(ScalarRange,
double);
191 vtkGetVector2Macro(ScalarRange,
double);
198 int GetNumberOfExtractedRegions();
231 double ClosestPoint[3];
240 double ScalarRange[2];
272 return "ExtractPointSeededRegions";
276 return "ExtractSpecifiedRegions";
280 return "ExtractAllRegions";
284 return "ExtractClosestPointRegion";
288 return "ExtractLargestRegion";
represent and manipulate 3D points
const char * GetExtractionModeAsString()
Return the method of extraction as a string.
#define VTK_EXTRACT_SPECIFIED_REGIONS
#define VTK_EXTRACT_LARGEST_REGION
void SetExtractionModeToAllRegions()
dynamic, self-adjusting array of float
void SetExtractionModeToLargestRegion()
abstract superclass for arrays of numeric data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
void SetExtractionModeToSpecifiedRegions()
dynamic, self-adjusting array of int
vtkAbstractPointLocator * Locator
list of point or cell ids
#define VTK_EXTRACT_POINT_SEEDED_REGIONS
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
extract / segment points based on geometric connectivity
dynamic, self-adjusting array of vtkIdType
#define VTK_EXTRACT_ALL_REGIONS
void SetExtractionModeToClosestPointRegion()
abstract class to quickly locate points in 3-space
void SetExtractionModeToPointSeededRegions()
vtkIdList * SpecifiedRegionIds
#define VTK_EXTRACT_CLOSEST_POINT_REGION
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.