OpenVDB  6.1.0
Public Types | Static Public Member Functions | List of all members
AccessorEval< UnknownCodec, ValueType > Struct Template Reference

Partial specialization when Codec is not known at compile-time to use the supplied functor instead. More...

#include <AttributeArray.h>

Public Types

using GetterPtr = ValueType(*)(const AttributeArray *array, const Index n)
 
using SetterPtr = void(*)(AttributeArray *array, const Index n, const ValueType &value)
 

Static Public Member Functions

static ValueType get (GetterPtr functor, const AttributeArray *array, const Index n)
 Getter that calls the supplied functor. More...
 
static void set (SetterPtr functor, AttributeArray *array, const Index n, const ValueType &value)
 Setter that calls the supplied functor. More...
 

Detailed Description

template<typename ValueType>
struct openvdb::v6_1::points::AccessorEval< UnknownCodec, ValueType >

Partial specialization when Codec is not known at compile-time to use the supplied functor instead.

Member Typedef Documentation

using GetterPtr = ValueType (*)(const AttributeArray* array, const Index n)
using SetterPtr = void (*)(AttributeArray* array, const Index n, const ValueType& value)

Member Function Documentation

static ValueType get ( GetterPtr  functor,
const AttributeArray array,
const Index  n 
)
inlinestatic

Getter that calls the supplied functor.

static void set ( SetterPtr  functor,
AttributeArray array,
const Index  n,
const ValueType &  value 
)
inlinestatic

Setter that calls the supplied functor.


The documentation for this struct was generated from the following file: