Stellarium 0.12.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · 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.

Definition at line 30 of file StelSphericalIndexMultiRes.hpp.


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.

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.

Reimplemented from StelSphericalIndex.

Definition at line 40 of file StelSphericalIndexMultiRes.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:47 2013 for Stellarium by  doxygen 1.6.3