#include <openvdb/tools/PointPartitioner.h>
|  | 
| static constexpr Index | bits = 1 + (3 * BucketLog2Dim) | 
|  | 
◆ ConstPtr
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
 
◆ IndexType
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
 
◆ Ptr
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
 
◆ VoxelOffsetArray
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
 
◆ VoxelOffsetType
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
Initial value: typename std::conditional<(
bits < 16),
 
        int16_t, 
typename std::conditional<(
bits < 32), int32_t, int64_t>::type>::type
 
 
◆ anonymous enum
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
 
◆ PointPartitioner()
template<typename PointIndexType, 
Index BucketLog2Dim> 
 
 
◆ clear()
template<typename PointIndexType, 
Index BucketLog2Dim> 
 
Removes all data and frees up memory. 
 
 
◆ construct()
template<typename PointIndexType, 
Index BucketLog2Dim> 
 
Partitions point indices into BucketLog2Dim aligned buckets. 
- Parameters
- 
  
    | points | list of world space points. |  | xform | world to index space transform. |  | voxelOrder | sort point indices by local voxel offsets. |  | recordVoxelOffsets | construct local voxel offsets |  | cellCenteredTransform | toggle the cell-centered interpretation that imagines world space as divided into discrete cells (e.g., cubes) centered on the image of the index-space lattice points. |  
 
 
 
◆ create()
template<typename PointIndexType, 
Index BucketLog2Dim> 
 
Partitions point indices into BucketLog2Dim aligned buckets. 
- Parameters
- 
  
    | points | list of world space points. |  | xform | world to index space transform. |  | voxelOrder | sort point indices by local voxel offsets. |  | recordVoxelOffsets | construct local voxel offsets |  | cellCenteredTransform | toggle the cell-centered interpretation that imagines world space as divided into discrete cells (e.g., cubes) centered on the image of the index-space lattice points. |  
 
 
 
◆ empty()
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
true if the container size is 0, false otherwise. 
 
 
◆ getBBox()
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
Returns the coordinate-aligned bounding box for bucket n. 
 
 
◆ indices()
template<typename PointIndexType, 
Index BucketLog2Dim> 
  
  | 
        
          | PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator indices | ( | size_t | n | ) | const |  | inline | 
 
Returns the point indices for bucket n. 
 
 
◆ origin()
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
  
  | 
        
          | const Coord & origin | ( | size_t | n | ) | const |  | inline | 
 
Returns the origin coordinate for bucket n. 
 
 
◆ size()
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
Returns the number of buckets. 
 
 
◆ swap()
template<typename PointIndexType, 
Index BucketLog2Dim> 
 
Exchanges the content of the container by another. 
 
 
◆ usingCellCenteredTransform()
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
  
  | 
        
          | bool usingCellCenteredTransform | ( |  | ) | const |  | inline | 
 
Returns true if this point partitioning was constructed using a cell-centered transform. 
- Note
- Cell-centered interpretation is the default behavior. 
 
 
◆ voxelOffsets()
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
 
Returns a list of LeafNode voxel offsets for the points. 
- Note
- The list is optionally constructed. 
 
 
◆ bits
template<typename PointIndexType = uint32_t, 
Index BucketLog2Dim = 3> 
  
  | 
        
          | Index bits = 1 + (3 * BucketLog2Dim) |  | staticconstexpr |