Public Member Functions | Protected Member Functions | Protected Attributes
roboearth::MapExtractor Class Reference

#include <MapExtractor.h>

List of all members.

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

OccupancyGridm_gridmap
octomap::OcTree * m_octoMap
double m_res
unsigned int m_treeDepth

Detailed Description

Definition at line 67 of file MapExtractor.h.


Constructor & Destructor Documentation

MapExtractor::MapExtractor ( const std::string &  octomapFilename)

Definition at line 61 of file MapExtractor.cpp.

Definition at line 82 of file MapExtractor.cpp.


Member Function Documentation

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.

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


re_2dmap_extractor
Author(s): Alexander Perzylo
autogenerated on Sun Jan 5 2014 11:28:08