21#ifndef vtkSMPMergePoints_h
22#define vtkSMPMergePoints_h
24#include "vtkFiltersSMPModule.h"
31VTK_ABI_NAMESPACE_BEGIN
vtkIdType NumberOfBuckets
list of point or cell ids
vtkIdType GetNumberOfIds() const noexcept
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.
~vtkSMPMergePoints() override
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)
Returns the number of points in a bin.
void InitializeMerge()
This should be called from 1 thread before any call to Merge.
std::atomic< vtkIdType > AtomicInsertionId
vtkIdType GetNumberOfBuckets() VTK_FUTURE_CONST override
Returns the number of bins.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
static vtkSMPMergePoints * New()
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.