OpenVDB 12.1.0
Loading...
Searching...
No Matches
GetUpper< BuildT > Struct Template Reference

Return point to the upper internal node where math::Coord maps to one of its values, i.e. terminates. More...

#include <nanovdb/NanoVDB.h>

Public Types

using Type = const NanoUpper<BuildT>*

Static Public Member Functions

static __hostdev__ Type get (const NanoRoot< BuildT > &)
static __hostdev__ Type get (const typename NanoRoot< BuildT >::Tile &)
static __hostdev__ Type get (const NanoUpper< BuildT > &node, uint32_t)

Static Public Attributes

static constexpr int LEVEL = 2

Detailed Description

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

Return point to the upper internal node where math::Coord maps to one of its values, i.e. terminates.

Template Parameters
BuildTBuild type of the grid being called

Member Typedef Documentation

◆ Type

template<typename BuildT>
using Type = const NanoUpper<BuildT>*

Member Function Documentation

◆ get() [1/3]

template<typename BuildT>
__hostdev__ Type get ( const NanoRoot< BuildT > & )
inlinestatic

◆ get() [2/3]

template<typename BuildT>
__hostdev__ Type get ( const NanoUpper< BuildT > & node,
uint32_t  )
inlinestatic

◆ get() [3/3]

template<typename BuildT>
__hostdev__ Type get ( const typename NanoRoot< BuildT >::Tile & )
inlinestatic

Member Data Documentation

◆ LEVEL

template<typename BuildT>
int LEVEL = 2
staticconstexpr