OccupancyGrid: added getCache() method

This commit is contained in:
matlabbe
2018-08-02 16:53:44 -04:00
parent e03da92a90
commit a0342671ac
3 changed files with 3 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ public:
bool isMapFrameProjection() const {return projMapFrame_;}
const std::map<int, Transform> & addedNodes() const {return addedNodes_;}
int cacheSize() const {return (int)cache_.size();}
const std::map<int, std::pair<std::pair<cv::Mat, cv::Mat>, cv::Mat> > & getCache() const {return cache_;}
template<typename PointT>
typename pcl::PointCloud<PointT>::Ptr segmentCloud(