HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 937 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 950 of file Grid.h.

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

Definition at line 951 of file Grid.h.

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

Definition at line 948 of file Grid.h.

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

Definition at line 942 of file Grid.h.

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

Definition at line 946 of file Grid.h.

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

Definition at line 944 of file Grid.h.

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

Definition at line 952 of file Grid.h.

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

Definition at line 947 of file Grid.h.

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

Definition at line 945 of file Grid.h.

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

Definition at line 943 of file Grid.h.

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

Definition at line 940 of file Grid.h.

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

Definition at line 941 of file Grid.h.

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

Definition at line 939 of file Grid.h.

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

Definition at line 949 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 958 of file Grid.h.

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

Definition at line 959 of file Grid.h.

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

Definition at line 960 of file Grid.h.

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

Definition at line 961 of file Grid.h.

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

Definition at line 954 of file Grid.h.

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

Definition at line 955 of file Grid.h.

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

Definition at line 956 of file Grid.h.

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

Definition at line 957 of file Grid.h.


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