#include #include #include #include #include #include using namespace igl; using namespace std; using namespace Eigen; // Template: // T type that can be safely cast to float // Inputs: // vv vector of vectors of type T template void print_vector_of_vectors_as_floats(const std::vector > & vv) { for(int i = 0;i > V,TC,N; vector > F,FTC,FN; // loop over arguments for(int i = 1; i < argc; i++) { if(i != 1) { printf("-----------------------------------------------------------\n"); } readOBJ(argv[i],V,TC,N,F,FTC,FN); cout<<"V=["; print_vector_of_vectors_as_floats(V); cout<<"];"<