VTK
vtkKMeansDistanceFunctorCalculator.h
Go to the documentation of this file.
1 #ifndef vtkKMeansDistanceFunctorCalculator_h
2 #define vtkKMeansDistanceFunctorCalculator_h
3 
26 #include "vtkFiltersStatisticsModule.h" // For export macro
28 
29 class vtkFunctionParser;
30 class vtkDoubleArray;
31 
33 {
34 public:
37  virtual void PrintSelf( ostream& os, vtkIndent indent );
38 
41  virtual void operator() ( double&, vtkVariantArray*, vtkVariantArray * );
42 
44 
45  vtkSetStringMacro(DistanceExpression);
46  vtkGetStringMacro(DistanceExpression);
48 
50 
54  virtual void SetFunctionParser( vtkFunctionParser* );
55  vtkGetObjectMacro(FunctionParser,vtkFunctionParser);
57 
58 protected:
61 
63  int TupleSize;
65 
66 private:
68  void operator = ( const vtkKMeansDistanceFunctorCalculator& ); // Not implemented.
69 };
70 
71 #endif // vtkKMeansDistanceFunctorCalculator_h
An array holding vtkVariants.
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
Definition: vtkIndent.h:38
static vtkKMeansDistanceFunctor * New()
measure distance from k-means cluster centers using a user-specified expression
#define VTKFILTERSSTATISTICS_EXPORT
measure distance from k-means cluster centers