OpenVDB  6.2.1
Public Member Functions | Public Attributes | List of all members
Morphology< TreeType >::LeafCache Struct Reference

#include <Morphology.h>

Public Member Functions

 LeafCache (size_t n, TreeType &tree)
 
 ~LeafCache ()
 
LeafType *& operator[] (int offset)
 
void clear ()
 
void setOrigin (const Coord &xyz)
 
void scatter (int n, int indx)
 
template<int DX, int DY, int DZ>
void scatter (int n, int indx)
 
Word gather (int n, int indx)
 
template<int DX, int DY, int DZ>
Word gather (int n, int indx)
 
void scatterFacesXY (int x, int y, int i1, int n, int i2)
 
void scatterEdgesXY (int x, int y, int i1, int n, int i2)
 
Word gatherFacesXY (int x, int y, int i1, int n, int i2)
 
Word gatherEdgesXY (int x, int y, int i1, int n, int i2)
 

Public Attributes

const Coord * origin
 
size_t size
 
LeafType ** leafs
 
LeafType onTile
 
LeafType offTile
 
AccessorType acc
 
Word mask
 

Constructor & Destructor Documentation

LeafCache ( size_t  n,
TreeType &  tree 
)
inline
~LeafCache ( )
inline

Member Function Documentation

void clear ( )
inline
Word gather ( int  n,
int  indx 
)
inline
Word gather ( int  n,
int  indx 
)
inline
Morphology< TreeType >::Word gatherEdgesXY ( int  x,
int  y,
int  i1,
int  n,
int  i2 
)
inline
Morphology< TreeType >::Word gatherFacesXY ( int  x,
int  y,
int  i1,
int  n,
int  i2 
)
inline
LeafType*& operator[] ( int  offset)
inline
void scatter ( int  n,
int  indx 
)
inline
void scatter ( int  n,
int  indx 
)
inline
void scatterEdgesXY ( int  x,
int  y,
int  i1,
int  n,
int  i2 
)
inline
void scatterFacesXY ( int  x,
int  y,
int  i1,
int  n,
int  i2 
)
inline
void setOrigin ( const Coord &  xyz)
inline

Member Data Documentation

LeafType** leafs
Word mask
LeafType offTile
LeafType onTile
const Coord* origin
size_t size

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