5 #include <pcl/io/openni_grabber.h>
6 #include <pcl/visualization/pcl_visualizer.h>
16 const PointCloudPtr
snap ();
17 const PointCloudPtr
snapAndSave (
const std::string & filename);
pcl::OpenNIGrabber grabber_
void onKeyboardEvent(const pcl::visualization::KeyboardEvent &event)
pcl::visualization::PCLVisualizer::Ptr preview_
const PointCloudPtr snap()
PointCloudPtr most_recent_frame_
OpenNICapture(const std::string &device_id="")
void setTriggerMode(bool use_trigger)
void onNewFrame(const PointCloudConstPtr &cloud)
const PointCloudPtr snapAndSave(const std::string &filename)
Grabber for OpenNI devices (i.e., Primesense PSDK, Microsoft Kinect, Asus XTion Pro/Live)
/brief Class representing key hit/release events
shared_ptr< PCLVisualizer > Ptr