OpenVDB  8.1.1
Classes | Functions
openvdb::v8_1::tools::point_partitioner_internal Namespace Reference

Classes

struct  Array
 
struct  BinPointIndicesOp
 
struct  ComputePointOrderOp
 
struct  CreateOrderedPointIndexArrayOp
 
struct  MergeBinsOp
 
struct  MoveSegmentDataOp
 
struct  OrderSegmentsOp
 
struct  VoxelOrderOp
 

Functions

template<typename PointIndexType , typename VoxelOffsetType , typename PointArray >
void binAndSegment (const PointArray &points, const math::Transform &xform, std::unique_ptr< typename Array< PointIndexType >::Ptr[]> &indexSegments, std::unique_ptr< typename Array< PointIndexType >::Ptr[]> &offsetSegments, std::vector< Coord > &coords, const Index binLog2Dim, const Index bucketLog2Dim, VoxelOffsetType *voxelOffsets=nullptr, bool cellCenteredTransform=true)
 Segment points using one level of least significant digit radix bins. More...
 
template<typename PointIndexType , typename VoxelOffsetType , typename PointArray >
void partition (const PointArray &points, const math::Transform &xform, const Index bucketLog2Dim, std::unique_ptr< PointIndexType[]> &pointIndices, std::unique_ptr< PointIndexType[]> &pageOffsets, std::unique_ptr< Coord[]> &pageCoordinates, PointIndexType &pageCount, std::unique_ptr< VoxelOffsetType[]> &voxelOffsets, bool recordVoxelOffsets, bool cellCenteredTransform)
 

Function Documentation

void openvdb::v8_1::tools::point_partitioner_internal::binAndSegment ( const PointArray points,
const math::Transform xform,
std::unique_ptr< typename Array< PointIndexType >::Ptr[]> &  indexSegments,
std::unique_ptr< typename Array< PointIndexType >::Ptr[]> &  offsetSegments,
std::vector< Coord > &  coords,
const Index  binLog2Dim,
const Index  bucketLog2Dim,
VoxelOffsetType *  voxelOffsets = nullptr,
bool  cellCenteredTransform = true 
)
inline

Segment points using one level of least significant digit radix bins.

void openvdb::v8_1::tools::point_partitioner_internal::partition ( const PointArray points,
const math::Transform xform,
const Index  bucketLog2Dim,
std::unique_ptr< PointIndexType[]> &  pointIndices,
std::unique_ptr< PointIndexType[]> &  pageOffsets,
std::unique_ptr< Coord[]> &  pageCoordinates,
PointIndexType &  pageCount,
std::unique_ptr< VoxelOffsetType[]> &  voxelOffsets,
bool  recordVoxelOffsets,
bool  cellCenteredTransform 
)
inline