Point Cloud Library (PCL)
1.11.1-dev
|
41 #include <pcl/io/buffers.h>
42 #include <pcl/io/depth_sense_grabber.h>
44 #include <DepthSense.hxx>
139 onDepthDataReceived (DepthSense::DepthNode node, DepthSense::DepthNode::NewSampleReceivedData data);
146 onColorDataReceived (DepthSense::ColorNode node, DepthSense::ColorNode::NewSampleReceivedData data);
148 template <typename Point>
void
EventFrequency frequency_
boost::signals2::signal< sig_cb_depth_sense_point_cloud_rgba > * point_cloud_rgba_signal_
Signal to indicate whether new XYZRGBA cloud is available.
int confidence_threshold_
std::string device_id_
Serial number of the device captured by this grabber.
void onDepthDataReceived(DepthSense::DepthNode node, DepthSense::DepthNode::NewSampleReceivedData data)
A callback for processing depth data.
DepthSenseGrabberImpl(DepthSenseGrabber *parent, const std::string &device_id)
bool need_xyz_
Indicates whether there are subscribers for PointXYZ signal.
void setConfidenceThreshold(int threshold)
static const int FRAMERATE
std::shared_ptr< pcl::io::Buffer< float > > depth_buffer_
void(const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &) sig_cb_depth_sense_point_cloud_rgba
PointCloud represents the base class in PCL for storing collections of 3D points.
DepthSenseGrabber::sig_cb_depth_sense_point_cloud_rgba sig_cb_depth_sense_point_cloud_rgba
void onColorDataReceived(DepthSense::ColorNode node, DepthSense::ColorNode::NewSampleReceivedData data)
A callback for processing color data.
std::vector< std::uint8_t > color_data_
Temporary buffer to store color data.
void computeXYZ(PointCloud< Point > &cloud)
Grabber for DepthSense devices (e.g.
bool need_xyzrgba_
Indicates whether there are subscribers for PointXYZRGBA signal.
DepthSenseGrabber * p_
Parent grabber.
boost::signals2::signal< sig_cb_depth_sense_point_cloud > * point_cloud_signal_
Signal to indicate whether new XYZ cloud is available.
static const int COLOR_WIDTH
A helper class to measure frequency of a certain event.
void(const pcl::PointCloud< pcl::PointXYZ >::ConstPtr &) sig_cb_depth_sense_point_cloud
static const int COLOR_SIZE
void enableTemporalFiltering(DepthSenseGrabber::TemporalFilteringType type, std::size_t window_size)
DepthSenseGrabber::TemporalFilteringType temporal_filtering_type_
void configureColorNode(DepthSense::ColorNode node) const
~DepthSenseGrabberImpl() noexcept
static const int COLOR_HEIGHT
void setCameraParameters(const DepthSense::StereoCameraParameters ¶meters)
void configureDepthNode(DepthSense::DepthNode node) const
std::shared_ptr< DepthSense::ProjectionHelper > projection_
DepthSenseGrabber::sig_cb_depth_sense_point_cloud sig_cb_depth_sense_point_cloud
float getFramesPerSecond() const