Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Public Attributes | Protected Attributes
jafar::rtslam::SphericalGrid< Cell > Class Template Reference

A grid in spherical coordinates theta,phi,r with dynamic slicing of theta according to phi so that all (theta,phi) cells have approximately the same area (typically only one at the poles). More...


Detailed Description

template<class Cell>
class jafar::rtslam::SphericalGrid< Cell >

A grid in spherical coordinates theta,phi,r with dynamic slicing of theta according to phi so that all (theta,phi) cells have approximately the same area (typically only one at the poles).

Slicing of r and phi can also optionally be dynamic with a geometric progression wrt r.

Definition at line 43 of file spaceGrid.hpp.

#include <spaceGrid.hpp>

List of all members.

Classes

struct  Index

Public Types

typedef std::map< Index, Cell >
::iterator 
iterator

Public Member Functions

 SphericalGrid (double angularRes, double distInit, double distFactor, int nDist, double phiFactor)
void rebuild (double angularRes, double distInit, double distFactor, int nDist, double phiFactor)
Cell * getCell (jblas::vec3 pos, bool create=false)
void downRes (double factor)

Public Attributes

std::map< Index, Cell > map

Protected Attributes

double angularRes
double distInit
double distFactor
int nDist
double phiFactor

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:46 for Jafar by doxygen 1.7.6.1
LAAS-CNRS