HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NodeUnion.h File Reference
#include <openvdb/version.h>
#include <openvdb/Types.h>
#include <cstring>
#include <type_traits>
+ Include dependency graph for NodeUnion.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openvdb::OPENVDB_VERSION_NAME::tree::NodeUnionImpl< ValueIsClass, ValueT, ChildT >
 
class  openvdb::OPENVDB_VERSION_NAME::tree::NodeUnionImpl< false, ValueT, ChildT >
 
class  openvdb::OPENVDB_VERSION_NAME::tree::NodeUnionImpl< true, ValueT, ChildT >
 
struct  openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT >
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tree
 

Detailed Description

NodeUnion is a templated helper class that controls access to either the child node pointer or the value for a particular element of a root or internal node. For space efficiency, the child pointer and the value are unioned when possible, since the two are never in use simultaneously.

Definition in file NodeUnion.h.