18#include <mrpt/config.h>
44 subgraphPlanesIdx.insert(refPlaneId);
50 for(std::map<unsigned,unsigned>::iterator it = pPBM->vPlanes[refPlaneId].neighborPlanes.begin(); it != pPBM->vPlanes[refPlaneId].neighborPlanes.end(); it++)
51 subgraphPlanesIdx.insert(it->first);
54 std::cout <<
"Subgraph constructor: ";
55 for(std::set<unsigned>::iterator it = subgraphPlanesIdx.begin(); it != subgraphPlanesIdx.end(); it++)
56 std::cout << *it <<
" ";
57 std::cout << std::endl;
A class used to store a Plane-based Map (PbMap).
std::set< unsigned > subgraphPlanesIdx
Subgraph(PbMap *pPbMap, const unsigned &refPlaneId)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.