Public Types | Public Member Functions | Public Attributes
SimpleONIViewer< PointType > Class Template Reference

List of all members.

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

Detailed Description

template<typename PointType>
class SimpleONIViewer< PointType >

Definition at line 74 of file oni_viewer_simple.cpp.


Member Typedef Documentation

template<typename PointType>
typedef pcl::PointCloud<PointType> SimpleONIViewer< PointType >::Cloud

Definition at line 77 of file oni_viewer_simple.cpp.

template<typename PointType>
typedef Cloud::ConstPtr SimpleONIViewer< PointType >::CloudConstPtr

Definition at line 78 of file oni_viewer_simple.cpp.


Constructor & Destructor Documentation

template<typename PointType>
SimpleONIViewer< PointType >::SimpleONIViewer ( pcl::ONIGrabber &  grabber) [inline]

Definition at line 80 of file oni_viewer_simple.cpp.


Member Function Documentation

template<typename PointType>
void SimpleONIViewer< PointType >::cloud_cb_ ( const CloudConstPtr cloud) [inline]

Callback method for the grabber interface.

Parameters:
cloudThe new point cloud from Grabber

Definition at line 91 of file oni_viewer_simple.cpp.

template<typename PointType>
CloudConstPtr SimpleONIViewer< PointType >::getLatestCloud ( ) [inline]

swaps the pointer to the point cloud with Null pointer and returns the cloud pointer

Returns:
boost shared pointer to point cloud

Definition at line 103 of file oni_viewer_simple.cpp.

template<typename PointType>
void SimpleONIViewer< PointType >::run ( ) [inline]

starts the main loop

Definition at line 118 of file oni_viewer_simple.cpp.


Member Data Documentation

template<typename PointType>
CloudConstPtr SimpleONIViewer< PointType >::cloud_

Definition at line 144 of file oni_viewer_simple.cpp.

template<typename PointType>
pcl::ONIGrabber& SimpleONIViewer< PointType >::grabber_

Definition at line 142 of file oni_viewer_simple.cpp.

template<typename PointType>
boost::mutex SimpleONIViewer< PointType >::mtx_

Definition at line 143 of file oni_viewer_simple.cpp.

Definition at line 141 of file oni_viewer_simple.cpp.


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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:14