Displays one cloud using the PCLVisualizer. More...
#include <cloud_visualizer.h>
Public Member Functions | |
| void | addCloudToViewer (const pointcloud_t::Ptr pointcloud) |
| Thread-safe addition/replacement of the cloud. More... | |
| CloudVisualizer (const char *name) | |
| Creates the viewer object. More... | |
| void | operator() () |
| Viewer update loop, will be called when viewer thread is started. More... | |
| void | stop () |
| Signal thread to stop the visualization loop. More... | |
| void | updateCloudInViewer (const pointcloud_t::Ptr pointcloud) |
| Thread-safe update to the cloud. More... | |
Private Attributes | |
| bool | stop_ |
| visualizer_ptr_t | viewer_ |
| boost::mutex | viewer_mutex_ |
Displays one cloud using the PCLVisualizer.
To be used as thread.
Definition at line 15 of file cloud_visualizer.h.
| rc::CloudVisualizer::CloudVisualizer | ( | const char * | name | ) |
Creates the viewer object.
Definition at line 7 of file cloud_visualizer.cc.
| void rc::CloudVisualizer::addCloudToViewer | ( | const pointcloud_t::Ptr | pointcloud | ) |
Thread-safe addition/replacement of the cloud.
Definition at line 30 of file cloud_visualizer.cc.
| void rc::CloudVisualizer::operator() | ( | ) |
Viewer update loop, will be called when viewer thread is started.
Definition at line 19 of file cloud_visualizer.cc.
| void rc::CloudVisualizer::stop | ( | ) |
Signal thread to stop the visualization loop.
Definition at line 17 of file cloud_visualizer.cc.
| void rc::CloudVisualizer::updateCloudInViewer | ( | const pointcloud_t::Ptr | pointcloud | ) |
Thread-safe update to the cloud.
Definition at line 39 of file cloud_visualizer.cc.
|
private |
Definition at line 36 of file cloud_visualizer.h.
|
private |
Definition at line 35 of file cloud_visualizer.h.
|
private |
Definition at line 37 of file cloud_visualizer.h.