g2o
Public Member Functions | Protected Attributes | List of all members
g2o::PointSensorParameters Class Reference

#include <pointsensorparameters.h>

Inheritance diagram for g2o::PointSensorParameters:
Inheritance graph
[legend]

Public Member Functions

 PointSensorParameters ()
 
double maxRange () const
 
void setMaxRange (double maxRange_)
 
double minRange () const
 
void setMinRange (double minRange_)
 
double fov () const
 
void setFov (double fov_)
 
double maxAngularDifference () const
 
void setMaxAngularDifference (double angularDifference)
 

Protected Attributes

double _maxRange2
 
double _minRange2
 
double _fov
 
double _maxAngularDifference
 

Detailed Description

Definition at line 36 of file pointsensorparameters.h.

Constructor & Destructor Documentation

g2o::PointSensorParameters::PointSensorParameters ( )

Definition at line 33 of file pointsensorparameters.cpp.

References _fov, _maxAngularDifference, _maxRange2, _minRange2, and M_PI.

Member Function Documentation

double g2o::PointSensorParameters::fov ( ) const
inline

Definition at line 44 of file pointsensorparameters.h.

double g2o::PointSensorParameters::maxAngularDifference ( ) const
inline

Definition at line 46 of file pointsensorparameters.h.

double g2o::PointSensorParameters::maxRange ( ) const
inline

Definition at line 40 of file pointsensorparameters.h.

40 {return sqrt(_maxRange2);}
double g2o::PointSensorParameters::minRange ( ) const
inline

Definition at line 42 of file pointsensorparameters.h.

42 {return sqrt(_minRange2);}
void g2o::PointSensorParameters::setFov ( double  fov_)
inline

Definition at line 45 of file pointsensorparameters.h.

Referenced by main().

void g2o::PointSensorParameters::setMaxAngularDifference ( double  angularDifference)
inline

Definition at line 47 of file pointsensorparameters.h.

47 {_maxAngularDifference = angularDifference;}
void g2o::PointSensorParameters::setMaxRange ( double  maxRange_)
inline

Definition at line 41 of file pointsensorparameters.h.

Referenced by main().

41 {_maxRange2 = maxRange_*maxRange_;}
void g2o::PointSensorParameters::setMinRange ( double  minRange_)
inline

Definition at line 43 of file pointsensorparameters.h.

Referenced by main().

43 {_minRange2 = minRange_*minRange_;}

Member Data Documentation

double g2o::PointSensorParameters::_fov
protected
double g2o::PointSensorParameters::_maxAngularDifference
protected
double g2o::PointSensorParameters::_maxRange2
protected
double g2o::PointSensorParameters::_minRange2
protected

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