42 #ifndef vtkEuclideanClusterExtraction_h
43 #define vtkEuclideanClusterExtraction_h
45 #include "vtkFiltersPointsModule.h"
48 #define VTK_EXTRACT_POINT_SEEDED_CLUSTERS 1
49 #define VTK_EXTRACT_SPECIFIED_CLUSTERS 2
50 #define VTK_EXTRACT_LARGEST_CLUSTER 3
51 #define VTK_EXTRACT_ALL_CLUSTERS 4
52 #define VTK_EXTRACT_CLOSEST_POINT_CLUSTER 5
54 VTK_ABI_NAMESPACE_BEGIN
77 vtkGetMacro(Radius,
double);
87 vtkSetMacro(ScalarConnectivity,
bool);
88 vtkGetMacro(ScalarConnectivity,
bool);
89 vtkBooleanMacro(ScalarConnectivity,
bool);
96 vtkSetVector2Macro(ScalarRange,
double);
97 vtkGetVector2Macro(ScalarRange,
double);
106 vtkGetMacro(ExtractionMode,
int);
121 const char* GetExtractionModeAsString();
127 void InitializeSeedList();
142 void InitializeSpecifiedClusterList();
147 void AddSpecifiedCluster(
int id);
152 void DeleteSpecifiedCluster(
int id);
159 vtkSetVector3Macro(ClosestPoint,
double);
160 vtkGetVectorMacro(ClosestPoint,
double, 3);
166 int GetNumberOfExtractedClusters();
172 vtkSetMacro(ColorClusters,
bool);
173 vtkGetMacro(ColorClusters,
bool);
174 vtkBooleanMacro(ColorClusters,
bool);
198 double ClosestPoint[3];
201 double ScalarRange[2];
239 return "ExtractPointSeededClusters";
243 return "ExtractSpecifiedClusters";
247 return "ExtractAllClusters";
251 return "ExtractClosestPointCluster";
255 return "ExtractLargestCluster";
259 VTK_ABI_NAMESPACE_END
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
dynamic, self-adjusting array of float
dynamic, self-adjusting array of vtkIdType
static vtkPolyDataAlgorithm * New()
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
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.