![]() |
Stellarium 0.11.4 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Container allowing to store and query SphericalRegion. More...
#include <StelSphericalIndex.hpp>
Classes | |
| struct | CountFunc |
| class | Node |
| The base node class. | |
| struct | NodeElem |
| The elements stored in the container. | |
| class | RootNode |
| The first Node of a tree. | |
Public Member Functions | |
| StelSphericalIndex (int maxObjectsPerNode=100, int maxLevel=7) | |
| void | insert (StelRegionObjectP obj) |
| Insert the given object in the StelSphericalIndex. | |
| template<class FuncObject > | |
| void | processIntersectingRegions (const SphericalRegionP ®ion, FuncObject &func) const |
| Process all the objects intersecting the given region using the passed function object. | |
| template<class FuncObject > | |
| void | processBoundingCapIntersectingRegions (const SphericalCap &cap, FuncObject &func) const |
| Process all the objects intersecting the given region using the passed function object. | |
| template<class FuncObject > | |
| void | processContainedRegions (const SphericalRegionP ®ion, FuncObject &func) const |
| Process all the objects contained in the given region using the passed function object. | |
| template<class FuncObject > | |
| void | processAll (FuncObject &func) const |
| Process all the objects intersecting the given region using the passed function object. | |
| void | clear () |
| Remove all the elements in the container. | |
| unsigned int | count () |
| Return the total number of elements in the container. | |
Container allowing to store and query SphericalRegion.
| void StelSphericalIndex::clear | ( | ) | [inline] |
Remove all the elements in the container.
| unsigned int StelSphericalIndex::count | ( | ) | [inline] |
Return the total number of elements in the container.
| void StelSphericalIndex::insert | ( | StelRegionObjectP | obj | ) |
Insert the given object in the StelSphericalIndex.
Reimplemented in StelSphericalIndexMultiRes.
| void StelSphericalIndex::processAll | ( | FuncObject & | func | ) | const [inline] |
Process all the objects intersecting the given region using the passed function object.
Reimplemented in StelSphericalIndexMultiRes.
| void StelSphericalIndex::processBoundingCapIntersectingRegions | ( | const SphericalCap & | cap, | |
| FuncObject & | func | |||
| ) | const [inline] |
Process all the objects intersecting the given region using the passed function object.
| 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::processIntersectingRegions | ( | const SphericalRegionP & | region, | |
| FuncObject & | func | |||
| ) | const [inline] |
Process all the objects intersecting the given region using the passed function object.
Reimplemented in StelSphericalIndexMultiRes.
1.6.3