get rid of jvx

This commit is contained in:
Marc Pouget 2006-10-13 07:53:02 +00:00
parent 331e6aa945
commit 2aaee89bf8
1 changed files with 1 additions and 48 deletions

View File

@ -4,7 +4,7 @@
#include "Observer.h"
#include "widget.h"
//visu, local
//visu, local needs introspect
#include "SketchSample.h"
//geom, local
@ -16,9 +16,6 @@
#include <sstream>
#include <string>
#include "jv_writer.h"
Mesh m_mesh;
DS ridge_data;
double strength_threshold = 0;
@ -122,9 +119,6 @@ void load_geom(int argc, char* argv[])
}
int main(int argc, char** argv) {
load_geom(argc, argv);
@ -149,46 +143,5 @@ int main(int argc, char** argv) {
main.show();
// //debug visu with a jvx file
// std::cout << ridge_data.size() << std::endl;
// DS_iterator iter_lines = ridge_data.begin(), iter_end = ridge_data.end();
// std::ofstream out_jvx("debug.jvx");
// CGAL::Javaview_writer<std::ofstream> jvw(out_jvx);
// jvw.set_title("ridges");
// jvw.write_header();
// // //first the polysurf
// // jvw.set_geometry_name("polysurf");
// // jvw.begin_geometry();
// // polyhedron_javaview_writer(jvw, P);
// // jvw.end_geometry();
// int compt = 0;
// for (;iter_lines!=iter_end;iter_lines++) {
// compt++;
// // create the name of the ridge
// std::ostringstream str;
// str << "ridge " << compt;
// jvw.set_geometry_name(str.str());
// //color
// if ((*iter_lines)->ridge_type == CGAL::BLUE_CREST) jvw.set_color(CGAL::BLUE);
// else jvw.set_color(CGAL::RED);
// //lines
// jvw.begin_geometry();
// polyline_javaview_writer(jvw, (*iter_lines)->ridge_points.begin(),
// (*iter_lines)->ridge_points.end());
// jvw.end_geometry();
// }
// jvw.write_footer();
return app.exec();
}