HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::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

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

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::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >

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

Definition at line 1076 of file Grid.h.

Member Typedef Documentation

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::AccessorType = typename tree::ValueAccessor<TreeType>

Definition at line 1089 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::ConstAccessorType = typename tree::ValueAccessor<const TreeType>

Definition at line 1090 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::ConstGridPtrType = typename GridType::ConstPtr

Definition at line 1087 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::ConstTreePtrType = typename TreeType::ConstPtr

Definition at line 1081 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::GridPtrType = typename GridType::Ptr

Definition at line 1085 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::GridType = Grid<TreeType>

Definition at line 1083 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::NonConstAccessorType = typename tree::ValueAccessor<NonConstTreeType>

Definition at line 1091 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::NonConstGridPtrType = typename NonConstGridType::Ptr

Definition at line 1086 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::NonConstGridType = Grid<NonConstTreeType>

Definition at line 1084 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::NonConstTreePtrType = typename NonConstTreeType::Ptr

Definition at line 1082 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::NonConstTreeType = typename std::remove_const<TreeType>::type

Definition at line 1079 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::TreePtrType = typename TreeType::Ptr

Definition at line 1080 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::TreeType = _TreeType

Definition at line 1078 of file Grid.h.

template<typename _TreeType>
using openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::ValueType = typename TreeType::ValueType

Definition at line 1088 of file Grid.h.

Member Function Documentation

template<typename _TreeType>
static const TreeType& openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::constTree ( TreeType t)
inlinestatic

Definition at line 1097 of file Grid.h.

template<typename _TreeType>
static const TreeType& openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::constTree ( GridType g)
inlinestatic

Definition at line 1098 of file Grid.h.

template<typename _TreeType>
static const TreeType& openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::constTree ( const TreeType t)
inlinestatic

Definition at line 1099 of file Grid.h.

template<typename _TreeType>
static const TreeType& openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::constTree ( const GridType g)
inlinestatic

Definition at line 1100 of file Grid.h.

template<typename _TreeType>
static TreeType& openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::tree ( TreeType t)
inlinestatic

Definition at line 1093 of file Grid.h.

template<typename _TreeType>
static TreeType& openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::tree ( GridType g)
inlinestatic

Definition at line 1094 of file Grid.h.

template<typename _TreeType>
static const TreeType& openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::tree ( const TreeType t)
inlinestatic

Definition at line 1095 of file Grid.h.

template<typename _TreeType>
static const TreeType& openvdb::OPENVDB_VERSION_NAME::TreeAdapter< _TreeType >::tree ( const GridType g)
inlinestatic

Definition at line 1096 of file Grid.h.


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