Public Member Functions | Public Attributes | List of all members
fcl::detail::NodeBase< BV > Struct Template Reference

dynamic AABB tree node More...

#include <node_base.h>

Public Member Functions

bool isInternal () const
 whether is internal node More...
 
bool isLeaf () const
 whether is a leaf More...
 
 NodeBase ()
 

Public Attributes

union {
   NodeBase< BV > *   children [2]
 for leaf node, children nodes More...
 
   void *   data
 
}; 
 
BV bv
 the bounding volume for the node More...
 
uint32 code
 morton code for current BV More...
 
NodeBase< BV > * parent
 pointer to parent node More...
 

Detailed Description

template<typename BV>
struct fcl::detail::NodeBase< BV >

dynamic AABB tree node

Definition at line 51 of file node_base.h.

Constructor & Destructor Documentation

◆ NodeBase()

template<typename BV >
fcl::detail::NodeBase< BV >::NodeBase

Definition at line 71 of file node_base-inl.h.

Member Function Documentation

◆ isInternal()

template<typename BV >
bool fcl::detail::NodeBase< BV >::isInternal

whether is internal node

Definition at line 64 of file node_base-inl.h.

◆ isLeaf()

template<typename BV >
bool fcl::detail::NodeBase< BV >::isLeaf

whether is a leaf

Definition at line 57 of file node_base-inl.h.

Member Data Documentation

◆ @1

union { ... }

◆ bv

template<typename BV >
BV fcl::detail::NodeBase< BV >::bv

the bounding volume for the node

Definition at line 54 of file node_base.h.

◆ children

template<typename BV >
NodeBase<BV>* fcl::detail::NodeBase< BV >::children[2]

for leaf node, children nodes

Definition at line 68 of file node_base.h.

◆ code

template<typename BV >
uint32 fcl::detail::NodeBase< BV >::code

morton code for current BV

Definition at line 73 of file node_base.h.

◆ data

template<typename BV >
void* fcl::detail::NodeBase< BV >::data

Definition at line 69 of file node_base.h.

◆ parent

template<typename BV >
NodeBase<BV>* fcl::detail::NodeBase< BV >::parent

pointer to parent node

Definition at line 57 of file node_base.h.


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50