51 #ifndef vtkEuclideanClusterExtraction_h
52 #define vtkEuclideanClusterExtraction_h
54 #include "vtkFiltersPointsModule.h"
57 #define VTK_EXTRACT_POINT_SEEDED_CLUSTERS 1
58 #define VTK_EXTRACT_SPECIFIED_CLUSTERS 2
59 #define VTK_EXTRACT_LARGEST_CLUSTER 3
60 #define VTK_EXTRACT_ALL_CLUSTERS 4
61 #define VTK_EXTRACT_CLOSEST_POINT_CLUSTER 5
85 vtkGetMacro(Radius,
double);
95 vtkSetMacro(ScalarConnectivity,
bool);
96 vtkGetMacro(ScalarConnectivity,
bool);
97 vtkBooleanMacro(ScalarConnectivity,
bool);
104 vtkSetVector2Macro(ScalarRange,
double);
105 vtkGetVector2Macro(ScalarRange,
double);
114 vtkGetMacro(ExtractionMode,
int);
129 const char* GetExtractionModeAsString();
167 vtkSetVector3Macro(ClosestPoint,
double);
168 vtkGetVectorMacro(ClosestPoint,
double, 3);
180 vtkSetMacro(ColorClusters,
bool);
181 vtkGetMacro(ColorClusters,
bool);
182 vtkBooleanMacro(ColorClusters,
bool);
206 double ClosestPoint[3];
209 double ScalarRange[2];
247 return "ExtractPointSeededClusters";
251 return "ExtractSpecifiedClusters";
255 return "ExtractAllClusters";
259 return "ExtractClosestPointCluster";
263 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.