OpenVDB: GetState< BuildT > Struct Template Reference

OpenVDB 12.1.1

Loading...
Searching...
No Matches
GetState< BuildT > Struct Template Reference

Implements Tree::isActive(math::Coord). More...

`#include <nanovdb/NanoVDB.h>`

## Public Types
using | Type = bool

## Static Public Member Functions
static __hostdev__ Type | get (const NanoRoot< BuildT > &)
static __hostdev__ Type | get (const typename NanoRoot< BuildT >::Tile &tile)
static __hostdev__ Type | get (const NanoUpper< BuildT > &node, uint32_t n)
static __hostdev__ Type | get (const NanoLower< BuildT > &node, uint32_t n)
static __hostdev__ Type | get (const NanoLeaf< BuildT > &leaf, uint32_t n)

## Static Public Attributes
static constexpr int | LEVEL = 0

## Detailed Description

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

Implements Tree::isActive(math::Coord).

Template Parameters

  BuildT | Build type of the grid being called

## Member Typedef Documentation

## ◆ Type

template<typename BuildT>

using Type = bool

## Member Function Documentation

## ◆ get() [1/5]

template<typename BuildT>

__hostdev__ Type get | ( | const NanoLeaf< BuildT > & | leaf,
|  | uint32_t | n )
| inlinestatic

## ◆ get() [2/5]

template<typename BuildT>

__hostdev__ Type get | ( | const NanoLower< BuildT > & | node,
|  | uint32_t | n )
| inlinestatic

## ◆ get() [3/5]

template<typename BuildT>

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

## ◆ get() [4/5]

template<typename BuildT>

__hostdev__ Type get | ( | const NanoUpper< BuildT > & | node,
|  | uint32_t | n )
| inlinestatic

## ◆ get() [5/5]

template<typename BuildT>

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

## Member Data Documentation

## ◆ LEVEL

template<typename BuildT>

int LEVEL = 0
| staticconstexpr