40#include <pcl/io/grabber.h>
41#include <pcl/point_cloud.h>
61 using Ptr = shared_ptr<DepthSenseGrabber>;
62 using ConstPtr = shared_ptr<const DepthSenseGrabber>;
109 return (std::string (
"DepthSenseGrabber"));
virtual bool isRunning() const
Indicates whether the grabber is streaming or not.
void enableTemporalFiltering(TemporalFilteringType type, std::size_t window_size=1)
Enable temporal filtering of the depth data received from the device.
virtual ~DepthSenseGrabber() noexcept
virtual void stop()
For devices that are streaming, the streams are stopped.
void(const pcl::PointCloud< pcl::PointXYZ >::ConstPtr &) sig_cb_depth_sense_point_cloud
void disableTemporalFiltering()
Disable temporal filtering.
void setConfidenceThreshold(int threshold)
Set the confidence threshold for depth data.
virtual void start()
For devices that are streaming, the streams are started by calling this method.
shared_ptr< DepthSenseGrabber > Ptr
DepthSenseGrabber(const std::string &device_id="")
Create a grabber for a DepthSense device.
virtual float getFramesPerSecond() const
returns fps.
std::string getDeviceSerialNumber() const
Get the serial number of device captured by the grabber.
void(const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &) sig_cb_depth_sense_point_cloud_rgba
shared_ptr< const DepthSenseGrabber > ConstPtr
virtual std::string getName() const
returns the name of the concrete subclass.
Grabber()=default
Default ctor.
shared_ptr< const PointCloud< PointT > > ConstPtr
Defines all the PCL implemented PointT point type structures.