Stellarium 0.12.3
List of all members | Classes | Public Member Functions
StelSphericalIndexMultiRes Class Reference

Container allowing to store and query SphericalRegion. More...

#include <StelSphericalIndexMultiRes.hpp>

Public Member Functions

 StelSphericalIndexMultiRes (int maxObjectsPerNode=100)
 
void insert (StelRegionObjectP obj)
 Insert the given object in the StelSphericalIndexMultiRes. More...
 
template<class FuncObject >
void processIntersectingRegions (const SphericalRegionP &region, FuncObject &func) const
 Process all the objects intersecting the given region using the passed function object. More...
 
template<class FuncObject >
void processAll (FuncObject &func) const
 Process all the objects intersecting the given region using the passed function object. More...
 
- Public Member Functions inherited from StelSphericalIndex
 StelSphericalIndex (int maxObjectsPerNode=100, int maxLevel=7)
 
void insert (StelRegionObjectP obj)
 Insert the given object in the StelSphericalIndex. More...
 
template<class FuncObject >
void processIntersectingRegions (const SphericalRegionP &region, FuncObject &func) const
 Process all the objects intersecting the given region using the passed function object. More...
 
template<class FuncObject >
void processBoundingCapIntersectingRegions (const SphericalCap &cap, FuncObject &func) const
 Process all the objects intersecting the given region using the passed function object. More...
 
template<class FuncObject >
void processContainedRegions (const SphericalRegionP &region, FuncObject &func) const
 Process all the objects contained in the given region using the passed function object. More...
 
template<class FuncObject >
void processAll (FuncObject &func) const
 Process all the objects intersecting the given region using the passed function object. More...
 
void clear ()
 Remove all the elements in the container. More...
 
unsigned int count ()
 Return the total number of elements in the container. More...
 

Detailed Description

Container allowing to store and query SphericalRegion.

Definition at line 30 of file StelSphericalIndexMultiRes.hpp.

Member Function Documentation

void StelSphericalIndexMultiRes::insert ( StelRegionObjectP  obj)

Insert the given object in the StelSphericalIndexMultiRes.

template<class FuncObject >
void StelSphericalIndexMultiRes::processAll ( FuncObject &  func) const
inline

Process all the objects intersecting the given region using the passed function object.

Definition at line 51 of file StelSphericalIndexMultiRes.hpp.

template<class FuncObject >
void StelSphericalIndexMultiRes::processIntersectingRegions ( const SphericalRegionP region,
FuncObject &  func 
) const
inline

Process all the objects intersecting the given region using the passed function object.

Definition at line 40 of file StelSphericalIndexMultiRes.hpp.


The documentation for this class was generated from the following file: