OpenVDB  12.0.0
Public Types | List of all members
TreeConverter< TreeType > Struct Template Reference

Similiar to ValueConverter, but allows for tree configuration conversion to a PointDataTree. ValueConverter<PointDataIndex32> cannot be used as a PointDataLeafNode is not a specialization of LeafNode. More...

#include <openvdb/points/PointDataGrid.h>

Public Types

using RootNodeT = typename TreeType::RootNodeType
 
using NodeChainT = typename internal::PointDataNodeChain< RootNodeT, RootNodeT::LEVEL >::Type
 
using Type = tree::Tree< typename NodeChainT::Back >
 

Detailed Description

template<typename TreeType>
struct openvdb::v12_0::points::TreeConverter< TreeType >

Similiar to ValueConverter, but allows for tree configuration conversion to a PointDataTree. ValueConverter<PointDataIndex32> cannot be used as a PointDataLeafNode is not a specialization of LeafNode.

Member Typedef Documentation

using NodeChainT = typename internal::PointDataNodeChain<RootNodeT, RootNodeT::LEVEL>::Type
using RootNodeT = typename TreeType::RootNodeType
using Type = tree::Tree<typename NodeChainT::Back>