ANNGrid is a class to provide approximate near neighbors search based on 2.5-D representation. All the z values of pointcloud is ignored and it sorted as 2-D array. More...
#include <ann_grid.h>
Public Types | |
typedef cv::Point | Index |
typedef std::vector< Index > | IndexArray |
typedef boost::shared_ptr< ANNGrid > | Ptr |
Public Member Functions | |
ANNGrid (const double grid_size) | |
virtual void | approximateSearch (const Eigen::Vector3f &v, pcl::PointIndices &indices) |
virtual void | approximateSearchInBox (const Eigen::Vector3f &p0, const Eigen::Vector3f &p1, const Eigen::Vector3f &p2, const Eigen::Vector3f &p3, pcl::PointIndices &indices) |
virtual IndexArray | box (const Eigen::Vector3f &p0, const Eigen::Vector3f &p1, const Eigen::Vector3f &p2, const Eigen::Vector3f &p3) |
virtual IndexArray | bresenham (const Eigen::Vector3f &p0, const Eigen::Vector3f &p1) |
virtual void | build (const pcl::PointCloud< pcl::PointNormal > &cloud) |
virtual IndexArray | fill (const IndexArray &filled) |
virtual IndexArray | fillByBox (const Eigen::Vector3f &p0, const Eigen::Vector3f &p1, const Eigen::Vector3f &p2, const Eigen::Vector3f &p3) |
ANNGridCell::Ptr | getCell (size_t i, size_t j) |
virtual Index | pointToIndex (const pcl::PointNormal &p) const |
virtual Index | pointToIndex (const Eigen::Vector3f &p) const |
virtual void | toImage (cv::Mat &mat) |
virtual void | toImage (cv::Mat &mat, const IndexArray &pixels) |
virtual | ~ANNGrid () |
Protected Attributes | |
std::vector< std::vector< ANNGridCell::Ptr > > | cells_ |
const double | grid_size_ |
cv::Mat | mat_ |
Eigen::Vector3f | min_point_ |
ANNGrid is a class to provide approximate near neighbors search based on 2.5-D representation. All the z values of pointcloud is ignored and it sorted as 2-D array.
Definition at line 93 of file ann_grid.h.
Definition at line 97 of file ann_grid.h.
Definition at line 98 of file ann_grid.h.
Definition at line 96 of file ann_grid.h.
|
inline |
Definition at line 99 of file ann_grid.h.
|
inlinevirtual |
Definition at line 100 of file ann_grid.h.
|
virtual |
Definition at line 94 of file ann_grid.cpp.
|
virtual |
Definition at line 77 of file ann_grid.cpp.
|
virtual |
Definition at line 186 of file ann_grid.cpp.
|
virtual |
Definition at line 101 of file ann_grid.cpp.
|
virtual |
Definition at line 43 of file ann_grid.cpp.
|
virtual |
Definition at line 161 of file ann_grid.cpp.
|
virtual |
Definition at line 145 of file ann_grid.cpp.
|
inline |
Definition at line 123 of file ann_grid.h.
|
inlinevirtual |
Definition at line 106 of file ann_grid.h.
|
inlinevirtual |
Definition at line 115 of file ann_grid.h.
|
virtual |
Definition at line 209 of file ann_grid.cpp.
|
virtual |
Definition at line 214 of file ann_grid.cpp.
|
protected |
Definition at line 158 of file ann_grid.h.
|
protected |
Definition at line 157 of file ann_grid.h.
|
protected |
Definition at line 159 of file ann_grid.h.
|
protected |
Definition at line 160 of file ann_grid.h.