#include <openvdb/points/AttributeGroup.h>
◆ GroupIndex
◆ Ptr
◆ UniquePtr
◆ GroupWriteHandle()
◆ collapse()
Set membership for the whole array and attempt to collapse.
- Parameters
-
on | True or false for inclusion in group |
- Note
- This method guarantees that all attributes will have group membership changed according to the input bool, however compaction will not be performed if other groups that share the same underlying array are non-uniform. The return value indicates if the group array ends up being uniform.
◆ compact()
Compact the existing array to become uniform if all values are identical.
◆ get()
bool get |
( |
Index |
n | ) |
const |
|
inherited |
◆ getUnsafe()
bool getUnsafe |
( |
Index |
n | ) |
const |
|
inherited |
◆ isUniform()
◆ set()
void set |
( |
Index |
n, |
|
|
bool |
on |
|
) |
| |
Set on at the given index n.
◆ setUnsafe()
void setUnsafe |
( |
Index |
n, |
|
|
bool |
on |
|
) |
| |
Set on at the given index n (assumes in-core and non-uniform)
◆ size()
◆ mArray
◆ mBitMask