Inheritance diagram for NL3D::CQuadTree< T >::CBaseNode:
Public Member Functions | |
CBaseNode () | |
void | clear () |
bool | isSelected () |
virtual | ~CBaseNode () |
Data Fields | |
CBaseNode * | Next |
CBaseNode * | Prev |
CBaseNode * | QuadNexts [4] |
CBaseNode * | QuadPrevs [4] |
|
Definition at line 243 of file quad_tree.h. References NL3D::CQuadTree< T >::CBaseNode::QuadNexts, and NL3D::CQuadTree< T >::CBaseNode::QuadPrevs.
|
|
Definition at line 249 of file quad_tree.h.
00249 {} // Empty destructor, but declare it as virtual...
|
|
Definition at line 250 of file quad_tree.h. References NL3D::CQuadTree< T >::CBaseNode::Next, nlassert, NL3D::CQuadTree< T >::CBaseNode::Prev, NL3D::CQuadTree< T >::CBaseNode::QuadNexts, NL3D::CQuadTree< T >::CBaseNode::QuadPrevs, and uint. Referenced by NL3D::CQuadTree< T >::CQuadNode::clear(), and NL3D::CQuadTree< T >::erase().
00251 { 00252 // On le retire de la selection. 00253 if(Prev) Prev->Next= Next; 00254 if(Next) Next->Prev= Prev; 00255 Prev=Next=NULL; 00256 // On le retire des listes dans les quads. 00257 for(uint i=0;i<4;i++) 00258 { 00259 if(QuadPrevs[i]) {nlassert(QuadPrevs[i]->QuadNexts[i]==this); QuadPrevs[i]->QuadNexts[i]= QuadNexts[i];} 00260 if(QuadNexts[i]) {nlassert(QuadNexts[i]->QuadPrevs[i]==this); QuadNexts[i]->QuadPrevs[i]= QuadPrevs[i];} 00261 QuadPrevs[i]=NULL; 00262 QuadNexts[i]=NULL; 00263 } 00264 } |
|
Definition at line 265 of file quad_tree.h. Referenced by NL3D::CQuadTree< T >::CQuadNode::selectLocalNodes().
00266 { 00267 return Prev!=NULL; 00268 } |
|
|
|
|
Definition at line 238 of file quad_tree.h. Referenced by NL3D::CQuadTree< T >::CQuadNode::addElement(), NL3D::CQuadTree< T >::CBaseNode::CBaseNode(), and NL3D::CQuadTree< T >::CBaseNode::clear(). |