1 #ifndef __SCANIOUTILS_HPP__
2 #define __SCANIOUTILS_HPP__
11 #include <boost/filesystem.hpp>
12 #include <Eigen/Dense>
30 std::string
getSensorType(
const boost::filesystem::path& dir);
38 const boost::filesystem::path& root,
39 const ScanImage& image,
40 const size_t& positionNumber,
41 const size_t& cameraNumber,
42 const size_t& imageNumber);
45 const boost::filesystem::path& root,
46 const ScanImage& image,
47 const std::string positionDirectory,
48 const size_t& cameraNumber,
49 const size_t& imageNumber);
52 const boost::filesystem::path& root,
53 const ScanImage& image,
54 const std::string positionDirectory,
55 const std::string cameraDirectory,
56 const size_t& imageNr);
59 const boost::filesystem::path& root,
61 const std::string& positionDirectory,
62 const size_t& cameraNumber,
63 const size_t& imageNumber);
66 const boost::filesystem::path& root,
68 const size_t& positionNumber,
69 const size_t& cameraNumber,
70 const size_t& imageNumber);
73 const boost::filesystem::path& root,
75 const std::string& positionDirectory,
76 const std::string& cameraDirectory,
77 const size_t& imageNumber);
80 vector<ScanImagePtr>& images,
81 boost::filesystem::path dataPath);
88 const boost::filesystem::path& root,
89 const ScanCamera& image,
90 const std::string positionDirectory,
91 const std::string cameraDirectory);
94 const boost::filesystem::path& root,
95 const ScanCamera& image,
96 const size_t& positionNumber,
97 const size_t& cameraNumber);
100 const boost::filesystem::path& root,
101 const ScanCamera& image,
102 const std::string& positionDirectory,
103 const size_t& cameraNumber);
106 const boost::filesystem::path& root,
108 const std::string& positionDirectory,
109 const std::string& cameraDirectory);
112 const boost::filesystem::path& root,
114 const std::string& positionDirectory,
115 const size_t& cameraNumber);
118 const boost::filesystem::path& root,
120 const size_t& positionNumber,
121 const size_t& cameraNumber);
137 const boost::filesystem::path& root,
139 const std::string positionName,
140 const std::string scanDirectoryName,
141 const std::string scanName);
144 const boost::filesystem::path& root,
146 const std::string positionDirectory,
147 const std::string scanDirectory,
148 const size_t& scanNumber);
151 const boost::filesystem::path& root,
153 const size_t& positionNumber,
154 const size_t& scanNumber);
157 const boost::filesystem::path& root,
159 const std::string& positionDirectory,
160 const std::string& scanDirectory,
161 const std::string& scanName);
164 const boost::filesystem::path& root,
166 const std::string& positionDirectory,
167 const std::string& scanDirectory,
168 const size_t& scanNumber);
171 const boost::filesystem::path& root,
173 const size_t& positionNumber,
174 const size_t& scanNumber);
191 const boost::filesystem::path& root,
192 const ScanPosition& scanPos,
193 const std::string positionDirectory);
196 const boost::filesystem::path& root,
197 const ScanPosition& scanPos,
198 const size_t& positionNumber);
201 const boost::filesystem::path& root,
202 ScanPosition& scanPos,
203 const std::string& positionDirectory);
206 const boost::filesystem::path& root,
207 ScanPosition& scanPos,
208 const size_t& positionNumber);
222 const boost::filesystem::path& root,
223 const ScanProject& scanProj);
226 const boost::filesystem::path& root,
227 ScanProject& scanProj);