|
OpenVDB
4.0.2
|
#include <AttributeArray.h>
Inherited by AttributeWriteHandle< ValueType, CodecType >.
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 preserveCompression=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 |
Static Public Member Functions | |
| static Ptr | create (const AttributeArray &array, const bool preserveCompression=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 |
|
protected |
| AttributeHandle | ( | const AttributeArray & | array, |
| const bool | preserveCompression = true |
||
| ) |
|
default |
|
virtual |
|
static |
| bool hasConstantStride | ( | ) | const |
| bool isUniform | ( | ) | const |
|
default |
|
inline |
|
inline |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13