39 #include <pcl/pcl_config.h>
41 #ifndef __PCL_IO_DAVIDSDK_GRABBER__
42 #define __PCL_IO_DAVIDSDK_GRABBER__
45 #include <pcl/common/io.h>
46 #include <boost/thread.hpp>
47 #include <pcl/PolygonMesh.h>
48 #include <pcl/io/grabber.h>
70 typedef boost::shared_ptr<DavidSDKGrabber> Ptr;
71 typedef boost::shared_ptr<const DavidSDKGrabber> ConstPtr;
81 (sig_cb_davidsdk_image) (
const boost::shared_ptr<pcl::PCLImage> &);
85 const boost::shared_ptr<pcl::PCLImage> &);
89 const boost::shared_ptr<pcl::PCLImage> &);
104 connect (
const std::string & address =
"127.0.0.1",
105 uint16_t port = david::DAVID_SDK_DefaultPort);
110 disconnect (
const bool stop_server);
128 isConnected ()
const;
147 setFileFormatToOBJ ();
152 setFileFormatToPLY ();
156 setFileFormatToSTL ();
168 setLocalPath (std::string path);
175 setRemotePath (std::string path);
183 setLocalAndRemotePaths (std::string local_path,
184 std::string remote_path);
197 calibrate (
double grid_size);
215 getFramesPerSecond ()
const;
269 #endif // __PCL_IO_DAVIDSDK_GRABBER__