|
OOFEM 3.0
|
#include <octreelocalizert.h>
Public Member Functions | |
| OctreeSpatialLocalizerT () | |
| Constructor. | |
| ~OctreeSpatialLocalizerT () | |
| Destructor. | |
| void | clear () |
| int | init (BoundingBox &BBX, int initialDivision=0) |
| Initilizes the octree structure. | |
| int | insertMemberIntoOctree (T &memberID, SL_Insertion_Functor< T > &functor) |
| Inserts member into the octree using functor for the evaluation. | |
| int | removeMemberFromOctree (T &memberID, SL_Insertion_Functor< T > &functor) |
| Removes member from octree using insertion functor - NOT IN USE. | |
| void | giveDataOnFilter (std ::list< T > &answer, SL_Evaluation_Functor< T > &filter) |
| Evalutes the search accoring used functor a fills the list with results - NOT IN USE. | |
| void | proceedDataOnFilterAndRemoveFromOctree (std ::list< T > &answer, SL_Evaluation_Functor< T > &filter, SL_Insertion_Functor< T > &insertor, Timer &searchingTimer) |
| const char * | giveClassName () const |
| int | giveOctreeMaskValue (int indx) |
| void | giveOctreeMask (IntArray &answer) |
| CellPtrType | giveRootCell () |
| void | giveReport () |
Protected Types | |
| typedef OctantRecT< T > * | CellPtrType |
| typedef std ::list< T > | dataContainerType |
| typedef std::list< T >::iterator | listIteratorType |
| typedef std::list< T >::const_iterator | listConstIteratorType |
Protected Member Functions | |
| CellPtrType | findTerminalContaining (CellPtrType startCell, const FloatArray &coords) |
| Returns terminal octant cell containing node with coords. | |
| int | giveCellDepth (CellPtrType cell) |
| Returns the depth of the cell. | |
| int | insertMemberIntoCell (T &memberID, SL_Insertion_Functor< T > &functor, CellPtrType cell) |
| int | removeMemberFromCell (T &memberID, SL_Insertion_Functor< T > &functor, CellPtrType cell) |
| Removes member from cell using insertion functor to ensure member is contained in. | |
| void | giveMaxTreeDepthFrom (CellPtrType root, int &maxDepth) |
| Gives the maximal tree depth from given cell. | |
| void | giveListOfTerminalCellsInBoundingBox (std ::list< CellPtrType > &cellList, BoundingBox &BBX, CellPtrType currentCell) |
| Gives a list of terminal cells in a bounding box. | |
Protected Attributes | |
| IntArray | octreeMask |
| CellPtrType | rootCell |
| int | maxDepthReached |
Friends | |
| class | OctantRecT< T > |
Templated octree spatial localizer
Definition at line 534 of file octreelocalizert.h.
|
protected |
Definition at line 538 of file octreelocalizert.h.
|
protected |
Definition at line 539 of file octreelocalizert.h.
|
protected |
Definition at line 541 of file octreelocalizert.h.
|
protected |
Definition at line 540 of file octreelocalizert.h.
|
inline |
Constructor.
Definition at line 549 of file octreelocalizert.h.
|
inline |
Destructor.
Definition at line 554 of file octreelocalizert.h.
|
inline |
Definition at line 560 of file octreelocalizert.h.
Referenced by oofem::UnstructuredGridField::initOctree().
|
inlineprotected |
Returns terminal octant cell containing node with coords.
Definition at line 704 of file octreelocalizert.h.
Referenced by oofem::OctreeSpatialLocalizerT< T > *::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< T > *::proceedDataOnFilterAndRemoveFromOctree().
|
inlineprotected |
Returns the depth of the cell.
Definition at line 723 of file octreelocalizert.h.
Referenced by oofem::OctreeSpatialLocalizerT< T > *::giveMaxTreeDepthFrom(), and oofem::OctreeSpatialLocalizerT< T > *::insertMemberIntoCell().
|
inline |
Definition at line 689 of file octreelocalizert.h.
|
inline |
Evalutes the search accoring used functor a fills the list with results - NOT IN USE.
Definition at line 603 of file octreelocalizert.h.
Referenced by oofem::UnstructuredGridField::evaluateAt().
|
inlineprotected |
Gives a list of terminal cells in a bounding box.
Definition at line 866 of file octreelocalizert.h.
Referenced by oofem::OctreeSpatialLocalizerT< T > *::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< T > *::giveListOfTerminalCellsInBoundingBox().
|
inlineprotected |
Gives the maximal tree depth from given cell.
Definition at line 849 of file octreelocalizert.h.
Referenced by oofem::OctreeSpatialLocalizerT< T > *::giveMaxTreeDepthFrom(), and oofem::OctreeSpatialLocalizerT< T > *::giveReport().
|
inline |
Definition at line 691 of file octreelocalizert.h.
|
inline |
Definition at line 690 of file octreelocalizert.h.
|
inline |
Definition at line 693 of file octreelocalizert.h.
|
inline |
Definition at line 692 of file octreelocalizert.h.
|
inline |
Initilizes the octree structure.
Definition at line 566 of file octreelocalizert.h.
Referenced by oofem::UnstructuredGridField::initOctree().
|
inlineprotected |
Inserts member into the cell by evaluating the insertion functor Method is called recursivelly until terminal cell is reached
Definition at line 729 of file octreelocalizert.h.
Referenced by oofem::OctreeSpatialLocalizerT< T > *::insertMemberIntoCell(), and oofem::OctreeSpatialLocalizerT< T > *::insertMemberIntoOctree().
|
inline |
Inserts member into the octree using functor for the evaluation.
Definition at line 583 of file octreelocalizert.h.
Referenced by oofem::UnstructuredGridField::initOctree().
|
inline |
Applies the evaluation functor, fills the answer list with results and removes found object from octree USED BY DELAUNAY TRIANGULATOR
Definition at line 645 of file octreelocalizert.h.
|
inlineprotected |
Removes member from cell using insertion functor to ensure member is contained in.
Definition at line 821 of file octreelocalizert.h.
Referenced by oofem::OctreeSpatialLocalizerT< T > *::proceedDataOnFilterAndRemoveFromOctree(), oofem::OctreeSpatialLocalizerT< T > *::removeMemberFromCell(), and oofem::OctreeSpatialLocalizerT< T > *::removeMemberFromOctree().
|
inline |
Removes member from octree using insertion functor - NOT IN USE.
Definition at line 596 of file octreelocalizert.h.
|
friend |
Definition at line 866 of file octreelocalizert.h.
Referenced by oofem::OctreeSpatialLocalizerT< T > *::init().
|
protected |
Definition at line 545 of file octreelocalizert.h.
|
protected |
Definition at line 542 of file octreelocalizert.h.
|
protected |
Definition at line 543 of file octreelocalizert.h.