Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::StaticOctree< Item, NodeData >::OctreeNode Struct Reference

#include <mitsuba/core/octree.h>

Public Member Functions

 ~OctreeNode ()
 

Public Attributes

bool leaf: 1
 
NodeData data
 
union {
   struct {
      OctreeNode *   children [8]
 
   } 
 
   struct {
      uint32_t   offset
 
      uint32_t   count
 
   } 
 
}; 
 

Constructor & Destructor Documentation

template<typename Item , typename NodeData >
mitsuba::StaticOctree< Item, NodeData >::OctreeNode::~OctreeNode ( )
inline

Member Data Documentation

union { ... }
template<typename Item , typename NodeData >
OctreeNode* mitsuba::StaticOctree< Item, NodeData >::OctreeNode::children[8]
template<typename Item , typename NodeData >
uint32_t mitsuba::StaticOctree< Item, NodeData >::OctreeNode::count
template<typename Item , typename NodeData >
NodeData mitsuba::StaticOctree< Item, NodeData >::OctreeNode::data
template<typename Item , typename NodeData >
bool mitsuba::StaticOctree< Item, NodeData >::OctreeNode::leaf
template<typename Item , typename NodeData >
uint32_t mitsuba::StaticOctree< Item, NodeData >::OctreeNode::offset

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