MC_io_off.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _MC_IO_OFF_HPP_
00021 #define _MC_IO_OFF_HPP_
00022
00023 #include <iostream>
00024 #include <fstream>
00025
00026 namespace mesh_conv
00027 {
00028
00029 class MC_v3d_vector;
00030 class MC_connectivity_index;
00031 class MC_mesh_index_vector;
00032
00034 class MC_io_off
00035 {
00036
00037 public:
00038
00041 static std::pair <MC_v3d_vector,MC_connectivity_index> read_off(std::istream& stream);
00044 static std::pair <MC_v3d_vector,MC_connectivity_index> read_off_file(const std::string& string_file);
00045
00047 static std::ostream& write_off(std::ostream& stream,const MC_mesh_index_vector& to_write);
00049 static const MC_mesh_index_vector& write_off_file(const std::string& string_file,const MC_mesh_index_vector& to_write);
00050
00051
00052
00053
00054 private:
00055
00056 };
00057 }
00058
00059 #endif