Go to the documentation of this file.00001
00002 #ifndef imesh_fileio_h_
00003 #define imesh_fileio_h_
00004
00005
00006
00007
00008
00009
00010 #include <vcl_iostream.h>
00011 #include <vcl_string.h>
00012 #include "imesh_mesh.h"
00013
00014
00015
00016 bool imesh_read(const vcl_string& filename, imesh_mesh& mesh);
00017
00018
00019 bool imesh_read_ply2(vcl_istream& is, imesh_mesh& mesh);
00020
00021
00022 bool imesh_read_ply2(const vcl_string& filename, imesh_mesh& mesh);
00023
00024
00025 bool imesh_read_ply(const vcl_string& filename, imesh_mesh& mesh);
00026
00027
00028 bool imesh_read_ply(vcl_istream& is, imesh_mesh& mesh);
00029
00030
00031 void imesh_write_ply2(vcl_ostream& os, const imesh_mesh& mesh);
00032
00033
00034 void imesh_write_ply2(const vcl_string& filename, const imesh_mesh& mesh);
00035
00036
00037 bool imesh_read_uv2(vcl_istream& is, imesh_mesh& mesh);
00038
00039
00040 bool imesh_read_uv2(const vcl_string& filename, imesh_mesh& mesh);
00041
00042
00043 bool imesh_read_obj(vcl_istream& is, imesh_mesh& mesh);
00044
00045
00046 bool imesh_read_obj(const vcl_string& filename, imesh_mesh& mesh);
00047
00048
00049 void imesh_write_obj(vcl_ostream& os, const imesh_mesh& mesh);
00050
00051
00052 void imesh_write_obj(const vcl_string& filename, const imesh_mesh& mesh);
00053
00054
00055 void imesh_write_kml(vcl_ostream& os, const imesh_mesh& mesh);
00056
00057
00058 void imesh_write_kml_collada(vcl_ostream& os, const imesh_mesh& mesh);
00059
00060
00061 void imesh_write_vrml(vcl_ostream& os, const imesh_mesh& mesh);
00062
00063 #endif // imesh_fileio_h_