1 #ifndef vtkKMeansDistanceFunctor_h 2 #define vtkKMeansDistanceFunctor_h 50 virtual void PairwiseUpdate(
vtkTable* clusterCenters, vtkIdType row,
vtkVariantArray*
data, vtkIdType dataCardinality, vtkIdType totalCardinality );
60 virtual void PerturbElement(
vtkTable*,
vtkTable*, vtkIdType, vtkIdType, vtkIdType,
double );
66 virtual void* AllocateElementArray( vtkIdType
size );
71 virtual void DeallocateElementArray(
void* );
83 virtual void PackElements(
vtkTable* curTable,
void* vElements );
90 virtual void UnPackElements(
vtkTable* curTable,
vtkTable* newTable,
void* vLocalElements,
void* vGlobalElements,
int np );
91 virtual void UnPackElements(
vtkTable* curTable,
void* vLocalElements, vtkIdType numRows, vtkIdType numCols );
97 virtual int GetDataType();
111 #endif // vtkKMeansDistanceFunctor_h
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
An array holding vtkVariants.
Abstract superclass for all arrays.
a simple class to control print indentation
A table, which contains similar-typed columns of data.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
measure distance from k-means cluster centers
vtkVariantArray * EmptyTuple