 |
VTK
9.0.1
|
Go to the documentation of this file.
51 #ifndef vtkConnectedPointsFilter_h
52 #define vtkConnectedPointsFilter_h
54 #include "vtkFiltersPointsModule.h"
58 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
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
88 vtkGetMacro(Radius,
double);
97 vtkGetMacro(ExtractionMode,
int);
112 const char* GetExtractionModeAsString();
120 vtkSetVector3Macro(ClosestPoint,
double);
121 vtkGetVectorMacro(ClosestPoint,
double, 3);
127 void InitializeSeedList();
142 void InitializeSpecifiedRegionList();
152 void DeleteSpecifiedRegion(
vtkIdType id);
161 vtkSetMacro(AlignedNormals,
int);
162 vtkGetMacro(AlignedNormals,
int);
163 vtkBooleanMacro(AlignedNormals,
int);
172 vtkSetClampMacro(NormalAngle,
double, 0.0001, 90.0);
173 vtkGetMacro(NormalAngle,
double);
182 vtkSetMacro(ScalarConnectivity,
int);
183 vtkGetMacro(ScalarConnectivity,
int);
184 vtkBooleanMacro(ScalarConnectivity,
int);
191 vtkSetVector2Macro(ScalarRange,
double);
192 vtkGetVector2Macro(ScalarRange,
double);
199 int GetNumberOfExtractedRegions();
232 double ClosestPoint[3];
241 double ScalarRange[2];
247 void TraverseAndMark(
273 return "ExtractPointSeededRegions";
277 return "ExtractSpecifiedRegions";
281 return "ExtractAllRegions";
285 return "ExtractClosestPointRegion";
289 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.