1 #include <pcl/visualization/pcl_visualizer.h> 2 #include <boost/thread/mutex.hpp> 3 #include <boost/thread/thread.hpp> pcl::visualization::PCLVisualizer visualizer_t
boost::mutex viewer_mutex_
Displays one cloud using the PCLVisualizer.
CloudVisualizer(const char *name)
Creates the viewer object.
boost::shared_ptr< visualizer_t > visualizer_ptr_t
pcl::PointCloud< point_t > pointcloud_t
void operator()()
Viewer update loop, will be called when viewer thread is started.
void addCloudToViewer(const pointcloud_t::Ptr pointcloud)
Thread-safe addition/replacement of the cloud.
void updateCloudInViewer(const pointcloud_t::Ptr pointcloud)
Thread-safe update to the cloud.
void stop()
Signal thread to stop the visualization loop.