OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Functor base class for evaluating search tasks on the octree according given condition. More...
#include <octreelocalizert.h>
Public Member Functions | |
virtual bool | evaluate (T &obj)=0 |
Evaluates wether the search condition is accomplished or not. More... | |
virtual void | giveStartingPosition (FloatArray &answer)=0 |
Gives the starting position of the search. More... | |
virtual void | giveResult (std::list< T > &answer)=0 |
Gives a container with found objects. More... | |
virtual bool | isBBXStage1Defined (BoundingBox &BBXStage1)=0 |
Stage1 means, we are looking for objects in a distance given by some boundingBox (e.g. More... | |
virtual bool | isBBXStage2Defined (BoundingBox &BBXStage2)=0 |
Stage2BBX is given by results of a prior search. More... | |
Functor base class for evaluating search tasks on the octree according given condition.
Definition at line 624 of file octreelocalizert.h.
|
pure virtual |
Evaluates wether the search condition is accomplished or not.
Implemented in oofem::ElementCircumCirclesContainingNode, and oofem::ClosestNode.
Referenced by oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::proceedDataOnFilterAndRemoveFromOctree().
|
pure virtual |
Gives a container with found objects.
Implemented in oofem::ElementCircumCirclesContainingNode, and oofem::ClosestNode.
Referenced by oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::proceedDataOnFilterAndRemoveFromOctree().
|
pure virtual |
Gives the starting position of the search.
Implemented in oofem::ElementCircumCirclesContainingNode, oofem::ClosestNode, and oofem::UnstructuredGridField::CellContainingPointFunctor.
Referenced by oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::proceedDataOnFilterAndRemoveFromOctree().
|
pure virtual |
Stage1 means, we are looking for objects in a distance given by some boundingBox (e.g.
IPs around some given coordinates)
Implemented in oofem::ElementCircumCirclesContainingNode, oofem::ClosestNode, and oofem::UnstructuredGridField::CellContainingPointFunctor.
Referenced by oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::proceedDataOnFilterAndRemoveFromOctree().
|
pure virtual |
Stage2BBX is given by results of a prior search.
e.g. We found a closest point to another point in an octant, BBX is defined by the distance from each other and the found closest point. Now we have to check surrounding octants whithin this bounding, which may contain points closer to starting point.
Implemented in oofem::ElementCircumCirclesContainingNode, oofem::ClosestNode, and oofem::UnstructuredGridField::CellContainingPointFunctor.
Referenced by oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::giveDataOnFilter(), and oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::proceedDataOnFilterAndRemoveFromOctree().