#include <openvdb/points/AttributeArray.h>
| Public Types | |
| using | Handle = AttributeHandle<ValueType, CodecType> | 
| using | Ptr = std::shared_ptr<Handle> | 
| using | UniquePtr = std::unique_ptr<Handle> | 
| Public Member Functions | |
| AttributeHandle (const AttributeArray &array, const bool collapseOnDestruction=true) | |
| AttributeHandle (const AttributeHandle &)=default | |
| AttributeHandle & | operator= (const AttributeHandle &)=default | 
| virtual | ~AttributeHandle () | 
| Index | stride () const | 
| Index | size () const | 
| bool | isUniform () const | 
| bool | hasConstantStride () const | 
| ValueType | get (Index n, Index m=0) const | 
| const AttributeArray & | array () const | 
| Static Public Member Functions | |
| static Ptr | create (const AttributeArray &array, const bool collapseOnDestruction=true) | 
| Protected Types | |
| using | GetterPtr = ValueType (*)(const AttributeArray* array, const Index n) | 
| using | SetterPtr = void (*)(AttributeArray* array, const Index n, const ValueType& value) | 
| using | ValuePtr = void (*)(AttributeArray* array, const ValueType& value) | 
| Protected Member Functions | |
| Index | index (Index n, Index m) const | 
| Protected Attributes | |
| const AttributeArray * | mArray | 
| GetterPtr | mGetter | 
| SetterPtr | mSetter | 
| ValuePtr | mCollapser | 
| ValuePtr | mFiller | 
| Friends | |
| class | ::TestAttributeArray | 
AttributeHandles provide access to specific TypedAttributeArray methods without needing to know the compression codec, however these methods also incur the cost of a function pointer
| 
 | protected | 
| using Handle = AttributeHandle<ValueType, CodecType> | 
| 
 | protected | 
| using UniquePtr = std::unique_ptr<Handle> | 
| 
 | protected | 
| AttributeHandle | ( | const AttributeArray & | array, | 
| const bool | collapseOnDestruction = true ) | 
| 
 | default | 
| 
 | virtual | 
| const AttributeArray & array | ( | ) | const | 
| 
 | static | 
| bool hasConstantStride | ( | ) | const | 
| bool isUniform | ( | ) | const | 
| 
 | default | 
| 
 | inline | 
| 
 | inline | 
| 
 | friend | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected |