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 Eigen::Vector3f &p) const |
virtual Index | pointToIndex (const pcl::PointNormal &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 125 of file ann_grid.h.
Definition at line 129 of file ann_grid.h.
Definition at line 130 of file ann_grid.h.
Definition at line 128 of file ann_grid.h.
|
inline |
Definition at line 131 of file ann_grid.h.
|
inlinevirtual |
Definition at line 132 of file ann_grid.h.
|
virtual |
Definition at line 126 of file ann_grid.cpp.
|
virtual |
Definition at line 109 of file ann_grid.cpp.
|
virtual |
Definition at line 218 of file ann_grid.cpp.
|
virtual |
Definition at line 133 of file ann_grid.cpp.
|
virtual |
Definition at line 75 of file ann_grid.cpp.
|
virtual |
Definition at line 193 of file ann_grid.cpp.
|
virtual |
Definition at line 177 of file ann_grid.cpp.
|
inline |
Definition at line 155 of file ann_grid.h.
|
inlinevirtual |
Definition at line 147 of file ann_grid.h.
|
inlinevirtual |
Definition at line 138 of file ann_grid.h.
|
virtual |
Definition at line 241 of file ann_grid.cpp.
|
virtual |
Definition at line 246 of file ann_grid.cpp.
|
protected |
Definition at line 190 of file ann_grid.h.
|
protected |
Definition at line 189 of file ann_grid.h.
|
protected |
Definition at line 191 of file ann_grid.h.
|
protected |
Definition at line 192 of file ann_grid.h.