Go to the documentation of this file. 1 #ifndef vtkKMeansDistanceFunctor_h
2 #define vtkKMeansDistanceFunctor_h
93 #endif // vtkKMeansDistanceFunctor_h
GLsizei GLsizei GLenum GLenum const GLvoid * data
virtual ~vtkKMeansDistanceFunctor()
A table, which contains similar-typed columns of data.
measure distance from k-means cluster centers
virtual vtkVariantArray * GetEmptyTuple(vtkIdType dimension)
vtkVariantArray * EmptyTuple
#define vtkTypeMacro(thisClass, superclass)
virtual int GetDataType()
abstract base class for most VTK objects
An array holding vtkVariants.
virtual vtkAbstractArray * CreateCoordinateArray()
virtual void PackElements(vtkTable *curTable, void *vElements)
virtual void UnPackElements(vtkTable *curTable, vtkTable *newTable, void *vLocalElements, void *vGlobalElements, int np)
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkKMeansDistanceFunctor()
GLenum GLenum GLvoid * row
a simple class to control print indentation
virtual void PairwiseUpdate(vtkTable *clusterCenters, vtkIdType row, vtkVariantArray *data, vtkIdType dataCardinality, vtkIdType totalCardinality)
Abstract superclass for all arrays.
virtual void PerturbElement(vtkTable *, vtkTable *, vtkIdType, vtkIdType, vtkIdType, double)
virtual void DeallocateElementArray(void *)
virtual void * AllocateElementArray(vtkIdType size)
static vtkKMeansDistanceFunctor * New()
virtual void UnPackElements(vtkTable *curTable, void *vLocalElements, vtkIdType numRows, vtkIdType numCols)