Partial specialization when Codec is not known at compile-time to use the supplied functor instead. More...
#include <openvdb/points/AttributeArray.h>
Public Types | |
using | GetterPtr = ValueType (*)(const AttributeArray* array, const Index n) |
using | SetterPtr = void (*)(AttributeArray* array, const Index n, const ValueType& value) |
using | GetterPtr |
using | SetterPtr |
Static Public Member Functions | |
static ValueType | get (GetterPtr functor, const AttributeArray *array, const Index n) |
Getter that calls the supplied functor. | |
static void | set (SetterPtr functor, AttributeArray *array, const Index n, const ValueType &value) |
Setter that calls the supplied functor. | |
static ValueType | get (GetterPtr, const AttributeArray *array, const Index n) |
static void | set (SetterPtr, AttributeArray *array, const Index n, const ValueType &value) |
Partial specialization when Codec is not known at compile-time to use the supplied functor instead.
using GetterPtr |
using GetterPtr = ValueType (*)(const AttributeArray* array, const Index n) |
using SetterPtr |
using SetterPtr = void (*)(AttributeArray* array, const Index n, const ValueType& value) |
|
inlinestatic |
Getter that calls the supplied functor.
|
inlinestatic |
Getter that calls to TypedAttributeArray::getUnsafe()
|
inlinestatic |
Setter that calls the supplied functor.
|
inlinestatic |
Getter that calls to TypedAttributeArray::setUnsafe()