Public Types | |
typedef pcl::PointCloud < PointType > | Cloud |
typedef Cloud::ConstPtr | CloudConstPtr |
Public Member Functions | |
void | cloud_cb_ (const CloudConstPtr &cloud) |
Callback method for the grabber interface. | |
CloudConstPtr | getLatestCloud () |
swaps the pointer to the point cloud with Null pointer and returns the cloud pointer | |
void | run () |
starts the main loop | |
SimpleONIViewer (pcl::ONIGrabber &grabber) | |
Public Attributes | |
CloudConstPtr | cloud_ |
pcl::ONIGrabber & | grabber_ |
boost::mutex | mtx_ |
pcl::visualization::CloudViewer | viewer |
Definition at line 74 of file oni_viewer_simple.cpp.
typedef pcl::PointCloud<PointType> SimpleONIViewer< PointType >::Cloud |
Definition at line 77 of file oni_viewer_simple.cpp.
typedef Cloud::ConstPtr SimpleONIViewer< PointType >::CloudConstPtr |
Definition at line 78 of file oni_viewer_simple.cpp.
SimpleONIViewer< PointType >::SimpleONIViewer | ( | pcl::ONIGrabber & | grabber | ) | [inline] |
Definition at line 80 of file oni_viewer_simple.cpp.
void SimpleONIViewer< PointType >::cloud_cb_ | ( | const CloudConstPtr & | cloud | ) | [inline] |
Callback method for the grabber interface.
cloud | The new point cloud from Grabber |
Definition at line 91 of file oni_viewer_simple.cpp.
CloudConstPtr SimpleONIViewer< PointType >::getLatestCloud | ( | ) | [inline] |
swaps the pointer to the point cloud with Null pointer and returns the cloud pointer
Definition at line 103 of file oni_viewer_simple.cpp.
void SimpleONIViewer< PointType >::run | ( | ) | [inline] |
starts the main loop
Definition at line 118 of file oni_viewer_simple.cpp.
CloudConstPtr SimpleONIViewer< PointType >::cloud_ |
Definition at line 144 of file oni_viewer_simple.cpp.
pcl::ONIGrabber& SimpleONIViewer< PointType >::grabber_ |
Definition at line 142 of file oni_viewer_simple.cpp.
boost::mutex SimpleONIViewer< PointType >::mtx_ |
Definition at line 143 of file oni_viewer_simple.cpp.
pcl::visualization::CloudViewer SimpleONIViewer< PointType >::viewer |
Definition at line 141 of file oni_viewer_simple.cpp.