OpenVDB  12.0.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 <openvdb/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< NonConstTreeType >
 
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 NonConstTreeTypetree (NonConstTreeType &t)
 
static NonConstTreeTypetree (NonConstGridType &g)
 
static const NonConstTreeTypetree (const NonConstTreeType &t)
 
static const NonConstTreeTypetree (const NonConstGridType &g)
 
static const NonConstTreeTypeconstTree (NonConstTreeType &t)
 
static const NonConstTreeTypeconstTree (NonConstGridType &g)
 
static const NonConstTreeTypeconstTree (const NonConstTreeType &t)
 
static const NonConstTreeTypeconstTree (const NonConstGridType &g)
 

Detailed Description

template<typename _TreeType>
struct openvdb::v12_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

using ConstTreePtrType = typename TreeType::ConstPtr
using GridPtrType = typename GridType::Ptr
using NonConstTreePtrType = typename NonConstTreeType::Ptr
using NonConstTreeType = typename std::remove_const<TreeType>::type
using TreePtrType = typename TreeType::Ptr
using TreeType = _TreeType
using ValueType = typename TreeType::ValueType

Member Function Documentation

static const NonConstTreeType& constTree ( NonConstTreeType t)
inlinestatic
static const NonConstTreeType& constTree ( NonConstGridType g)
inlinestatic
static const NonConstTreeType& constTree ( const NonConstTreeType t)
inlinestatic
static const NonConstTreeType& constTree ( const NonConstGridType g)
inlinestatic
static NonConstTreeType& tree ( NonConstTreeType t)
inlinestatic
static NonConstTreeType& tree ( NonConstGridType g)
inlinestatic
static const NonConstTreeType& tree ( const NonConstTreeType t)
inlinestatic
static const NonConstTreeType& tree ( const NonConstGridType g)
inlinestatic