HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::points::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::OPENVDB_VERSION_NAME::points::AccessorEval< UnknownCodec, ValueType >

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

Definition at line 1841 of file AttributeArray.h.

Member Typedef Documentation

template<typename ValueType >
using openvdb::OPENVDB_VERSION_NAME::points::AccessorEval< UnknownCodec, ValueType >::GetterPtr = ValueType (*)(const AttributeArray* array, const Index n)

Definition at line 1843 of file AttributeArray.h.

template<typename ValueType >
using openvdb::OPENVDB_VERSION_NAME::points::AccessorEval< UnknownCodec, ValueType >::SetterPtr = void (*)(AttributeArray* array, const Index n, const ValueType& value)

Definition at line 1844 of file AttributeArray.h.

Member Function Documentation

template<typename ValueType >
static ValueType openvdb::OPENVDB_VERSION_NAME::points::AccessorEval< UnknownCodec, ValueType >::get ( GetterPtr  functor,
const AttributeArray array,
const Index  n 
)
inlinestatic

Getter that calls the supplied functor.

Definition at line 1847 of file AttributeArray.h.

template<typename ValueType >
static void openvdb::OPENVDB_VERSION_NAME::points::AccessorEval< UnknownCodec, ValueType >::set ( SetterPtr  functor,
AttributeArray array,
const Index  n,
const ValueType &  value 
)
inlinestatic

Setter that calls the supplied functor.

Definition at line 1852 of file AttributeArray.h.


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