abstract_transformationfile_manager.cpp
Go to the documentation of this file.
00001 
00018 #include "Transformation/abstract_transformationfile_manager.h"
00019 
00020 Abstract_TransformationFile_Manager::Abstract_TransformationFile_Manager(string filePath)
00021 {
00022     this->filePath = filePath;
00023 }
00024 
00025 bool Abstract_TransformationFile_Manager::writeToFile(std::vector<Transformation_Data> &dataSets)
00026 {
00027     bool success = true;
00028     for (std::vector<Transformation_Data>::iterator dataSet = dataSets.begin(); dataSet < dataSets.end(); dataSet++)
00029     {
00030         success &= this->writeToFile(*dataSet);
00031     }
00032     return success;
00033 }
00034 
00035 bool Abstract_TransformationFile_Manager::writeToFile(const Eigen::Matrix4d PTU_Frame, const Eigen::Matrix4d LaserScan_Frame, double pan, double tilt)
00036 {
00037     Transformation_Data data(PTU_Frame, LaserScan_Frame, pan, tilt);
00038     return writeToFile(data);
00039 }
00040 
00041 std::vector<Transformation_Data> Abstract_TransformationFile_Manager::readFromFile()
00042 {
00043     return this->readFromFile(this->filePath);
00044 }


asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Thu Jun 6 2019 21:22:44