OpenVDB
5.2.0
|
Convenience class with methods for analyzing group data. More...
#include <PointGroup.h>
Public Types | |
using | Descriptor = AttributeSet::Descriptor |
Public Member Functions | |
GroupInfo (const AttributeSet &attributeSet) | |
size_t | unusedGroups () const |
bool | canCompactGroups () const |
Return true if there are sufficient empty slots to allow compacting. More... | |
size_t | nextUnusedOffset () const |
Return the next empty group slot. More... | |
std::vector< size_t > | populateGroupIndices () const |
Return vector of indices correlating to the group attribute arrays. More... | |
bool | requiresMove (Name &sourceName, size_t &sourceOffset, size_t &targetOffset) const |
Static Public Member Functions | |
static size_t | groupBits () |
Return the number of bits in a group (typically 8) More... | |
Convenience class with methods for analyzing group data.
using Descriptor = AttributeSet::Descriptor |
|
inline |
|
inline |
Return true
if there are sufficient empty slots to allow compacting.
|
inlinestatic |
Return the number of bits in a group (typically 8)
|
inline |
Return the next empty group slot.
|
inline |
Return vector of indices correlating to the group attribute arrays.
|
inline |
Determine if a move is required to efficiently compact the data and store the source name, offset and the target offset in the input parameters
|
inline |
Return the number of empty group slots which correlates to the number of groups that can be stored without increasing the number of group attribute arrays