Woolz Image Processing  Version 1.7.5
WlzEMAP.h
Go to the documentation of this file.
1 #ifndef WLZ_EMAP_H
2 #define WLZ_EMAP_H
3 #if defined(__GNUC__)
4 #ident "University of Edinburgh $Id: 9b46c8dedbb08ac044120cd0c45f4d07a4726ce6 $"
5 #else
6 static char _WlzEMAP_h[] = "University of Edinburgh $Id: 9b46c8dedbb08ac044120cd0c45f4d07a4726ce6 $";
7 #endif
8 /*!
9 * \file binWlzApp/WlzEMAP.h
10 * \author Richard Baldock
11 * \date December 2006
12 * \version $Id: 9b46c8dedbb08ac044120cd0c45f4d07a4726ce6 $
13 * \par
14 * Address:
15 * MRC Human Genetics Unit,
16 * MRC Institute of Genetics and Molecular Medicine,
17 * University of Edinburgh,
18 * Western General Hospital,
19 * Edinburgh, EH4 2XU, UK.
20 * \par
21 * Copyright (C), [2012],
22 * The University Court of the University of Edinburgh,
23 * Old College, Edinburgh, UK.
24 *
25 * This program is free software; you can redistribute it and/or
26 * modify it under the terms of the GNU General Public License
27 * as published by the Free Software Foundation; either version 2
28 * of the License, or (at your option) any later version.
29 *
30 * This program is distributed in the hope that it will be
31 * useful but WITHOUT ANY WARRANTY; without even the implied
32 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
33 * PURPOSE. See the GNU General Public License for more
34 * details.
35 *
36 * You should have received a copy of the GNU General Public
37 * License along with this program; if not, write to the Free
38 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
39 * Boston, MA 02110-1301, USA.
40 * \ingroup BinWlzApp
41 * \brief Special defines for the EMAP extension to the Woolz
42  library.
43 */
44 
45 #ifndef WLZ_EXT_BIND
46 #ifdef __cplusplus
47 extern "C" {
48 #endif /* __cplusplus */
49 #endif /* WLZ_EXT_BIND */
50 
51 #include <sys/types.h>
52 
54  /* source and destination models */
55  char *srcModel;
56  char *dstModel;
57 
58  /* last modified time of current data */
59  time_t mtime;
60 
61  /* source domains and projection */
64 
65  /* destination domains and projection */
68 
69  /* mesh transforms */
72 
73 /* globals */
74 extern char *EMAP_WarpTransformsDir; /* defined in WlzEMAPDomainTransform.c */
75 
76 extern int WlzEMAPIsMapping(char *srcModel,
77  char *dstModel,
78  char *transformDir,
79  WlzErrorNum *dstErr);
82 
84  char *srcModel,
85  char *dstModel,
86  char *transformDir,
87  WlzErrorNum *dstErr);
88 
90  char *dstModel,
91  WlzObject *obj,
92  WlzErrorNum *dstErr);
93 
94 #ifndef WLZ_EXT_BIND
95 #ifdef __cplusplus
96 }
97 #endif /* __cplusplus */
98 #endif /* WLZ_EXT_BIND */
99 
100 #endif /* !WLZ_EMAP_H Don't put anything after this line */
Definition: WlzEMAP.h:53
struct _WLZ_EMAP_WarpTransformStruct WLZ_EMAP_WarpTransformStruct
WlzThreeDViewStruct * srcProj
Definition: WlzEMAP.h:63
Defines a planar section through a 3D volume. Typedef: WlzThreeDViewStruct.
Definition: WlzType.h:5407
time_t mtime
Definition: WlzEMAP.h:59
WlzObject * dstDoms[3]
Definition: WlzEMAP.h:66
char * srcModel
Definition: WlzEMAP.h:55
WlzThreeDViewStruct * dstProj
Definition: WlzEMAP.h:67
char * EMAP_WarpTransformsDir
The Woolz object. Typedef: WlzObject.
Definition: WlzType.h:2751
WlzObject * srcDoms[3]
Definition: WlzEMAP.h:62
WlzObject * WlzEMAPDomainTransform(char *srcModel, char *dstModel, WlzObject *obj, WlzErrorNum *dstErr)
char * dstModel
Definition: WlzEMAP.h:56
WlzErrorNum WlzEMAPFreeMapping(WLZ_EMAP_WarpTransformStruct *mapping)
WlzObject * meshObj[3]
Definition: WlzEMAP.h:70
WLZ_EMAP_WarpTransformStruct * WlzEMAPGetMapping(char *srcModel, char *dstModel, char *transformDir, WlzErrorNum *dstErr)
enum _WlzErrorNum WlzErrorNum
int WlzEMAPIsMapping(char *srcModel, char *dstModel, char *transformDir, WlzErrorNum *dstErr)