![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <StelSphericalIndex.hpp>
Inherited by StelSphericalIndexMultiRes.
Public Member Functions | |
StelSphericalIndex (int maxObjectsPerNode=100, int maxLevel=7) | |
void | insert (StelRegionObjectP obj) |
template<class FuncObject> | |
void | processIntersectingRegions (const SphericalRegionP ®ion, FuncObject &func) const |
template<class FuncObject> | |
void | processContainedRegions (const SphericalRegionP ®ion, FuncObject &func) const |
template<class FuncObject> | |
void | processAll (FuncObject &func) const |
void | clear () |
Classes | |
class | Node |
The base node class. | |
struct | NodeElem |
The elements stored in the container. | |
class | RootNode |
The first Node of a tree. |
void StelSphericalIndex::insert | ( | StelRegionObjectP | obj | ) |
void StelSphericalIndex::processIntersectingRegions | ( | const SphericalRegionP & | region, | |
FuncObject & | func | |||
) | const [inline] |
Process all the objects intersecting the given region using the passed function object.
Reimplemented in StelSphericalIndexMultiRes.
void StelSphericalIndex::processContainedRegions | ( | const SphericalRegionP & | region, | |
FuncObject & | func | |||
) | const [inline] |
Process all the objects contained in the given region using the passed function object.
void StelSphericalIndex::processAll | ( | FuncObject & | func | ) | const [inline] |
Process all the objects intersecting the given region using the passed function object.
Reimplemented in StelSphericalIndexMultiRes.