Main Page
Classes
Files
File List
File Members
src
Transformation
abstract_transformationfile_manager.cpp
Go to the documentation of this file.
1
18
#include "
Transformation/abstract_transformationfile_manager.h
"
19
20
Abstract_TransformationFile_Manager::Abstract_TransformationFile_Manager
(
string
filePath)
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
}
Transformation_Data
Definition:
transformation_data.h:61
Abstract_TransformationFile_Manager::Abstract_TransformationFile_Manager
Abstract_TransformationFile_Manager(string filePath)
Definition:
abstract_transformationfile_manager.cpp:20
abstract_transformationfile_manager.h
Abstract_TransformationFile_Manager::readFromFile
std::vector< Transformation_Data > readFromFile()
Definition:
abstract_transformationfile_manager.cpp:41
Abstract_TransformationFile_Manager::filePath
string filePath
Definition:
abstract_transformationfile_manager.h:46
Abstract_TransformationFile_Manager::writeToFile
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