Public Member Functions | Private Attributes | List of all members
rc::CloudVisualizer Class Reference

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_
 

Detailed Description

Displays one cloud using the PCLVisualizer.

To be used as thread.

Definition at line 15 of file cloud_visualizer.h.

Constructor & Destructor Documentation

rc::CloudVisualizer::CloudVisualizer ( const char *  name)

Creates the viewer object.

Definition at line 7 of file cloud_visualizer.cc.

Member Function Documentation

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.

Member Data Documentation

bool rc::CloudVisualizer::stop_
private

Definition at line 36 of file cloud_visualizer.h.

visualizer_ptr_t rc::CloudVisualizer::viewer_
private

Definition at line 35 of file cloud_visualizer.h.

boost::mutex rc::CloudVisualizer::viewer_mutex_
private

Definition at line 37 of file cloud_visualizer.h.


The documentation for this class was generated from the following files:


rc_cloud_accumulator
Author(s): Felix Endres
autogenerated on Mon Jun 10 2019 14:34:34