Public Member Functions | Private Attributes
rc::CloudVisualizer Class Reference

Displays one cloud using the PCLVisualizer. More...

#include <cloud_visualizer.h>

List of all members.

Public Member Functions

void addCloudToViewer (const pointcloud_t::Ptr pointcloud)
 Thread-safe addition/replacement of the cloud.
 CloudVisualizer (const char *name)
 Creates the viewer object.
void operator() ()
 Viewer update loop, will be called when viewer thread is started.
void stop ()
 Signal thread to stop the visualization loop.
void updateCloudInViewer (const pointcloud_t::Ptr pointcloud)
 Thread-safe update to the cloud.

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.

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

Definition at line 36 of file cloud_visualizer.h.

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 Thu Jun 6 2019 19:56:20