matching_result.cpp
Go to the documentation of this file.
00001 #include "matching_result.h"
00002 #include "sstream"
00003 const char* MatchingResult::toString(){
00004   std::stringstream ss;
00005   ss << "edge id1: " << edge.id1 << "; ";
00006   ss << "edge id2: " << edge.id2 << "; ";
00007   ss << "rmse: " << rmse << "; ";
00008   if(inlier_points != 0) ss << "inlier_points: " << inlier_points << "; ";
00009   if(outlier_points != 0) ss << "outlier_points: " << outlier_points << "; ";
00010   if(occluded_points != 0) ss << "occluded_points: " << occluded_points << "; ";
00011   if(all_points != 0) ss << "all_points: " << all_points << "; ";
00012   if(inlier_matches.size() != 0) ss << "inlier matches size: " << inlier_matches.size() << "; ";
00013   if(all_matches.size() != 0) ss << "all matches size: " << all_matches.size() << "; ";
00014   return ss.str().c_str();
00015 }
00016 


rgbdslam_v2
Author(s): Felix Endres, Juergen Hess, Nikolas Engelhard
autogenerated on Thu Jun 6 2019 21:49:45