|
octomap 1.9.8
|
#include <MapCollection.h>
Public Types | |
| typedef std::vector< MAPNODE * >::const_iterator | const_iterator |
| typedef std::vector< MAPNODE * >::iterator | iterator |
Public Member Functions | |
| MAPNODE * | addNode (const Pointcloud &cloud, point3d sensor_origin) |
| void | addNode (MAPNODE *node) |
| iterator | begin () |
| const_iterator | begin () const |
| bool | castRay (const point3d &origin, const point3d &direction, point3d &end, bool ignoreUnknownCells=false, double maxRange=-1.0) const |
| iterator | end () |
| const_iterator | end () const |
| double | getOccupancy (const point3d &p) |
| void | insertScan (const Pointcloud &scan, const octomap::point3d &sensor_origin, double maxrange=-1., bool pruning=true, bool lazy_eval=false) |
| bool | isOccupied (const point3d &p) const |
| bool | isOccupied (float x, float y, float z) const |
| MapCollection () | |
| MapCollection (std::string filename) | |
| MAPNODE * | queryNode (const point3d &p) |
| MAPNODE * | queryNode (std::string id) |
| bool | removeNode (const MAPNODE *n) |
| size_t | size () const |
| bool | write (std::string filename) |
| bool | writePointcloud (std::string filename) |
| ~MapCollection () | |
Protected Member Functions | |
| MAPNODE * | associate (const Pointcloud &scan) |
| void | clear () |
| bool | read (std::string filename) |
| std::vector< Pointcloud * > | segment (const Pointcloud &scan) const |
Static Protected Member Functions | |
| static std::string | combinePathAndFilename (std::string path, std::string filename) |
| static bool | readTagValue (std::string tag, std::ifstream &infile, std::string *value) |
| static void | splitPathAndFilename (std::string &filenamefullpath, std::string *path, std::string *filename) |
Protected Attributes | |
| std::vector< MAPNODE * > | nodes |
| typedef std::vector<MAPNODE*>::const_iterator octomap::MapCollection< MAPNODE >::const_iterator |
| typedef std::vector<MAPNODE*>::iterator octomap::MapCollection< MAPNODE >::iterator |
| octomap::MapCollection< MAPNODE >::MapCollection | ( | ) |
| octomap::MapCollection< MAPNODE >::MapCollection | ( | std::string | filename | ) |
References read().
| octomap::MapCollection< MAPNODE >::~MapCollection | ( | ) |
References clear().
| MAPNODE * octomap::MapCollection< MAPNODE >::addNode | ( | const Pointcloud & | cloud, |
| point3d | sensor_origin ) |
| void octomap::MapCollection< MAPNODE >::addNode | ( | MAPNODE * | node | ) |
References nodes.
|
protected |
|
inline |
References nodes.
Referenced by castRay(), getOccupancy(), isOccupied(), queryNode(), and queryNode().
|
inline |
References nodes.
| bool octomap::MapCollection< MAPNODE >::castRay | ( | const point3d & | origin, |
| const point3d & | direction, | ||
| point3d & | end, | ||
| bool | ignoreUnknownCells = false, | ||
| double | maxRange = -1.0 ) const |
References begin(), octomath::Vector3::distance(), end(), octomath::Vector3::x(), octomath::Vector3::y(), and octomath::Vector3::z().
Referenced by main().
|
protected |
References nodes.
Referenced by ~MapCollection().
|
staticprotected |
Referenced by read().
|
inline |
References nodes.
Referenced by castRay(), getOccupancy(), isOccupied(), queryNode(), and queryNode().
|
inline |
References nodes.
| double 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 |
References begin(), and end().
Referenced by isOccupied(), and main().
| bool octomap::MapCollection< MAPNODE >::isOccupied | ( | float | x, |
| float | y, | ||
| float | z ) const |
References isOccupied().
| MAPNODE * octomap::MapCollection< MAPNODE >::queryNode | ( | const point3d & | p | ) |
| MAPNODE * octomap::MapCollection< MAPNODE >::queryNode | ( | std::string | id | ) |
|
protected |
References combinePathAndFilename(), nodes, OCTOMAP_ERROR_STR, readTagValue(), and splitPathAndFilename().
Referenced by MapCollection().
|
staticprotected |
Referenced by read().
| bool octomap::MapCollection< MAPNODE >::removeNode | ( | const MAPNODE * | n | ) |
|
protected |
|
inline |
|
staticprotected |
Referenced by read().
| bool octomap::MapCollection< MAPNODE >::write | ( | std::string | filename | ) |
References nodes, octomath::Pose6D::pitch(), octomath::Pose6D::roll(), octomath::Pose6D::x(), octomath::Pose6D::y(), octomath::Pose6D::yaw(), and octomath::Pose6D::z().
Referenced by main().
| bool octomap::MapCollection< MAPNODE >::writePointcloud | ( | std::string | filename | ) |
References nodes, octomap::Pointcloud::push_back(), and octomap::Pointcloud::writeVrml().
|
protected |