HDK
|
Partitions points into BucketLog2Dim
aligned buckets using a parallel radix-based sorting algorithm.
More...
#include <PointPartitioner.h>
Partitions points into BucketLog2Dim
aligned buckets using a parallel radix-based sorting algorithm.
Expected interface for the PointArray container:
Performs a stable deterministic sort; partitioning the same point sequence will produce the same result each time.
The algorithm is unbounded meaning that points may be distributed anywhere in index space.
The actual points are never stored in the tool, only offsets into an external array.
BucketLog2Dim
defines the bucket coordinate dimensions, i.e. BucketLog2Dim = 3 corresponds to a bucket that spans a (2^3)^3 = 8^3 voxel region.