[Jderobot-admin] jderobot-r1101 - trunk/src/stable/libs/geometry/collada
lr.morales en jderobot.org
lr.morales en jderobot.org
Mar Nov 12 00:05:45 CET 2013
Author: lr.morales
Date: 2013-11-12 00:05:45 +0100 (Tue, 12 Nov 2013)
New Revision: 1101
Modified:
trunk/src/stable/libs/geometry/collada/colladaparser.cpp
Log:
#113 Comments out image and line definition files output
Modified: trunk/src/stable/libs/geometry/collada/colladaparser.cpp
===================================================================
--- trunk/src/stable/libs/geometry/collada/colladaparser.cpp 2013-11-11 23:04:25 UTC (rev 1100)
+++ trunk/src/stable/libs/geometry/collada/colladaparser.cpp 2013-11-11 23:05:45 UTC (rev 1101)
@@ -1460,8 +1460,8 @@
image = cv::Scalar(255, 255, 255);
- FILE* fp;
- fp = fopen("lineas.txt", "w");
+ //FILE* fp;
+ //fp = fopen("lineas.txt", "w");
for(int i = 0; i < listaSegmentos.size(); i++){
cv::line(image,
@@ -1469,12 +1469,12 @@
cv::Point2f((listaSegmentos[i].y2 - min(1)), (listaSegmentos[i].x2 - min(0))),
cv::Scalar(0, 0, 0),
3);
- fprintf(fp, "%.2f %.2f %.2f %.2f\n", listaSegmentos[i].x1, listaSegmentos[i].y1,
- listaSegmentos[i].x2, listaSegmentos[i].y2);
+ // fprintf(fp, "%.2f %.2f %.2f %.2f\n", listaSegmentos[i].x1, listaSegmentos[i].y1,
+ // listaSegmentos[i].x2, listaSegmentos[i].y2);
}
- cv::imwrite("mapa.jpg", image);
+ //cv::imwrite("mapa.jpg", image);
- fclose(fp);
+ //fclose(fp);
}
More information about the Jderobot-admin
mailing list