Inheritance diagram for NL3D::CQuadTree< T >::CNode:
Public Member Functions | |
void | clear () |
CNode (const T &val) | |
bool | isSelected () |
Data Fields | |
CBaseNode * | Next |
CBaseNode * | Prev |
CBaseNode * | QuadNexts [4] |
CBaseNode * | QuadPrevs [4] |
T | Value |
|
Definition at line 283 of file quad_tree.h.
00283 : Value(val) {} |
|
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(). |
|
Definition at line 282 of file quad_tree.h. Referenced by NL3D::CQuadTree< T >::CIterator::operator *(), and NL3D::CQuadTree< T >::const_iterator::operator *(). |