Public Types | |
typedef PointCloud< PointT > | Cloud |
typedef Cloud::ConstPtr | CloudConstPtr |
typedef Cloud::Ptr | CloudPtr |
Public Member Functions | |
void | cloud_callback (const CloudConstPtr &cloud) |
CloudConstPtr | getLatestCloud () |
void | init () |
void | keyboard_callback (const visualization::KeyboardEvent &, void *) |
void | mouse_callback (const visualization::MouseEvent &mouse_event, void *) |
NILinemod (Grabber &grabber) | |
void | pp_callback (const visualization::PointPickingEvent &event, void *) |
Point picking callback. This gets called when the user selects a 3D point on screen (in the PCLVisualizer window) using Shift+click. | |
void | run () |
void | segment (const PointT &picked_point, int picked_idx, PlanarRegion< PointT > ®ion, PointIndices &indices, CloudPtr &object) |
void | segmentObject (int picked_idx, const CloudConstPtr &cloud, const PointIndices::Ptr &plane_indices, const PointIndices::Ptr &plane_boundary_indices, Cloud &object) |
Given a plane, and the set of inlier indices representing it, segment out the object of intererest supported by it. | |
Public Attributes | |
bool | added |
CloudConstPtr | cloud_ |
boost::mutex | cloud_mutex_ |
visualization::PCLVisualizer | cloud_viewer_ |
Grabber & | grabber_ |
visualization::ImageViewer | image_viewer_ |
search::OrganizedNeighbor< PointT > | search_ |
Private Attributes | |
boost::signals2::connection | cloud_connection |
bool | first_frame_ |
boost::signals2::connection | image_connection |
std::vector< int > | indices_fullset_ |
OrganizedMultiPlaneSegmentation < PointT, Normal, Label > | mps_ |
IntegralImageNormalEstimation < PointT, Normal > | ne_ |
CloudPtr | plane_ |
EdgeAwarePlaneComparator < PointT, Normal >::Ptr | plane_comparator_ |
PointIndices::Ptr | plane_indices_ |
Definition at line 73 of file ni_linemod.cpp.
typedef PointCloud<PointT> NILinemod::Cloud |
Definition at line 76 of file ni_linemod.cpp.
Definition at line 78 of file ni_linemod.cpp.
typedef Cloud::Ptr NILinemod::CloudPtr |
Definition at line 77 of file ni_linemod.cpp.
NILinemod::NILinemod | ( | Grabber & | grabber | ) | [inline] |
Definition at line 81 of file ni_linemod.cpp.
void NILinemod::cloud_callback | ( | const CloudConstPtr & | cloud | ) | [inline] |
Definition at line 107 of file ni_linemod.cpp.
CloudConstPtr NILinemod::getLatestCloud | ( | ) | [inline] |
Definition at line 169 of file ni_linemod.cpp.
void NILinemod::init | ( | ) | [inline] |
Definition at line 471 of file ni_linemod.cpp.
void NILinemod::keyboard_callback | ( | const visualization::KeyboardEvent & | , |
void * | |||
) | [inline] |
Definition at line 180 of file ni_linemod.cpp.
void NILinemod::mouse_callback | ( | const visualization::MouseEvent & | mouse_event, |
void * | |||
) | [inline] |
Definition at line 194 of file ni_linemod.cpp.
void NILinemod::pp_callback | ( | const visualization::PointPickingEvent & | event, |
void * | |||
) | [inline] |
Point picking callback. This gets called when the user selects a 3D point on screen (in the PCLVisualizer window) using Shift+click.
[in] | event | the event that triggered the call |
Definition at line 369 of file ni_linemod.cpp.
void NILinemod::run | ( | ) | [inline] |
Definition at line 485 of file ni_linemod.cpp.
void NILinemod::segment | ( | const PointT & | picked_point, |
int | picked_idx, | ||
PlanarRegion< PointT > & | region, | ||
PointIndices & | indices, | ||
CloudPtr & | object | ||
) | [inline] |
Definition at line 297 of file ni_linemod.cpp.
void NILinemod::segmentObject | ( | int | picked_idx, |
const CloudConstPtr & | cloud, | ||
const PointIndices::Ptr & | plane_indices, | ||
const PointIndices::Ptr & | plane_boundary_indices, | ||
Cloud & | object | ||
) | [inline] |
Given a plane, and the set of inlier indices representing it, segment out the object of intererest supported by it.
[in] | picked_idx | the index of a point on the object |
[in] | cloud | the full point cloud dataset |
[in] | plane_indices | a set of indices representing the plane supporting the object of interest |
[in] | plane_boundary_indices | a set of indices representing the boundary of the plane |
[out] | object | the segmented resultant object |
Definition at line 213 of file ni_linemod.cpp.
bool NILinemod::added |
Definition at line 79 of file ni_linemod.cpp.
Definition at line 543 of file ni_linemod.cpp.
boost::signals2::connection NILinemod::cloud_connection [private] |
Definition at line 549 of file ni_linemod.cpp.
boost::mutex NILinemod::cloud_mutex_ |
Definition at line 542 of file ni_linemod.cpp.
Definition at line 540 of file ni_linemod.cpp.
bool NILinemod::first_frame_ [private] |
Definition at line 550 of file ni_linemod.cpp.
Definition at line 541 of file ni_linemod.cpp.
boost::signals2::connection NILinemod::image_connection [private] |
Definition at line 549 of file ni_linemod.cpp.
Definition at line 545 of file ni_linemod.cpp.
std::vector<int> NILinemod::indices_fullset_ [private] |
Definition at line 553 of file ni_linemod.cpp.
OrganizedMultiPlaneSegmentation<PointT, Normal, Label> NILinemod::mps_ [private] |
Definition at line 557 of file ni_linemod.cpp.
IntegralImageNormalEstimation<PointT, Normal> NILinemod::ne_ [private] |
Definition at line 556 of file ni_linemod.cpp.
CloudPtr NILinemod::plane_ [private] |
Definition at line 555 of file ni_linemod.cpp.
EdgeAwarePlaneComparator<PointT, Normal>::Ptr NILinemod::plane_comparator_ [private] |
Definition at line 558 of file ni_linemod.cpp.
PointIndices::Ptr NILinemod::plane_indices_ [private] |
Definition at line 554 of file ni_linemod.cpp.
Definition at line 547 of file ni_linemod.cpp.