OpenVDB  12.0.0
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
GroupHandle Class Reference

#include <openvdb/points/AttributeGroup.h>

Inherited by GroupWriteHandle.

Classes

struct  BitMask
 

Public Types

using Ptr = std::shared_ptr< GroupHandle >
 
using UniquePtr = std::unique_ptr< GroupHandle >
 
using GroupIndex = std::pair< Index, uint8_t >
 

Public Member Functions

 GroupHandle (const GroupAttributeArray &array, const GroupType &offset)
 
 GroupHandle (const GroupAttributeArray &array, const GroupType &bitMask, BitMask)
 
Index size () const
 
bool isUniform () const
 
bool get (Index n) const
 
bool getUnsafe (Index n) const
 

Protected Attributes

const GroupAttributeArraymArray
 
const GroupType mBitMask
 

Member Typedef Documentation

using GroupIndex = std::pair<Index, uint8_t>
using Ptr = std::shared_ptr<GroupHandle>
using UniquePtr = std::unique_ptr<GroupHandle>

Constructor & Destructor Documentation

GroupHandle ( const GroupAttributeArray array,
const GroupType offset 
)
GroupHandle ( const GroupAttributeArray array,
const GroupType bitMask,
BitMask   
)

Member Function Documentation

bool get ( Index  n) const
bool getUnsafe ( Index  n) const
bool isUniform ( ) const
inline
Index size ( ) const
inline

Member Data Documentation

const GroupAttributeArray& mArray
protected
const GroupType mBitMask
protected