OpenVDB 11.0.0
 
Loading...
Searching...
No Matches
NodeAccessor< NanoGrid< BuildT > > Class Template Reference

Template specialization for nanovdb::Grid which is special since its NodeManage uses a handle in order to support node access on the GPU! More...

#include <nanovdb/util/CreateNanoGrid.h>

Public Types

using BuildType = BuildT
 
using BufferType = HostBuffer
 
using GridType = NanoGrid<BuildT>
 
using ValueType = typename GridType::ValueType
 
using TreeType = typename GridType::TreeType
 
using RootType = typename TreeType::RootType
 
template<int LEVEL>
using NodeType = typename NodeTrait<TreeType, LEVEL>::type
 
using BuildType
 
using ValueType
 
using GridType
 
using TreeType
 
using RootType
 
using NodeType
 

Public Member Functions

 NodeAccessor (const GridType &grid)
 
const GridTypegrid () const
 
const TreeTypetree () const
 
const RootTyperoot () const
 
uint64_t nodeCount (int level) const
 
template<int LEVEL>
const NodeType< LEVEL > & node (uint32_t i) const
 
std::string getName () const
 
bool hasLongGridName () const
 
const nanovdb::Mapmap () const
 
GridClass gridClass () const
 
 NodeAccessor (const NanoGrid< BuildT > &grid)
 
const GridTypegrid () const
 
const TreeTypetree () const
 
const RootTyperoot () const
 
uint64_t nodeCount (int level) const
 
const NodeType< LEVEL > & node (uint32_t i) const
 
const std::string & getName () const
 
bool hasLongGridName () const
 
const nanovdb::Mapmap () const
 
GridClass gridClass () const
 

Static Public Attributes

static constexpr bool IS_OPENVDB = false
 
static constexpr bool IS_NANOVDB = true
 
static constexpr bool IS_OPENVDB
 
static constexpr bool IS_NANOVDB
 

Detailed Description

template<typename BuildT>
class nanovdb::NodeAccessor< NanoGrid< BuildT > >

Template specialization for nanovdb::Grid which is special since its NodeManage uses a handle in order to support node access on the GPU!

Member Typedef Documentation

◆ BufferType

template<typename BuildT>
using BufferType = HostBuffer

◆ BuildType [1/2]

using BuildType

◆ BuildType [2/2]

template<typename BuildT>
using BuildType = BuildT

◆ GridType [1/2]

using GridType

◆ GridType [2/2]

template<typename BuildT>
using GridType = NanoGrid<BuildT>

◆ NodeType [1/2]

using NodeType

◆ NodeType [2/2]

template<typename BuildT>
template<int LEVEL>
using NodeType = typename NodeTrait<TreeType, LEVEL>::type

◆ RootType [1/2]

using RootType

◆ RootType [2/2]

template<typename BuildT>
using RootType = typename TreeType::RootType

◆ TreeType [1/2]

using TreeType

◆ TreeType [2/2]

template<typename BuildT>
using TreeType = typename GridType::TreeType

◆ ValueType [1/2]

using ValueType

◆ ValueType [2/2]

template<typename BuildT>
using ValueType = typename GridType::ValueType

Constructor & Destructor Documentation

◆ NodeAccessor() [1/2]

template<typename BuildT>
NodeAccessor ( const GridType & grid)
inline

◆ NodeAccessor() [2/2]

NodeAccessor ( const NanoGrid< BuildT > & grid)
inline

Member Function Documentation

◆ getName() [1/2]

const std::string & getName ( ) const
inline

◆ getName() [2/2]

template<typename BuildT>
std::string getName ( ) const
inline

◆ grid() [1/2]

const GridType & grid ( ) const
inline

◆ grid() [2/2]

template<typename BuildT>
const GridType & grid ( ) const
inline

◆ gridClass() [1/2]

GridClass gridClass ( ) const
inline

◆ gridClass() [2/2]

template<typename BuildT>
GridClass gridClass ( ) const
inline

◆ hasLongGridName() [1/2]

bool hasLongGridName ( ) const
inline

◆ hasLongGridName() [2/2]

template<typename BuildT>
bool hasLongGridName ( ) const
inline

◆ map() [1/2]

const nanovdb::Map & map ( ) const
inline

◆ map() [2/2]

template<typename BuildT>
const nanovdb::Map & map ( ) const
inline

◆ node() [1/2]

const NodeType< LEVEL > & node ( uint32_t i) const
inline

◆ node() [2/2]

template<typename BuildT>
template<int LEVEL>
const NodeType< LEVEL > & node ( uint32_t i) const
inline

◆ nodeCount() [1/2]

uint64_t nodeCount ( int level) const
inline

◆ nodeCount() [2/2]

template<typename BuildT>
uint64_t nodeCount ( int level) const
inline

◆ root() [1/2]

const RootType & root ( ) const
inline

◆ root() [2/2]

template<typename BuildT>
const RootType & root ( ) const
inline

◆ tree() [1/2]

const TreeType & tree ( ) const
inline

◆ tree() [2/2]

template<typename BuildT>
const TreeType & tree ( ) const
inline

Member Data Documentation

◆ IS_NANOVDB [1/2]

bool IS_NANOVDB
staticconstexpr

◆ IS_NANOVDB [2/2]

template<typename BuildT>
bool IS_NANOVDB = true
staticconstexpr

◆ IS_OPENVDB [1/2]

bool IS_OPENVDB
staticconstexpr

◆ IS_OPENVDB [2/2]

template<typename BuildT>
bool IS_OPENVDB = false
staticconstexpr