OpenVDB
12.0.0
|
#include <openvdb/points/AttributeGroup.h>
Inherits GroupHandle.
Public Types | |
using | Ptr = std::shared_ptr< GroupWriteHandle > |
using | UniquePtr = std::unique_ptr< GroupWriteHandle > |
using | GroupIndex = std::pair< Index, uint8_t > |
Public Member Functions | |
GroupWriteHandle (GroupAttributeArray &array, const GroupType &offset) | |
void | set (Index n, bool on) |
Set on at the given index n. More... | |
void | setUnsafe (Index n, bool on) |
Set on at the given index n (assumes in-core and non-uniform) More... | |
bool | collapse (bool on) |
Set membership for the whole array and attempt to collapse. More... | |
bool | compact () |
Compact the existing array to become uniform if all values are identical. More... | |
Index | size () const |
bool | isUniform () const |
bool | get (Index n) const |
bool | getUnsafe (Index n) const |
Protected Attributes | |
const GroupAttributeArray & | mArray |
const GroupType | mBitMask |
|
inherited |
using Ptr = std::shared_ptr<GroupWriteHandle> |
using UniquePtr = std::unique_ptr<GroupWriteHandle> |
GroupWriteHandle | ( | GroupAttributeArray & | array, |
const GroupType & | offset | ||
) |
bool collapse | ( | bool | on | ) |
Set membership for the whole array and attempt to collapse.
on | True or false for inclusion in group |
bool compact | ( | ) |
Compact the existing array to become uniform if all values are identical.
|
inherited |
|
inherited |
|
inlineinherited |
void set | ( | Index | n, |
bool | on | ||
) |
Set on at the given index n.
void setUnsafe | ( | Index | n, |
bool | on | ||
) |
Set on at the given index n (assumes in-core and non-uniform)
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |