OpenVDB  3.0.0
Classes | Enumerations | Functions
openvdb::v3_0_0::tools::point_partitioner_internal Namespace Reference

Classes

struct  BucketAndVoxelOffsetOp
 
struct  BucketMapOp
 
struct  BucketOrderOp
 
struct  ComputeBBoxOp
 
struct  ComputeOffsetOp
 
struct  IndexOrderOp
 
struct  IndexPair
 
struct  LeafNodeOriginOp
 
struct  MergeOffsetsOp
 
struct  PageBreakOp
 
struct  PageOrderOp
 
struct  VoxelOrderOp
 

Enumerations

enum  { LEAF_NODE_LIMIT = 1000000000 }
 

Functions

template<typename IntType >
bool isVolumeCalculationOverflowSafe (const CoordBBox &bbox)
 
template<typename PointArray >
CoordBBox computeLeafBounds (const PointArray &points, const math::Transform &m, unsigned log2dim)
 
template<Index Log2Dim, typename IndexT , typename VoxelOffsetT , typename PointArray >
void partition (const PointArray &points, const math::Transform &xform, const CoordBBox &bbox, boost::scoped_array< IndexT > &pointIndices, boost::scoped_array< IndexT > &pageOffsets, IndexT &pageCount, boost::scoped_array< VoxelOffsetT > &voxelOffsets, bool recordVoxelOffsets)
 
template<Index Log2Dim, typename IndexT , typename VoxelOffsetT , typename PointArray >
void sortPartition (const PointArray &points, const math::Transform &xform, const CoordBBox &bbox, boost::scoped_array< IndexT > &pointIndices, boost::scoped_array< IndexT > &pageOffsets, IndexT &pageCount, boost::scoped_array< VoxelOffsetT > &voxelOffsets, bool recordVoxelOffsets)
 

Enumeration Type Documentation

anonymous enum
Enumerator
LEAF_NODE_LIMIT 

Function Documentation

CoordBBox openvdb::v3_0_0::tools::point_partitioner_internal::computeLeafBounds ( const PointArray points,
const math::Transform m,
unsigned  log2dim 
)
inline
bool openvdb::v3_0_0::tools::point_partitioner_internal::isVolumeCalculationOverflowSafe ( const CoordBBox &  bbox)
inline
void openvdb::v3_0_0::tools::point_partitioner_internal::partition ( const PointArray points,
const math::Transform xform,
const CoordBBox &  bbox,
boost::scoped_array< IndexT > &  pointIndices,
boost::scoped_array< IndexT > &  pageOffsets,
IndexT &  pageCount,
boost::scoped_array< VoxelOffsetT > &  voxelOffsets,
bool  recordVoxelOffsets 
)
inline
void openvdb::v3_0_0::tools::point_partitioner_internal::sortPartition ( const PointArray points,
const math::Transform xform,
const CoordBBox &  bbox,
boost::scoped_array< IndexT > &  pointIndices,
boost::scoped_array< IndexT > &  pageOffsets,
IndexT &  pageCount,
boost::scoped_array< VoxelOffsetT > &  voxelOffsets,
bool  recordVoxelOffsets 
)
inline