AI_SDB_SpatialAABBTreeNode Class Reference

#include <AI_SDB_SpatialAABBTree.h>

List of all members.

Public Types

enum  { MAX_ELEMENTSPERNODE = 10 }

Public Member Functions

 AI_SDB_SpatialAABBTreeNode ()
 ~AI_SDB_SpatialAABBTreeNode ()
bool HasChildren () const
void AddElement (AI_SDB_SpatialElement *addme)
AI_SDB_SpatialAABBTreeNodeFindElement (AI_SDB_SpatialElement *findme)
void RemoveElement (AI_SDB_SpatialElement *removeme)
void Subdivide (AI_SDB_SpatialAABBTree *nodemanager)
void RecomputeElementCount ()
void RecomputeBoundingBox ()
void ClearNodes (AI_SDB_SpatialAABBTree *nodemanager)
void Accept (AI_SDB_VisibilityVisitor &visitor, int recursiondepth, AI_SDB_VisitorFlags flags)
void Accept (AI_SDB_SpatialVisitor &visitor, int recursiondepth, AI_SDB_VisitorFlags flags)
void Accept (AI_SDB_OcclusionVisitor &visitor, int recursiondepth, AI_SDB_VisitorFlags flags)

Public Attributes

AI_BBox m_bbox
int m_splitaxis
float m_splitposition
AI_SDB_SpatialElementm_elements [MAX_ELEMENTSPERNODE]
int m_elementsinnode
int m_totalelements
AI_SDB_SpatialAABBTreeNodem_children [2]
AI_SDB_SpatialAABBTreeNodem_parent


Member Enumeration Documentation

anonymous enum

Enumerator:
MAX_ELEMENTSPERNODE 


Constructor & Destructor Documentation

AI_SDB_SpatialAABBTreeNode::AI_SDB_SpatialAABBTreeNode (  )  [inline]

AI_SDB_SpatialAABBTreeNode::~AI_SDB_SpatialAABBTreeNode (  )  [inline]


Member Function Documentation

bool AI_SDB_SpatialAABBTreeNode::HasChildren (  )  const [inline]

void AI_SDB_SpatialAABBTreeNode::AddElement ( AI_SDB_SpatialElement addme  ) 

AI_SDB_SpatialAABBTreeNode * AI_SDB_SpatialAABBTreeNode::FindElement ( AI_SDB_SpatialElement findme  ) 

void AI_SDB_SpatialAABBTreeNode::RemoveElement ( AI_SDB_SpatialElement removeme  ) 

void AI_SDB_SpatialAABBTreeNode::Subdivide ( AI_SDB_SpatialAABBTree nodemanager  ) 

void AI_SDB_SpatialAABBTreeNode::RecomputeElementCount (  ) 

void AI_SDB_SpatialAABBTreeNode::RecomputeBoundingBox (  ) 

void AI_SDB_SpatialAABBTreeNode::ClearNodes ( AI_SDB_SpatialAABBTree nodemanager  ) 

void AI_SDB_SpatialAABBTreeNode::Accept ( AI_SDB_VisibilityVisitor visitor,
int  recursiondepth,
AI_SDB_VisitorFlags  flags 
)

void AI_SDB_SpatialAABBTreeNode::Accept ( AI_SDB_SpatialVisitor visitor,
int  recursiondepth,
AI_SDB_VisitorFlags  flags 
)

void AI_SDB_SpatialAABBTreeNode::Accept ( AI_SDB_OcclusionVisitor visitor,
int  recursiondepth,
AI_SDB_VisitorFlags  flags 
)


Member Data Documentation


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