abstract_transformationfile_manager.h
Go to the documentation of this file.
1 
18 #ifndef ABSTRACTTRANSFORMATIONWRITER_H
19 #define ABSTRACTTRANSFORMATIONWRITER_H
20 #include <iostream>
21 #ifndef Q_MOC_RUN
22 #include <Eigen/Dense>
23 #endif
24 #include "transformation_data.h"
25 
26 #include <vector>
27 using namespace std;
28 
29 typedef std::tuple<double, double, Eigen::Matrix4d, Eigen::Matrix4d> PanTiltOffsetTuple;
30 typedef std::vector<PanTiltOffsetTuple,Eigen::aligned_allocator<Eigen::Vector4f> > PanTiltOffsetTupleList;
31 
33 {
34 public:
35  explicit Abstract_TransformationFile_Manager(string filePath);
36  virtual std::vector<Transformation_Data> readFromFile(string filePath) = 0;
37  virtual bool writeToFile(Transformation_Data data) = 0;
38  virtual std::vector<Eigen::Matrix4d, Eigen::aligned_allocator<Eigen::Matrix4d>> readTransformationFromFile(string filePath) = 0;
39  virtual bool writeTransformationToFile(const std::vector<Eigen::Matrix4d, Eigen::aligned_allocator<Eigen::Matrix4d>> transformation) = 0;
40  virtual bool writeCameraOffsetToFile(const PanTiltOffsetTupleList &offsetData) = 0;
41 
42  bool writeToFile(std::vector<Transformation_Data> &dataSets);
43  bool writeToFile(const Eigen::Matrix4d PTU_Frame, const Eigen::Matrix4d LaserScan_Frame, double pan, double tilt);
44  std::vector<Transformation_Data> readFromFile();
45 protected:
46  string filePath;
47 };
48 
49 #endif // ABSTRACTTRANSFORMATIONWRITER_H
std::vector< PanTiltOffsetTuple, Eigen::aligned_allocator< Eigen::Vector4f > > PanTiltOffsetTupleList
std::tuple< double, double, Eigen::Matrix4d, Eigen::Matrix4d > PanTiltOffsetTuple


asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Mon Dec 2 2019 03:11:43