Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GMapping::PointAccumulator Struct Reference

#include <smmap.h>

Public Types

typedef point< float > FloatPoint
 

Public Member Functions

void add (const PointAccumulator &p)
 
double entropy () const
 
Point mean () const
 
 operator double () const
 
 PointAccumulator ()
 
 PointAccumulator (int i)
 
void update (bool value, const Point &p=Point(0, 0))
 

Static Public Member Functions

static const PointAccumulatorUnknown ()
 

Public Attributes

FloatPoint acc
 
int n
 
int visits
 

Static Public Attributes

static PointAccumulatorunknown_ptr =0
 

Detailed Description

Definition at line 10 of file smmap.h.

Member Typedef Documentation

◆ FloatPoint

Definition at line 11 of file smmap.h.

Constructor & Destructor Documentation

◆ PointAccumulator() [1/2]

GMapping::PointAccumulator::PointAccumulator ( )
inline

Definition at line 16 of file smmap.h.

◆ PointAccumulator() [2/2]

GMapping::PointAccumulator::PointAccumulator ( int  i)
inline

Definition at line 17 of file smmap.h.

Member Function Documentation

◆ add()

void GMapping::PointAccumulator::add ( const PointAccumulator p)
inline

Definition at line 22 of file smmap.h.

◆ entropy()

double GMapping::PointAccumulator::entropy ( ) const
inline

Definition at line 40 of file smmap.h.

◆ mean()

Point GMapping::PointAccumulator::mean ( ) const
inline

Definition at line 20 of file smmap.h.

◆ operator double()

GMapping::PointAccumulator::operator double ( ) const
inline

Definition at line 21 of file smmap.h.

◆ Unknown()

const PointAccumulator & GMapping::PointAccumulator::Unknown ( )
static

Definition at line 5 of file smmap.cpp.

◆ update()

void GMapping::PointAccumulator::update ( bool  value,
const Point p = Point(0,0) 
)
inline

Definition at line 30 of file smmap.h.

Member Data Documentation

◆ acc

FloatPoint GMapping::PointAccumulator::acc

Definition at line 25 of file smmap.h.

◆ n

int GMapping::PointAccumulator::n

Definition at line 26 of file smmap.h.

◆ unknown_ptr

PointAccumulator * GMapping::PointAccumulator::unknown_ptr =0
static

Definition at line 24 of file smmap.h.

◆ visits

int GMapping::PointAccumulator::visits

Definition at line 26 of file smmap.h.


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


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Thu Oct 19 2023 02:25:51