Go to the documentation of this file.
54 #ifndef vtkEuclideanClusterExtraction_h
55 #define vtkEuclideanClusterExtraction_h
57 #include "vtkFiltersPointsModule.h"
60 #define VTK_EXTRACT_POINT_SEEDED_CLUSTERS 1
61 #define VTK_EXTRACT_SPECIFIED_CLUSTERS 2
62 #define VTK_EXTRACT_LARGEST_CLUSTER 3
63 #define VTK_EXTRACT_ALL_CLUSTERS 4
64 #define VTK_EXTRACT_CLOSEST_POINT_CLUSTER 5
89 vtkGetMacro(Radius,
double);
100 vtkGetMacro(ScalarConnectivity,
bool);
108 vtkSetVector2Macro(ScalarRange,
double);
109 vtkGetVector2Macro(ScalarRange,
double);
116 vtkSetClampMacro(ExtractionMode,
int,
118 vtkGetMacro(ExtractionMode,
int);
129 const char *GetExtractionModeAsString();
135 void InitializeSeedList();
150 void InitializeSpecifiedClusterList();
155 void AddSpecifiedCluster(
int id);
160 void DeleteSpecifiedCluster(
int id);
167 vtkSetVector3Macro(ClosestPoint,
double);
168 vtkGetVectorMacro(ClosestPoint,
double,3);
174 int GetNumberOfExtractedClusters();
181 vtkGetMacro(ColorClusters,
bool);
206 double ClosestPoint[3];
209 double ScalarRange[2];
250 return "ExtractPointSeededClusters";
254 return "ExtractSpecifiedClusters";
258 return "ExtractAllClusters";
262 return "ExtractClosestPointCluster";
266 return "ExtractLargestCluster";
represent and manipulate 3D points
dynamic, self-adjusting array of float
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
list of point or cell ids
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
dynamic, self-adjusting array of vtkIdType
abstract class to quickly locate points in 3-space
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.