OpenVDB  0.104.0
Public Member Functions | Public Attributes | List of all members
LeafArray< TreeT, BufferCount >::BufferStruct Struct Reference

Simple structure of LeafNode pointers and corresponding write buffers. More...

#include <LeafArray.h>

Public Member Functions

 BufferStruct (LeafType &_leaf)
 Constructor initializing write buffers to the leaf's read buffer! More...
 
void swap (Index n)
 Swap the leaf's read-buffer with the n'th write-buffer. More...
 
void copy (Index n)
 
void sync ()
 

Public Attributes

LeafTypeleaf
 
BufferType buffer [BufferCount]
 

Detailed Description

template<typename TreeT, int BufferCount>
struct openvdb::v0_104_0::tree::LeafArray< TreeT, BufferCount >::BufferStruct

Simple structure of LeafNode pointers and corresponding write buffers.

Constructor & Destructor Documentation

BufferStruct ( LeafType _leaf)
inline

Constructor initializing write buffers to the leaf's read buffer!

Member Function Documentation

void copy ( Index  n)
inline
void swap ( Index  n)
inline

Swap the leaf's read-buffer with the n'th write-buffer.

void sync ( )
inline

Member Data Documentation

BufferType buffer[BufferCount]
LeafType* leaf

The documentation for this struct was generated from the following file: