RavEngine
Loading...
Searching...
No Matches
physx::Gu::AABBTreeBuildNode Class Reference

AABB tree node used for building. More...

#include <GuAABBTree.h>

Inheritance diagram for physx::Gu::AABBTreeBuildNode:
[legend]
Collaboration diagram for physx::Gu::AABBTreeBuildNode:
[legend]

Public Member Functions

PX_FORCE_INLINE const PxBounds3 & getAABB () const
 
PX_FORCE_INLINE const AABBTreeBuildNode * getPos () const
 
PX_FORCE_INLINE const AABBTreeBuildNode * getNeg () const
 
PX_FORCE_INLINE bool isLeaf () const
 
PX_FORCE_INLINE PxU32 getNbPrimitives () const
 
PX_FORCE_INLINE PxU32 getNbRuntimePrimitives () const
 
PX_FORCE_INLINE void setNbRunTimePrimitives (PxU32 val)
 
PX_FORCE_INLINE const PxU32 * getPrimitives (const PxU32 *base) const
 
PX_FORCE_INLINE PxU32 * getPrimitives (PxU32 *base)
 
void subdivide (const AABBTreeBuildParams &params, BuildStats &stats, NodeAllocator &allocator, PxU32 *const indices)
 
void subdivideSAH (const AABBTreeBuildParams &params, SAH_Buffers &sah, BuildStats &stats, NodeAllocator &allocator, PxU32 *const indices)
 
void _buildHierarchy (const AABBTreeBuildParams &params, BuildStats &stats, NodeAllocator &allocator, PxU32 *const indices)
 
void _buildHierarchySAH (const AABBTreeBuildParams &params, SAH_Buffers &sah, BuildStats &stats, NodeAllocator &allocator, PxU32 *const indices)
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Public Attributes

PxBounds3 mBV
 Global bounding-volume enclosing all the node-related primitives.
 
const AABBTreeBuildNode * mPos
 "Positive" & "Negative" children
 
PxU32 mNodeIndex
 Index of node-related primitives (in the tree's mIndices array)
 
PxU32 mNbPrimitives
 Number of primitives for this node.
 

Detailed Description

AABB tree node used for building.


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