OpenVDB  12.0.0
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
RootNode< ChildT >::BaseIter< RootT > Class Template Reference

#include <nanovdb/NanoVDB.h>

Inherited by RootNode< ChildT >::ChildIter< RootT >, RootNode< ChildT >::DenseIter< RootT >, RootNode< ChildT >::ValueIter< RootT >, and RootNode< ChildT >::ValueOnIter< RootT >.

Public Member Functions

__hostdev__ operator bool () const
 
__hostdev__ uint32_t pos () const
 
__hostdev__ void next ()
 
__hostdev__ TileTtile () const
 
__hostdev__ CoordType getOrigin () const
 
__hostdev__ CoordType getCoord () const
 

Protected Types

using DataT = typename util::match_const< DataType, RootT >::type
 
using TileT = typename util::match_const< Tile, RootT >::type
 

Protected Member Functions

__hostdev__ BaseIter (DataT *data=nullptr, uint32_t n=0)
 

Protected Attributes

DataTmData
 
uint32_t mPos
 
uint32_t mSize
 

Member Typedef Documentation

using DataT = typename util::match_const<DataType, RootT>::type
protected
using TileT = typename util::match_const<Tile, RootT>::type
protected

Constructor & Destructor Documentation

__hostdev__ BaseIter ( DataT data = nullptr,
uint32_t  n = 0 
)
inlineprotected

Member Function Documentation

__hostdev__ CoordType getCoord ( ) const
inline
__hostdev__ CoordType getOrigin ( ) const
inline
__hostdev__ void next ( )
inline
__hostdev__ operator bool ( ) const
inline
__hostdev__ uint32_t pos ( ) const
inline
__hostdev__ TileT* tile ( ) const
inline

Member Data Documentation

DataT* mData
protected
uint32_t mPos
protected
uint32_t mSize
protected