OpenVDB  12.0.0
Static Public Member Functions | List of all members
GetValue< BuildT > Struct Template Reference

Implements Tree::getValue(math::Coord), i.e. return the value associated with a specific coordinate ijk. More...

#include <nanovdb/NanoVDB.h>

Static Public Member Functions

static __hostdev__ auto get (const NanoRoot< BuildT > &root)
 
static __hostdev__ auto get (const typename NanoRoot< BuildT >::Tile &tile)
 
static __hostdev__ auto get (const NanoUpper< BuildT > &node, uint32_t n)
 
static __hostdev__ auto get (const NanoLower< BuildT > &node, uint32_t n)
 
static __hostdev__ auto get (const NanoLeaf< BuildT > &leaf, uint32_t n)
 

Detailed Description

template<typename BuildT>
struct nanovdb::GetValue< BuildT >

Implements Tree::getValue(math::Coord), i.e. return the value associated with a specific coordinate ijk.

Template Parameters
BuildTBuild type of the grid being called

The value at a coordinate maps to the background, a tile value or a leaf value.

Member Function Documentation

static __hostdev__ auto get ( const NanoRoot< BuildT > &  root)
inlinestatic
static __hostdev__ auto get ( const typename NanoRoot< BuildT >::Tile &  tile)
inlinestatic
static __hostdev__ auto get ( const NanoUpper< BuildT > &  node,
uint32_t  n 
)
inlinestatic
static __hostdev__ auto get ( const NanoLower< BuildT > &  node,
uint32_t  n 
)
inlinestatic
static __hostdev__ auto get ( const NanoLeaf< BuildT > &  leaf,
uint32_t  n 
)
inlinestatic