73 #ifndef vtkEuclideanClusterExtraction_h
74 #define vtkEuclideanClusterExtraction_h
76 #include "vtkFiltersPointsModule.h"
79 #define VTK_EXTRACT_POINT_SEEDED_CLUSTERS 1
80 #define VTK_EXTRACT_SPECIFIED_CLUSTERS 2
81 #define VTK_EXTRACT_LARGEST_CLUSTER 3
82 #define VTK_EXTRACT_ALL_CLUSTERS 4
83 #define VTK_EXTRACT_CLOSEST_POINT_CLUSTER 5
107 vtkGetMacro(Radius,
double);
117 vtkSetMacro(ScalarConnectivity,
bool);
118 vtkGetMacro(ScalarConnectivity,
bool);
119 vtkBooleanMacro(ScalarConnectivity,
bool);
126 vtkSetVector2Macro(ScalarRange,
double);
127 vtkGetVector2Macro(ScalarRange,
double);
136 vtkGetMacro(ExtractionMode,
int);
151 const char* GetExtractionModeAsString();
189 vtkSetVector3Macro(ClosestPoint,
double);
190 vtkGetVectorMacro(ClosestPoint,
double, 3);
202 vtkSetMacro(ColorClusters,
bool);
203 vtkGetMacro(ColorClusters,
bool);
204 vtkBooleanMacro(ColorClusters,
bool);
228 double ClosestPoint[3];
231 double ScalarRange[2];
269 return "ExtractPointSeededClusters";
273 return "ExtractSpecifiedClusters";
277 return "ExtractAllClusters";
281 return "ExtractClosestPointCluster";
285 return "ExtractLargestCluster";
abstract class to quickly locate points in 3-space
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of float
list of point or cell ids
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.