HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tools::point_partitioner_internal Namespace Reference

Classes

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

Functions

template<typename PointIndexType , typename VoxelOffsetType , typename PointArray >
void binAndSegment (const PointArray &points, const math::Transform &xform, hboost::scoped_array< typename Array< PointIndexType >::Ptr > &indexSegments, hboost::scoped_array< typename Array< PointIndexType >::Ptr > &offsetSegments, size_t &segmentCount, 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, hboost::scoped_array< PointIndexType > &pointIndices, hboost::scoped_array< PointIndexType > &pageOffsets, PointIndexType &pageCount, hboost::scoped_array< VoxelOffsetType > &voxelOffsets, bool recordVoxelOffsets, bool cellCenteredTransform)
 

Function Documentation

template<typename PointIndexType , typename VoxelOffsetType , typename PointArray >
void openvdb::OPENVDB_VERSION_NAME::tools::point_partitioner_internal::binAndSegment ( const PointArray points,
const math::Transform &  xform,
hboost::scoped_array< typename Array< PointIndexType >::Ptr > &  indexSegments,
hboost::scoped_array< typename Array< PointIndexType >::Ptr > &  offsetSegments,
size_t &  segmentCount,
const Index  binLog2Dim,
const Index  bucketLog2Dim,
VoxelOffsetType *  voxelOffsets = nullptr,
bool  cellCenteredTransform = true 
)
inline

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

Definition at line 822 of file PointPartitioner.h.

template<typename PointIndexType , typename VoxelOffsetType , typename PointArray >
void openvdb::OPENVDB_VERSION_NAME::tools::point_partitioner_internal::partition ( const PointArray points,
const math::Transform &  xform,
const Index  bucketLog2Dim,
hboost::scoped_array< PointIndexType > &  pointIndices,
hboost::scoped_array< PointIndexType > &  pageOffsets,
PointIndexType &  pageCount,
hboost::scoped_array< VoxelOffsetType > &  voxelOffsets,
bool  recordVoxelOffsets,
bool  cellCenteredTransform 
)
inline

Definition at line 878 of file PointPartitioner.h.