00001 #ifndef UTH_IO_FILES_H_
00002 #define UTH_IO_FILES_H_
00003 #ifdef __cplusplus
00004 extern "C"
00005 {
00006 #endif
00007
00017 int utr_io_initialize_mesh(
00018 FILE *Interactive_output,
00019 const char* Work_dir,
00020 char Mesh_type,
00021 const char* Mesh_file
00022 );
00023
00031 int utr_io_read_mesh(
00033 const int Mesh_id,
00034 const char * Working_dir,
00035 const char * Mesh_files_regex,
00036
00037 const char Mesh_type
00038 );
00039
00040
00041
00042
00043 int utr_io_write_img_to_pbm(
00044 const char * Work_dir,
00045 const char * Filename,
00046 const char * Comment,
00047 const int Width,
00048 const int Height,
00049 const int Max_color_component_value,
00050 const int Magic_number,
00051 const unsigned char* Img_data,
00052 FILE* Interactive_output
00053 );
00054
00055
00056
00057
00058
00059
00060 int utr_io_write_mesh_info_to_PAM(int Mesh_id
00061 , const char *Work_dir, const char *Filename, const char *Comment, FILE *Interactive_output);
00076 int utr_io_write_img_to_pam(
00077 const char * Work_dir,
00078 const char * Filename,
00079 const int Width,
00080 const int Height,
00081 const int Depth,
00082 const int Maxval,
00083 const char* TUPLTYPE,
00084 const char* Img_data,
00085 FILE* Interactive_output
00086 );
00100 int utr_io_write_img_to_pnm(
00101 const char * Work_dir,
00102 const char * Filename,
00103 const char * Comment,
00104 const int Width,
00105 const int Height,
00106 const int Max_color_component_value,
00107 const int Magic_number,
00108 const char* Img_data,
00109 FILE* Interactive_output
00110 );
00111
00114 #ifdef __cplusplus
00115 }
00116 #endif
00117
00119
00120
00121 #endif //UTH_IO_FILES_H_