1#ifndef vtkKMeansDistanceFunctorCalculator_h
2#define vtkKMeansDistanceFunctorCalculator_h
24#include "vtkFiltersStatisticsModule.h"
48 vtkSetStringMacro(DistanceExpression);
49 vtkGetStringMacro(DistanceExpression);
dynamic, self-adjusting array of double
Parse and evaluate a mathematical expression.
a simple class to control print indentation
measure distance from k-means cluster centers using a user-specified expression
static vtkKMeansDistanceFunctorCalculator * New()
vtkFunctionParser * FunctionParser
~vtkKMeansDistanceFunctorCalculator() override
vtkKMeansDistanceFunctorCalculator()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
char * DistanceExpression
virtual void SetFunctionParser(vtkFunctionParser *)
Set/get the string containing an expression which evaluates to the distance metric used for k-means c...
void operator()(double &, vtkVariantArray *, vtkVariantArray *) override
Compute the distance from one observation to another, returning the distance in the first argument.
measure distance from k-means cluster centers
An array holding vtkVariants.