OpenVDB  12.0.0
Public Member Functions | List of all members
NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type > Class Template Reference

Template specialization of a NodeUnion that stores the child pointer and the value together (int, float, pointer, etc.) More...

#include <openvdb/tree/NodeUnion.h>

Public Member Functions

 NodeUnion ()
 
ChildT * getChild () const
 
void setChild (ChildT *child)
 
const ValueT & getValue () const
 
ValueT & getValue ()
 
void setValue (const ValueT &val)
 

Detailed Description

template<typename ValueT, typename ChildT>
class openvdb::v12_0::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >

Template specialization of a NodeUnion that stores the child pointer and the value together (int, float, pointer, etc.)

Constructor & Destructor Documentation

NodeUnion ( )
inline

Member Function Documentation

ChildT* getChild ( ) const
inline
const ValueT& getValue ( ) const
inline
ValueT& getValue ( )
inline
void setChild ( ChildT *  child)
inline
void setValue ( const ValueT &  val)
inline

Member Data Documentation

ChildT* mChild
ValueT mValue