OpenVDB 9.0.0
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)
 
SrcNode0setValue (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]
 

Constructor & Destructor Documentation

◆ ValueAccessor()

ValueAccessor ( SrcRootT &  root)
inline

Member Function Documentation

◆ getValue()

const ValueT & getValue ( const Coord ijk)
inline

◆ insert()

void insert ( const Coord ijk,
NodeT *  node 
)
inline

◆ isActive()

bool isActive ( const Coord ijk)
inline

◆ isCached()

bool isCached ( const Coord ijk) const
inline

◆ isValueOn()

bool isValueOn ( const Coord ijk)
inline

◆ setValue()

SrcNode0 * setValue ( const Coord ijk,
const ValueT &  value 
)
inline

Sets value in a leaf node and returns it.

Member Data Documentation

◆ mKeys

Coord mKeys[3]

◆ mNode

void* mNode[4]