Definition at line 58 of file MapCollection.h.
#include <mrpt/otherlibs/octomap/MapCollection.h>
Public Types | |
typedef std::vector< MAPNODE * >::iterator | iterator |
typedef std::vector< MAPNODE * >::const_iterator | const_iterator |
Public Member Functions | |
MapCollection () | |
MapCollection (std::string filename) | |
~MapCollection () | |
void | addNode (MAPNODE *node) |
MAPNODE * | addNode (const Pointcloud &cloud, point3d sensor_origin) |
bool | removeNode (const MAPNODE *n) |
MAPNODE * | queryNode (const point3d &p) |
bool | isOccupied (const point3d &p) const |
bool | isOccupied (float x, float y, float z) const |
float | getOccupancy (const point3d &p) |
bool | castRay (const point3d &origin, const point3d &direction, point3d &end, bool ignoreUnknownCells=false, double maxRange=-1.0) const |
bool | writePointcloud (std::string filename) |
bool | write (std::string filename) |
void | insertScan (const Pointcloud &scan, const octomap::point3d &sensor_origin, double maxrange=-1., bool pruning=true, bool lazy_eval=false) |
MAPNODE * | queryNode (std::string id) |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
size_t | size () const |
Protected Member Functions | |
void | clear () |
bool | read (std::string filename) |
std::vector< Pointcloud * > | segment (const Pointcloud &scan) const |
MAPNODE * | associate (const Pointcloud &scan) |
Static Protected Member Functions | |
static void | splitPathAndFilename (std::string &filenamefullpath, std::string *path, std::string *filename) |
static std::string | combinePathAndFilename (std::string path, std::string filename) |
static bool | readTagValue (std::string tag, std::ifstream &infile, std::string *value) |
Protected Attributes | |
std::vector< MAPNODE * > | nodes |
typedef std::vector<MAPNODE*>::const_iterator octomap::MapCollection< MAPNODE >::const_iterator |
Definition at line 87 of file MapCollection.h.
typedef std::vector<MAPNODE*>::iterator octomap::MapCollection< MAPNODE >::iterator |
Definition at line 86 of file MapCollection.h.
octomap::MapCollection< MAPNODE >::MapCollection | ( | ) |
octomap::MapCollection< MAPNODE >::MapCollection | ( | std::string | filename | ) |
octomap::MapCollection< MAPNODE >::~MapCollection | ( | ) |
void octomap::MapCollection< MAPNODE >::addNode | ( | MAPNODE * | node | ) |
MAPNODE* octomap::MapCollection< MAPNODE >::addNode | ( | const Pointcloud & | cloud, |
point3d | sensor_origin | ||
) |
|
protected |
Referenced by octomap::MapCollection< MAPNODE >::size().
|
inline |
Definition at line 88 of file MapCollection.h.
References octomap::MapCollection< MAPNODE >::nodes.
|
inline |
Definition at line 90 of file MapCollection.h.
References octomap::MapCollection< MAPNODE >::nodes.
bool octomap::MapCollection< MAPNODE >::castRay | ( | const point3d & | origin, |
const point3d & | direction, | ||
point3d & | end, | ||
bool | ignoreUnknownCells = false , |
||
double | maxRange = -1.0 |
||
) | const |
|
protected |
Referenced by octomap::MapCollection< MAPNODE >::size().
|
staticprotected |
Referenced by octomap::MapCollection< MAPNODE >::size().
|
inline |
Definition at line 89 of file MapCollection.h.
References octomap::MapCollection< MAPNODE >::nodes.
|
inline |
Definition at line 91 of file MapCollection.h.
References octomap::MapCollection< MAPNODE >::nodes.
float octomap::MapCollection< MAPNODE >::getOccupancy | ( | const point3d & | p | ) |
void octomap::MapCollection< MAPNODE >::insertScan | ( | const Pointcloud & | scan, |
const octomap::point3d & | sensor_origin, | ||
double | maxrange = -1. , |
||
bool | pruning = true , |
||
bool | lazy_eval = false |
||
) |
bool octomap::MapCollection< MAPNODE >::isOccupied | ( | const point3d & | p | ) | const |
bool octomap::MapCollection< MAPNODE >::isOccupied | ( | float | x, |
float | y, | ||
float | z | ||
) | const |
MAPNODE* octomap::MapCollection< MAPNODE >::queryNode | ( | const point3d & | p | ) |
MAPNODE* octomap::MapCollection< MAPNODE >::queryNode | ( | std::string | id | ) |
|
protected |
Referenced by octomap::MapCollection< MAPNODE >::size().
|
staticprotected |
Referenced by octomap::MapCollection< MAPNODE >::size().
bool octomap::MapCollection< MAPNODE >::removeNode | ( | const MAPNODE * | n | ) |
|
protected |
Referenced by octomap::MapCollection< MAPNODE >::size().
|
inline |
Definition at line 92 of file MapCollection.h.
References octomap::MapCollection< MAPNODE >::associate(), octomap::MapCollection< MAPNODE >::clear(), octomap::MapCollection< MAPNODE >::combinePathAndFilename(), octomap::MapCollection< MAPNODE >::nodes, octomap::MapCollection< MAPNODE >::read(), octomap::MapCollection< MAPNODE >::readTagValue(), octomap::MapCollection< MAPNODE >::segment(), and octomap::MapCollection< MAPNODE >::splitPathAndFilename().
|
staticprotected |
Referenced by octomap::MapCollection< MAPNODE >::size().
bool octomap::MapCollection< MAPNODE >::write | ( | std::string | filename | ) |
bool octomap::MapCollection< MAPNODE >::writePointcloud | ( | std::string | filename | ) |
|
protected |
Definition at line 109 of file MapCollection.h.
Referenced by octomap::MapCollection< MAPNODE >::begin(), octomap::MapCollection< MAPNODE >::end(), and octomap::MapCollection< MAPNODE >::size().
Page generated by Doxygen 1.8.11 for MRPT 1.4.0 SVN: at Mon Aug 15 11:50:21 UTC 2016 |