Go to the documentation of this file.
31 #ifndef vtkSMPMergePoints_h
32 #define vtkSMPMergePoints_h
34 #include "vtkFiltersSMPModule.h"
83 return this->AtomicInsertionId - 1;
92 if ( !this->HashTable )
120 #endif // vtkSMPMergePoints_h
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.
static vtkSMPMergePoints * New()
void InitializeMerge()
This should be called from 1 thread before any call to Merge.
represent and manipulate point attribute data
vtkIdType NumberOfBuckets
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 GetNumberOfBuckets() override
Returns the number of bins.
vtkAtomicIdType AtomicInsertionId
~vtkSMPMergePoints() override
vtkIdType GetNumberOfIdsInBucket(vtkIdType idx)
Returns the number of points in a bin.
vtkAtomic< vtkIdType > vtkAtomicIdType
a simple class to control print indentation
list of point or cell ids
vtkIdType GetMaxId()
Returns the biggest id in the locator.
vtkIdType GetNumberOfIds()
Return the number of id's in the list.
Class designed to help with merging of points in parallel.
merge exactly coincident points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.