3 #ifndef vtkKMeansDistanceFunctorCalculator_h
4 #define vtkKMeansDistanceFunctorCalculator_h
29 #include "vtkFiltersStatisticsModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
54 vtkSetStringMacro(DistanceExpression);
55 vtkGetStringMacro(DistanceExpression);
83 #endif // vtkKMeansDistanceFunctorCalculator_h
An array holding vtkVariants.
vtkFunctionParser * FunctionParser
char * DistanceExpression
dynamic, self-adjusting array of double
virtual void operator()(double &, vtkVariantArray *, vtkVariantArray *)
Compute the distance from one observation to another, returning the distance in the first argument...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Parse and evaluate a mathematical expression.
a simple class to control print indentation
static vtkKMeansDistanceFunctor * New()
measure distance from k-means cluster centers using a user-specified expression
measure distance from k-means cluster centers