Added OccupancyGrid::isGridFromDepth() method for convenience

This commit is contained in:
matlabbe
2016-10-02 16:47:22 -04:00
parent 29f4734ec6
commit 6f00cba872

View File

@@ -44,6 +44,7 @@ public:
void parseParameters(const ParametersMap & parameters); void parseParameters(const ParametersMap & parameters);
void setCellSize(float cellSize); void setCellSize(float cellSize);
float getCellSize() const {return cellSize_;} float getCellSize() const {return cellSize_;}
bool isGridFromDepth() const {return occupancyFromCloud_;}
template<typename PointT> template<typename PointT>
typename pcl::PointCloud<PointT>::Ptr segmentCloud( typename pcl::PointCloud<PointT>::Ptr segmentCloud(