40 #include <pcl/common/time_trigger.h>
41 #include <pcl/io/grabber.h>
42 #include <pcl/stereo/stereo_matching.h>
43 #include <pcl/conversions.h>
44 #include <pcl/point_cloud.h>
60 float frames_per_second,
72 float frames_per_second,
96 isRunning()
const override;
100 getName()
const override;
108 getFramesPerSecond()
const override;
117 const Eigen::Vector4f& origin,
118 const Eigen::Quaternionf& orientation)
const = 0;
121 struct StereoGrabberImpl;
122 StereoGrabberImpl* impl_;
126 template <
typename Po
intT>
129 StereoGrabber(
const std::pair<std::string, std::string>& pair_files,
130 float frames_per_second = 0,
131 bool repeat =
false);
132 StereoGrabber(
const std::vector<std::pair<std::string, std::string>>& files,
133 float frames_per_second = 0,
134 bool repeat =
false);
139 const Eigen::Vector4f& origin,
140 const Eigen::Quaternionf& orientation)
const override;
147 template <
typename Po
intT>
149 const std::pair<std::string, std::string>& pair_files,
150 float frames_per_second,
158 template <
typename Po
intT>
160 const std::vector<std::pair<std::string, std::string>>& files,
161 float frames_per_second,
169 template <
typename Po
intT>
172 const Eigen::Vector4f& origin,
173 const Eigen::Quaternionf& orientation)
const
180 signal_->operator()(cloud);