Stellarium 0.11.4
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

StelSphericalIndexMultiRes Class Reference

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

#include <StelSphericalIndexMultiRes.hpp>

List of all members.

Classes

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

 StelSphericalIndexMultiRes (int maxObjectsPerNode=100)
void insert (StelRegionObjectP obj)
 Insert the given object in the StelSphericalIndexMultiRes.
template<class FuncObject >
void processIntersectingRegions (const SphericalRegionP &region, FuncObject &func) const
 Process all the objects intersecting 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.

Detailed Description

Container allowing to store and query SphericalRegion.


Member Function Documentation

void StelSphericalIndexMultiRes::insert ( StelRegionObjectP  obj  ) 

Insert the given object in the StelSphericalIndexMultiRes.

Reimplemented from StelSphericalIndex.

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

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

Reimplemented from StelSphericalIndex.

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.

Reimplemented from StelSphericalIndex.

Generated on Sat Aug 25 22:13:33 2012 for Stellarium by  doxygen 1.6.3