OpenVDB: AttributeArray::Accessor< T > Struct Template Reference

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

## ◆ GetterPtr

using GetterPtr = T (*)(const AttributeArray* array, const Index n)

## ◆ SetterPtr

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

## ◆ ValuePtr

using ValuePtr = void (*)(AttributeArray* array, const T& value)

## Constructor & Destructor Documentation

## ◆ Accessor()

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

## Member Data Documentation

## ◆ mCollapser

ValuePtr mCollapser

## ◆ mFiller

ValuePtr mFiller

## ◆ mGetter

GetterPtr mGetter

## ◆ mSetter

SetterPtr mSetter

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

- AttributeArray.h