OpenVDB  12.0.0
Public Member Functions | Public Attributes | List of all members
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

__hostdev__ bool isActive ( ) const
inline
__hostdev__ bool isChild ( ) const
inline
__hostdev__ bool isValue ( ) const
inline
__hostdev__ CoordT origin ( ) const
inline
__hostdev__ void setChild ( const CoordType &  k,
const void *  ptr,
const RootData data 
)
inline
__hostdev__ void setValue ( const CoordType &  k,
bool  s,
const ValueType &  v 
)
inline

Member Data Documentation

int64_t child
KeyT key
uint32_t state
ValueT value