OpenVDB  3.2.0
Public Types | Static Public Member Functions | List of all members
TreeAdapter< _TreeType > Struct Template Reference

This adapter allows code that is templated on a Tree type to accept either a Tree type or a Grid type. More...

#include <Grid.h>

Public Types

typedef _TreeType TreeType
 
typedef boost::remove_const< TreeType >::type NonConstTreeType
 
typedef TreeType::Ptr TreePtrType
 
typedef TreeType::ConstPtr ConstTreePtrType
 
typedef NonConstTreeType::Ptr NonConstTreePtrType
 
typedef Grid< TreeType > GridType
 
typedef Grid< NonConstTreeType > NonConstGridType
 
typedef GridType::Ptr GridPtrType
 
typedef NonConstGridType::Ptr NonConstGridPtrType
 
typedef GridType::ConstPtr ConstGridPtrType
 
typedef TreeType::ValueType ValueType
 
typedef tree::ValueAccessor< TreeType > AccessorType
 
typedef tree::ValueAccessor< const TreeType > ConstAccessorType
 
typedef tree::ValueAccessor< NonConstTreeType > NonConstAccessorType
 

Static Public Member Functions

static TreeType & tree (TreeType &t)
 
static TreeType & tree (GridType &g)
 
static const TreeType & tree (const TreeType &t)
 
static const TreeType & tree (const GridType &g)
 
static const TreeType & constTree (TreeType &t)
 
static const TreeType & constTree (GridType &g)
 
static const TreeType & constTree (const TreeType &t)
 
static const TreeType & constTree (const GridType &g)
 

Detailed Description

template<typename _TreeType>
struct openvdb::v3_2_0::TreeAdapter< _TreeType >

This adapter allows code that is templated on a Tree type to accept either a Tree type or a Grid type.

Member Typedef Documentation

§ AccessorType

§ ConstAccessorType

§ ConstGridPtrType

§ ConstTreePtrType

typedef TreeType::ConstPtr ConstTreePtrType

§ GridPtrType

§ GridType

§ NonConstAccessorType

§ NonConstGridPtrType

§ NonConstGridType

§ NonConstTreePtrType

typedef NonConstTreeType::Ptr NonConstTreePtrType

§ NonConstTreeType

typedef boost::remove_const<TreeType>::type NonConstTreeType

§ TreePtrType

typedef TreeType::Ptr TreePtrType

§ TreeType

typedef _TreeType TreeType

§ ValueType

typedef TreeType::ValueType ValueType

Member Function Documentation

§ constTree() [1/4]

static const TreeType& constTree ( TreeType &  t)
inlinestatic

§ constTree() [2/4]

static const TreeType& constTree ( GridType &  g)
inlinestatic

§ constTree() [3/4]

static const TreeType& constTree ( const TreeType &  t)
inlinestatic

§ constTree() [4/4]

static const TreeType& constTree ( const GridType &  g)
inlinestatic

§ tree() [1/4]

static TreeType& tree ( TreeType &  t)
inlinestatic

§ tree() [2/4]

static TreeType& tree ( GridType &  g)
inlinestatic

§ tree() [3/4]

static const TreeType& tree ( const TreeType &  t)
inlinestatic

§ tree() [4/4]

static const TreeType& tree ( const GridType &  g)
inlinestatic

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