#include <DataPointContainer.h>
Public Member Functions | |
void | add (const DataPointType &dataPoint) |
void | clear () |
DataPointContainer (int size=1000) | |
DataPointType | getOrigo () const |
int | getSize () const |
const DataPointType & | getVecEntry (int index) const |
void | setFrom (const DataPointContainer &other, float factor) |
void | setOrigo (const DataPointType &origoIn) |
Protected Attributes | |
std::vector< DataPointType > | dataPoints |
DataPointType | origo |
Definition at line 37 of file DataPointContainer.h.
hectorslam::DataPointContainer< DataPointType >::DataPointContainer | ( | int | size = 1000 | ) | [inline] |
Definition at line 41 of file DataPointContainer.h.
void hectorslam::DataPointContainer< DataPointType >::add | ( | const DataPointType & | dataPoint | ) | [inline] |
Definition at line 60 of file DataPointContainer.h.
void hectorslam::DataPointContainer< DataPointType >::clear | ( | void | ) | [inline] |
Definition at line 65 of file DataPointContainer.h.
DataPointType hectorslam::DataPointContainer< DataPointType >::getOrigo | ( | ) | const [inline] |
Definition at line 80 of file DataPointContainer.h.
int hectorslam::DataPointContainer< DataPointType >::getSize | ( | ) | const [inline] |
Definition at line 70 of file DataPointContainer.h.
const DataPointType& hectorslam::DataPointContainer< DataPointType >::getVecEntry | ( | int | index | ) | const [inline] |
Definition at line 75 of file DataPointContainer.h.
void hectorslam::DataPointContainer< DataPointType >::setFrom | ( | const DataPointContainer< DataPointType > & | other, |
float | factor | ||
) | [inline] |
Definition at line 46 of file DataPointContainer.h.
void hectorslam::DataPointContainer< DataPointType >::setOrigo | ( | const DataPointType & | origoIn | ) | [inline] |
Definition at line 85 of file DataPointContainer.h.
std::vector<DataPointType> hectorslam::DataPointContainer< DataPointType >::dataPoints [protected] |
Definition at line 92 of file DataPointContainer.h.
DataPointType hectorslam::DataPointContainer< DataPointType >::origo [protected] |
Definition at line 93 of file DataPointContainer.h.