HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::points::AttributeArray::Accessor< T > Struct Template Reference

#include <AttributeArray.h>

+ Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::points::AttributeArray::Accessor< T >:

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 Member Functions inherited from openvdb::OPENVDB_VERSION_NAME::points::AttributeArray::AccessorBase
virtual ~AccessorBase ()=default
 

Public Attributes

GetterPtr mGetter
 
SetterPtr mSetter
 
ValuePtr mCollapser
 
ValuePtr mFiller
 

Detailed Description

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

Templated Accessor stores typed function pointers used in binding AttributeHandles

Definition at line 96 of file AttributeArray.h.

Member Typedef Documentation

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

Definition at line 422 of file AttributeArray.h.

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

Definition at line 423 of file AttributeArray.h.

template<typename T>
using openvdb::OPENVDB_VERSION_NAME::points::AttributeArray::Accessor< T >::ValuePtr = void (*)(AttributeArray* array, const T& value)

Definition at line 424 of file AttributeArray.h.

Constructor & Destructor Documentation

template<typename T>
openvdb::OPENVDB_VERSION_NAME::points::AttributeArray::Accessor< T >::Accessor ( GetterPtr  getter,
SetterPtr  setter,
ValuePtr  collapser,
ValuePtr  filler 
)
inline

Definition at line 426 of file AttributeArray.h.

Member Data Documentation

Definition at line 431 of file AttributeArray.h.

Definition at line 432 of file AttributeArray.h.

Definition at line 429 of file AttributeArray.h.

Definition at line 430 of file AttributeArray.h.


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