liba2ri  0.2
 All Data Structures
io.h
1 /*************************************/
2 /* Auteur : Rémi Synave */
3 /* Date de création : 10/03/10 */
4 /* Date de modification : 10/03/10 */
5 /* Version : 0.2 */
6 /*************************************/
7 
8 /***************************************************************************/
9 /* This file is part of a2ri. */
10 /* */
11 /* a2ri is free software: you can redistribute it and/or modify it */
12 /* under the terms of the GNU Lesser General Public License as published */
13 /* by the Free Software Foundation, either version 3 of the License, or */
14 /* (at your option) any later version. */
15 /* */
16 /* a2ri is distributed in the hope that it will be useful, */
17 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
18 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
19 /* GNU Lesser General Public License for more details. */
20 /* */
21 /* You should have received a copy of the GNU Lesser General Public */
22 /* License along with a2ri. */
23 /* If not, see <http://www.gnu.org/licenses/>. */
24 /***************************************************************************/
25 
26 #ifndef IO__H
27 #define IO__H
28 
29 #include <locale.h>
30 #include "model.h"
31 
38 int a2ri_vf_open_file (
39  char *file,
40  vf_model * m);
41 
48 int a2ri_vf_load_asc (
49  char *file,
50  vf_model * m);
51 
58 int a2ri_vf_load_vef (
59  char *file,
60  vf_model * m);
61 
68 int a2ri_vf_load_gts (
69  char *file,
70  vf_model * m);
71 
78 int a2ri_vf_load_pgn (
79  char *file,
80  vf_model * m);
81 
88 int a2ri_vf_load_off (
89  char *file,
90  vf_model * m);
91 
98 int a2ri_vf_load_ply (
99  char *file,
100  vf_model * m);
101 
108 int a2ri_vf_load_wrl (
109  char *file,
110  vf_model * m);
111 
118 int a2ri_vf_load_obj (
119  char *file,
120  vf_model * m);
121 
128 int a2ri_vf_load_stl (
129  char *file,
130  vf_model * m);
131 
138 int a2ri_vf_load_binary_stl (
139  char *file,
140  vf_model * m);
141 
148 int a2ri_vf_load_ascii_stl (
149  char *file,
150  vf_model * m);
151 
158 int a2ri_vf_load_tet (
159  char *file,
160  vf_model * m);
161 
168 int a2ri_vf_save_file (
169  char *file,
170  vf_model m);
171 
178 int a2ri_vf_save_vef (
179  char *file,
180  vf_model m);
181 
188 int a2ri_vf_save_gts (
189  char *file,
190  vf_model m);
191 
198 int a2ri_vf_save_pgn (
199  char *file,
200  vf_model m);
201 
208 int a2ri_vf_save_off (
209  char *file,
210  vf_model m);
211 
218 int a2ri_vf_save_ply (
219  char *file,
220  vf_model m);
221 
228 int a2ri_vf_save_wrl (
229  char *file,
230  vf_model m);
231 
238 int a2ri_vf_save_wrl_v1 (
239  char *file,
240  vf_model m);
241 
248 int a2ri_vf_save_obj (
249  char *file,
250  vf_model m);
251 
258 int a2ri_vf_save_stl (
259  char *file,
260  vf_model m);
261 
268 int a2ri_vef_open_file (
269  char *file,
270  vef_model * m);
271 
278 int a2ri_vef_load_vef (
279  char *file,
280  vef_model * m);
281 
288 int a2ri_vef_load_gts (
289  char *file,
290  vef_model * m);
291 
298 int a2ri_vef_load_pgn (
299  char *file,
300  vef_model * m);
301 
308 int a2ri_vef_load_stl (
309  char *file,
310  vef_model * m);
311 
318 int a2ri_vef_load_tet (
319  char *file,
320  vef_model * m);
321 
328 int a2ri_vef_load_off (
329  char *file,
330  vef_model * m);
331 
338 int a2ri_vef_load_ply (
339  char *file,
340  vef_model * m);
341 
348 int a2ri_vef_load_wrl (
349  char *file,
350  vef_model * m);
351 
358 int a2ri_vef_load_obj (
359  char *file,
360  vef_model * m);
361 
368 int a2ri_vef_save_file (
369  char *file,
370  vef_model m);
371 
378 int a2ri_vef_save_vef (
379  char *file,
380  vef_model m);
381 
388 int a2ri_vef_save_gts (
389  char *file,
390  vef_model m);
391 
398 int a2ri_vef_save_pgn (
399  char *file,
400  vef_model m);
401 
408 int a2ri_vef_save_off (
409  char *file,
410  vef_model m);
411 
418 int a2ri_vef_save_ply (
419  char *file,
420  vef_model m);
421 
428 int a2ri_vef_save_wrl (
429  char *file,
430  vef_model m);
431 
438 int a2ri_vef_save_obj (
439  char *file,
440  vef_model m);
441 
442 #endif