2012-09-16 12:33:11 +00:00
|
|
|
/**
|
|
|
|
* @file
|
2012-10-05 06:55:14 +00:00
|
|
|
* @brief IO of a 3D scan in riegl_txt file format
|
2012-09-16 12:33:11 +00:00
|
|
|
* @author Thomas Escher
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SCAN_IO_RIEGL_H__
|
|
|
|
#define __SCAN_IO_RIEGL_H__
|
|
|
|
|
|
|
|
#include "scan_io.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 3D scan loader for Riegl scans
|
|
|
|
*
|
|
|
|
* The compiled class is available as shared object file
|
|
|
|
*/
|
|
|
|
class ScanIO_riegl_txt : public ScanIO {
|
|
|
|
public:
|
|
|
|
virtual std::list<std::string> readDirectory(const char* dir_path, unsigned int start, unsigned int end);
|
|
|
|
virtual void readPose(const char* dir_path, const char* identifier, double* pose);
|
2012-10-05 06:55:14 +00:00
|
|
|
virtual void readScan(const char* dir_path, const char* identifier, PointFilter& filter, std::vector<double>* xyz, std::vector<unsigned char>* rgb, std::vector<float>* reflectance, std::vector<float>* temperature, std::vector<float>* amplitude, std::vector<int>* type, std::vector<float>* deviation);
|
2012-09-16 12:33:11 +00:00
|
|
|
virtual bool supports(IODataType type);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|