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< TreeTypeGridType
 
typedef Grid< NonConstTreeTypeNonConstGridType
 
typedef GridType::Ptr GridPtrType
 
typedef NonConstGridType::Ptr NonConstGridPtrType
 
typedef GridType::ConstPtr ConstGridPtrType
 
typedef TreeType::ValueType ValueType
 
typedef tree::ValueAccessor< TreeTypeAccessorType
 
typedef tree::ValueAccessor< const TreeTypeConstAccessorType
 
typedef tree::ValueAccessor< NonConstTreeTypeNonConstAccessorType
 

Static Public Member Functions

static TreeTypetree (TreeType &t)
 
static TreeTypetree (GridType &g)
 
static const TreeTypetree (const TreeType &t)
 
static const TreeTypetree (const GridType &g)
 
static const TreeTypeconstTree (TreeType &t)
 
static const TreeTypeconstTree (GridType &g)
 
static const TreeTypeconstTree (const TreeType &t)
 
static const TreeTypeconstTree (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: