abstract_transformationfile_manager.cpp
Go to the documentation of this file.
1 
19 
21 {
22  this->filePath = filePath;
23 }
24 
25 bool Abstract_TransformationFile_Manager::writeToFile(std::vector<Transformation_Data> &dataSets)
26 {
27  bool success = true;
28  for (std::vector<Transformation_Data>::iterator dataSet = dataSets.begin(); dataSet < dataSets.end(); dataSet++)
29  {
30  success &= this->writeToFile(*dataSet);
31  }
32  return success;
33 }
34 
35 bool Abstract_TransformationFile_Manager::writeToFile(const Eigen::Matrix4d PTU_Frame, const Eigen::Matrix4d LaserScan_Frame, double pan, double tilt)
36 {
37  Transformation_Data data(PTU_Frame, LaserScan_Frame, pan, tilt);
38  return writeToFile(data);
39 }
40 
41 std::vector<Transformation_Data> Abstract_TransformationFile_Manager::readFromFile()
42 {
43  return this->readFromFile(this->filePath);
44 }
std::vector< Transformation_Data > readFromFile()
virtual bool writeToFile(Transformation_Data data)=0


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