31#ifndef vtkSMPMergePoints_h
32#define vtkSMPMergePoints_h
34#include "vtkFiltersSMPModule.h"
83 return this->AtomicInsertionId - 1;
92 if ( !this->HashTable )
vtkIdType NumberOfBuckets
list of point or cell ids
vtkIdType GetNumberOfIds()
Return the number of id's in the list.
a simple class to control print indentation
merge exactly coincident points
represent and manipulate point attribute data
Class designed to help with merging of points in parallel.
vtkIdType GetMaxId()
Returns the biggest id in the locator.
void FixSizeOfPointArray()
At the of the merge, this can be called to set the MaxId of the points array to the maximum id in the...
vtkIdType GetNumberOfIdsInBucket(vtkIdType idx)
Retuns the number of points in a bin.
vtkAtomicIdType AtomicInsertionId
void InitializeMerge()
This should be called from 1 thread before any call to Merge.
vtkIdType GetNumberOfBuckets()
Retuns the number of bins.
static vtkSMPMergePoints * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void Merge(vtkSMPMergePoints *locator, vtkIdType idx, vtkPointData *outPd, vtkPointData *inPd, vtkIdList *idList)
Merge the points of one of the bins from the given locator to the same bin of the current locator.
vtkAtomic< vtkIdType > vtkAtomicIdType