HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanovdb::GetValue< BuildT > Struct Template Reference

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

#include <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(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.

Definition at line 3451 of file NanoVDB.h.

Member Function Documentation

template<typename BuildT >
static __hostdev__ auto nanovdb::GetValue< BuildT >::get ( const NanoRoot< BuildT > &  root)
inlinestatic

Definition at line 8051 of file NanoVDB.h.

template<typename BuildT >
static __hostdev__ auto nanovdb::GetValue< BuildT >::get ( const typename NanoRoot< BuildT >::Tile &  tile)
inlinestatic

Definition at line 8052 of file NanoVDB.h.

template<typename BuildT >
static __hostdev__ auto nanovdb::GetValue< BuildT >::get ( const NanoUpper< BuildT > &  node,
uint32_t  n 
)
inlinestatic

Definition at line 8053 of file NanoVDB.h.

template<typename BuildT >
static __hostdev__ auto nanovdb::GetValue< BuildT >::get ( const NanoLower< BuildT > &  node,
uint32_t  n 
)
inlinestatic

Definition at line 8054 of file NanoVDB.h.

template<typename BuildT >
static __hostdev__ auto nanovdb::GetValue< BuildT >::get ( const NanoLeaf< BuildT > &  leaf,
uint32_t  n 
)
inlinestatic

Definition at line 8055 of file NanoVDB.h.


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