#include <LocalGrid.h>
Public Member Functions | |
void | add (int nodeId, const cv::Mat &ground, const cv::Mat &obstacles, const cv::Mat &empty, float cellSize, const cv::Point3f &viewPoint=cv::Point3f(0, 0, 0)) |
void | add (int nodeId, const LocalGrid &localGrid) |
std::map< int, LocalGrid >::const_iterator | begin () const |
void | clear (bool temporaryOnly=false) |
bool | empty () const |
std::map< int, LocalGrid >::const_iterator | end () const |
std::map< int, LocalGrid >::const_iterator | find (int nodeId) const |
unsigned long | getMemoryUsed () const |
LocalGridCache () | |
const std::map< int, LocalGrid > & | localGrids () const |
bool | shareTo (int nodeId, LocalGridCache &anotherCache) const |
size_t | size () const |
virtual | ~LocalGridCache () |
Private Attributes | |
std::map< int, LocalGrid > | localGrids_ |
Definition at line 56 of file LocalGrid.h.
|
inline |
Definition at line 59 of file LocalGrid.h.
|
inlinevirtual |
Definition at line 60 of file LocalGrid.h.
void rtabmap::LocalGridCache::add | ( | int | nodeId, |
const cv::Mat & | ground, | ||
const cv::Mat & | obstacles, | ||
const cv::Mat & | empty, | ||
float | cellSize, | ||
const cv::Point3f & | viewPoint = cv::Point3f(0,0,0) |
||
) |
Definition at line 55 of file LocalGrid.cpp.
Definition at line 65 of file LocalGrid.cpp.
Definition at line 81 of file LocalGrid.h.
void rtabmap::LocalGridCache::clear | ( | bool | temporaryOnly = false | ) |
Definition at line 103 of file LocalGrid.cpp.
|
inline |
Definition at line 77 of file LocalGrid.h.
Definition at line 82 of file LocalGrid.h.
Definition at line 80 of file LocalGrid.h.
unsigned long rtabmap::LocalGridCache::getMemoryUsed | ( | ) | const |
Definition at line 88 of file LocalGrid.cpp.
Definition at line 78 of file LocalGrid.h.
bool rtabmap::LocalGridCache::shareTo | ( | int | nodeId, |
LocalGridCache & | anotherCache | ||
) | const |
Definition at line 77 of file LocalGrid.cpp.
|
inline |
Definition at line 76 of file LocalGrid.h.
Definition at line 85 of file LocalGrid.h.