40 #include <pcl/common/time_trigger.h>
41 #include <pcl/conversions.h>
42 #include <pcl/io/grabber.h>
43 #include <pcl/point_cloud.h>
44 #include <pcl/stereo/stereo_matching.h>
60 float frames_per_second,
72 float frames_per_second,
111 isRunning() const override;
115 getName() const override;
123 getFramesPerSecond() const override;
132 const
Eigen::Vector4f& origin,
133 const
Eigen::Quaternionf& orientation) const = 0;
136 struct StereoGrabberImpl;
137 StereoGrabberImpl* impl_;
141 template <typename
PointT>
144 StereoGrabber(
const std::pair<std::string, std::string>& pair_files,
145 float frames_per_second = 0,
146 bool repeat =
false);
147 StereoGrabber(
const std::vector<std::pair<std::string, std::string>>& files,
148 float frames_per_second = 0,
149 bool repeat =
false);
154 const Eigen::Vector4f& origin,
155 const Eigen::Quaternionf& orientation)
const override;
162 template <
typename Po
intT>
164 const std::pair<std::string, std::string>& pair_files,
165 float frames_per_second,
173 template <
typename Po
intT>
175 const std::vector<std::pair<std::string, std::string>>& files,
176 float frames_per_second,
184 template <
typename Po
intT>
187 const Eigen::Vector4f& origin,
188 const Eigen::Quaternionf& orientation)
const
195 signal_->operator()(cloud);