#include <MapExtractor.h>
Public Member Functions | |
MapExtractor (const std::string &octomapFilename) | |
bool | save2dMap (const std::string &mapName, double z, bool filterSpeckles, double minSizeX=0, double minSizeY=0) |
bool | save2dMap (const std::string &mapName, double minZ, double maxZ, bool filterSpeckles, double minSizeX=0, double minSizeY=0) |
virtual | ~MapExtractor () |
Protected Member Functions | |
bool | calc2dSlice (double occupancyMinZ, double occupancyMaxZ, bool filterSpeckles, double minSizeX, double minSizeY) |
bool | isSpeckleNode (const octomap::OcTreeKey &nKey) const |
void | resetOctomap () |
Protected Attributes | |
OccupancyGrid * | m_gridmap |
octomap::OcTree * | m_octoMap |
double | m_res |
unsigned int | m_treeDepth |
Definition at line 67 of file MapExtractor.h.
MapExtractor::MapExtractor | ( | const std::string & | octomapFilename | ) |
Definition at line 61 of file MapExtractor.cpp.
MapExtractor::~MapExtractor | ( | ) | [virtual] |
Definition at line 82 of file MapExtractor.cpp.
bool MapExtractor::calc2dSlice | ( | double | occupancyMinZ, |
double | occupancyMaxZ, | ||
bool | filterSpeckles, | ||
double | minSizeX, | ||
double | minSizeY | ||
) | [protected] |
Definition at line 108 of file MapExtractor.cpp.
bool MapExtractor::isSpeckleNode | ( | const octomap::OcTreeKey & | nKey | ) | const [protected] |
Definition at line 89 of file MapExtractor.cpp.
void roboearth::MapExtractor::resetOctomap | ( | ) | [protected] |
bool MapExtractor::save2dMap | ( | const std::string & | mapName, |
double | z, | ||
bool | filterSpeckles, | ||
double | minSizeX = 0 , |
||
double | minSizeY = 0 |
||
) |
Definition at line 263 of file MapExtractor.cpp.
bool MapExtractor::save2dMap | ( | const std::string & | mapName, |
double | minZ, | ||
double | maxZ, | ||
bool | filterSpeckles, | ||
double | minSizeX = 0 , |
||
double | minSizeY = 0 |
||
) |
Definition at line 271 of file MapExtractor.cpp.
OccupancyGrid* roboearth::MapExtractor::m_gridmap [protected] |
Definition at line 83 of file MapExtractor.h.
octomap::OcTree* roboearth::MapExtractor::m_octoMap [protected] |
Definition at line 84 of file MapExtractor.h.
double roboearth::MapExtractor::m_res [protected] |
Definition at line 85 of file MapExtractor.h.
unsigned int roboearth::MapExtractor::m_treeDepth [protected] |
Definition at line 86 of file MapExtractor.h.