/** * @file * @brief IO of a 3D scan in rts file format * @author Thomas Escher */ #ifndef __SCAN_IO_UOS_H__ #define __SCAN_IO_UOS_H__ #include "scan_io.h" /** * @brief 3D scan loader for RTS scans * * The compiled class is available as shared object file */ class ScanIO_rts : public ScanIO { public: virtual std::list readDirectory(const char* dir_path, unsigned int start, unsigned int end); virtual void readPose(const char* dir_path, const char* identifier, double* pose); virtual void readScan(const char* dir_path, const char* identifier, PointFilter&& filter, std::vector* xyz, std::vector* rgb, std::vector* reflectance, std::vector* amplitude, std::vector* type, std::vector* deviation); virtual bool supports(IODataType type); private: std::string cached_dir; std::vector cached_poses; }; #endif