1 #ifndef vtkKMeansDistanceFunctorCalculator_h
2 #define vtkKMeansDistanceFunctorCalculator_h
45 vtkSetStringMacro(DistanceExpression);
46 vtkGetStringMacro(DistanceExpression);
71 #endif // vtkKMeansDistanceFunctorCalculator_h
An array holding vtkVariants.
vtkFunctionParser * FunctionParser
char * DistanceExpression
virtual void PrintSelf(ostream &os, vtkIndent indent)
dynamic, self-adjusting array of double
virtual void operator()(double &, vtkVariantArray *, vtkVariantArray *)
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