Home | nevrax.com |
|
NLPACS::CQuadGrid Class Template ReferenceThis container is a simple grid, used to quickly find elements. More...
Detailed Descriptiontemplate<class T>
This container is a simple grid, used to quickly find elements.
|
|
Default constructor, use axes XY!!!, has a size of 16, and EltSize is 1.
Definition at line 345 of file pacs/quad_grid.h. References _ChangeBasis, _EltSize, _Size, _SizePower, and NLMISC::CMatrix::identity. |
|
dtor.
Definition at line 353 of file pacs/quad_grid.h. References clear. |
|
Definition at line 255 of file pacs/quad_grid.h. |
|
Definition at line 241 of file pacs/quad_grid.h. Referenced by NLPACS::CQuadGrid< uint32 >::addQuadNodeToSelection. |
|
Return the first iterator of the selected element list. begin and end are valid till the next insert. Definition at line 541 of file pacs/quad_grid.h. References _Selection, CIterator, and NLPACS::CQuadGrid::CBaseNode::Next. Referenced by clear. |
|
Change the base matrix of the quad grid. For exemple this code init the grid tree in the plane XZ: CQuadGrid grid; NLMISC::CMatrix tmp; NLMISC::CVector I(1,0,0); NLMISC::CVector J(0,0,1); NLMISC::CVector K(0,-1,0); tmp.identity(); tmp.setRot(I,J,K, true); quadTree.changeBase (tmp);
Definition at line 358 of file pacs/quad_grid.h. References _ChangeBasis. |
|
Clear the container. Elements are deleted, but the quadgrid is not erased.
Definition at line 384 of file pacs/quad_grid.h. References _Selection, begin, CIterator, end, erase, NLPACS::CQuadGrid::CBaseNode::Next, and selectAll. Referenced by create, and ~CQuadGrid. |
|
Clear the selection list.
Definition at line 489 of file pacs/quad_grid.h. References _Selection, and NLPACS::CQuadGrid::CBaseNode::Next. |
|
Init the container. container is first clear() ed.
Definition at line 363 of file pacs/quad_grid.h. References _EltSize, _Grid, _Size, _SizePower, clear, NLMISC::getPowerOf2, NLMISC::isPowerOf2, and nlassert. |
|
Return the end iterator of the selected element list. begin and end are valid till the next insert. Definition at line 546 of file pacs/quad_grid.h. References CIterator. |
|
Erase an interator from the container.
Definition at line 397 of file pacs/quad_grid.h. References _Grid, _Size, _SizePower, CIterator, end, x, and y. Referenced by clear. |
|
Insert a new element in the container.
Definition at line 444 of file pacs/quad_grid.h. References _ChangeBasis, _Grid, _Size, _SizePower, CIterator, selectQuads, x, and y. |
|
Select element intersecting a bounding box. Clear the selection first.
Definition at line 513 of file pacs/quad_grid.h. References _ChangeBasis, _Grid, _Size, _SizePower, addQuadNodeToSelection, clearSelection, selectQuads, x, and y. |
|
Select all the container.
Definition at line 503 of file pacs/quad_grid.h. References _Grid, addQuadNodeToSelection, and clearSelection. Referenced by clear. |
|
Definition at line 199 of file pacs/quad_grid.h. |
|
Definition at line 69 of file pacs/quad_grid.h. |
|
Definition at line 191 of file pacs/quad_grid.h. Referenced by changeBase, CQuadGrid, insert, and select. |
|
Definition at line 190 of file pacs/quad_grid.h. Referenced by CQuadGrid, create, and NLPACS::CQuadGrid< uint32 >::selectQuads. |
|
Definition at line 187 of file pacs/quad_grid.h. |
|
Definition at line 193 of file pacs/quad_grid.h. Referenced by begin, clear, and clearSelection. |
|
Definition at line 188 of file pacs/quad_grid.h. Referenced by CQuadGrid, create, erase, insert, select, and NLPACS::CQuadGrid< uint32 >::selectQuads. |
|
Definition at line 189 of file pacs/quad_grid.h. |