gpp4  1.3.1
cmap_header.h
Go to the documentation of this file.
1 /*
2  cmap_header.h: header file for cmap_header.c
3  Copyright (C) 2001 CCLRC, Charles Ballard
4 
5  This library is free software: you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation, either
8  version 3 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with This library. If not, see
17  <http://www.gnu.org/licenses/>.
18 
19 */
20 
26 #ifndef __GUARD_MAPLIB_HEADER
27 #define __GUARD_MAPLIB_HEADER
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 int parse_mapheader(CMMFile *mfile);
34 
35 int write_mapheader(CMMFile *mfile);
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* __GUARD_MAPLIB_HEADER */
42 
43 /*
44  Local variables:
45  mode: font-lock
46  End:
47 */
ccp4_signal
void ccp4_signal(const int, const char *const, void(*)())
Definition: library_err.c:278
_CMMFile
Construct to hold the information about a map file.
Definition: cmaplib.h:118
_CMMFile_Stats::min
float min
Definition: cmaplib.h:107
_CMMFile_Skew::rotation
float rotation[3][3]
Definition: cmaplib.h:77
ccp4_file_readchar
int ccp4_file_readchar(CCP4File *cfile, uint8 *buffer, size_t nitems)
Definition: library_file.c:1528
_CMMFile::origin
int origin[3]
Definition: cmaplib.h:127
_CMMFile::spacegroup
int spacegroup
Definition: cmaplib.h:124
_CMMFile::map_dim
int map_dim[3]
Definition: cmaplib.h:125
_CMMFile_Stats::max
float max
Definition: cmaplib.h:108
ccp4_file_readint
int ccp4_file_readint(CCP4File *cfile, uint8 *buffer, size_t nitems)
Definition: library_file.c:1412
cmaplib.h
ccp4 map i/o user-level library header file
cmap_skew.h
Declaration of the skew_set function.
ccp4_file_itemsize
int ccp4_file_itemsize(const CCP4File *cfile)
Definition: library_file.c:693
_CMMFile_Symop::size
unsigned int size
Definition: cmaplib.h:87
ccp4_file_seek
int ccp4_file_seek(CCP4File *cfile, long offset, int whence)
Definition: library_file.c:2009
_CMMFile_Stats::rms
double rms
Definition: cmaplib.h:110
ccp4_file_writefloat
int ccp4_file_writefloat(CCP4File *cfile, const uint8 *buffer, size_t nitems)
Definition: library_file.c:1757
parse_mapheader
int parse_mapheader(CMMFile *mfile)
Definition: cmap_header.c:31
ccp4_file_writechar
int ccp4_file_writechar(CCP4File *cfile, const uint8 *buffer, size_t nitems)
Definition: library_file.c:1972
_CMMFile::stream
CCP4File * stream
Definition: cmaplib.h:119
_CMMFile_Symop::offset
unsigned int offset
Definition: cmaplib.h:85
_CMMFile_Skew::translation
float translation[3]
Definition: cmaplib.h:78
ccp4_file_writeint
int ccp4_file_writeint(CCP4File *cfile, const uint8 *buffer, size_t nitems)
Definition: library_file.c:1856
_CMMFile::axes_order
int axes_order[3]
Definition: cmaplib.h:130
_CMMFile::cell
float cell[6]
Definition: cmaplib.h:123
_CMMFile_Symop::number
unsigned int number
Definition: cmaplib.h:88
_CMMFile::cell_grid
int cell_grid[3]
Definition: cmaplib.h:129
_CMMFile_Stats::mean
double mean
Definition: cmaplib.h:109
write_mapheader
int write_mapheader(CMMFile *mfile)
Definition: cmap_header.c:106
ccp4_file_readfloat
int ccp4_file_readfloat(CCP4File *cfile, uint8 *buffer, size_t nitems)
Definition: library_file.c:1316
skew_set
int skew_set(const CMMFile_Skew *skew)
Definition: cmap_skew.c:88
ccp4_file_setmode
int ccp4_file_setmode(CCP4File *cfile, const int mode)
Definition: library_file.c:649
cmap_errno.h
Error codes for the library.
ccp4_file_rewind
void ccp4_file_rewind(CCP4File *cfile)
Definition: library_file.c:2033