OpenVDB  10.0.1
Public Member Functions | Public Attributes | List of all members
GridBuilder< ValueT, BuildT, StatsT >:: ValueAccessor Struct Reference

#include <nanovdb/util/GridBuilder.h>

Public Member Functions

 ValueAccessor (SrcRootT &root)
 
template<typename NodeT >
bool isCached (const Coord &ijk) const
 
const ValueT & getValue (const Coord &ijk)
 
SrcNode0 * setValue (const Coord &ijk, const ValueT &value)
 Sets value in a leaf node and returns it. More...
 
bool isActive (const Coord &ijk)
 
bool isValueOn (const Coord &ijk)
 
template<typename NodeT >
void insert (const Coord &ijk, NodeT *node)
 

Public Attributes

Coord mKeys [3]
 
void * mNode [4]
 

Member Function Documentation

const ValueT& getValue ( const Coord ijk)
inline
void insert ( const Coord ijk,
NodeT *  node 
)
inline
bool isActive ( const Coord ijk)
inline
bool isCached ( const Coord ijk) const
inline
bool isValueOn ( const Coord ijk)
inline
SrcNode0* setValue ( const Coord ijk,
const ValueT &  value 
)
inline

Sets value in a leaf node and returns it.

ValueAccessor ( SrcRootT &  root)
inline

Member Data Documentation

Coord mKeys[3]
void* mNode[4]