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);
100 vtkGetMacro(ExtractionMode,
int);
115 const char* GetExtractionModeAsString();
123 vtkSetVector3Macro(ClosestPoint,
double);
124 vtkGetVectorMacro(ClosestPoint,
double, 3);
130 void InitializeSeedList();
145 void InitializeSpecifiedRegionList();
155 void DeleteSpecifiedRegion(
vtkIdType id);
164 vtkSetMacro(AlignedNormals,
int);
165 vtkGetMacro(AlignedNormals,
int);
166 vtkBooleanMacro(AlignedNormals,
int);
175 vtkSetClampMacro(NormalAngle,
double, 0.0001, 90.0);
176 vtkGetMacro(NormalAngle,
double);
185 vtkSetMacro(ScalarConnectivity,
int);
186 vtkGetMacro(ScalarConnectivity,
int);
187 vtkBooleanMacro(ScalarConnectivity,
int);
194 vtkSetVector2Macro(ScalarRange,
double);
195 vtkGetVector2Macro(ScalarRange,
double);
202 int GetNumberOfExtractedRegions();
235 double ClosestPoint[3];
244 double ScalarRange[2];
250 void TraverseAndMark(
275 return "ExtractPointSeededRegions";
279 return "ExtractSpecifiedRegions";
283 return "ExtractAllRegions";
287 return "ExtractClosestPointRegion";
291 return "ExtractLargestRegion";
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.