| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::QuadTreeNode< TYPE > Class Template Reference QuadTree template class. More...
Detailed Descriptiontemplate<class TYPE>
|
|
inline |
Contructor, you have to put the global bounding box of the quadtree
|
inline |
Basic destructor
|
inline |
return all elements that could be in the given box (the function ensures that all elements inside the box are return. However some elements not inside the box can be returned.
|
inline |
Return all elements of the quadtree
|
inline |
same as getElements, however if the size of the elements are to small compare to the size of the box (equivalent to have severeal item at the same position on the screen) only one elements is returned for the small cells. The ratio should fixed according to the number of pixels displayed. If we have a 1000*800 screen we can merge items of box into a single item if the size of box is max(1000,800) times smaller than the box given in parameter. so the ratio should be 1000.(merge elements that are 1000 times smaller
|
inline |
Insert an element in the quadtree
Tulip Software by LaBRI Visualization Team 2001 - 2012 |