OpenVDB  7.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
AttributeArray::Accessor< T > Struct Template Reference

#include <AttributeArray.h>

Inherits AttributeArray::AccessorBase.

Public Types

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

Public Member Functions

 Accessor (GetterPtr getter, SetterPtr setter, ValuePtr collapser, ValuePtr filler)
 

Public Attributes

GetterPtr mGetter
 
SetterPtr mSetter
 
ValuePtr mCollapser
 
ValuePtr mFiller
 

Detailed Description

template<typename T>
struct openvdb::v7_0::points::AttributeArray::Accessor< T >

Templated Accessor stores typed function pointers used in binding AttributeHandles

Member Typedef Documentation

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

Constructor & Destructor Documentation

Accessor ( GetterPtr  getter,
SetterPtr  setter,
ValuePtr  collapser,
ValuePtr  filler 
)
inline

Member Data Documentation

ValuePtr mCollapser
ValuePtr mFiller
GetterPtr mGetter
SetterPtr mSetter

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