OpenVDB: RootData< ChildT >::Tile Struct Reference

OpenVDB 13.0.0

Loading...
Searching...
No Matches
RootData< ChildT >::Tile Struct Reference

`#include <nanovdb/NanoVDB.h>`

## Public Member Functions
template<typename CoordType>
__hostdev__ void | setChild (const CoordType &k, const void *ptr, const RootData *data)
template<typename CoordType, typename ValueType>
__hostdev__ void | setValue (const CoordType &k, bool s, const ValueType &v)
__hostdev__ bool | isChild () const
__hostdev__ bool | isValue () const
__hostdev__ bool | isActive () const
__hostdev__ CoordT | origin () const

## Public Attributes
KeyT | key
int64_t | child
uint32_t | state
ValueT | value

## Member Function Documentation

## ◆ isActive()

template<typename ChildT>

__hostdev__ bool isActive | ( |  | ) | const
| inline

## ◆ isChild()

template<typename ChildT>

__hostdev__ bool isChild | ( |  | ) | const
| inline

## ◆ isValue()

template<typename ChildT>

__hostdev__ bool isValue | ( |  | ) | const
| inline

## ◆ origin()

template<typename ChildT>

__hostdev__ CoordT origin | ( |  | ) | const
| inline

## ◆ setChild()

template<typename ChildT>
template<typename CoordType>

__hostdev__ void setChild | ( | const CoordType & | k,
|  | const void * | ptr,
|  | const RootData * | data )
| inline

## ◆ setValue()

template<typename ChildT>
template<typename CoordType, typename ValueType>

__hostdev__ void setValue | ( | const CoordType & | k,
|  | bool | s,
|  | const ValueType & | v )
| inline

## Member Data Documentation

## ◆ child

template<typename ChildT>

int64_t child

## ◆ key

template<typename ChildT>

KeyT key

## ◆ state

template<typename ChildT>

uint32_t state

## ◆ value

template<typename ChildT>

ValueT value