1 #ifndef vtkKMeansDistanceFunctorCalculator_h 2 #define vtkKMeansDistanceFunctorCalculator_h 27 #include "vtkFiltersStatisticsModule.h" 50 vtkSetStringMacro(DistanceExpression);
51 vtkGetStringMacro(DistanceExpression);
78 #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