map2D_loader.h

Go to the documentation of this file.
00001 #ifndef _MAP2D_LOADER_H_
00002 #define _MAP2D_LOADER_H_
00003 
00004 /* Copyright (c) Kyriacos Leptos and the President and Fellows of Harvard University
00005    Release Date: 2004-11-01
00006    Part of the MapQuant suite library "massspec.lib" 
00007 */
00008 
00009 #include <png.h>
00010 
00019 Insets4f*   Map2DLoader_sLoadTileArray     (MQExperiment* expmnt, char* szSession, int* nTiles);
00020 int         Map2DLoader_sLoadNumberOfTiles (MQExperiment* expmnt, char* szSession);
00021 Insets4i    Map2DLoader_sLoadBorders       (MQExperiment* expmnt,char* szSession);
00022 MQByte      Map2DLoader_sLoadMZRulerInfo   (MQExperiment* expmnt, char* szSession);
00023 int         Map2DLoader_sLoadRTRulerInfo   (MQExperiment* expmnt, char* szSession);
00024 char*       Map2DLoader_sLoadProcScriptName(MQExperiment* expmnt, char* szSession);
00025 
00026 /* ********************************* LOADING HEADERS **************************** */
00027 
00034 int Map2D_aLoadHeader(Map2D* map, char* szMap2DHeaderFilename);
00035 
00041 int Map2D_sLoadHeader(Map2D* map, MQExperiment* expmnt, char* szSessionName);
00042 
00048 int Map2D_snLoadHeader(Map2D* map, MQExperiment* expmnt, char* szSessionName, char* name);
00049 
00050 
00056 int Map2D_sntLoadHeader(Map2D* map, MQExperiment* expmnt, char* szSessionName, char* tile_flag, char* type_flag);
00057 
00058 /* ************************** LOADING ABUNDANCE MATRIX ************************** */
00059 
00060 int     Map2D_loadAbundanceSubMatrixAtIndex(Map2D* map, char* szMapFilename, Rectangle4i* filerect, Rectangle4i* subrect, int rt_i, int mz_j);
00061 int     Map2D_loadAbundanceSubMatrix(Map2D* map, char* szMapFilename, Rectangle4i* filerect, Rectangle4i* subrect);
00062 int     Map2D_loadAbundanceMatrix(Map2D* map, char* szMapFilename);
00063 
00064 /* ************************** LOADING MAPS ************************************** */
00065 
00066 /* 1 */ int Map2D_aLoad             (Map2D* map, char* pathname);
00067 /* 2 */ int Map2D_atLoad            (Map2D* map, char* pathname, char* str_flag);
00068 
00069 /* 3 */ int Map2D_pLoad             (Map2D* map, char* path, char* name);
00070 /* 4 */ int Map2D_ptLoad            (Map2D* map, char* path, char* name, char* str_flag);
00071 
00072 /* 5 */ int Map2D_snLoad            (Map2D* map, MQExperiment* expmnt, char* session_id, char* sub_id);
00073 /* 6 */ int Map2D_sntLoad           (Map2D* map, MQExperiment* expmnt, char* session_id, char* sub_id, char* tile);
00074 
00075 /* 7 */ int Map2D_auLoad            (Map2D* map, char* pathname, int num_flag);
00076 
00077 /* ********************************************************************************* */
00078 
00079 /* Copyright (c) Nathan P. Walsh and the President and Fellows of Harvard University
00080  * Release Date: 2005-03-21
00081  * Part of the MapQuant suite library "mqfileio.lib" 
00082  */
00083 
00099 #define MAP_PNG_ERROR 0
00100 #define MAP_PNG_OK    1
00101 
00102 #define MAP_PNG_HEADER 1
00103 #define MAP_PNG_IMAGE 2
00104 #define MAP_PNG_RULER 4
00105 
00106 int Map2D_ReadPNG(Map2D* map, const char* file_name, int parts, int mz_bin_offset, int mz_bin_length, int rt_scan_offset, int rt_scan_length);
00107 
00108 #endif
00109 
00110 

Generated on Tue Feb 7 11:54:36 2006 for libmqfileio by  doxygen 1.4.6