RieglProject.hpp
Go to the documentation of this file.
1 
28 #pragma once
29 
30 #include <ostream>
31 #include <string>
32 #include <vector>
33 
34 #define BOOST_FILESYSTEM_NO_DEPRECATED
35 #include <boost/filesystem.hpp>
36 #include <boost/system/error_code.hpp>
37 namespace fs = boost::filesystem;
38 
39 #include <boost/property_tree/ptree.hpp>
40 #include <boost/property_tree/xml_parser.hpp>
41 namespace pt = boost::property_tree;
42 
43 
44 
45 namespace lvr2
46 {
47 
48 class RieglProject {
49  public:
56  RieglProject(std::string dir, std::string input_cloud_format = "rxp");
57  bool parse_project(unsigned int start, unsigned int end);
58 
59  //private:
60  fs::path m_project_dir;
61  std::vector<ScanPosition> m_scan_positions;
62  void parse_scanpositions(pt::ptree project_ptree, unsigned int start, unsigned int end);
63  void parse_images_per_scanpos(ScanPosition &scanpos, pt::ptree scanpos_ptree, pt::ptree project_ptree);
64 
65  void parse_asciiclouds();
66 
67  std::string m_input_cloud_format;
68 };
69 
70 std::ostream& operator<<(std::ostream &lhs, const RieglProject &rhs);
71 std::ostream& operator<<(std::ostream &lhs, const ScanPosition &rhs);
72 
73 } // namespace lvr2
std::ostream & operator<<(std::ostream &os, const BaseVector< T > &v)
Definition: BaseVector.hpp:227
std::string m_input_cloud_format
void parse_scanpositions(pt::ptree project_ptree, unsigned int start, unsigned int end)
std::vector< ScanPosition > m_scan_positions
void parse_images_per_scanpos(ScanPosition &scanpos, pt::ptree scanpos_ptree, pt::ptree project_ptree)
RieglProject(std::string dir, std::string input_cloud_format="rxp")
Construct a new Riegl Project object.
bool parse_project(unsigned int start, unsigned int end)


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:09