gpp4  1.3.1
cmap_skew.h
Go to the documentation of this file.
1 /*
2  cmap_skew.h: header file for cmap_skew.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_SKEW
27 #define __GUARD_MAPLIB_SKEW
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 int skew_set(const CMMFile_Skew *skew);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif /* __GUARD_MAPLIB_SKEW */
40 
41 /*
42  Local variables:
43  mode: font-lock
44  End:
45 */
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
_CFileStruct
Definition: library_file.h:40
ccp4_file_open
CCP4File * ccp4_file_open(const char *filename, const int flag)
Definition: library_file.c:889
ccp4_cmap_get_mask
int ccp4_cmap_get_mask(const CMMFile *mfile, float *skew_mat, float *skew_trans)
Definition: cmap_skew.c:66
_CMMFile_Skew::rotation
float rotation[3][3]
Definition: cmaplib.h:77
init_cmap_write
CMMFile * init_cmap_write(void)
Definition: cmap_open.c:49
ccp4_file_readchar
int ccp4_file_readchar(CCP4File *cfile, uint8 *buffer, size_t nitems)
Definition: library_file.c:1528
write_maplabels
int write_maplabels(const CMMFile *mfile)
Definition: cmap_labels.c:55
ccp4_cmap_open
void * ccp4_cmap_open(const char *filename, int mode)
Definition: cmap_open.c:82
cmaplib.h
ccp4 map i/o user-level library header file
cmap_skew.h
Declaration of the skew_set function.
parse_mapheader
int parse_mapheader(CMMFile *mfile)
Definition: cmap_header.c:31
init_cmap_read
CMMFile * init_cmap_read(void)
Definition: cmap_open.c:39
ccp4_file_raw_setstamp
int ccp4_file_raw_setstamp(CCP4File *cfile, const size_t offset)
Definition: library_file.c:610
_CMMFile::stream
CCP4File * stream
Definition: cmaplib.h:119
ccp4_file_rarch
int ccp4_file_rarch(CCP4File *cfile)
Definition: library_file.c:1053
_CMMFile_Symop::offset
unsigned int offset
Definition: cmaplib.h:85
_CMMFile_Skew::translation
float translation[3]
Definition: cmaplib.h:78
_CMMFile::file_name
char * file_name
Definition: cmaplib.h:120
ccp4_cmap_set_mask
int ccp4_cmap_set_mask(CMMFile *mfile, const float *skew_mat, const float *skew_trans)
Definition: cmap_skew.c:31
ccp4_file_close
int ccp4_file_close(CCP4File *cfile)
Definition: library_file.c:1025
ccp4_file_raw_seek
int ccp4_file_raw_seek(CCP4File *cfile, long offset, int whence)
Definition: library_file.c:384
write_mapheader
int write_mapheader(CMMFile *mfile)
Definition: cmap_header.c:106
is_cmap
int is_cmap(CCP4File *file)
Definition: cmap_open.c:63
skew_set
int skew_set(const CMMFile_Skew *skew)
Definition: cmap_skew.c:88
_CMMFile_Skew
Data structure describing an optional skew transformation of the map.
Definition: cmaplib.h:76
cmap_labels.h
Declaration of routines to parse and output map labels.
cmap_errno.h
Error codes for the library.
ccp4_file_rewind
void ccp4_file_rewind(CCP4File *cfile)
Definition: library_file.c:2033
parse_maplabels
int parse_maplabels(CMMFile *mfile)
Definition: cmap_labels.c:29
cmap_header.h
Declarations of map header i/o routines.