Newton Dynamics  4.00
ndBvhNode Class Reference
Inheritance diagram for ndBvhNode:
ndContainersFreeListAlloc< ndBvhNode > ndFreeListAlloc ndBvhInternalNode ndBvhLeafNode

Public Member Functions

 ndBvhNode (ndBvhNode *const parent)
 
 ndBvhNode (const ndBvhNode &src)
 
virtual ndBvhNodeClone () const
 
void Kill ()
 
void GetAabb (ndVector &minBox, ndVector &maxBox) const
 
void SetAabb (const ndVector &minBox, const ndVector &maxBox)
 
virtual ndBvhNodeGetAsSceneNode () const
 
virtual ndBvhLeafNodeGetAsSceneBodyNode () const
 
virtual ndBvhInternalNodeGetAsSceneTreeNode () const
 
virtual ndBvhNodeGetLeft () const
 
virtual ndBvhNodeGetRight () const
 
virtual ndBodyKinematicGetBody () const
 
virtual bool SanityCheck (ndUnsigned32 level) const
 
- Public Member Functions inherited from ndFreeListAlloc
D_CORE_API void * operator new (size_t size)
 
D_CORE_API void operator delete (void *ptr)
 

Public Attributes

ndVector m_minBox
 
ndVector m_maxBox
 
ndBvhNodem_parent
 
ndSpinLock m_lock
 
ndInt32 m_depthLevel
 
ndUnsigned8 m_isDead
 
ndUnsigned8 m_bhvLinked
 

Static Public Attributes

static ndVector m_aabbQuantization
 
static ndVector m_aabbInvQuantization
 

Additional Inherited Members

- Static Public Member Functions inherited from ndContainersFreeListAlloc< ndBvhNode >
static void FlushFreeList (ndInt32 size)
 
- Static Public Member Functions inherited from ndFreeListAlloc
static D_CORE_API void Flush ()
 
static D_CORE_API void Flush (ndInt32 size)