Public Member Functions | Protected Member Functions | Protected Attributes
OpenNICapture Class Reference

#include <openni_capture.h>

List of all members.

Public Member Functions

 OpenNICapture (const std::string &device_id="")
 OpenNICapture (const std::string &device_id="")
 OpenNICapture (const std::string &device_id="")
void setTriggerMode (bool use_trigger)
void setTriggerMode (bool use_trigger)
void setTriggerMode (bool use_trigger)
const PointCloudPtr snap ()
const PointCloudPtr snap ()
const PointCloudPtr snap ()
const PointCloudPtr snapAndSave (const std::string &filename)
const PointCloudPtr snapAndSave (const std::string &filename)
const PointCloudPtr snapAndSave (const std::string &filename)
 ~OpenNICapture ()
 ~OpenNICapture ()
 ~OpenNICapture ()

Protected Member Functions

void onKeyboardEvent (const pcl::visualization::KeyboardEvent &event)
void onKeyboardEvent (const pcl::visualization::KeyboardEvent &event)
void onKeyboardEvent (const pcl::visualization::KeyboardEvent &event)
void onNewFrame (const PointCloudConstPtr &cloud)
void onNewFrame (const PointCloudConstPtr &cloud)
void onNewFrame (const PointCloudConstPtr &cloud)
void waitForTrigger ()
void waitForTrigger ()
 Display a preview window and wait for the user to trigger a frame capture.
void waitForTrigger ()

Protected Attributes

int frame_counter_
pcl::OpenNIGrabber grabber_
PointCloudPtr most_recent_frame_
boost::mutex mutex_
pcl::visualization::PCLVisualizerpreview_
boost::shared_ptr
< pcl::visualization::PCLVisualizer
preview_
bool trigger_
bool use_trigger_

Detailed Description

Definition at line 10 of file iccv2011/include/openni_capture.h.


Constructor & Destructor Documentation

OpenNICapture::OpenNICapture ( const std::string &  device_id = "")

Definition at line 6 of file iccv2011/src/openni_capture.cpp.

Definition at line 20 of file iccv2011/src/openni_capture.cpp.

OpenNICapture::OpenNICapture ( const std::string &  device_id = "")
OpenNICapture::OpenNICapture ( const std::string &  device_id = "")

Member Function Documentation

Definition at line 75 of file iccv2011/src/openni_capture.cpp.

void OpenNICapture::onNewFrame ( const PointCloudConstPtr cloud) [protected]
void OpenNICapture::onNewFrame ( const PointCloudConstPtr cloud) [protected]

Definition at line 66 of file iccv2011/src/openni_capture.cpp.

void OpenNICapture::onNewFrame ( const PointCloudConstPtr cloud) [protected]
void OpenNICapture::setTriggerMode ( bool  use_trigger)

Definition at line 27 of file iccv2011/src/openni_capture.cpp.

void OpenNICapture::setTriggerMode ( bool  use_trigger)
void OpenNICapture::setTriggerMode ( bool  use_trigger)

Definition at line 33 of file iccv2011/src/openni_capture.cpp.

const PointCloudPtr OpenNICapture::snapAndSave ( const std::string &  filename)
const PointCloudPtr OpenNICapture::snapAndSave ( const std::string &  filename)
const PointCloudPtr OpenNICapture::snapAndSave ( const std::string &  filename)

Definition at line 56 of file iccv2011/src/openni_capture.cpp.

void OpenNICapture::waitForTrigger ( ) [protected]
void OpenNICapture::waitForTrigger ( ) [protected]

Display a preview window and wait for the user to trigger a frame capture.

Definition at line 88 of file iccv2011/src/openni_capture.cpp.

void OpenNICapture::waitForTrigger ( ) [protected]

Member Data Documentation

Definition at line 28 of file iccv2011/include/openni_capture.h.

pcl::OpenNIGrabber OpenNICapture::grabber_ [protected]

Definition at line 26 of file iccv2011/include/openni_capture.h.

Definition at line 29 of file iccv2011/include/openni_capture.h.

boost::mutex OpenNICapture::mutex_ [protected]

Definition at line 31 of file iccv2011/include/openni_capture.h.

Definition at line 27 of file iros2011/include/openni_capture.h.

Definition at line 27 of file iccv2011/include/openni_capture.h.

bool OpenNICapture::trigger_ [protected]

Definition at line 30 of file iccv2011/include/openni_capture.h.

bool OpenNICapture::use_trigger_ [protected]

Definition at line 30 of file iccv2011/include/openni_capture.h.


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


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