Blender V4.5
nanovdb::CachedReadAccessor< BuildT > Class Template Reference

#include <nanovdb.h>

Public Types

using ValueType = typename RootT::ValueType
 

Public Member Functions

ccl_device_inline_method CachedReadAccessor (const ccl_global RootT &root)
 
template<typename NodeT >
ccl_device_inline_method bool isCached (const Coord ijk) const
 
ccl_device_inline_method ValueType getValueAndCache (const ccl_global RootT &node, const Coord ijk) const
 
ccl_device_inline_method ValueType getValueAndCache (const ccl_global LeafT &node, const Coord ijk) const
 
template<typename NodeT >
ccl_device_inline_method ValueType getValueAndCache (const ccl_global NodeT &node, const Coord ijk) const
 
ccl_device_inline_method ValueType getValue (const Coord ijk) const
 
template<typename NodeT >
ccl_device_inline_method void insert (const Coord ijk, const ccl_global NodeT *node) const
 

Detailed Description

template<typename BuildT>
class nanovdb::CachedReadAccessor< BuildT >

Definition at line 364 of file nanovdb.h.

Member Typedef Documentation

◆ ValueType

template<typename BuildT >
using nanovdb::CachedReadAccessor< BuildT >::ValueType = typename RootT::ValueType

Definition at line 375 of file nanovdb.h.

Constructor & Destructor Documentation

◆ CachedReadAccessor()

template<typename BuildT >
ccl_device_inline_method nanovdb::CachedReadAccessor< BuildT >::CachedReadAccessor ( const ccl_global RootT & root)
inline

Definition at line 377 of file nanovdb.h.

Member Function Documentation

◆ getValue()

template<typename BuildT >
ccl_device_inline_method ValueType nanovdb::CachedReadAccessor< BuildT >::getValue ( const Coord ijk) const
inline

Definition at line 419 of file nanovdb.h.

References ccl_global.

◆ getValueAndCache() [1/3]

template<typename BuildT >
ccl_device_inline_method ValueType nanovdb::CachedReadAccessor< BuildT >::getValueAndCache ( const ccl_global LeafT & node,
const Coord ijk ) const
inline

Definition at line 400 of file nanovdb.h.

References node.

◆ getValueAndCache() [2/3]

template<typename BuildT >
template<typename NodeT >
ccl_device_inline_method ValueType nanovdb::CachedReadAccessor< BuildT >::getValueAndCache ( const ccl_global NodeT & node,
const Coord ijk ) const
inline

Definition at line 407 of file nanovdb.h.

References ccl_global, insert(), and node.

◆ getValueAndCache() [3/3]

template<typename BuildT >
ccl_device_inline_method ValueType nanovdb::CachedReadAccessor< BuildT >::getValueAndCache ( const ccl_global RootT & node,
const Coord ijk ) const
inline

Definition at line 386 of file nanovdb.h.

References ccl_global, insert(), node, and tile.

◆ insert()

template<typename BuildT >
template<typename NodeT >
ccl_device_inline_method void nanovdb::CachedReadAccessor< BuildT >::insert ( const Coord ijk,
const ccl_global NodeT * node ) const
inline

Definition at line 434 of file nanovdb.h.

References MASK, and node.

◆ isCached()

template<typename BuildT >
template<typename NodeT >
ccl_device_inline_method bool nanovdb::CachedReadAccessor< BuildT >::isCached ( const Coord ijk) const
inline

Definition at line 379 of file nanovdb.h.

References nanovdb::Coord::x, nanovdb::Coord::y, y, nanovdb::Coord::z, and z().


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