OSDN Git Service

Modified Eos/Makefile
[eos/hostdependX86LINUX64.git] / src / Objects / DataExpress / eosRuby / src / Swig / molvieRuby_wrap.c
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 1.3.36
4  * 
5  * This file is not intended to be easily readable and contains a number of 
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG 
8  * interface file instead. 
9  * ----------------------------------------------------------------------------- */
10
11 #define SWIGRUBY
12 /* -----------------------------------------------------------------------------
13  *  This section contains generic SWIG labels for method/variable
14  *  declarations/attributes, and other compiler dependent labels.
15  * ----------------------------------------------------------------------------- */
16
17 /* template workaround for compilers that cannot correctly implement the C++ standard */
18 #ifndef SWIGTEMPLATEDISAMBIGUATOR
19 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
20 #  define SWIGTEMPLATEDISAMBIGUATOR template
21 # elif defined(__HP_aCC)
22 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
23 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
24 #  define SWIGTEMPLATEDISAMBIGUATOR template
25 # else
26 #  define SWIGTEMPLATEDISAMBIGUATOR
27 # endif
28 #endif
29
30 /* inline attribute */
31 #ifndef SWIGINLINE
32 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
33 #   define SWIGINLINE inline
34 # else
35 #   define SWIGINLINE
36 # endif
37 #endif
38
39 /* attribute recognised by some compilers to avoid 'unused' warnings */
40 #ifndef SWIGUNUSED
41 # if defined(__GNUC__)
42 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
43 #     define SWIGUNUSED __attribute__ ((__unused__)) 
44 #   else
45 #     define SWIGUNUSED
46 #   endif
47 # elif defined(__ICC)
48 #   define SWIGUNUSED __attribute__ ((__unused__)) 
49 # else
50 #   define SWIGUNUSED 
51 # endif
52 #endif
53
54 #ifndef SWIG_MSC_UNSUPPRESS_4505
55 # if defined(_MSC_VER)
56 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
57 # endif 
58 #endif
59
60 #ifndef SWIGUNUSEDPARM
61 # ifdef __cplusplus
62 #   define SWIGUNUSEDPARM(p)
63 # else
64 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
65 # endif
66 #endif
67
68 /* internal SWIG method */
69 #ifndef SWIGINTERN
70 # define SWIGINTERN static SWIGUNUSED
71 #endif
72
73 /* internal inline SWIG method */
74 #ifndef SWIGINTERNINLINE
75 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
76 #endif
77
78 /* exporting methods */
79 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
80 #  ifndef GCC_HASCLASSVISIBILITY
81 #    define GCC_HASCLASSVISIBILITY
82 #  endif
83 #endif
84
85 #ifndef SWIGEXPORT
86 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
87 #   if defined(STATIC_LINKED)
88 #     define SWIGEXPORT
89 #   else
90 #     define SWIGEXPORT __declspec(dllexport)
91 #   endif
92 # else
93 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
94 #     define SWIGEXPORT __attribute__ ((visibility("default")))
95 #   else
96 #     define SWIGEXPORT
97 #   endif
98 # endif
99 #endif
100
101 /* calling conventions for Windows */
102 #ifndef SWIGSTDCALL
103 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
104 #   define SWIGSTDCALL __stdcall
105 # else
106 #   define SWIGSTDCALL
107 # endif 
108 #endif
109
110 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
111 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
112 # define _CRT_SECURE_NO_DEPRECATE
113 #endif
114
115 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
116 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
117 # define _SCL_SECURE_NO_DEPRECATE
118 #endif
119
120
121 /* -----------------------------------------------------------------------------
122  *  This section contains generic SWIG labels for method/variable
123  *  declarations/attributes, and other compiler dependent labels.
124  * ----------------------------------------------------------------------------- */
125
126 /* template workaround for compilers that cannot correctly implement the C++ standard */
127 #ifndef SWIGTEMPLATEDISAMBIGUATOR
128 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
129 #  define SWIGTEMPLATEDISAMBIGUATOR template
130 # elif defined(__HP_aCC)
131 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
132 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
133 #  define SWIGTEMPLATEDISAMBIGUATOR template
134 # else
135 #  define SWIGTEMPLATEDISAMBIGUATOR
136 # endif
137 #endif
138
139 /* inline attribute */
140 #ifndef SWIGINLINE
141 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
142 #   define SWIGINLINE inline
143 # else
144 #   define SWIGINLINE
145 # endif
146 #endif
147
148 /* attribute recognised by some compilers to avoid 'unused' warnings */
149 #ifndef SWIGUNUSED
150 # if defined(__GNUC__)
151 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
152 #     define SWIGUNUSED __attribute__ ((__unused__)) 
153 #   else
154 #     define SWIGUNUSED
155 #   endif
156 # elif defined(__ICC)
157 #   define SWIGUNUSED __attribute__ ((__unused__)) 
158 # else
159 #   define SWIGUNUSED 
160 # endif
161 #endif
162
163 #ifndef SWIG_MSC_UNSUPPRESS_4505
164 # if defined(_MSC_VER)
165 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
166 # endif 
167 #endif
168
169 #ifndef SWIGUNUSEDPARM
170 # ifdef __cplusplus
171 #   define SWIGUNUSEDPARM(p)
172 # else
173 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
174 # endif
175 #endif
176
177 /* internal SWIG method */
178 #ifndef SWIGINTERN
179 # define SWIGINTERN static SWIGUNUSED
180 #endif
181
182 /* internal inline SWIG method */
183 #ifndef SWIGINTERNINLINE
184 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
185 #endif
186
187 /* exporting methods */
188 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
189 #  ifndef GCC_HASCLASSVISIBILITY
190 #    define GCC_HASCLASSVISIBILITY
191 #  endif
192 #endif
193
194 #ifndef SWIGEXPORT
195 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
196 #   if defined(STATIC_LINKED)
197 #     define SWIGEXPORT
198 #   else
199 #     define SWIGEXPORT __declspec(dllexport)
200 #   endif
201 # else
202 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
203 #     define SWIGEXPORT __attribute__ ((visibility("default")))
204 #   else
205 #     define SWIGEXPORT
206 #   endif
207 # endif
208 #endif
209
210 /* calling conventions for Windows */
211 #ifndef SWIGSTDCALL
212 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
213 #   define SWIGSTDCALL __stdcall
214 # else
215 #   define SWIGSTDCALL
216 # endif 
217 #endif
218
219 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
220 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
221 # define _CRT_SECURE_NO_DEPRECATE
222 #endif
223
224 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
225 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
226 # define _SCL_SECURE_NO_DEPRECATE
227 #endif
228
229
230 /* -----------------------------------------------------------------------------
231  * swigrun.swg
232  *
233  * This file contains generic CAPI SWIG runtime support for pointer
234  * type checking.
235  * ----------------------------------------------------------------------------- */
236
237 /* This should only be incremented when either the layout of swig_type_info changes,
238    or for whatever reason, the runtime changes incompatibly */
239 #define SWIG_RUNTIME_VERSION "4"
240
241 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
242 #ifdef SWIG_TYPE_TABLE
243 # define SWIG_QUOTE_STRING(x) #x
244 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
245 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
246 #else
247 # define SWIG_TYPE_TABLE_NAME
248 #endif
249
250 /*
251   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
252   creating a static or dynamic library from the swig runtime code.
253   In 99.9% of the cases, swig just needs to declare them as 'static'.
254   
255   But only do this if is strictly necessary, ie, if you have problems
256   with your compiler or so.
257 */
258
259 #ifndef SWIGRUNTIME
260 # define SWIGRUNTIME SWIGINTERN
261 #endif
262
263 #ifndef SWIGRUNTIMEINLINE
264 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
265 #endif
266
267 /*  Generic buffer size */
268 #ifndef SWIG_BUFFER_SIZE
269 # define SWIG_BUFFER_SIZE 1024
270 #endif
271
272 /* Flags for pointer conversions */
273 #define SWIG_POINTER_DISOWN        0x1
274 #define SWIG_CAST_NEW_MEMORY       0x2
275
276 /* Flags for new pointer objects */
277 #define SWIG_POINTER_OWN           0x1
278
279
280 /* 
281    Flags/methods for returning states.
282    
283    The swig conversion methods, as ConvertPtr, return and integer 
284    that tells if the conversion was successful or not. And if not,
285    an error code can be returned (see swigerrors.swg for the codes).
286    
287    Use the following macros/flags to set or process the returning
288    states.
289    
290    In old swig versions, you usually write code as:
291
292      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
293        // success code
294      } else {
295        //fail code
296      }
297
298    Now you can be more explicit as:
299
300     int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
301     if (SWIG_IsOK(res)) {
302       // success code
303     } else {
304       // fail code
305     }
306
307    that seems to be the same, but now you can also do
308
309     Type *ptr;
310     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
311     if (SWIG_IsOK(res)) {
312       // success code
313       if (SWIG_IsNewObj(res) {
314         ...
315         delete *ptr;
316       } else {
317         ...
318       }
319     } else {
320       // fail code
321     }
322     
323    I.e., now SWIG_ConvertPtr can return new objects and you can
324    identify the case and take care of the deallocation. Of course that
325    requires also to SWIG_ConvertPtr to return new result values, as
326
327       int SWIG_ConvertPtr(obj, ptr,...) {         
328         if (<obj is ok>) {                             
329           if (<need new object>) {                     
330             *ptr = <ptr to new allocated object>; 
331             return SWIG_NEWOBJ;                
332           } else {                                     
333             *ptr = <ptr to old object>;        
334             return SWIG_OLDOBJ;                
335           }                                    
336         } else {                                       
337           return SWIG_BADOBJ;                  
338         }                                              
339       }
340
341    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
342    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
343    swig errors code.
344
345    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
346    allows to return the 'cast rank', for example, if you have this
347
348        int food(double)
349        int fooi(int);
350
351    and you call
352  
353       food(1)   // cast rank '1'  (1 -> 1.0)
354       fooi(1)   // cast rank '0'
355
356    just use the SWIG_AddCast()/SWIG_CheckState()
357
358
359  */
360 #define SWIG_OK                    (0) 
361 #define SWIG_ERROR                 (-1)
362 #define SWIG_IsOK(r)               (r >= 0)
363 #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)  
364
365 /* The CastRankLimit says how many bits are used for the cast rank */
366 #define SWIG_CASTRANKLIMIT         (1 << 8)
367 /* The NewMask denotes the object was created (using new/malloc) */
368 #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
369 /* The TmpMask is for in/out typemaps that use temporal objects */
370 #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
371 /* Simple returning values */
372 #define SWIG_BADOBJ                (SWIG_ERROR)
373 #define SWIG_OLDOBJ                (SWIG_OK)
374 #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
375 #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
376 /* Check, add and del mask methods */
377 #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
378 #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
379 #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
380 #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
381 #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
382 #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
383
384
385 /* Cast-Rank Mode */
386 #if defined(SWIG_CASTRANK_MODE)
387 #  ifndef SWIG_TypeRank
388 #    define SWIG_TypeRank             unsigned long
389 #  endif
390 #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
391 #    define SWIG_MAXCASTRANK          (2)
392 #  endif
393 #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
394 #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
395 SWIGINTERNINLINE int SWIG_AddCast(int r) { 
396   return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
397 }
398 SWIGINTERNINLINE int SWIG_CheckState(int r) { 
399   return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; 
400 }
401 #else /* no cast-rank mode */
402 #  define SWIG_AddCast
403 #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
404 #endif
405
406
407
408
409 #include <string.h>
410
411 #ifdef __cplusplus
412 extern "C" {
413 #endif
414
415 typedef void *(*swig_converter_func)(void *, int *);
416 typedef struct swig_type_info *(*swig_dycast_func)(void **);
417
418 /* Structure to store information on one type */
419 typedef struct swig_type_info {
420   const char             *name;                 /* mangled name of this type */
421   const char             *str;                  /* human readable name of this type */
422   swig_dycast_func        dcast;                /* dynamic cast function down a hierarchy */
423   struct swig_cast_info  *cast;                 /* linked list of types that can cast into this type */
424   void                   *clientdata;           /* language specific type data */
425   int                    owndata;               /* flag if the structure owns the clientdata */
426 } swig_type_info;
427
428 /* Structure to store a type and conversion function used for casting */
429 typedef struct swig_cast_info {
430   swig_type_info         *type;                 /* pointer to type that is equivalent to this type */
431   swig_converter_func     converter;            /* function to cast the void pointers */
432   struct swig_cast_info  *next;                 /* pointer to next cast in linked list */
433   struct swig_cast_info  *prev;                 /* pointer to the previous cast */
434 } swig_cast_info;
435
436 /* Structure used to store module information
437  * Each module generates one structure like this, and the runtime collects
438  * all of these structures and stores them in a circularly linked list.*/
439 typedef struct swig_module_info {
440   swig_type_info         **types;               /* Array of pointers to swig_type_info structures that are in this module */
441   size_t                 size;                  /* Number of types in this module */
442   struct swig_module_info *next;                /* Pointer to next element in circularly linked list */
443   swig_type_info         **type_initial;        /* Array of initially generated type structures */
444   swig_cast_info         **cast_initial;        /* Array of initially generated casting structures */
445   void                    *clientdata;          /* Language specific module data */
446 } swig_module_info;
447
448 /* 
449   Compare two type names skipping the space characters, therefore
450   "char*" == "char *" and "Class<int>" == "Class<int >", etc.
451
452   Return 0 when the two name types are equivalent, as in
453   strncmp, but skipping ' '.
454 */
455 SWIGRUNTIME int
456 SWIG_TypeNameComp(const char *f1, const char *l1,
457                   const char *f2, const char *l2) {
458   for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
459     while ((*f1 == ' ') && (f1 != l1)) ++f1;
460     while ((*f2 == ' ') && (f2 != l2)) ++f2;
461     if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
462   }
463   return (int)((l1 - f1) - (l2 - f2));
464 }
465
466 /*
467   Check type equivalence in a name list like <name1>|<name2>|...
468   Return 0 if not equal, 1 if equal
469 */
470 SWIGRUNTIME int
471 SWIG_TypeEquiv(const char *nb, const char *tb) {
472   int equiv = 0;
473   const char* te = tb + strlen(tb);
474   const char* ne = nb;
475   while (!equiv && *ne) {
476     for (nb = ne; *ne; ++ne) {
477       if (*ne == '|') break;
478     }
479     equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
480     if (*ne) ++ne;
481   }
482   return equiv;
483 }
484
485 /*
486   Check type equivalence in a name list like <name1>|<name2>|...
487   Return 0 if equal, -1 if nb < tb, 1 if nb > tb
488 */
489 SWIGRUNTIME int
490 SWIG_TypeCompare(const char *nb, const char *tb) {
491   int equiv = 0;
492   const char* te = tb + strlen(tb);
493   const char* ne = nb;
494   while (!equiv && *ne) {
495     for (nb = ne; *ne; ++ne) {
496       if (*ne == '|') break;
497     }
498     equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
499     if (*ne) ++ne;
500   }
501   return equiv;
502 }
503
504
505 /* think of this as a c++ template<> or a scheme macro */
506 #define SWIG_TypeCheck_Template(comparison, ty)         \
507   if (ty) {                                             \
508     swig_cast_info *iter = ty->cast;                    \
509     while (iter) {                                      \
510       if (comparison) {                                 \
511         if (iter == ty->cast) return iter;              \
512         /* Move iter to the top of the linked list */   \
513         iter->prev->next = iter->next;                  \
514         if (iter->next)                                 \
515           iter->next->prev = iter->prev;                \
516         iter->next = ty->cast;                          \
517         iter->prev = 0;                                 \
518         if (ty->cast) ty->cast->prev = iter;            \
519         ty->cast = iter;                                \
520         return iter;                                    \
521       }                                                 \
522       iter = iter->next;                                \
523     }                                                   \
524   }                                                     \
525   return 0
526
527 /*
528   Check the typename
529 */
530 SWIGRUNTIME swig_cast_info *
531 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
532   SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
533 }
534
535 /* Same as previous function, except strcmp is replaced with a pointer comparison */
536 SWIGRUNTIME swig_cast_info *
537 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
538   SWIG_TypeCheck_Template(iter->type == from, into);
539 }
540
541 /*
542   Cast a pointer up an inheritance hierarchy
543 */
544 SWIGRUNTIMEINLINE void *
545 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
546   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
547 }
548
549 /* 
550    Dynamic pointer casting. Down an inheritance hierarchy
551 */
552 SWIGRUNTIME swig_type_info *
553 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
554   swig_type_info *lastty = ty;
555   if (!ty || !ty->dcast) return ty;
556   while (ty && (ty->dcast)) {
557     ty = (*ty->dcast)(ptr);
558     if (ty) lastty = ty;
559   }
560   return lastty;
561 }
562
563 /*
564   Return the name associated with this type
565 */
566 SWIGRUNTIMEINLINE const char *
567 SWIG_TypeName(const swig_type_info *ty) {
568   return ty->name;
569 }
570
571 /*
572   Return the pretty name associated with this type,
573   that is an unmangled type name in a form presentable to the user.
574 */
575 SWIGRUNTIME const char *
576 SWIG_TypePrettyName(const swig_type_info *type) {
577   /* The "str" field contains the equivalent pretty names of the
578      type, separated by vertical-bar characters.  We choose
579      to print the last name, as it is often (?) the most
580      specific. */
581   if (!type) return NULL;
582   if (type->str != NULL) {
583     const char *last_name = type->str;
584     const char *s;
585     for (s = type->str; *s; s++)
586       if (*s == '|') last_name = s+1;
587     return last_name;
588   }
589   else
590     return type->name;
591 }
592
593 /* 
594    Set the clientdata field for a type
595 */
596 SWIGRUNTIME void
597 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
598   swig_cast_info *cast = ti->cast;
599   /* if (ti->clientdata == clientdata) return; */
600   ti->clientdata = clientdata;
601   
602   while (cast) {
603     if (!cast->converter) {
604       swig_type_info *tc = cast->type;
605       if (!tc->clientdata) {
606         SWIG_TypeClientData(tc, clientdata);
607       }
608     }    
609     cast = cast->next;
610   }
611 }
612 SWIGRUNTIME void
613 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
614   SWIG_TypeClientData(ti, clientdata);
615   ti->owndata = 1;
616 }
617   
618 /*
619   Search for a swig_type_info structure only by mangled name
620   Search is a O(log #types)
621   
622   We start searching at module start, and finish searching when start == end.  
623   Note: if start == end at the beginning of the function, we go all the way around
624   the circular list.
625 */
626 SWIGRUNTIME swig_type_info *
627 SWIG_MangledTypeQueryModule(swig_module_info *start, 
628                             swig_module_info *end, 
629                             const char *name) {
630   swig_module_info *iter = start;
631   do {
632     if (iter->size) {
633       register size_t l = 0;
634       register size_t r = iter->size - 1;
635       do {
636         /* since l+r >= 0, we can (>> 1) instead (/ 2) */
637         register size_t i = (l + r) >> 1; 
638         const char *iname = iter->types[i]->name;
639         if (iname) {
640           register int compare = strcmp(name, iname);
641           if (compare == 0) {       
642             return iter->types[i];
643           } else if (compare < 0) {
644             if (i) {
645               r = i - 1;
646             } else {
647               break;
648             }
649           } else if (compare > 0) {
650             l = i + 1;
651           }
652         } else {
653           break; /* should never happen */
654         }
655       } while (l <= r);
656     }
657     iter = iter->next;
658   } while (iter != end);
659   return 0;
660 }
661
662 /*
663   Search for a swig_type_info structure for either a mangled name or a human readable name.
664   It first searches the mangled names of the types, which is a O(log #types)
665   If a type is not found it then searches the human readable names, which is O(#types).
666   
667   We start searching at module start, and finish searching when start == end.  
668   Note: if start == end at the beginning of the function, we go all the way around
669   the circular list.
670 */
671 SWIGRUNTIME swig_type_info *
672 SWIG_TypeQueryModule(swig_module_info *start, 
673                      swig_module_info *end, 
674                      const char *name) {
675   /* STEP 1: Search the name field using binary search */
676   swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
677   if (ret) {
678     return ret;
679   } else {
680     /* STEP 2: If the type hasn't been found, do a complete search
681        of the str field (the human readable name) */
682     swig_module_info *iter = start;
683     do {
684       register size_t i = 0;
685       for (; i < iter->size; ++i) {
686         if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
687           return iter->types[i];
688       }
689       iter = iter->next;
690     } while (iter != end);
691   }
692   
693   /* neither found a match */
694   return 0;
695 }
696
697 /* 
698    Pack binary data into a string
699 */
700 SWIGRUNTIME char *
701 SWIG_PackData(char *c, void *ptr, size_t sz) {
702   static const char hex[17] = "0123456789abcdef";
703   register const unsigned char *u = (unsigned char *) ptr;
704   register const unsigned char *eu =  u + sz;
705   for (; u != eu; ++u) {
706     register unsigned char uu = *u;
707     *(c++) = hex[(uu & 0xf0) >> 4];
708     *(c++) = hex[uu & 0xf];
709   }
710   return c;
711 }
712
713 /* 
714    Unpack binary data from a string
715 */
716 SWIGRUNTIME const char *
717 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
718   register unsigned char *u = (unsigned char *) ptr;
719   register const unsigned char *eu = u + sz;
720   for (; u != eu; ++u) {
721     register char d = *(c++);
722     register unsigned char uu;
723     if ((d >= '0') && (d <= '9'))
724       uu = ((d - '0') << 4);
725     else if ((d >= 'a') && (d <= 'f'))
726       uu = ((d - ('a'-10)) << 4);
727     else 
728       return (char *) 0;
729     d = *(c++);
730     if ((d >= '0') && (d <= '9'))
731       uu |= (d - '0');
732     else if ((d >= 'a') && (d <= 'f'))
733       uu |= (d - ('a'-10));
734     else 
735       return (char *) 0;
736     *u = uu;
737   }
738   return c;
739 }
740
741 /* 
742    Pack 'void *' into a string buffer.
743 */
744 SWIGRUNTIME char *
745 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
746   char *r = buff;
747   if ((2*sizeof(void *) + 2) > bsz) return 0;
748   *(r++) = '_';
749   r = SWIG_PackData(r,&ptr,sizeof(void *));
750   if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
751   strcpy(r,name);
752   return buff;
753 }
754
755 SWIGRUNTIME const char *
756 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
757   if (*c != '_') {
758     if (strcmp(c,"NULL") == 0) {
759       *ptr = (void *) 0;
760       return name;
761     } else {
762       return 0;
763     }
764   }
765   return SWIG_UnpackData(++c,ptr,sizeof(void *));
766 }
767
768 SWIGRUNTIME char *
769 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
770   char *r = buff;
771   size_t lname = (name ? strlen(name) : 0);
772   if ((2*sz + 2 + lname) > bsz) return 0;
773   *(r++) = '_';
774   r = SWIG_PackData(r,ptr,sz);
775   if (lname) {
776     strncpy(r,name,lname+1);
777   } else {
778     *r = 0;
779   }
780   return buff;
781 }
782
783 SWIGRUNTIME const char *
784 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
785   if (*c != '_') {
786     if (strcmp(c,"NULL") == 0) {
787       memset(ptr,0,sz);
788       return name;
789     } else {
790       return 0;
791     }
792   }
793   return SWIG_UnpackData(++c,ptr,sz);
794 }
795
796 #ifdef __cplusplus
797 }
798 #endif
799
800 /*  Errors in SWIG */
801 #define  SWIG_UnknownError         -1 
802 #define  SWIG_IOError              -2 
803 #define  SWIG_RuntimeError         -3 
804 #define  SWIG_IndexError           -4 
805 #define  SWIG_TypeError            -5 
806 #define  SWIG_DivisionByZero       -6 
807 #define  SWIG_OverflowError        -7 
808 #define  SWIG_SyntaxError          -8 
809 #define  SWIG_ValueError           -9 
810 #define  SWIG_SystemError          -10
811 #define  SWIG_AttributeError       -11
812 #define  SWIG_MemoryError          -12 
813 #define  SWIG_NullReferenceError   -13
814
815
816
817 #include <ruby.h>
818
819 /* Remove global macros defined in Ruby's win32.h */
820 #ifdef write
821 # undef write
822 #endif
823 #ifdef read
824 # undef read
825 #endif
826
827
828 /* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
829 #ifndef NUM2LL
830 #define NUM2LL(x) NUM2LONG((x))
831 #endif
832 #ifndef LL2NUM
833 #define LL2NUM(x) INT2NUM((long) (x))
834 #endif
835 #ifndef ULL2NUM
836 #define ULL2NUM(x) UINT2NUM((unsigned long) (x))
837 #endif
838
839 /* Ruby 1.7 doesn't (yet) define NUM2ULL() */
840 #ifndef NUM2ULL
841 #ifdef HAVE_LONG_LONG
842 #define NUM2ULL(x) rb_num2ull((x))
843 #else
844 #define NUM2ULL(x) NUM2ULONG(x)
845 #endif
846 #endif
847
848 /* RSTRING_LEN, etc are new in Ruby 1.9, but ->ptr and ->len no longer work */
849 /* Define these for older versions so we can just write code the new way */
850 #ifndef RSTRING_LEN
851 # define RSTRING_LEN(x) RSTRING(x)->len
852 #endif
853 #ifndef RSTRING_PTR
854 # define RSTRING_PTR(x) RSTRING(x)->ptr
855 #endif
856 #ifndef RSTRING_END
857 # define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x))
858 #endif
859 #ifndef RARRAY_LEN
860 # define RARRAY_LEN(x) RARRAY(x)->len
861 #endif
862 #ifndef RARRAY_PTR
863 # define RARRAY_PTR(x) RARRAY(x)->ptr
864 #endif
865 #ifndef RFLOAT_VALUE
866 # define RFLOAT_VALUE(x) RFLOAT(x)->value
867 #endif
868 #ifndef DOUBLE2NUM
869 # define DOUBLE2NUM(x) rb_float_new(x)
870 #endif
871 #ifndef RHASH_TBL
872 # define RHASH_TBL(x) (RHASH(x)->tbl)
873 #endif
874 #ifndef RHASH_ITER_LEV
875 # define RHASH_ITER_LEV(x) (RHASH(x)->iter_lev)
876 #endif
877 #ifndef RHASH_IFNONE
878 # define RHASH_IFNONE(x) (RHASH(x)->ifnone)
879 #endif
880 #ifndef RHASH_SIZE
881 # define RHASH_SIZE(x) (RHASH(x)->tbl->num_entries)
882 #endif
883 #ifndef RHASH_EMPTY_P
884 # define RHASH_EMPTY_P(x) (RHASH_SIZE(x) == 0)
885 #endif
886 #ifndef RSTRUCT_LEN
887 # define RSTRUCT_LEN(x) RSTRUCT(x)->len
888 #endif
889 #ifndef RSTRUCT_PTR
890 # define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
891 #endif
892
893
894
895 /*
896  * Need to be very careful about how these macros are defined, especially
897  * when compiling C++ code or C code with an ANSI C compiler.
898  *
899  * VALUEFUNC(f) is a macro used to typecast a C function that implements
900  * a Ruby method so that it can be passed as an argument to API functions
901  * like rb_define_method() and rb_define_singleton_method().
902  *
903  * VOIDFUNC(f) is a macro used to typecast a C function that implements
904  * either the "mark" or "free" stuff for a Ruby Data object, so that it
905  * can be passed as an argument to API functions like Data_Wrap_Struct()
906  * and Data_Make_Struct().
907  */
908  
909 #ifdef __cplusplus
910 #  ifndef RUBY_METHOD_FUNC /* These definitions should work for Ruby 1.4.6 */
911 #    define PROTECTFUNC(f) ((VALUE (*)()) f)
912 #    define VALUEFUNC(f) ((VALUE (*)()) f)
913 #    define VOIDFUNC(f)  ((void (*)()) f)
914 #  else
915 #    ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
916 #      define PROTECTFUNC(f) ((VALUE (*)()) f)
917 #      define VALUEFUNC(f) ((VALUE (*)()) f)
918 #      define VOIDFUNC(f)  ((RUBY_DATA_FUNC) f)
919 #    else /* These definitions should work for Ruby 1.7+ */
920 #      define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
921 #      define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
922 #      define VOIDFUNC(f)  ((RUBY_DATA_FUNC) f)
923 #    endif
924 #  endif
925 #else
926 #  define VALUEFUNC(f) (f)
927 #  define VOIDFUNC(f) (f)
928 #endif
929
930 /* Don't use for expressions have side effect */
931 #ifndef RB_STRING_VALUE
932 #define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s)))
933 #endif
934 #ifndef StringValue
935 #define StringValue(s) RB_STRING_VALUE(s)
936 #endif
937 #ifndef StringValuePtr
938 #define StringValuePtr(s) RSTRING_PTR(RB_STRING_VALUE(s))
939 #endif
940 #ifndef StringValueLen
941 #define StringValueLen(s) RSTRING_LEN(RB_STRING_VALUE(s))
942 #endif
943 #ifndef SafeStringValue
944 #define SafeStringValue(v) do {\
945     StringValue(v);\
946     rb_check_safe_str(v);\
947 } while (0)
948 #endif
949
950 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
951 #define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1)
952 #define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
953 #endif
954
955 static VALUE _mSWIG = Qnil;
956
957 /* -----------------------------------------------------------------------------
958  * error manipulation
959  * ----------------------------------------------------------------------------- */
960
961
962 /* Define some additional error types */
963 #define SWIG_ObjectPreviouslyDeletedError  -100
964
965
966 /* Define custom exceptions for errors that do not map to existing Ruby
967    exceptions.  Note this only works for C++ since a global cannot be
968    initialized by a funtion in C.  For C, fallback to rb_eRuntimeError.*/
969
970 SWIGINTERN VALUE 
971 getNullReferenceError(void) {
972   static int init = 0;
973   static VALUE rb_eNullReferenceError ;
974   if (!init) {
975     init = 1;
976     rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
977   }
978   return rb_eNullReferenceError;
979
980
981 SWIGINTERN VALUE 
982 getObjectPreviouslyDeletedError(void) {
983   static int init = 0;
984   static VALUE rb_eObjectPreviouslyDeleted ;
985   if (!init) {
986     init = 1;
987     rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
988   }
989   return rb_eObjectPreviouslyDeleted;
990
991
992
993 SWIGINTERN VALUE
994 SWIG_Ruby_ErrorType(int SWIG_code) {
995   VALUE type;
996   switch (SWIG_code) {
997   case SWIG_MemoryError:
998     type = rb_eNoMemError;
999     break;
1000   case SWIG_IOError:
1001     type = rb_eIOError;
1002     break;
1003   case SWIG_RuntimeError:
1004     type = rb_eRuntimeError;
1005     break;
1006   case SWIG_IndexError:
1007     type = rb_eIndexError;
1008     break;
1009   case SWIG_TypeError:
1010     type = rb_eTypeError;
1011     break;
1012   case SWIG_DivisionByZero:
1013     type = rb_eZeroDivError;
1014     break;
1015   case SWIG_OverflowError:
1016     type = rb_eRangeError;
1017     break;
1018   case SWIG_SyntaxError:
1019     type = rb_eSyntaxError;
1020     break;
1021   case SWIG_ValueError:
1022     type = rb_eArgError;
1023     break;
1024   case SWIG_SystemError:
1025     type = rb_eFatal;
1026     break;
1027   case SWIG_AttributeError:
1028     type = rb_eRuntimeError;
1029     break;
1030   case SWIG_NullReferenceError:
1031     type = getNullReferenceError();
1032     break;
1033   case SWIG_ObjectPreviouslyDeletedError:
1034     type = getObjectPreviouslyDeletedError();
1035     break;
1036   case SWIG_UnknownError:
1037     type = rb_eRuntimeError;
1038     break;
1039   default:
1040     type = rb_eRuntimeError;
1041   }
1042   return type;
1043 }
1044
1045
1046 /* This function is called when a user inputs a wrong argument to
1047    a method.
1048  */
1049 SWIGINTERN 
1050 const char* Ruby_Format_TypeError( const char* msg,
1051                                    const char* type, 
1052                                    const char* name, 
1053                                    const int argn,
1054                                    VALUE input )
1055 {
1056   char buf[128];
1057   VALUE str;
1058   VALUE asStr;
1059   if ( msg && *msg )
1060     {
1061       str = rb_str_new2(msg);
1062     }
1063   else
1064     {
1065       str = rb_str_new(NULL, 0);
1066     }
1067
1068   str = rb_str_cat2( str, "Expected argument " );
1069   sprintf( buf, "%d of type ", argn-1 );
1070   str = rb_str_cat2( str, buf );
1071   str = rb_str_cat2( str, type );
1072   str = rb_str_cat2( str, ", but got " );
1073   str = rb_str_cat2( str, rb_obj_classname(input) );
1074   str = rb_str_cat2( str, " " );
1075   asStr = rb_inspect(input);
1076   if ( RSTRING_LEN(asStr) > 30 )
1077     {
1078       str = rb_str_cat( str, StringValuePtr(asStr), 30 );
1079       str = rb_str_cat2( str, "..." );
1080     }
1081   else
1082     {
1083       str = rb_str_append( str, asStr );
1084     }
1085
1086   if ( name )
1087     {
1088       str = rb_str_cat2( str, "\n\tin SWIG method '" );
1089       str = rb_str_cat2( str, name );
1090       str = rb_str_cat2( str, "'" );
1091     }
1092
1093   return StringValuePtr( str );
1094 }
1095
1096 /* This function is called when an overloaded method fails */
1097 SWIGINTERN 
1098 void Ruby_Format_OverloadedError(
1099                                  const int argc,
1100                                  const int maxargs,
1101                                  const char* method, 
1102                                  const char* prototypes 
1103                                  )
1104 {
1105   const char* msg = "Wrong # of arguments";
1106   if ( argc <= maxargs ) msg = "Wrong arguments";
1107   rb_raise(rb_eArgError,"%s for overloaded method '%s'.\n"  
1108            "Possible C/C++ prototypes are:\n%s",
1109            msg, method, prototypes);
1110 }
1111
1112 /* -----------------------------------------------------------------------------
1113  * See the LICENSE file for information on copyright, usage and redistribution
1114  * of SWIG, and the README file for authors - http://www.swig.org/release.html.
1115  *
1116  * rubytracking.swg
1117  *
1118  * This file contains support for tracking mappings from 
1119  * Ruby objects to C++ objects.  This functionality is needed
1120  * to implement mark functions for Ruby's mark and sweep
1121  * garbage collector.
1122  * ----------------------------------------------------------------------------- */
1123
1124 #ifdef __cplusplus
1125 extern "C" {
1126 #endif
1127
1128 /* Ruby 1.8 actually assumes the first case. */
1129 #if SIZEOF_VOIDP == SIZEOF_LONG
1130 #  define SWIG2NUM(v) LONG2NUM((unsigned long)v)
1131 #  define NUM2SWIG(x) (unsigned long)NUM2LONG(x)
1132 #elif SIZEOF_VOIDP == SIZEOF_LONG_LONG
1133 #  define SWIG2NUM(v) LL2NUM((unsigned long long)v)
1134 #  define NUM2SWIG(x) (unsigned long long)NUM2LL(x)
1135 #else
1136 #  error sizeof(void*) is not the same as long or long long
1137 #endif
1138
1139
1140 /* Global Ruby hash table to store Trackings from C/C++
1141    structs to Ruby Objects. 
1142 */
1143 static VALUE swig_ruby_trackings = Qnil;
1144
1145 /* Global variable that stores a reference to the ruby
1146    hash table delete function. */
1147 static ID swig_ruby_hash_delete;
1148
1149 /* Setup a Ruby hash table to store Trackings */
1150 SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
1151   /* Create a ruby hash table to store Trackings from C++ 
1152      objects to Ruby objects. */
1153
1154   /* Try to see if some other .so has already created a 
1155      tracking hash table, which we keep hidden in an instance var
1156      in the SWIG module.
1157      This is done to allow multiple DSOs to share the same
1158      tracking table.
1159   */
1160   ID trackings_id = rb_intern( "@__trackings__" );
1161   VALUE verbose = rb_gv_get("VERBOSE");
1162   rb_gv_set("VERBOSE", Qfalse);
1163   swig_ruby_trackings = rb_ivar_get( _mSWIG, trackings_id );
1164   rb_gv_set("VERBOSE", verbose);
1165
1166   /* No, it hasn't.  Create one ourselves */ 
1167   if ( swig_ruby_trackings == Qnil )
1168     {
1169       swig_ruby_trackings = rb_hash_new();
1170       rb_ivar_set( _mSWIG, trackings_id, swig_ruby_trackings );
1171     }
1172
1173   /* Now store a reference to the hash table delete function
1174      so that we only have to look it up once.*/
1175   swig_ruby_hash_delete = rb_intern("delete");
1176 }
1177
1178 /* Get a Ruby number to reference a pointer */
1179 SWIGRUNTIME VALUE SWIG_RubyPtrToReference(void* ptr) {
1180   /* We cast the pointer to an unsigned long
1181      and then store a reference to it using
1182      a Ruby number object. */
1183
1184   /* Convert the pointer to a Ruby number */
1185   return SWIG2NUM(ptr);
1186 }
1187
1188 /* Get a Ruby number to reference an object */
1189 SWIGRUNTIME VALUE SWIG_RubyObjectToReference(VALUE object) {
1190   /* We cast the object to an unsigned long
1191      and then store a reference to it using
1192      a Ruby number object. */
1193
1194   /* Convert the Object to a Ruby number */
1195   return SWIG2NUM(object);
1196 }
1197
1198 /* Get a Ruby object from a previously stored reference */
1199 SWIGRUNTIME VALUE SWIG_RubyReferenceToObject(VALUE reference) {
1200   /* The provided Ruby number object is a reference
1201      to the Ruby object we want.*/
1202
1203   /* Convert the Ruby number to a Ruby object */
1204   return NUM2SWIG(reference);
1205 }
1206
1207 /* Add a Tracking from a C/C++ struct to a Ruby object */
1208 SWIGRUNTIME void SWIG_RubyAddTracking(void* ptr, VALUE object) {
1209   /* In a Ruby hash table we store the pointer and
1210      the associated Ruby object.  The trick here is
1211      that we cannot store the Ruby object directly - if
1212      we do then it cannot be garbage collected.  So
1213      instead we typecast it as a unsigned long and
1214      convert it to a Ruby number object.*/
1215
1216   /* Get a reference to the pointer as a Ruby number */
1217   VALUE key = SWIG_RubyPtrToReference(ptr);
1218
1219   /* Get a reference to the Ruby object as a Ruby number */
1220   VALUE value = SWIG_RubyObjectToReference(object);
1221
1222   /* Store the mapping to the global hash table. */
1223   rb_hash_aset(swig_ruby_trackings, key, value);
1224 }
1225
1226 /* Get the Ruby object that owns the specified C/C++ struct */
1227 SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) {
1228   /* Get a reference to the pointer as a Ruby number */
1229   VALUE key = SWIG_RubyPtrToReference(ptr);
1230
1231   /* Now lookup the value stored in the global hash table */
1232   VALUE value = rb_hash_aref(swig_ruby_trackings, key);
1233         
1234   if (value == Qnil) {
1235     /* No object exists - return nil. */
1236     return Qnil;
1237   }
1238   else {
1239     /* Convert this value to Ruby object */
1240     return SWIG_RubyReferenceToObject(value);
1241   }
1242 }
1243
1244 /* Remove a Tracking from a C/C++ struct to a Ruby object.  It
1245    is very important to remove objects once they are destroyed
1246    since the same memory address may be reused later to create
1247    a new object. */
1248 SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
1249   /* Get a reference to the pointer as a Ruby number */
1250   VALUE key = SWIG_RubyPtrToReference(ptr);
1251
1252   /* Delete the object from the hash table by calling Ruby's
1253      do this we need to call the Hash.delete method.*/
1254   rb_funcall(swig_ruby_trackings, swig_ruby_hash_delete, 1, key);
1255 }
1256
1257 /* This is a helper method that unlinks a Ruby object from its
1258    underlying C++ object.  This is needed if the lifetime of the
1259    Ruby object is longer than the C++ object */
1260 SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
1261   VALUE object = SWIG_RubyInstanceFor(ptr);
1262
1263   if (object != Qnil) {
1264     DATA_PTR(object) = 0;
1265   }
1266 }
1267
1268
1269 #ifdef __cplusplus
1270 }
1271 #endif
1272
1273 /* -----------------------------------------------------------------------------
1274  * Ruby API portion that goes into the runtime
1275  * ----------------------------------------------------------------------------- */
1276
1277 #ifdef __cplusplus
1278 extern "C" {
1279 #endif
1280
1281 SWIGINTERN VALUE
1282 SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1283   if (NIL_P(target)) {
1284     target = o;
1285   } else {
1286     if (TYPE(target) != T_ARRAY) {
1287       VALUE o2 = target;
1288       target = rb_ary_new();
1289       rb_ary_push(target, o2);
1290     }
1291     rb_ary_push(target, o);
1292   }
1293   return target;
1294 }
1295
1296 /* For ruby1.8.4 and earlier. */
1297 #ifndef RUBY_INIT_STACK
1298    RUBY_EXTERN void Init_stack(VALUE* addr);
1299 #  define RUBY_INIT_STACK \
1300    VALUE variable_in_this_stack_frame; \
1301    Init_stack(&variable_in_this_stack_frame);
1302 #endif
1303
1304
1305 #ifdef __cplusplus
1306 }
1307 #endif
1308
1309
1310 /* -----------------------------------------------------------------------------
1311  * See the LICENSE file for information on copyright, usage and redistribution
1312  * of SWIG, and the README file for authors - http://www.swig.org/release.html.
1313  *
1314  * rubyrun.swg
1315  *
1316  * This file contains the runtime support for Ruby modules
1317  * and includes code for managing global variables and pointer
1318  * type checking.
1319  * ----------------------------------------------------------------------------- */
1320
1321 /* For backward compatibility only */
1322 #define SWIG_POINTER_EXCEPTION  0
1323
1324 /* for raw pointers */
1325 #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1326 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1327 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Ruby_NewPointerObj(ptr, type, flags)
1328 #define SWIG_AcquirePtr(ptr, own)                       SWIG_Ruby_AcquirePtr(ptr, own)
1329 #define swig_owntype                                    ruby_owntype
1330
1331 /* for raw packed data */
1332 #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
1333 #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Ruby_NewPackedObj(ptr, sz, type)
1334
1335 /* for class or struct pointers */
1336 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
1337 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)
1338
1339 /* for C or C++ function pointers */
1340 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_ConvertPtr(obj, pptr, type, 0)
1341 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_NewPointerObj(ptr, type, 0)
1342
1343 /* for C++ member pointers, ie, member methods */
1344 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty)
1345 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Ruby_NewPackedObj(ptr, sz, type)
1346
1347
1348 /* Runtime API */
1349
1350 #define SWIG_GetModule(clientdata)                      SWIG_Ruby_GetModule()   
1351 #define SWIG_SetModule(clientdata, pointer)             SWIG_Ruby_SetModule(pointer)
1352
1353
1354 /* Error manipulation */
1355
1356 #define SWIG_ErrorType(code)                            SWIG_Ruby_ErrorType(code)               
1357 #define SWIG_Error(code, msg)                           rb_raise(SWIG_Ruby_ErrorType(code), msg)
1358 #define SWIG_fail                                       goto fail                                
1359
1360
1361 /* Ruby-specific SWIG API */
1362
1363 #define SWIG_InitRuntime()                              SWIG_Ruby_InitRuntime()              
1364 #define SWIG_define_class(ty)                           SWIG_Ruby_define_class(ty)
1365 #define SWIG_NewClassInstance(value, ty)                SWIG_Ruby_NewClassInstance(value, ty)
1366 #define SWIG_MangleStr(value)                           SWIG_Ruby_MangleStr(value)                
1367 #define SWIG_CheckConvert(value, ty)                    SWIG_Ruby_CheckConvert(value, ty)         
1368
1369 #include "assert.h"
1370
1371 /* -----------------------------------------------------------------------------
1372  * pointers/data manipulation
1373  * ----------------------------------------------------------------------------- */
1374
1375 #ifdef __cplusplus
1376 extern "C" {
1377 #endif
1378
1379 typedef struct {
1380   VALUE klass;
1381   VALUE mImpl;
1382   void  (*mark)(void *);
1383   void  (*destroy)(void *);
1384   int trackObjects;
1385 } swig_class;
1386
1387
1388 /* Global pointer used to keep some internal SWIG stuff */
1389 static VALUE _cSWIG_Pointer = Qnil;
1390 static VALUE swig_runtime_data_type_pointer = Qnil;
1391
1392 /* Global IDs used to keep some internal SWIG stuff */
1393 static ID swig_arity_id = 0;
1394 static ID swig_call_id  = 0;
1395
1396 /*
1397   If your swig extension is to be run within an embedded ruby and has
1398   director callbacks, you should set -DRUBY_EMBEDDED during compilation.  
1399   This will reset ruby's stack frame on each entry point from the main 
1400   program the first time a virtual director function is invoked (in a 
1401   non-recursive way).
1402   If this is not done, you run the risk of Ruby trashing the stack.
1403 */
1404
1405 #ifdef RUBY_EMBEDDED
1406
1407 #  define SWIG_INIT_STACK                            \
1408       if ( !swig_virtual_calls ) { RUBY_INIT_STACK } \
1409       ++swig_virtual_calls;
1410 #  define SWIG_RELEASE_STACK --swig_virtual_calls;
1411 #  define Ruby_DirectorTypeMismatchException(x) \
1412           rb_raise( rb_eTypeError, x ); return c_result;
1413
1414       static unsigned int swig_virtual_calls = 0;
1415
1416 #else  /* normal non-embedded extension */
1417
1418 #  define SWIG_INIT_STACK
1419 #  define SWIG_RELEASE_STACK
1420 #  define Ruby_DirectorTypeMismatchException(x) \
1421           throw Swig::DirectorTypeMismatchException( x );
1422
1423 #endif  /* RUBY_EMBEDDED */
1424
1425
1426 SWIGRUNTIME VALUE 
1427 getExceptionClass(void) {
1428   static int init = 0;
1429   static VALUE rubyExceptionClass ;
1430   if (!init) {
1431     init = 1;
1432     rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception"));
1433   }
1434   return rubyExceptionClass;
1435
1436
1437 /* This code checks to see if the Ruby object being raised as part
1438    of an exception inherits from the Ruby class Exception.  If so,
1439    the object is simply returned.  If not, then a new Ruby exception
1440    object is created and that will be returned to Ruby.*/
1441 SWIGRUNTIME VALUE
1442 SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) {
1443   VALUE exceptionClass = getExceptionClass();
1444   if (rb_obj_is_kind_of(obj, exceptionClass)) {
1445     return obj;
1446   }  else {
1447     return rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(obj));
1448   }
1449 }
1450
1451 /* Initialize Ruby runtime support */
1452 SWIGRUNTIME void
1453 SWIG_Ruby_InitRuntime(void)
1454 {
1455   if (_mSWIG == Qnil) {
1456     _mSWIG = rb_define_module("SWIG");
1457     swig_call_id  = rb_intern("call");
1458     swig_arity_id = rb_intern("arity");
1459   }
1460 }
1461
1462 /* Define Ruby class for C type */
1463 SWIGRUNTIME void
1464 SWIG_Ruby_define_class(swig_type_info *type)
1465 {
1466   VALUE klass;
1467   char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
1468   sprintf(klass_name, "TYPE%s", type->name);
1469   if (NIL_P(_cSWIG_Pointer)) {
1470     _cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
1471     rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
1472   }
1473   klass = rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
1474   free((void *) klass_name);
1475 }
1476
1477 /* Create a new pointer object */
1478 SWIGRUNTIME VALUE
1479 SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1480 {
1481   int own =  flags & SWIG_POINTER_OWN; 
1482   int track;
1483   char *klass_name;
1484   swig_class *sklass;
1485   VALUE klass;
1486   VALUE obj;
1487   
1488   if (!ptr)
1489     return Qnil;
1490   
1491   if (type->clientdata) {
1492     sklass = (swig_class *) type->clientdata;
1493                 
1494     /* Are we tracking this class and have we already returned this Ruby object? */
1495     track = sklass->trackObjects;
1496     if (track) {
1497       obj = SWIG_RubyInstanceFor(ptr);
1498       
1499       /* Check the object's type and make sure it has the correct type.
1500         It might not in cases where methods do things like 
1501         downcast methods. */
1502       if (obj != Qnil) {
1503         VALUE value = rb_iv_get(obj, "@__swigtype__");
1504         char* type_name = RSTRING_PTR(value);
1505                                 
1506         if (strcmp(type->name, type_name) == 0) {
1507           return obj;
1508         }
1509       }
1510     }
1511
1512     /* Create a new Ruby object */
1513     obj = Data_Wrap_Struct(sklass->klass, VOIDFUNC(sklass->mark), 
1514                            ( own ? VOIDFUNC(sklass->destroy) : 
1515                              (track ? VOIDFUNC(SWIG_RubyRemoveTracking) : 0 )
1516                              ), ptr);
1517
1518     /* If tracking is on for this class then track this object. */
1519     if (track) {
1520       SWIG_RubyAddTracking(ptr, obj);
1521     }
1522   } else {
1523     klass_name = (char *) malloc(4 + strlen(type->name) + 1);
1524     sprintf(klass_name, "TYPE%s", type->name);
1525     klass = rb_const_get(_mSWIG, rb_intern(klass_name));
1526     free((void *) klass_name);
1527     obj = Data_Wrap_Struct(klass, 0, 0, ptr);
1528   }
1529   rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1530   
1531   return obj;
1532 }
1533
1534 /* Create a new class instance (always owned) */
1535 SWIGRUNTIME VALUE
1536 SWIG_Ruby_NewClassInstance(VALUE klass, swig_type_info *type)
1537 {
1538   VALUE obj;
1539   swig_class *sklass = (swig_class *) type->clientdata;
1540   obj = Data_Wrap_Struct(klass, VOIDFUNC(sklass->mark), VOIDFUNC(sklass->destroy), 0);
1541   rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1542   return obj;
1543 }
1544
1545 /* Get type mangle from class name */
1546 SWIGRUNTIMEINLINE char *
1547 SWIG_Ruby_MangleStr(VALUE obj)
1548 {
1549   VALUE stype = rb_iv_get(obj, "@__swigtype__");
1550   return StringValuePtr(stype);
1551 }
1552
1553 /* Acquire a pointer value */
1554 typedef void (*ruby_owntype)(void*);
1555
1556 SWIGRUNTIME ruby_owntype
1557 SWIG_Ruby_AcquirePtr(VALUE obj, ruby_owntype own) {
1558   if (obj) {
1559     ruby_owntype oldown = RDATA(obj)->dfree;
1560     RDATA(obj)->dfree = own;
1561     return oldown;
1562   } else {
1563     return 0;
1564   }
1565 }
1566
1567 /* Convert a pointer value */
1568 SWIGRUNTIME int
1569 SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, ruby_owntype *own)
1570 {
1571   char *c;
1572   swig_cast_info *tc;
1573   void *vptr = 0;
1574
1575   /* Grab the pointer */
1576   if (NIL_P(obj)) {
1577     *ptr = 0;
1578     return SWIG_OK;
1579   } else {
1580     if (TYPE(obj) != T_DATA) {
1581       return SWIG_ERROR;
1582     }
1583     Data_Get_Struct(obj, void, vptr);
1584   }
1585   
1586   if (own) *own = RDATA(obj)->dfree;
1587     
1588   /* Check to see if the input object is giving up ownership
1589      of the underlying C struct or C++ object.  If so then we
1590      need to reset the destructor since the Ruby object no 
1591      longer owns the underlying C++ object.*/ 
1592   if (flags & SWIG_POINTER_DISOWN) {
1593     /* Is tracking on for this class? */
1594     int track = 0;
1595     if (ty && ty->clientdata) {
1596       swig_class *sklass = (swig_class *) ty->clientdata;
1597       track = sklass->trackObjects;
1598     }
1599                 
1600     if (track) {
1601       /* We are tracking objects for this class.  Thus we change the destructor
1602        * to SWIG_RubyRemoveTracking.  This allows us to
1603        * remove the mapping from the C++ to Ruby object
1604        * when the Ruby object is garbage collected.  If we don't
1605        * do this, then it is possible we will return a reference 
1606        * to a Ruby object that no longer exists thereby crashing Ruby. */
1607       RDATA(obj)->dfree = SWIG_RubyRemoveTracking;
1608     } else {    
1609       RDATA(obj)->dfree = 0;
1610     }
1611   }
1612
1613   /* Do type-checking if type info was provided */
1614   if (ty) {
1615     if (ty->clientdata) {
1616       if (rb_obj_is_kind_of(obj, ((swig_class *) (ty->clientdata))->klass)) {
1617         if (vptr == 0) {
1618           /* The object has already been deleted */
1619           return SWIG_ObjectPreviouslyDeletedError;
1620         }
1621         *ptr = vptr;
1622         return SWIG_OK;
1623       }
1624     }
1625     if ((c = SWIG_MangleStr(obj)) == NULL) {
1626       return SWIG_ERROR;
1627     }
1628     tc = SWIG_TypeCheck(c, ty);
1629     if (!tc) {
1630       return SWIG_ERROR;
1631     } else {
1632       int newmemory = 0;
1633       *ptr = SWIG_TypeCast(tc, vptr, &newmemory);
1634       assert(!newmemory); /* newmemory handling not yet implemented */
1635     }
1636   } else {
1637     *ptr = vptr;
1638   }
1639   
1640   return SWIG_OK;
1641 }
1642
1643 /* Check convert */
1644 SWIGRUNTIMEINLINE int
1645 SWIG_Ruby_CheckConvert(VALUE obj, swig_type_info *ty)
1646 {
1647   char *c = SWIG_MangleStr(obj);
1648   if (!c) return 0;
1649   return SWIG_TypeCheck(c,ty) != 0;
1650 }
1651
1652 SWIGRUNTIME VALUE
1653 SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
1654   char result[1024];
1655   char *r = result;
1656   if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
1657   *(r++) = '_';
1658   r = SWIG_PackData(r, ptr, sz);
1659   strcpy(r, type->name);
1660   return rb_str_new2(result);
1661 }
1662
1663 /* Convert a packed value value */
1664 SWIGRUNTIME int
1665 SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1666   swig_cast_info *tc;
1667   const char  *c;
1668
1669   if (TYPE(obj) != T_STRING) goto type_error;
1670   c = StringValuePtr(obj);
1671   /* Pointer values must start with leading underscore */
1672   if (*c != '_') goto type_error;
1673   c++;
1674   c = SWIG_UnpackData(c, ptr, sz);
1675   if (ty) {
1676     tc = SWIG_TypeCheck(c, ty);
1677     if (!tc) goto type_error;
1678   }
1679   return SWIG_OK;
1680
1681  type_error:
1682   return SWIG_ERROR;
1683 }
1684
1685 SWIGRUNTIME swig_module_info *
1686 SWIG_Ruby_GetModule(void)
1687 {
1688   VALUE pointer;
1689   swig_module_info *ret = 0;
1690   VALUE verbose = rb_gv_get("VERBOSE");
1691
1692  /* temporarily disable warnings, since the pointer check causes warnings with 'ruby -w' */
1693   rb_gv_set("VERBOSE", Qfalse);
1694   
1695   /* first check if pointer already created */
1696   pointer = rb_gv_get("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1697   if (pointer != Qnil) {
1698     Data_Get_Struct(pointer, swig_module_info, ret);
1699   }
1700
1701   /* reinstate warnings */
1702   rb_gv_set("VERBOSE", verbose);
1703   return ret;
1704 }
1705
1706 SWIGRUNTIME void 
1707 SWIG_Ruby_SetModule(swig_module_info *pointer)
1708 {
1709   /* register a new class */
1710   VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1711   /* create and store the structure pointer to a global variable */
1712   swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1713   rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
1714 }
1715
1716 /* This function can be used to check whether a proc or method or similarly
1717    callable function has been passed.  Usually used in a %typecheck, like:
1718
1719    %typecheck(c_callback_t, precedence=SWIG_TYPECHECK_POINTER) {
1720         $result = SWIG_Ruby_isCallable( $input );
1721    }
1722  */
1723 SWIGINTERN
1724 int SWIG_Ruby_isCallable( VALUE proc )
1725 {
1726   if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
1727     return 1;
1728   return 0;
1729 }
1730
1731 /* This function can be used to check the arity (number of arguments)
1732    a proc or method can take.  Usually used in a %typecheck.
1733    Valid arities will be that equal to minimal or those < 0
1734    which indicate a variable number of parameters at the end.
1735  */
1736 SWIGINTERN
1737 int SWIG_Ruby_arity( VALUE proc, int minimal )
1738 {
1739   if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
1740     {
1741       VALUE num = rb_funcall( proc, swig_arity_id, 0 );
1742       int arity = NUM2INT(num);
1743       if ( arity < 0 && (arity+1) < -minimal ) return 1;
1744       if ( arity == minimal ) return 1;
1745       return 1;
1746     }
1747   return 0;
1748 }
1749
1750
1751 #ifdef __cplusplus
1752 }
1753 #endif
1754
1755
1756
1757 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 
1758
1759 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 
1760
1761
1762
1763 /* -------- TYPES TABLE (BEGIN) -------- */
1764
1765 #define SWIGTYPE_p_Coord swig_types[0]
1766 #define SWIGTYPE_p_FILE swig_types[1]
1767 #define SWIGTYPE_p_GLboolean swig_types[2]
1768 #define SWIGTYPE_p_GLdouble swig_types[3]
1769 #define SWIGTYPE_p_GLfloat swig_types[4]
1770 #define SWIGTYPE_p_GLint swig_types[5]
1771 #define SWIGTYPE_p_GLuint swig_types[6]
1772 #define SWIGTYPE_p_MRC_Status_t swig_types[7]
1773 #define SWIGTYPE_p_MRC_Status_t_status swig_types[8]
1774 #define SWIGTYPE_p_ProteinStatus swig_types[9]
1775 #define SWIGTYPE_p_Quat swig_types[10]
1776 #define SWIGTYPE_p__mrcImageHeader swig_types[11]
1777 #define SWIGTYPE_p__mrcImageHeaderCCP4 swig_types[12]
1778 #define SWIGTYPE_p__mrcImageTailer swig_types[13]
1779 #define SWIGTYPE_p_a_4__a_4__float swig_types[14]
1780 #define SWIGTYPE_p_a_4__float swig_types[15]
1781 #define SWIGTYPE_p_a__80___char swig_types[16]
1782 #define SWIGTYPE_p_cameraInfo swig_types[17]
1783 #define SWIGTYPE_p_char swig_types[18]
1784 #define SWIGTYPE_p_contourLinesSet swig_types[19]
1785 #define SWIGTYPE_p_ctfInfo swig_types[20]
1786 #define SWIGTYPE_p_displayMode swig_types[21]
1787 #define SWIGTYPE_p_double swig_types[22]
1788 #define SWIGTYPE_p_elementSwitch swig_types[23]
1789 #define SWIGTYPE_p_float swig_types[24]
1790 #define SWIGTYPE_p_floatVector swig_types[25]
1791 #define SWIGTYPE_p_int swig_types[26]
1792 #define SWIGTYPE_p_lmrcImageBandPassFilterInfo swig_types[27]
1793 #define SWIGTYPE_p_lmrcImageCTFSNInfo swig_types[28]
1794 #define SWIGTYPE_p_lmrcImageCVEInfo swig_types[29]
1795 #define SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo swig_types[30]
1796 #define SWIGTYPE_p_lmrcImageHighPassFilterInfo swig_types[31]
1797 #define SWIGTYPE_p_lmrcImageHighlightInfo swig_types[32]
1798 #define SWIGTYPE_p_lmrcImageLowPassFilterInfo swig_types[33]
1799 #define SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo swig_types[34]
1800 #define SWIGTYPE_p_lmrcImageMultiCTFCompensationSolventFlatteningMode swig_types[35]
1801 #define SWIGTYPE_p_lmrcImageSmoothingInfo swig_types[36]
1802 #define SWIGTYPE_p_lmrcImageTfunctionInfo swig_types[37]
1803 #define SWIGTYPE_p_long swig_types[38]
1804 #define SWIGTYPE_p_molvieInfo swig_types[39]
1805 #define SWIGTYPE_p_mrcImage swig_types[40]
1806 #define SWIGTYPE_p_mrcImageDataSetMode swig_types[41]
1807 #define SWIGTYPE_p_mrcImageFourierPowerSpectrum swig_types[42]
1808 #define SWIGTYPE_p_mrcImageHeader swig_types[43]
1809 #define SWIGTYPE_p_mrcImageInformation swig_types[44]
1810 #define SWIGTYPE_p_mrcImageInformationMode swig_types[45]
1811 #define SWIGTYPE_p_mrcImageParaTypeIntegerCoord swig_types[46]
1812 #define SWIGTYPE_p_mrcImageParaTypeRealCoord swig_types[47]
1813 #define SWIGTYPE_p_mrcImageTailer swig_types[48]
1814 #define SWIGTYPE_p_mrcPixelDataHowToGet swig_types[49]
1815 #define SWIGTYPE_p_mrcPixelDataType swig_types[50]
1816 #define SWIGTYPE_p_operationMode swig_types[51]
1817 #define SWIGTYPE_p_p_char swig_types[52]
1818 #define SWIGTYPE_p_p_double swig_types[53]
1819 #define SWIGTYPE_p_pdbCenter swig_types[54]
1820 #define SWIGTYPE_p_pdbCoord swig_types[55]
1821 #define SWIGTYPE_p_pdbFile swig_types[56]
1822 #define SWIGTYPE_p_pdbFileSecondaryStructure swig_types[57]
1823 #define SWIGTYPE_p_pdbFileSecondaryStructureMode swig_types[58]
1824 #define SWIGTYPE_p_pdbFileSecondaryStructureRecord swig_types[59]
1825 #define SWIGTYPE_p_pdbRecord swig_types[60]
1826 #define SWIGTYPE_p_pdbSecondaryStructureHelix swig_types[61]
1827 #define SWIGTYPE_p_pdbSecondaryStructureHelixClass swig_types[62]
1828 #define SWIGTYPE_p_pdbSecondaryStructureNo swig_types[63]
1829 #define SWIGTYPE_p_pdbSecondaryStructureSheet swig_types[64]
1830 #define SWIGTYPE_p_pdbSecondaryStructureTurn swig_types[65]
1831 #define SWIGTYPE_p_residueName swig_types[66]
1832 #define SWIGTYPE_p_unsigned_char swig_types[67]
1833 #define SWIGTYPE_p_unsigned_int swig_types[68]
1834 #define SWIGTYPE_p_unsigned_long swig_types[69]
1835 #define SWIGTYPE_p_unsigned_short swig_types[70]
1836 static swig_type_info *swig_types[72];
1837 static swig_module_info swig_module = {swig_types, 71, 0, 0, 0, 0};
1838 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1839 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1840
1841 /* -------- TYPES TABLE (END) -------- */
1842
1843 #define SWIG_init    Init_molvieRuby
1844 #define SWIG_name    "MolvieRuby"
1845
1846 static VALUE mMolvieRuby;
1847
1848 #define SWIG_RUBY_THREAD_BEGIN_BLOCK
1849 #define SWIG_RUBY_THREAD_END_BLOCK
1850
1851
1852 #define SWIGVERSION 0x010336 
1853 #define SWIG_VERSION SWIGVERSION
1854
1855
1856 #define SWIG_as_voidptr(a) (void *)((const void *)(a)) 
1857 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 
1858
1859
1860 #include <ruby.h>
1861 #include <stdio.h>
1862 #include <stdlib.h>
1863 #include <math.h>
1864 #include <GL/glut.h>
1865
1866 #include "Matrix3D.h"
1867 #include "mrcImage.h"
1868 #include "pdbFile.h"
1869 #include "DisplayListNumber.h"
1870 #include "lmolvieProteinStatus.h"
1871 #include "molvieDefault.h"
1872 #include "molvieDockDefault.h"
1873 #include "molvieFlightDefault.h"
1874 #include "molvieMrcViewerDefault.h"
1875 #include "molvieProjectionDefault.h"
1876 #include "molvieViewerDefault.h"
1877 #include "lmolvie.h"
1878
1879
1880
1881 #include <limits.h>
1882 #if !defined(SWIG_NO_LLONG_MAX)
1883 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1884 #   define LLONG_MAX __LONG_LONG_MAX__
1885 #   define LLONG_MIN (-LLONG_MAX - 1LL)
1886 #   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1887 # endif
1888 #endif
1889
1890
1891   #define SWIG_From_long   LONG2NUM 
1892
1893
1894 SWIGINTERNINLINE VALUE
1895 SWIG_From_int  (int value)
1896 {    
1897   return SWIG_From_long  (value);
1898 }
1899
1900
1901   #define SWIG_From_double   rb_float_new 
1902
1903
1904 SWIGINTERN swig_type_info*
1905 SWIG_pchar_descriptor(void)
1906 {
1907   static int init = 0;
1908   static swig_type_info* info = 0;
1909   if (!init) {
1910     info = SWIG_TypeQuery("_p_char");
1911     init = 1;
1912   }
1913   return info;
1914 }
1915
1916
1917 SWIGINTERN int
1918 SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
1919 {
1920   if (TYPE(obj) == T_STRING) {
1921     #if defined(StringValuePtr)
1922     char *cstr = StringValuePtr(obj); 
1923     #else
1924     char *cstr = STR2CSTR(obj);
1925     #endif
1926     size_t size = RSTRING_LEN(obj) + 1;
1927     if (cptr)  {
1928       if (alloc) {
1929         if (*alloc == SWIG_NEWOBJ) {
1930           *cptr = (char *)memcpy((char *)malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1931         } else {
1932           *cptr = cstr;
1933           *alloc = SWIG_OLDOBJ;
1934         }
1935       }
1936     }
1937     if (psize) *psize = size;
1938     return SWIG_OK;
1939   } else {
1940     swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1941     if (pchar_descriptor) {
1942       void* vptr = 0;
1943       if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
1944         if (cptr) *cptr = (char *)vptr;
1945         if (psize) *psize = vptr ? (strlen((char*)vptr) + 1) : 0;
1946         if (alloc) *alloc = SWIG_OLDOBJ;
1947         return SWIG_OK;
1948       }
1949     }
1950   }  
1951   return SWIG_TypeError;
1952 }
1953
1954
1955 SWIGINTERN int
1956 SWIG_AsCharArray(VALUE obj, char *val, size_t size)
1957
1958   char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
1959   int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
1960   if (SWIG_IsOK(res)) {
1961     if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
1962     if (csize <= size) {
1963       if (val) {
1964         if (csize) memcpy(val, cptr, csize*sizeof(char));
1965         if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
1966       }
1967       if (alloc == SWIG_NEWOBJ) {
1968         free((char*)cptr);
1969         res = SWIG_DelNewMask(res);
1970       }      
1971       return res;
1972     }
1973     if (alloc == SWIG_NEWOBJ) free((char*)cptr);
1974   }
1975   return SWIG_TypeError;
1976 }
1977
1978
1979 SWIGINTERN VALUE
1980 SWIG_ruby_failed(void)
1981 {
1982   return Qnil;
1983
1984
1985
1986 /*@SWIG:/usr/share/swig/1.3.36/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
1987 SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
1988 {
1989   VALUE obj = args[0];
1990   VALUE type = TYPE(obj);
1991   long *res = (long *)(args[1]);
1992   *res = type == T_FIXNUM ? NUM2LONG(obj) : rb_big2long(obj);
1993   return obj;
1994 }
1995 /*@SWIG@*/
1996
1997 SWIGINTERN int
1998 SWIG_AsVal_long (VALUE obj, long* val)
1999 {
2000   VALUE type = TYPE(obj);
2001   if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2002     long v;
2003     VALUE a[2];
2004     a[0] = obj;
2005     a[1] = (VALUE)(&v);
2006     if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2007       if (val) *val = v;
2008       return SWIG_OK;
2009     }
2010   }
2011   return SWIG_TypeError;
2012 }
2013
2014
2015 SWIGINTERN int
2016 SWIG_AsVal_char (VALUE obj, char *val)
2017 {    
2018   int res = SWIG_AsCharArray(obj, val, 1);
2019   if (!SWIG_IsOK(res)) {
2020     long v;
2021     res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
2022     if (SWIG_IsOK(res)) {
2023       if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
2024         if (val) *val = (char)(v);
2025       } else {
2026         res = SWIG_OverflowError;
2027       }
2028     }
2029   }
2030   return res;
2031 }
2032
2033
2034 #include <float.h>
2035
2036
2037 /*@SWIG:/usr/share/swig/1.3.36/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
2038 SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
2039 {
2040   VALUE obj = args[0];
2041   VALUE type = TYPE(obj);
2042   double *res = (double *)(args[1]);
2043   *res = (type == T_FLOAT ? NUM2DBL(obj) : (type == T_FIXNUM ? (double) FIX2INT(obj) : rb_big2dbl(obj)));
2044   return obj;
2045 }
2046 /*@SWIG@*/
2047
2048 SWIGINTERN int
2049 SWIG_AsVal_double (VALUE obj, double *val)
2050 {
2051   VALUE type = TYPE(obj);
2052   if ((type == T_FLOAT) || (type == T_FIXNUM) || (type == T_BIGNUM)) {
2053     double v;
2054     VALUE a[2];
2055     a[0] = obj;
2056     a[1] = (VALUE)(&v);
2057     if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2DBL), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2058       if (val) *val = v;
2059       return SWIG_OK;
2060     }
2061   }
2062   return SWIG_TypeError;
2063 }
2064
2065
2066 SWIGINTERN int
2067 SWIG_AsVal_float (VALUE obj, float *val)
2068 {
2069   double v;
2070   int res = SWIG_AsVal_double (obj, &v);
2071   if (SWIG_IsOK(res)) {
2072     if ((v < -FLT_MAX || v > FLT_MAX)) {
2073       return SWIG_OverflowError;
2074     } else {
2075       if (val) *val = (float)(v);
2076     }
2077   }  
2078   return res;
2079 }
2080
2081
2082 SWIGINTERNINLINE VALUE
2083 SWIG_From_float  (float value)
2084 {    
2085   return SWIG_From_double  (value);
2086 }
2087
2088
2089 SWIGINTERNINLINE VALUE 
2090 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
2091 {
2092   if (carray) {
2093     if (size > LONG_MAX) {
2094       swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2095       return pchar_descriptor ? 
2096         SWIG_NewPointerObj((char *)(carray), pchar_descriptor, 0) : Qnil;
2097     } else {
2098       return rb_str_new(carray, (long)(size));
2099     }
2100   } else {
2101     return Qnil;
2102   }
2103 }
2104
2105
2106 SWIGINTERNINLINE VALUE 
2107 SWIG_FromCharPtr(const char *cptr)
2108
2109   return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
2110 }
2111
2112
2113 SWIGINTERN int
2114 SWIG_AsVal_int (VALUE obj, int *val)
2115 {
2116   long v;
2117   int res = SWIG_AsVal_long (obj, &v);
2118   if (SWIG_IsOK(res)) {
2119     if ((v < INT_MIN || v > INT_MAX)) {
2120       return SWIG_OverflowError;
2121     } else {
2122       if (val) *val = (int)(v);
2123     }
2124   }  
2125   return res;
2126 }
2127
2128
2129 /*@SWIG:/usr/share/swig/1.3.36/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
2130 SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
2131 {
2132   VALUE obj = args[0];
2133   VALUE type = TYPE(obj);
2134   unsigned long *res = (unsigned long *)(args[1]);
2135   *res = type == T_FIXNUM ? NUM2ULONG(obj) : rb_big2ulong(obj);
2136   return obj;
2137 }
2138 /*@SWIG@*/
2139
2140 SWIGINTERN int
2141 SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val) 
2142 {
2143   VALUE type = TYPE(obj);
2144   if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2145     unsigned long v;
2146     VALUE a[2];
2147     a[0] = obj;
2148     a[1] = (VALUE)(&v);
2149     if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2ULONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2150       if (val) *val = v;
2151       return SWIG_OK;
2152     }
2153   }
2154   return SWIG_TypeError;
2155 }
2156
2157
2158 SWIGINTERN int
2159 SWIG_AsVal_unsigned_SS_int (VALUE obj, unsigned int *val)
2160 {
2161   unsigned long v;
2162   int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2163   if (SWIG_IsOK(res)) {
2164     if ((v > UINT_MAX)) {
2165       return SWIG_OverflowError;
2166     } else {
2167       if (val) *val = (unsigned int)(v);
2168     }
2169   }  
2170   return res;
2171 }
2172
2173
2174 SWIGINTERNINLINE VALUE
2175 SWIG_From_unsigned_SS_long  (unsigned long value)
2176 {
2177   return ULONG2NUM(value); 
2178 }
2179
2180
2181 SWIGINTERNINLINE VALUE
2182 SWIG_From_unsigned_SS_int  (unsigned int value)
2183 {    
2184   return SWIG_From_unsigned_SS_long  (value);
2185 }
2186
2187
2188 typedef struct {
2189
2190
2191
2192
2193
2194         short detail;
2195         unsigned char category;
2196         unsigned char level;
2197
2198         } MRC_Status_t_status;
2199
2200
2201
2202 SWIGINTERN int
2203 SWIG_AsVal_short (VALUE obj, short *val)
2204 {
2205   long v;
2206   int res = SWIG_AsVal_long (obj, &v);
2207   if (SWIG_IsOK(res)) {
2208     if ((v < SHRT_MIN || v > SHRT_MAX)) {
2209       return SWIG_OverflowError;
2210     } else {
2211       if (val) *val = (short)(v);
2212     }
2213   }  
2214   return res;
2215 }
2216
2217
2218 SWIGINTERNINLINE VALUE
2219 SWIG_From_short  (short value)
2220 {    
2221   return SWIG_From_long  (value);
2222 }
2223
2224
2225 SWIGINTERN int
2226 SWIG_AsVal_unsigned_SS_char (VALUE obj, unsigned char *val)
2227 {
2228   unsigned long v;
2229   int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2230   if (SWIG_IsOK(res)) {
2231     if ((v > UCHAR_MAX)) {
2232       return SWIG_OverflowError;
2233     } else {
2234       if (val) *val = (unsigned char)(v);
2235     }
2236   }  
2237   return res;
2238 }
2239
2240
2241 SWIGINTERNINLINE VALUE
2242 SWIG_From_unsigned_SS_char  (unsigned char value)
2243 {    
2244   return SWIG_From_unsigned_SS_long  (value);
2245 }
2246
2247
2248
2249
2250
2251 SWIGINTERNINLINE VALUE
2252 SWIG_From_char  (char c) 
2253
2254   return SWIG_FromCharPtrAndSize(&c,1);
2255 }
2256
2257 SWIGINTERN VALUE
2258 _wrap_matrix3DInit(int argc, VALUE *argv, VALUE self) {
2259   matrix3DParaTypeReal (*arg1)[4] ;
2260   void *argp1 = 0 ;
2261   int res1 = 0 ;
2262   
2263   if ((argc < 1) || (argc > 1)) {
2264     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2265   }
2266   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2267   if (!SWIG_IsOK(res1)) {
2268     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DInit", 1, argv[0] )); 
2269   } 
2270   arg1 = (float (*)[4])(argp1);
2271   matrix3DInit((float (*)[4])arg1);
2272   return Qnil;
2273 fail:
2274   return Qnil;
2275 }
2276
2277
2278 SWIGINTERN VALUE
2279 _wrap_matrix3DCopy(int argc, VALUE *argv, VALUE self) {
2280   matrix3DParaTypeReal (*arg1)[4] ;
2281   matrix3DParaTypeReal (*arg2)[4] ;
2282   void *argp1 = 0 ;
2283   int res1 = 0 ;
2284   void *argp2 = 0 ;
2285   int res2 = 0 ;
2286   
2287   if ((argc < 2) || (argc > 2)) {
2288     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2289   }
2290   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2291   if (!SWIG_IsOK(res1)) {
2292     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DCopy", 1, argv[0] )); 
2293   } 
2294   arg1 = (float (*)[4])(argp1);
2295   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
2296   if (!SWIG_IsOK(res2)) {
2297     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","matrix3DCopy", 2, argv[1] )); 
2298   } 
2299   arg2 = (float (*)[4])(argp2);
2300   matrix3DCopy((float (*)[4])arg1,(float (*)[4])arg2);
2301   return Qnil;
2302 fail:
2303   return Qnil;
2304 }
2305
2306
2307 SWIGINTERN VALUE
2308 _wrap_matrix3DInverse(int argc, VALUE *argv, VALUE self) {
2309   matrix3DParaTypeReal (*arg1)[4] ;
2310   void *argp1 = 0 ;
2311   int res1 = 0 ;
2312   
2313   if ((argc < 1) || (argc > 1)) {
2314     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2315   }
2316   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2317   if (!SWIG_IsOK(res1)) {
2318     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DInverse", 1, argv[0] )); 
2319   } 
2320   arg1 = (float (*)[4])(argp1);
2321   matrix3DInverse((float (*)[4])arg1);
2322   return Qnil;
2323 fail:
2324   return Qnil;
2325 }
2326
2327
2328 SWIGINTERN VALUE
2329 _wrap_matrix3DMultiply(int argc, VALUE *argv, VALUE self) {
2330   matrix3DParaTypeReal (*arg1)[4] ;
2331   matrix3DParaTypeReal (*arg2)[4] ;
2332   void *argp1 = 0 ;
2333   int res1 = 0 ;
2334   void *argp2 = 0 ;
2335   int res2 = 0 ;
2336   
2337   if ((argc < 2) || (argc > 2)) {
2338     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2339   }
2340   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2341   if (!SWIG_IsOK(res1)) {
2342     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DMultiply", 1, argv[0] )); 
2343   } 
2344   arg1 = (float (*)[4])(argp1);
2345   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
2346   if (!SWIG_IsOK(res2)) {
2347     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","matrix3DMultiply", 2, argv[1] )); 
2348   } 
2349   arg2 = (float (*)[4])(argp2);
2350   matrix3DMultiply((float (*)[4])arg1,(float (*)[4])arg2);
2351   return Qnil;
2352 fail:
2353   return Qnil;
2354 }
2355
2356
2357 SWIGINTERN VALUE
2358 _wrap_matrix3DMultiplyInv(int argc, VALUE *argv, VALUE self) {
2359   matrix3DParaTypeReal (*arg1)[4] ;
2360   matrix3DParaTypeReal (*arg2)[4] ;
2361   void *argp1 = 0 ;
2362   int res1 = 0 ;
2363   void *argp2 = 0 ;
2364   int res2 = 0 ;
2365   
2366   if ((argc < 2) || (argc > 2)) {
2367     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2368   }
2369   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2370   if (!SWIG_IsOK(res1)) {
2371     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DMultiplyInv", 1, argv[0] )); 
2372   } 
2373   arg1 = (float (*)[4])(argp1);
2374   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
2375   if (!SWIG_IsOK(res2)) {
2376     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","matrix3DMultiplyInv", 2, argv[1] )); 
2377   } 
2378   arg2 = (float (*)[4])(argp2);
2379   matrix3DMultiplyInv((float (*)[4])arg1,(float (*)[4])arg2);
2380   return Qnil;
2381 fail:
2382   return Qnil;
2383 }
2384
2385
2386 SWIGINTERN VALUE
2387 _wrap_matrix3DMultiplyVector(int argc, VALUE *argv, VALUE self) {
2388   floatVector *arg1 = (floatVector *) 0 ;
2389   matrix3DParaTypeReal (*arg2)[4] ;
2390   void *argp1 = 0 ;
2391   int res1 = 0 ;
2392   void *argp2 = 0 ;
2393   int res2 = 0 ;
2394   
2395   if ((argc < 2) || (argc > 2)) {
2396     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2397   }
2398   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_floatVector, 0 |  0 );
2399   if (!SWIG_IsOK(res1)) {
2400     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "floatVector *","matrix3DMultiplyVector", 1, argv[0] )); 
2401   }
2402   arg1 = (floatVector *)(argp1);
2403   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
2404   if (!SWIG_IsOK(res2)) {
2405     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","matrix3DMultiplyVector", 2, argv[1] )); 
2406   } 
2407   arg2 = (float (*)[4])(argp2);
2408   matrix3DMultiplyVector(arg1,(float (*)[4])arg2);
2409   return Qnil;
2410 fail:
2411   return Qnil;
2412 }
2413
2414
2415 SWIGINTERN VALUE
2416 _wrap_matrix3DFileFormat(int argc, VALUE *argv, VALUE self) {
2417   FILE *arg1 = (FILE *) 0 ;
2418   void *argp1 = 0 ;
2419   int res1 = 0 ;
2420   
2421   if ((argc < 1) || (argc > 1)) {
2422     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2423   }
2424   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
2425   if (!SWIG_IsOK(res1)) {
2426     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","matrix3DFileFormat", 1, argv[0] )); 
2427   }
2428   arg1 = (FILE *)(argp1);
2429   matrix3DFileFormat(arg1);
2430   return Qnil;
2431 fail:
2432   return Qnil;
2433 }
2434
2435
2436 SWIGINTERN VALUE
2437 _wrap_matrix3DFileRead(int argc, VALUE *argv, VALUE self) {
2438   FILE *arg1 = (FILE *) 0 ;
2439   matrix3DParaTypeReal (*arg2)[4] ;
2440   void *argp1 = 0 ;
2441   int res1 = 0 ;
2442   void *argp2 = 0 ;
2443   int res2 = 0 ;
2444   
2445   if ((argc < 2) || (argc > 2)) {
2446     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2447   }
2448   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
2449   if (!SWIG_IsOK(res1)) {
2450     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","matrix3DFileRead", 1, argv[0] )); 
2451   }
2452   arg1 = (FILE *)(argp1);
2453   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
2454   if (!SWIG_IsOK(res2)) {
2455     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","matrix3DFileRead", 2, argv[1] )); 
2456   } 
2457   arg2 = (float (*)[4])(argp2);
2458   matrix3DFileRead(arg1,(float (*)[4])arg2);
2459   return Qnil;
2460 fail:
2461   return Qnil;
2462 }
2463
2464
2465 SWIGINTERN VALUE
2466 _wrap_matrix3DFileWrite(int argc, VALUE *argv, VALUE self) {
2467   FILE *arg1 = (FILE *) 0 ;
2468   matrix3DParaTypeReal (*arg2)[4] ;
2469   void *argp1 = 0 ;
2470   int res1 = 0 ;
2471   void *argp2 = 0 ;
2472   int res2 = 0 ;
2473   
2474   if ((argc < 2) || (argc > 2)) {
2475     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2476   }
2477   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
2478   if (!SWIG_IsOK(res1)) {
2479     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","matrix3DFileWrite", 1, argv[0] )); 
2480   }
2481   arg1 = (FILE *)(argp1);
2482   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
2483   if (!SWIG_IsOK(res2)) {
2484     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","matrix3DFileWrite", 2, argv[1] )); 
2485   } 
2486   arg2 = (float (*)[4])(argp2);
2487   matrix3DFileWrite(arg1,(float (*)[4])arg2);
2488   return Qnil;
2489 fail:
2490   return Qnil;
2491 }
2492
2493
2494 SWIGINTERN VALUE
2495 _wrap_matrix3DRotationSet(int argc, VALUE *argv, VALUE self) {
2496   matrix3DParaTypeReal (*arg1)[4] ;
2497   char arg2 ;
2498   matrix3DParaTypeReal arg3 ;
2499   long arg4 ;
2500   void *argp1 = 0 ;
2501   int res1 = 0 ;
2502   char val2 ;
2503   int ecode2 = 0 ;
2504   float val3 ;
2505   int ecode3 = 0 ;
2506   long val4 ;
2507   int ecode4 = 0 ;
2508   
2509   if ((argc < 4) || (argc > 4)) {
2510     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
2511   }
2512   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2513   if (!SWIG_IsOK(res1)) {
2514     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DRotationSet", 1, argv[0] )); 
2515   } 
2516   arg1 = (float (*)[4])(argp1);
2517   ecode2 = SWIG_AsVal_char(argv[1], &val2);
2518   if (!SWIG_IsOK(ecode2)) {
2519     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","matrix3DRotationSet", 2, argv[1] ));
2520   } 
2521   arg2 = (char)(val2);
2522   ecode3 = SWIG_AsVal_float(argv[2], &val3);
2523   if (!SWIG_IsOK(ecode3)) {
2524     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSet", 3, argv[2] ));
2525   } 
2526   arg3 = (matrix3DParaTypeReal)(val3);
2527   ecode4 = SWIG_AsVal_long(argv[3], &val4);
2528   if (!SWIG_IsOK(ecode4)) {
2529     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","matrix3DRotationSet", 4, argv[3] ));
2530   } 
2531   arg4 = (long)(val4);
2532   matrix3DRotationSet((float (*)[4])arg1,arg2,arg3,arg4);
2533   return Qnil;
2534 fail:
2535   return Qnil;
2536 }
2537
2538
2539 SWIGINTERN VALUE
2540 _wrap_matrix3DTranslationSet(int argc, VALUE *argv, VALUE self) {
2541   matrix3DParaTypeReal (*arg1)[4] ;
2542   matrix3DParaTypeReal arg2 ;
2543   matrix3DParaTypeReal arg3 ;
2544   matrix3DParaTypeReal arg4 ;
2545   long arg5 ;
2546   void *argp1 = 0 ;
2547   int res1 = 0 ;
2548   float val2 ;
2549   int ecode2 = 0 ;
2550   float val3 ;
2551   int ecode3 = 0 ;
2552   float val4 ;
2553   int ecode4 = 0 ;
2554   long val5 ;
2555   int ecode5 = 0 ;
2556   
2557   if ((argc < 5) || (argc > 5)) {
2558     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
2559   }
2560   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2561   if (!SWIG_IsOK(res1)) {
2562     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DTranslationSet", 1, argv[0] )); 
2563   } 
2564   arg1 = (float (*)[4])(argp1);
2565   ecode2 = SWIG_AsVal_float(argv[1], &val2);
2566   if (!SWIG_IsOK(ecode2)) {
2567     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DTranslationSet", 2, argv[1] ));
2568   } 
2569   arg2 = (matrix3DParaTypeReal)(val2);
2570   ecode3 = SWIG_AsVal_float(argv[2], &val3);
2571   if (!SWIG_IsOK(ecode3)) {
2572     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DTranslationSet", 3, argv[2] ));
2573   } 
2574   arg3 = (matrix3DParaTypeReal)(val3);
2575   ecode4 = SWIG_AsVal_float(argv[3], &val4);
2576   if (!SWIG_IsOK(ecode4)) {
2577     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DTranslationSet", 4, argv[3] ));
2578   } 
2579   arg4 = (matrix3DParaTypeReal)(val4);
2580   ecode5 = SWIG_AsVal_long(argv[4], &val5);
2581   if (!SWIG_IsOK(ecode5)) {
2582     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "long","matrix3DTranslationSet", 5, argv[4] ));
2583   } 
2584   arg5 = (long)(val5);
2585   matrix3DTranslationSet((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2586   return Qnil;
2587 fail:
2588   return Qnil;
2589 }
2590
2591
2592 SWIGINTERN VALUE
2593 _wrap_matrix3DRotationSetXYZ(int argc, VALUE *argv, VALUE self) {
2594   matrix3DParaTypeReal (*arg1)[4] ;
2595   matrix3DParaTypeReal arg2 ;
2596   matrix3DParaTypeReal arg3 ;
2597   matrix3DParaTypeReal arg4 ;
2598   long arg5 ;
2599   void *argp1 = 0 ;
2600   int res1 = 0 ;
2601   float val2 ;
2602   int ecode2 = 0 ;
2603   float val3 ;
2604   int ecode3 = 0 ;
2605   float val4 ;
2606   int ecode4 = 0 ;
2607   long val5 ;
2608   int ecode5 = 0 ;
2609   
2610   if ((argc < 5) || (argc > 5)) {
2611     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
2612   }
2613   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2614   if (!SWIG_IsOK(res1)) {
2615     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DRotationSetXYZ", 1, argv[0] )); 
2616   } 
2617   arg1 = (float (*)[4])(argp1);
2618   ecode2 = SWIG_AsVal_float(argv[1], &val2);
2619   if (!SWIG_IsOK(ecode2)) {
2620     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetXYZ", 2, argv[1] ));
2621   } 
2622   arg2 = (matrix3DParaTypeReal)(val2);
2623   ecode3 = SWIG_AsVal_float(argv[2], &val3);
2624   if (!SWIG_IsOK(ecode3)) {
2625     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetXYZ", 3, argv[2] ));
2626   } 
2627   arg3 = (matrix3DParaTypeReal)(val3);
2628   ecode4 = SWIG_AsVal_float(argv[3], &val4);
2629   if (!SWIG_IsOK(ecode4)) {
2630     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetXYZ", 4, argv[3] ));
2631   } 
2632   arg4 = (matrix3DParaTypeReal)(val4);
2633   ecode5 = SWIG_AsVal_long(argv[4], &val5);
2634   if (!SWIG_IsOK(ecode5)) {
2635     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "long","matrix3DRotationSetXYZ", 5, argv[4] ));
2636   } 
2637   arg5 = (long)(val5);
2638   matrix3DRotationSetXYZ((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2639   return Qnil;
2640 fail:
2641   return Qnil;
2642 }
2643
2644
2645 SWIGINTERN VALUE
2646 _wrap_matrix3DRotationSetZYX(int argc, VALUE *argv, VALUE self) {
2647   matrix3DParaTypeReal (*arg1)[4] ;
2648   matrix3DParaTypeReal arg2 ;
2649   matrix3DParaTypeReal arg3 ;
2650   matrix3DParaTypeReal arg4 ;
2651   long arg5 ;
2652   void *argp1 = 0 ;
2653   int res1 = 0 ;
2654   float val2 ;
2655   int ecode2 = 0 ;
2656   float val3 ;
2657   int ecode3 = 0 ;
2658   float val4 ;
2659   int ecode4 = 0 ;
2660   long val5 ;
2661   int ecode5 = 0 ;
2662   
2663   if ((argc < 5) || (argc > 5)) {
2664     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
2665   }
2666   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2667   if (!SWIG_IsOK(res1)) {
2668     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DRotationSetZYX", 1, argv[0] )); 
2669   } 
2670   arg1 = (float (*)[4])(argp1);
2671   ecode2 = SWIG_AsVal_float(argv[1], &val2);
2672   if (!SWIG_IsOK(ecode2)) {
2673     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetZYX", 2, argv[1] ));
2674   } 
2675   arg2 = (matrix3DParaTypeReal)(val2);
2676   ecode3 = SWIG_AsVal_float(argv[2], &val3);
2677   if (!SWIG_IsOK(ecode3)) {
2678     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetZYX", 3, argv[2] ));
2679   } 
2680   arg3 = (matrix3DParaTypeReal)(val3);
2681   ecode4 = SWIG_AsVal_float(argv[3], &val4);
2682   if (!SWIG_IsOK(ecode4)) {
2683     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetZYX", 4, argv[3] ));
2684   } 
2685   arg4 = (matrix3DParaTypeReal)(val4);
2686   ecode5 = SWIG_AsVal_long(argv[4], &val5);
2687   if (!SWIG_IsOK(ecode5)) {
2688     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "long","matrix3DRotationSetZYX", 5, argv[4] ));
2689   } 
2690   arg5 = (long)(val5);
2691   matrix3DRotationSetZYX((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2692   return Qnil;
2693 fail:
2694   return Qnil;
2695 }
2696
2697
2698 SWIGINTERN VALUE
2699 _wrap_matrix3DRotationSetZXY(int argc, VALUE *argv, VALUE self) {
2700   matrix3DParaTypeReal (*arg1)[4] ;
2701   matrix3DParaTypeReal arg2 ;
2702   matrix3DParaTypeReal arg3 ;
2703   matrix3DParaTypeReal arg4 ;
2704   long arg5 ;
2705   void *argp1 = 0 ;
2706   int res1 = 0 ;
2707   float val2 ;
2708   int ecode2 = 0 ;
2709   float val3 ;
2710   int ecode3 = 0 ;
2711   float val4 ;
2712   int ecode4 = 0 ;
2713   long val5 ;
2714   int ecode5 = 0 ;
2715   
2716   if ((argc < 5) || (argc > 5)) {
2717     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
2718   }
2719   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2720   if (!SWIG_IsOK(res1)) {
2721     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DRotationSetZXY", 1, argv[0] )); 
2722   } 
2723   arg1 = (float (*)[4])(argp1);
2724   ecode2 = SWIG_AsVal_float(argv[1], &val2);
2725   if (!SWIG_IsOK(ecode2)) {
2726     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetZXY", 2, argv[1] ));
2727   } 
2728   arg2 = (matrix3DParaTypeReal)(val2);
2729   ecode3 = SWIG_AsVal_float(argv[2], &val3);
2730   if (!SWIG_IsOK(ecode3)) {
2731     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetZXY", 3, argv[2] ));
2732   } 
2733   arg3 = (matrix3DParaTypeReal)(val3);
2734   ecode4 = SWIG_AsVal_float(argv[3], &val4);
2735   if (!SWIG_IsOK(ecode4)) {
2736     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetZXY", 4, argv[3] ));
2737   } 
2738   arg4 = (matrix3DParaTypeReal)(val4);
2739   ecode5 = SWIG_AsVal_long(argv[4], &val5);
2740   if (!SWIG_IsOK(ecode5)) {
2741     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "long","matrix3DRotationSetZXY", 5, argv[4] ));
2742   } 
2743   arg5 = (long)(val5);
2744   matrix3DRotationSetZXY((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2745   return Qnil;
2746 fail:
2747   return Qnil;
2748 }
2749
2750
2751 SWIGINTERN VALUE
2752 _wrap_matrix3DRotationSetYXZ(int argc, VALUE *argv, VALUE self) {
2753   matrix3DParaTypeReal (*arg1)[4] ;
2754   matrix3DParaTypeReal arg2 ;
2755   matrix3DParaTypeReal arg3 ;
2756   matrix3DParaTypeReal arg4 ;
2757   long arg5 ;
2758   void *argp1 = 0 ;
2759   int res1 = 0 ;
2760   float val2 ;
2761   int ecode2 = 0 ;
2762   float val3 ;
2763   int ecode3 = 0 ;
2764   float val4 ;
2765   int ecode4 = 0 ;
2766   long val5 ;
2767   int ecode5 = 0 ;
2768   
2769   if ((argc < 5) || (argc > 5)) {
2770     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
2771   }
2772   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2773   if (!SWIG_IsOK(res1)) {
2774     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DRotationSetYXZ", 1, argv[0] )); 
2775   } 
2776   arg1 = (float (*)[4])(argp1);
2777   ecode2 = SWIG_AsVal_float(argv[1], &val2);
2778   if (!SWIG_IsOK(ecode2)) {
2779     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetYXZ", 2, argv[1] ));
2780   } 
2781   arg2 = (matrix3DParaTypeReal)(val2);
2782   ecode3 = SWIG_AsVal_float(argv[2], &val3);
2783   if (!SWIG_IsOK(ecode3)) {
2784     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetYXZ", 3, argv[2] ));
2785   } 
2786   arg3 = (matrix3DParaTypeReal)(val3);
2787   ecode4 = SWIG_AsVal_float(argv[3], &val4);
2788   if (!SWIG_IsOK(ecode4)) {
2789     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetYXZ", 4, argv[3] ));
2790   } 
2791   arg4 = (matrix3DParaTypeReal)(val4);
2792   ecode5 = SWIG_AsVal_long(argv[4], &val5);
2793   if (!SWIG_IsOK(ecode5)) {
2794     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "long","matrix3DRotationSetYXZ", 5, argv[4] ));
2795   } 
2796   arg5 = (long)(val5);
2797   matrix3DRotationSetYXZ((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2798   return Qnil;
2799 fail:
2800   return Qnil;
2801 }
2802
2803
2804 SWIGINTERN VALUE
2805 _wrap_matrix3DRotationSetFollowingEulerAngle(int argc, VALUE *argv, VALUE self) {
2806   matrix3DParaTypeReal (*arg1)[4] ;
2807   char *arg2 ;
2808   matrix3DParaTypeReal arg3 ;
2809   matrix3DParaTypeReal arg4 ;
2810   matrix3DParaTypeReal arg5 ;
2811   long arg6 ;
2812   void *argp1 = 0 ;
2813   int res1 = 0 ;
2814   char temp2[4] ;
2815   int res2 ;
2816   float val3 ;
2817   int ecode3 = 0 ;
2818   float val4 ;
2819   int ecode4 = 0 ;
2820   float val5 ;
2821   int ecode5 = 0 ;
2822   long val6 ;
2823   int ecode6 = 0 ;
2824   
2825   if ((argc < 6) || (argc > 6)) {
2826     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
2827   }
2828   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2829   if (!SWIG_IsOK(res1)) {
2830     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DRotationSetFollowingEulerAngle", 1, argv[0] )); 
2831   } 
2832   arg1 = (float (*)[4])(argp1);
2833   res2 = SWIG_AsCharArray(argv[1], temp2, 4);
2834   if (!SWIG_IsOK(res2)) {
2835     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const [4]","matrix3DRotationSetFollowingEulerAngle", 2, argv[1] ));
2836   }
2837   arg2 = (char *)(temp2);
2838   ecode3 = SWIG_AsVal_float(argv[2], &val3);
2839   if (!SWIG_IsOK(ecode3)) {
2840     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetFollowingEulerAngle", 3, argv[2] ));
2841   } 
2842   arg3 = (matrix3DParaTypeReal)(val3);
2843   ecode4 = SWIG_AsVal_float(argv[3], &val4);
2844   if (!SWIG_IsOK(ecode4)) {
2845     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetFollowingEulerAngle", 4, argv[3] ));
2846   } 
2847   arg4 = (matrix3DParaTypeReal)(val4);
2848   ecode5 = SWIG_AsVal_float(argv[4], &val5);
2849   if (!SWIG_IsOK(ecode5)) {
2850     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationSetFollowingEulerAngle", 5, argv[4] ));
2851   } 
2852   arg5 = (matrix3DParaTypeReal)(val5);
2853   ecode6 = SWIG_AsVal_long(argv[5], &val6);
2854   if (!SWIG_IsOK(ecode6)) {
2855     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "long","matrix3DRotationSetFollowingEulerAngle", 6, argv[5] ));
2856   } 
2857   arg6 = (long)(val6);
2858   matrix3DRotationSetFollowingEulerAngle((float (*)[4])arg1,(char const (*))arg2,arg3,arg4,arg5,arg6);
2859   return Qnil;
2860 fail:
2861   return Qnil;
2862 }
2863
2864
2865 SWIGINTERN VALUE
2866 _wrap_matrix3DRotationAntiSetFollowingEulerAngle(int argc, VALUE *argv, VALUE self) {
2867   matrix3DParaTypeReal (*arg1)[4] ;
2868   char *arg2 ;
2869   matrix3DParaTypeReal arg3 ;
2870   matrix3DParaTypeReal arg4 ;
2871   matrix3DParaTypeReal arg5 ;
2872   long arg6 ;
2873   void *argp1 = 0 ;
2874   int res1 = 0 ;
2875   char temp2[4] ;
2876   int res2 ;
2877   float val3 ;
2878   int ecode3 = 0 ;
2879   float val4 ;
2880   int ecode4 = 0 ;
2881   float val5 ;
2882   int ecode5 = 0 ;
2883   long val6 ;
2884   int ecode6 = 0 ;
2885   
2886   if ((argc < 6) || (argc > 6)) {
2887     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
2888   }
2889   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2890   if (!SWIG_IsOK(res1)) {
2891     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DRotationAntiSetFollowingEulerAngle", 1, argv[0] )); 
2892   } 
2893   arg1 = (float (*)[4])(argp1);
2894   res2 = SWIG_AsCharArray(argv[1], temp2, 4);
2895   if (!SWIG_IsOK(res2)) {
2896     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const [4]","matrix3DRotationAntiSetFollowingEulerAngle", 2, argv[1] ));
2897   }
2898   arg2 = (char *)(temp2);
2899   ecode3 = SWIG_AsVal_float(argv[2], &val3);
2900   if (!SWIG_IsOK(ecode3)) {
2901     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationAntiSetFollowingEulerAngle", 3, argv[2] ));
2902   } 
2903   arg3 = (matrix3DParaTypeReal)(val3);
2904   ecode4 = SWIG_AsVal_float(argv[3], &val4);
2905   if (!SWIG_IsOK(ecode4)) {
2906     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationAntiSetFollowingEulerAngle", 4, argv[3] ));
2907   } 
2908   arg4 = (matrix3DParaTypeReal)(val4);
2909   ecode5 = SWIG_AsVal_float(argv[4], &val5);
2910   if (!SWIG_IsOK(ecode5)) {
2911     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "matrix3DParaTypeReal","matrix3DRotationAntiSetFollowingEulerAngle", 5, argv[4] ));
2912   } 
2913   arg5 = (matrix3DParaTypeReal)(val5);
2914   ecode6 = SWIG_AsVal_long(argv[5], &val6);
2915   if (!SWIG_IsOK(ecode6)) {
2916     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "long","matrix3DRotationAntiSetFollowingEulerAngle", 6, argv[5] ));
2917   } 
2918   arg6 = (long)(val6);
2919   matrix3DRotationAntiSetFollowingEulerAngle((float (*)[4])arg1,(char const (*))arg2,arg3,arg4,arg5,arg6);
2920   return Qnil;
2921 fail:
2922   return Qnil;
2923 }
2924
2925
2926 SWIGINTERN VALUE
2927 _wrap_matrix3DEulerAngleGetFromMatrix3D(int argc, VALUE *argv, VALUE self) {
2928   matrix3DParaTypeReal (*arg1)[4] ;
2929   char *arg2 ;
2930   matrix3DParaTypeReal *arg3 = (matrix3DParaTypeReal *) 0 ;
2931   matrix3DParaTypeReal *arg4 = (matrix3DParaTypeReal *) 0 ;
2932   matrix3DParaTypeReal *arg5 = (matrix3DParaTypeReal *) 0 ;
2933   long arg6 ;
2934   void *argp1 = 0 ;
2935   int res1 = 0 ;
2936   char temp2[4] ;
2937   int res2 ;
2938   void *argp3 = 0 ;
2939   int res3 = 0 ;
2940   void *argp4 = 0 ;
2941   int res4 = 0 ;
2942   void *argp5 = 0 ;
2943   int res5 = 0 ;
2944   long val6 ;
2945   int ecode6 = 0 ;
2946   
2947   if ((argc < 6) || (argc > 6)) {
2948     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
2949   }
2950   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
2951   if (!SWIG_IsOK(res1)) {
2952     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","matrix3DEulerAngleGetFromMatrix3D", 1, argv[0] )); 
2953   } 
2954   arg1 = (float (*)[4])(argp1);
2955   res2 = SWIG_AsCharArray(argv[1], temp2, 4);
2956   if (!SWIG_IsOK(res2)) {
2957     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const [4]","matrix3DEulerAngleGetFromMatrix3D", 2, argv[1] ));
2958   }
2959   arg2 = (char *)(temp2);
2960   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_float, 0 |  0 );
2961   if (!SWIG_IsOK(res3)) {
2962     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "matrix3DParaTypeReal *","matrix3DEulerAngleGetFromMatrix3D", 3, argv[2] )); 
2963   }
2964   arg3 = (matrix3DParaTypeReal *)(argp3);
2965   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_float, 0 |  0 );
2966   if (!SWIG_IsOK(res4)) {
2967     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "matrix3DParaTypeReal *","matrix3DEulerAngleGetFromMatrix3D", 4, argv[3] )); 
2968   }
2969   arg4 = (matrix3DParaTypeReal *)(argp4);
2970   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_float, 0 |  0 );
2971   if (!SWIG_IsOK(res5)) {
2972     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "matrix3DParaTypeReal *","matrix3DEulerAngleGetFromMatrix3D", 5, argv[4] )); 
2973   }
2974   arg5 = (matrix3DParaTypeReal *)(argp5);
2975   ecode6 = SWIG_AsVal_long(argv[5], &val6);
2976   if (!SWIG_IsOK(ecode6)) {
2977     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "long","matrix3DEulerAngleGetFromMatrix3D", 6, argv[5] ));
2978   } 
2979   arg6 = (long)(val6);
2980   matrix3DEulerAngleGetFromMatrix3D((float (*)[4])arg1,(char const (*))arg2,arg3,arg4,arg5,arg6);
2981   return Qnil;
2982 fail:
2983   return Qnil;
2984 }
2985
2986
2987 swig_class cQuat;
2988
2989 SWIGINTERN VALUE
2990 _wrap_Quat_x_set(int argc, VALUE *argv, VALUE self) {
2991   Quat *arg1 = (Quat *) 0 ;
2992   float arg2 ;
2993   void *argp1 = 0 ;
2994   int res1 = 0 ;
2995   float val2 ;
2996   int ecode2 = 0 ;
2997   
2998   if ((argc < 1) || (argc > 1)) {
2999     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3000   }
3001   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Quat, 0 |  0 );
3002   if (!SWIG_IsOK(res1)) {
3003     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat *","x", 1, self )); 
3004   }
3005   arg1 = (Quat *)(argp1);
3006   ecode2 = SWIG_AsVal_float(argv[0], &val2);
3007   if (!SWIG_IsOK(ecode2)) {
3008     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","x", 2, argv[0] ));
3009   } 
3010   arg2 = (float)(val2);
3011   if (arg1) (arg1)->x = arg2;
3012   return Qnil;
3013 fail:
3014   return Qnil;
3015 }
3016
3017
3018 SWIGINTERN VALUE
3019 _wrap_Quat_x_get(int argc, VALUE *argv, VALUE self) {
3020   Quat *arg1 = (Quat *) 0 ;
3021   void *argp1 = 0 ;
3022   int res1 = 0 ;
3023   float result;
3024   VALUE vresult = Qnil;
3025   
3026   if ((argc < 0) || (argc > 0)) {
3027     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3028   }
3029   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Quat, 0 |  0 );
3030   if (!SWIG_IsOK(res1)) {
3031     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat *","x", 1, self )); 
3032   }
3033   arg1 = (Quat *)(argp1);
3034   result = (float) ((arg1)->x);
3035   vresult = SWIG_From_float((float)(result));
3036   return vresult;
3037 fail:
3038   return Qnil;
3039 }
3040
3041
3042 SWIGINTERN VALUE
3043 _wrap_Quat_y_set(int argc, VALUE *argv, VALUE self) {
3044   Quat *arg1 = (Quat *) 0 ;
3045   float arg2 ;
3046   void *argp1 = 0 ;
3047   int res1 = 0 ;
3048   float val2 ;
3049   int ecode2 = 0 ;
3050   
3051   if ((argc < 1) || (argc > 1)) {
3052     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3053   }
3054   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Quat, 0 |  0 );
3055   if (!SWIG_IsOK(res1)) {
3056     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat *","y", 1, self )); 
3057   }
3058   arg1 = (Quat *)(argp1);
3059   ecode2 = SWIG_AsVal_float(argv[0], &val2);
3060   if (!SWIG_IsOK(ecode2)) {
3061     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","y", 2, argv[0] ));
3062   } 
3063   arg2 = (float)(val2);
3064   if (arg1) (arg1)->y = arg2;
3065   return Qnil;
3066 fail:
3067   return Qnil;
3068 }
3069
3070
3071 SWIGINTERN VALUE
3072 _wrap_Quat_y_get(int argc, VALUE *argv, VALUE self) {
3073   Quat *arg1 = (Quat *) 0 ;
3074   void *argp1 = 0 ;
3075   int res1 = 0 ;
3076   float result;
3077   VALUE vresult = Qnil;
3078   
3079   if ((argc < 0) || (argc > 0)) {
3080     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3081   }
3082   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Quat, 0 |  0 );
3083   if (!SWIG_IsOK(res1)) {
3084     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat *","y", 1, self )); 
3085   }
3086   arg1 = (Quat *)(argp1);
3087   result = (float) ((arg1)->y);
3088   vresult = SWIG_From_float((float)(result));
3089   return vresult;
3090 fail:
3091   return Qnil;
3092 }
3093
3094
3095 SWIGINTERN VALUE
3096 _wrap_Quat_z_set(int argc, VALUE *argv, VALUE self) {
3097   Quat *arg1 = (Quat *) 0 ;
3098   float arg2 ;
3099   void *argp1 = 0 ;
3100   int res1 = 0 ;
3101   float val2 ;
3102   int ecode2 = 0 ;
3103   
3104   if ((argc < 1) || (argc > 1)) {
3105     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3106   }
3107   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Quat, 0 |  0 );
3108   if (!SWIG_IsOK(res1)) {
3109     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat *","z", 1, self )); 
3110   }
3111   arg1 = (Quat *)(argp1);
3112   ecode2 = SWIG_AsVal_float(argv[0], &val2);
3113   if (!SWIG_IsOK(ecode2)) {
3114     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","z", 2, argv[0] ));
3115   } 
3116   arg2 = (float)(val2);
3117   if (arg1) (arg1)->z = arg2;
3118   return Qnil;
3119 fail:
3120   return Qnil;
3121 }
3122
3123
3124 SWIGINTERN VALUE
3125 _wrap_Quat_z_get(int argc, VALUE *argv, VALUE self) {
3126   Quat *arg1 = (Quat *) 0 ;
3127   void *argp1 = 0 ;
3128   int res1 = 0 ;
3129   float result;
3130   VALUE vresult = Qnil;
3131   
3132   if ((argc < 0) || (argc > 0)) {
3133     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3134   }
3135   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Quat, 0 |  0 );
3136   if (!SWIG_IsOK(res1)) {
3137     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat *","z", 1, self )); 
3138   }
3139   arg1 = (Quat *)(argp1);
3140   result = (float) ((arg1)->z);
3141   vresult = SWIG_From_float((float)(result));
3142   return vresult;
3143 fail:
3144   return Qnil;
3145 }
3146
3147
3148 SWIGINTERN VALUE
3149 _wrap_Quat_w_set(int argc, VALUE *argv, VALUE self) {
3150   Quat *arg1 = (Quat *) 0 ;
3151   float arg2 ;
3152   void *argp1 = 0 ;
3153   int res1 = 0 ;
3154   float val2 ;
3155   int ecode2 = 0 ;
3156   
3157   if ((argc < 1) || (argc > 1)) {
3158     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3159   }
3160   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Quat, 0 |  0 );
3161   if (!SWIG_IsOK(res1)) {
3162     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat *","w", 1, self )); 
3163   }
3164   arg1 = (Quat *)(argp1);
3165   ecode2 = SWIG_AsVal_float(argv[0], &val2);
3166   if (!SWIG_IsOK(ecode2)) {
3167     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","w", 2, argv[0] ));
3168   } 
3169   arg2 = (float)(val2);
3170   if (arg1) (arg1)->w = arg2;
3171   return Qnil;
3172 fail:
3173   return Qnil;
3174 }
3175
3176
3177 SWIGINTERN VALUE
3178 _wrap_Quat_w_get(int argc, VALUE *argv, VALUE self) {
3179   Quat *arg1 = (Quat *) 0 ;
3180   void *argp1 = 0 ;
3181   int res1 = 0 ;
3182   float result;
3183   VALUE vresult = Qnil;
3184   
3185   if ((argc < 0) || (argc > 0)) {
3186     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3187   }
3188   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Quat, 0 |  0 );
3189   if (!SWIG_IsOK(res1)) {
3190     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat *","w", 1, self )); 
3191   }
3192   arg1 = (Quat *)(argp1);
3193   result = (float) ((arg1)->w);
3194   vresult = SWIG_From_float((float)(result));
3195   return vresult;
3196 fail:
3197   return Qnil;
3198 }
3199
3200
3201 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3202 SWIGINTERN VALUE
3203 _wrap_Quat_allocate(VALUE self) {
3204 #else
3205   SWIGINTERN VALUE
3206   _wrap_Quat_allocate(int argc, VALUE *argv, VALUE self) {
3207 #endif
3208     
3209     
3210     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_Quat);
3211 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3212     rb_obj_call_init(vresult, argc, argv);
3213 #endif
3214     return vresult;
3215   }
3216   
3217
3218 SWIGINTERN VALUE
3219 _wrap_new_Quat(int argc, VALUE *argv, VALUE self) {
3220   Quat *result = 0 ;
3221   
3222   if ((argc < 0) || (argc > 0)) {
3223     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3224   }
3225   result = (Quat *)calloc(1, sizeof(Quat));
3226   DATA_PTR(self) = result;
3227   return self;
3228 fail:
3229   return Qnil;
3230 }
3231
3232
3233 SWIGINTERN void
3234 free_Quat(Quat *arg1) {
3235     free((char *) arg1);
3236 }
3237
3238 SWIGINTERN VALUE
3239 _wrap_Eul_(int argc, VALUE *argv, VALUE self) {
3240   float arg1 ;
3241   float arg2 ;
3242   float arg3 ;
3243   int arg4 ;
3244   float val1 ;
3245   int ecode1 = 0 ;
3246   float val2 ;
3247   int ecode2 = 0 ;
3248   float val3 ;
3249   int ecode3 = 0 ;
3250   int val4 ;
3251   int ecode4 = 0 ;
3252   EulerAngles result;
3253   VALUE vresult = Qnil;
3254   
3255   if ((argc < 4) || (argc > 4)) {
3256     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
3257   }
3258   ecode1 = SWIG_AsVal_float(argv[0], &val1);
3259   if (!SWIG_IsOK(ecode1)) {
3260     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "float","Eul_", 1, argv[0] ));
3261   } 
3262   arg1 = (float)(val1);
3263   ecode2 = SWIG_AsVal_float(argv[1], &val2);
3264   if (!SWIG_IsOK(ecode2)) {
3265     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","Eul_", 2, argv[1] ));
3266   } 
3267   arg2 = (float)(val2);
3268   ecode3 = SWIG_AsVal_float(argv[2], &val3);
3269   if (!SWIG_IsOK(ecode3)) {
3270     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "float","Eul_", 3, argv[2] ));
3271   } 
3272   arg3 = (float)(val3);
3273   ecode4 = SWIG_AsVal_int(argv[3], &val4);
3274   if (!SWIG_IsOK(ecode4)) {
3275     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","Eul_", 4, argv[3] ));
3276   } 
3277   arg4 = (int)(val4);
3278   result = Eul_(arg1,arg2,arg3,arg4);
3279   vresult = SWIG_NewPointerObj((EulerAngles *)memcpy((EulerAngles *)malloc(sizeof(EulerAngles)),&result,sizeof(EulerAngles)), SWIGTYPE_p_Quat, SWIG_POINTER_OWN |  0 );
3280   return vresult;
3281 fail:
3282   return Qnil;
3283 }
3284
3285
3286 SWIGINTERN VALUE
3287 _wrap_Eul_ToQuat(int argc, VALUE *argv, VALUE self) {
3288   EulerAngles arg1 ;
3289   void *argp1 ;
3290   int res1 = 0 ;
3291   Quat result;
3292   VALUE vresult = Qnil;
3293   
3294   if ((argc < 1) || (argc > 1)) {
3295     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3296   }
3297   {
3298     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_Quat,  0 );
3299     if (!SWIG_IsOK(res1)) {
3300       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngles","Eul_ToQuat", 1, argv[0] )); 
3301     }  
3302     if (!argp1) {
3303       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EulerAngles","Eul_ToQuat", 1, argv[0]));
3304     } else {
3305       arg1 = *((EulerAngles *)(argp1));
3306     }
3307   }
3308   result = Eul_ToQuat(arg1);
3309   vresult = SWIG_NewPointerObj((Quat *)memcpy((Quat *)malloc(sizeof(Quat)),&result,sizeof(Quat)), SWIGTYPE_p_Quat, SWIG_POINTER_OWN |  0 );
3310   return vresult;
3311 fail:
3312   return Qnil;
3313 }
3314
3315
3316 SWIGINTERN VALUE
3317 _wrap_Eul_ToHMatrix(int argc, VALUE *argv, VALUE self) {
3318   EulerAngles arg1 ;
3319   matrix3DParaTypeReal (*arg2)[4] ;
3320   void *argp1 ;
3321   int res1 = 0 ;
3322   void *argp2 = 0 ;
3323   int res2 = 0 ;
3324   
3325   if ((argc < 2) || (argc > 2)) {
3326     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3327   }
3328   {
3329     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_Quat,  0 );
3330     if (!SWIG_IsOK(res1)) {
3331       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngles","Eul_ToHMatrix", 1, argv[0] )); 
3332     }  
3333     if (!argp1) {
3334       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EulerAngles","Eul_ToHMatrix", 1, argv[0]));
3335     } else {
3336       arg1 = *((EulerAngles *)(argp1));
3337     }
3338   }
3339   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
3340   if (!SWIG_IsOK(res2)) {
3341     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","Eul_ToHMatrix", 2, argv[1] )); 
3342   } 
3343   arg2 = (float (*)[4])(argp2);
3344   Eul_ToHMatrix(arg1,(float (*)[4])arg2);
3345   return Qnil;
3346 fail:
3347   return Qnil;
3348 }
3349
3350
3351 SWIGINTERN VALUE
3352 _wrap_Eul_FromHMatrix(int argc, VALUE *argv, VALUE self) {
3353   matrix3DParaTypeReal (*arg1)[4] ;
3354   int arg2 ;
3355   void *argp1 = 0 ;
3356   int res1 = 0 ;
3357   int val2 ;
3358   int ecode2 = 0 ;
3359   EulerAngles result;
3360   VALUE vresult = Qnil;
3361   
3362   if ((argc < 2) || (argc > 2)) {
3363     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3364   }
3365   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_a_4__float, 0 |  0 );
3366   if (!SWIG_IsOK(res1)) {
3367     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "float [4][4]","Eul_FromHMatrix", 1, argv[0] )); 
3368   } 
3369   arg1 = (float (*)[4])(argp1);
3370   ecode2 = SWIG_AsVal_int(argv[1], &val2);
3371   if (!SWIG_IsOK(ecode2)) {
3372     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","Eul_FromHMatrix", 2, argv[1] ));
3373   } 
3374   arg2 = (int)(val2);
3375   result = Eul_FromHMatrix((float (*)[4])arg1,arg2);
3376   vresult = SWIG_NewPointerObj((EulerAngles *)memcpy((EulerAngles *)malloc(sizeof(EulerAngles)),&result,sizeof(EulerAngles)), SWIGTYPE_p_Quat, SWIG_POINTER_OWN |  0 );
3377   return vresult;
3378 fail:
3379   return Qnil;
3380 }
3381
3382
3383 SWIGINTERN VALUE
3384 _wrap_Eul_FromQuat(int argc, VALUE *argv, VALUE self) {
3385   Quat arg1 ;
3386   int arg2 ;
3387   void *argp1 ;
3388   int res1 = 0 ;
3389   int val2 ;
3390   int ecode2 = 0 ;
3391   EulerAngles result;
3392   VALUE vresult = Qnil;
3393   
3394   if ((argc < 2) || (argc > 2)) {
3395     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3396   }
3397   {
3398     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_Quat,  0 );
3399     if (!SWIG_IsOK(res1)) {
3400       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Quat","Eul_FromQuat", 1, argv[0] )); 
3401     }  
3402     if (!argp1) {
3403       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Quat","Eul_FromQuat", 1, argv[0]));
3404     } else {
3405       arg1 = *((Quat *)(argp1));
3406     }
3407   }
3408   ecode2 = SWIG_AsVal_int(argv[1], &val2);
3409   if (!SWIG_IsOK(ecode2)) {
3410     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","Eul_FromQuat", 2, argv[1] ));
3411   } 
3412   arg2 = (int)(val2);
3413   result = Eul_FromQuat(arg1,arg2);
3414   vresult = SWIG_NewPointerObj((EulerAngles *)memcpy((EulerAngles *)malloc(sizeof(EulerAngles)),&result,sizeof(EulerAngles)), SWIGTYPE_p_Quat, SWIG_POINTER_OWN |  0 );
3415   return vresult;
3416 fail:
3417   return Qnil;
3418 }
3419
3420
3421 swig_class cMRC_Status_t;
3422
3423 SWIGINTERN VALUE
3424 _wrap_MRC_Status_t_all_set(int argc, VALUE *argv, VALUE self) {
3425   MRC_Status_t *arg1 = (MRC_Status_t *) 0 ;
3426   mrcStatusType arg2 ;
3427   void *argp1 = 0 ;
3428   int res1 = 0 ;
3429   unsigned int val2 ;
3430   int ecode2 = 0 ;
3431   
3432   if ((argc < 1) || (argc > 1)) {
3433     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3434   }
3435   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t, 0 |  0 );
3436   if (!SWIG_IsOK(res1)) {
3437     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t *","all", 1, self )); 
3438   }
3439   arg1 = (MRC_Status_t *)(argp1);
3440   ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
3441   if (!SWIG_IsOK(ecode2)) {
3442     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcStatusType","all", 2, argv[0] ));
3443   } 
3444   arg2 = (mrcStatusType)(val2);
3445   if (arg1) (arg1)->all = arg2;
3446   return Qnil;
3447 fail:
3448   return Qnil;
3449 }
3450
3451
3452 SWIGINTERN VALUE
3453 _wrap_MRC_Status_t_all_get(int argc, VALUE *argv, VALUE self) {
3454   MRC_Status_t *arg1 = (MRC_Status_t *) 0 ;
3455   void *argp1 = 0 ;
3456   int res1 = 0 ;
3457   mrcStatusType result;
3458   VALUE vresult = Qnil;
3459   
3460   if ((argc < 0) || (argc > 0)) {
3461     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3462   }
3463   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t, 0 |  0 );
3464   if (!SWIG_IsOK(res1)) {
3465     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t *","all", 1, self )); 
3466   }
3467   arg1 = (MRC_Status_t *)(argp1);
3468   result = (mrcStatusType) ((arg1)->all);
3469   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
3470   return vresult;
3471 fail:
3472   return Qnil;
3473 }
3474
3475
3476 SWIGINTERN VALUE
3477 _wrap_MRC_Status_t_status_get(int argc, VALUE *argv, VALUE self) {
3478   MRC_Status_t *arg1 = (MRC_Status_t *) 0 ;
3479   void *argp1 = 0 ;
3480   int res1 = 0 ;
3481   MRC_Status_t_status *result = 0 ;
3482   VALUE vresult = Qnil;
3483   
3484   if ((argc < 0) || (argc > 0)) {
3485     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3486   }
3487   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t, 0 |  0 );
3488   if (!SWIG_IsOK(res1)) {
3489     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t *","status", 1, self )); 
3490   }
3491   arg1 = (MRC_Status_t *)(argp1);
3492   result = (MRC_Status_t_status *)& ((arg1)->status);
3493   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MRC_Status_t_status, 0 |  0 );
3494   return vresult;
3495 fail:
3496   return Qnil;
3497 }
3498
3499
3500 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3501 SWIGINTERN VALUE
3502 _wrap_MRC_Status_t_allocate(VALUE self) {
3503 #else
3504   SWIGINTERN VALUE
3505   _wrap_MRC_Status_t_allocate(int argc, VALUE *argv, VALUE self) {
3506 #endif
3507     
3508     
3509     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_MRC_Status_t);
3510 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3511     rb_obj_call_init(vresult, argc, argv);
3512 #endif
3513     return vresult;
3514   }
3515   
3516
3517 SWIGINTERN VALUE
3518 _wrap_new_MRC_Status_t(int argc, VALUE *argv, VALUE self) {
3519   MRC_Status_t *result = 0 ;
3520   
3521   if ((argc < 0) || (argc > 0)) {
3522     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3523   }
3524   result = (MRC_Status_t *)calloc(1, sizeof(MRC_Status_t));
3525   DATA_PTR(self) = result;
3526   return self;
3527 fail:
3528   return Qnil;
3529 }
3530
3531
3532 SWIGINTERN void
3533 free_MRC_Status_t(MRC_Status_t *arg1) {
3534     free((char *) arg1);
3535 }
3536
3537 swig_class cMRC_Status_t_status;
3538
3539 SWIGINTERN VALUE
3540 _wrap_MRC_Status_t_status_detail_set(int argc, VALUE *argv, VALUE self) {
3541   MRC_Status_t_status *arg1 = (MRC_Status_t_status *) 0 ;
3542   short arg2 ;
3543   void *argp1 = 0 ;
3544   int res1 = 0 ;
3545   short val2 ;
3546   int ecode2 = 0 ;
3547   
3548   if ((argc < 1) || (argc > 1)) {
3549     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3550   }
3551   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t_status, 0 |  0 );
3552   if (!SWIG_IsOK(res1)) {
3553     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t_status *","detail", 1, self )); 
3554   }
3555   arg1 = (MRC_Status_t_status *)(argp1);
3556   ecode2 = SWIG_AsVal_short(argv[0], &val2);
3557   if (!SWIG_IsOK(ecode2)) {
3558     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","detail", 2, argv[0] ));
3559   } 
3560   arg2 = (short)(val2);
3561   if (arg1) (arg1)->detail = arg2;
3562   return Qnil;
3563 fail:
3564   return Qnil;
3565 }
3566
3567
3568 SWIGINTERN VALUE
3569 _wrap_MRC_Status_t_status_detail_get(int argc, VALUE *argv, VALUE self) {
3570   MRC_Status_t_status *arg1 = (MRC_Status_t_status *) 0 ;
3571   void *argp1 = 0 ;
3572   int res1 = 0 ;
3573   short result;
3574   VALUE vresult = Qnil;
3575   
3576   if ((argc < 0) || (argc > 0)) {
3577     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3578   }
3579   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t_status, 0 |  0 );
3580   if (!SWIG_IsOK(res1)) {
3581     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t_status *","detail", 1, self )); 
3582   }
3583   arg1 = (MRC_Status_t_status *)(argp1);
3584   result = (short) ((arg1)->detail);
3585   vresult = SWIG_From_short((short)(result));
3586   return vresult;
3587 fail:
3588   return Qnil;
3589 }
3590
3591
3592 SWIGINTERN VALUE
3593 _wrap_MRC_Status_t_status_category_set(int argc, VALUE *argv, VALUE self) {
3594   MRC_Status_t_status *arg1 = (MRC_Status_t_status *) 0 ;
3595   unsigned char arg2 ;
3596   void *argp1 = 0 ;
3597   int res1 = 0 ;
3598   unsigned char val2 ;
3599   int ecode2 = 0 ;
3600   
3601   if ((argc < 1) || (argc > 1)) {
3602     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3603   }
3604   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t_status, 0 |  0 );
3605   if (!SWIG_IsOK(res1)) {
3606     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t_status *","category", 1, self )); 
3607   }
3608   arg1 = (MRC_Status_t_status *)(argp1);
3609   ecode2 = SWIG_AsVal_unsigned_SS_char(argv[0], &val2);
3610   if (!SWIG_IsOK(ecode2)) {
3611     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned char","category", 2, argv[0] ));
3612   } 
3613   arg2 = (unsigned char)(val2);
3614   if (arg1) (arg1)->category = arg2;
3615   return Qnil;
3616 fail:
3617   return Qnil;
3618 }
3619
3620
3621 SWIGINTERN VALUE
3622 _wrap_MRC_Status_t_status_category_get(int argc, VALUE *argv, VALUE self) {
3623   MRC_Status_t_status *arg1 = (MRC_Status_t_status *) 0 ;
3624   void *argp1 = 0 ;
3625   int res1 = 0 ;
3626   unsigned char result;
3627   VALUE vresult = Qnil;
3628   
3629   if ((argc < 0) || (argc > 0)) {
3630     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3631   }
3632   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t_status, 0 |  0 );
3633   if (!SWIG_IsOK(res1)) {
3634     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t_status *","category", 1, self )); 
3635   }
3636   arg1 = (MRC_Status_t_status *)(argp1);
3637   result = (unsigned char) ((arg1)->category);
3638   vresult = SWIG_From_unsigned_SS_char((unsigned char)(result));
3639   return vresult;
3640 fail:
3641   return Qnil;
3642 }
3643
3644
3645 SWIGINTERN VALUE
3646 _wrap_MRC_Status_t_status_level_set(int argc, VALUE *argv, VALUE self) {
3647   MRC_Status_t_status *arg1 = (MRC_Status_t_status *) 0 ;
3648   unsigned char arg2 ;
3649   void *argp1 = 0 ;
3650   int res1 = 0 ;
3651   unsigned char val2 ;
3652   int ecode2 = 0 ;
3653   
3654   if ((argc < 1) || (argc > 1)) {
3655     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3656   }
3657   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t_status, 0 |  0 );
3658   if (!SWIG_IsOK(res1)) {
3659     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t_status *","level", 1, self )); 
3660   }
3661   arg1 = (MRC_Status_t_status *)(argp1);
3662   ecode2 = SWIG_AsVal_unsigned_SS_char(argv[0], &val2);
3663   if (!SWIG_IsOK(ecode2)) {
3664     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned char","level", 2, argv[0] ));
3665   } 
3666   arg2 = (unsigned char)(val2);
3667   if (arg1) (arg1)->level = arg2;
3668   return Qnil;
3669 fail:
3670   return Qnil;
3671 }
3672
3673
3674 SWIGINTERN VALUE
3675 _wrap_MRC_Status_t_status_level_get(int argc, VALUE *argv, VALUE self) {
3676   MRC_Status_t_status *arg1 = (MRC_Status_t_status *) 0 ;
3677   void *argp1 = 0 ;
3678   int res1 = 0 ;
3679   unsigned char result;
3680   VALUE vresult = Qnil;
3681   
3682   if ((argc < 0) || (argc > 0)) {
3683     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3684   }
3685   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t_status, 0 |  0 );
3686   if (!SWIG_IsOK(res1)) {
3687     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t_status *","level", 1, self )); 
3688   }
3689   arg1 = (MRC_Status_t_status *)(argp1);
3690   result = (unsigned char) ((arg1)->level);
3691   vresult = SWIG_From_unsigned_SS_char((unsigned char)(result));
3692   return vresult;
3693 fail:
3694   return Qnil;
3695 }
3696
3697
3698 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3699 SWIGINTERN VALUE
3700 _wrap_MRC_Status_t_status_allocate(VALUE self) {
3701 #else
3702   SWIGINTERN VALUE
3703   _wrap_MRC_Status_t_status_allocate(int argc, VALUE *argv, VALUE self) {
3704 #endif
3705     
3706     
3707     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_MRC_Status_t_status);
3708 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3709     rb_obj_call_init(vresult, argc, argv);
3710 #endif
3711     return vresult;
3712   }
3713   
3714
3715 SWIGINTERN VALUE
3716 _wrap_new_MRC_Status_t_status(int argc, VALUE *argv, VALUE self) {
3717   MRC_Status_t_status *result = 0 ;
3718   
3719   if ((argc < 0) || (argc > 0)) {
3720     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3721   }
3722   result = (MRC_Status_t_status *)calloc(1, sizeof(MRC_Status_t_status));
3723   DATA_PTR(self) = result;
3724   return self;
3725 fail:
3726   return Qnil;
3727 }
3728
3729
3730 SWIGINTERN void
3731 free_MRC_Status_t_status(MRC_Status_t_status *arg1) {
3732     free((char *) arg1);
3733 }
3734
3735 swig_class cMrcImageParaTypeIntegerCoord;
3736
3737 SWIGINTERN VALUE
3738 _wrap_mrcImageParaTypeIntegerCoord_x_set(int argc, VALUE *argv, VALUE self) {
3739   mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3740   mrcImageParaTypeInteger arg2 ;
3741   void *argp1 = 0 ;
3742   int res1 = 0 ;
3743   int val2 ;
3744   int ecode2 = 0 ;
3745   
3746   if ((argc < 1) || (argc > 1)) {
3747     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3748   }
3749   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
3750   if (!SWIG_IsOK(res1)) {
3751     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","x", 1, self )); 
3752   }
3753   arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3754   ecode2 = SWIG_AsVal_int(argv[0], &val2);
3755   if (!SWIG_IsOK(ecode2)) {
3756     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","x", 2, argv[0] ));
3757   } 
3758   arg2 = (mrcImageParaTypeInteger)(val2);
3759   if (arg1) (arg1)->x = arg2;
3760   return Qnil;
3761 fail:
3762   return Qnil;
3763 }
3764
3765
3766 SWIGINTERN VALUE
3767 _wrap_mrcImageParaTypeIntegerCoord_x_get(int argc, VALUE *argv, VALUE self) {
3768   mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3769   void *argp1 = 0 ;
3770   int res1 = 0 ;
3771   mrcImageParaTypeInteger result;
3772   VALUE vresult = Qnil;
3773   
3774   if ((argc < 0) || (argc > 0)) {
3775     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3776   }
3777   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
3778   if (!SWIG_IsOK(res1)) {
3779     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","x", 1, self )); 
3780   }
3781   arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3782   result = (mrcImageParaTypeInteger) ((arg1)->x);
3783   vresult = SWIG_From_int((int)(result));
3784   return vresult;
3785 fail:
3786   return Qnil;
3787 }
3788
3789
3790 SWIGINTERN VALUE
3791 _wrap_mrcImageParaTypeIntegerCoord_y_set(int argc, VALUE *argv, VALUE self) {
3792   mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3793   mrcImageParaTypeInteger arg2 ;
3794   void *argp1 = 0 ;
3795   int res1 = 0 ;
3796   int val2 ;
3797   int ecode2 = 0 ;
3798   
3799   if ((argc < 1) || (argc > 1)) {
3800     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3801   }
3802   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
3803   if (!SWIG_IsOK(res1)) {
3804     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","y", 1, self )); 
3805   }
3806   arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3807   ecode2 = SWIG_AsVal_int(argv[0], &val2);
3808   if (!SWIG_IsOK(ecode2)) {
3809     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","y", 2, argv[0] ));
3810   } 
3811   arg2 = (mrcImageParaTypeInteger)(val2);
3812   if (arg1) (arg1)->y = arg2;
3813   return Qnil;
3814 fail:
3815   return Qnil;
3816 }
3817
3818
3819 SWIGINTERN VALUE
3820 _wrap_mrcImageParaTypeIntegerCoord_y_get(int argc, VALUE *argv, VALUE self) {
3821   mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3822   void *argp1 = 0 ;
3823   int res1 = 0 ;
3824   mrcImageParaTypeInteger result;
3825   VALUE vresult = Qnil;
3826   
3827   if ((argc < 0) || (argc > 0)) {
3828     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3829   }
3830   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
3831   if (!SWIG_IsOK(res1)) {
3832     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","y", 1, self )); 
3833   }
3834   arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3835   result = (mrcImageParaTypeInteger) ((arg1)->y);
3836   vresult = SWIG_From_int((int)(result));
3837   return vresult;
3838 fail:
3839   return Qnil;
3840 }
3841
3842
3843 SWIGINTERN VALUE
3844 _wrap_mrcImageParaTypeIntegerCoord_z_set(int argc, VALUE *argv, VALUE self) {
3845   mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3846   mrcImageParaTypeInteger arg2 ;
3847   void *argp1 = 0 ;
3848   int res1 = 0 ;
3849   int val2 ;
3850   int ecode2 = 0 ;
3851   
3852   if ((argc < 1) || (argc > 1)) {
3853     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3854   }
3855   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
3856   if (!SWIG_IsOK(res1)) {
3857     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","z", 1, self )); 
3858   }
3859   arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3860   ecode2 = SWIG_AsVal_int(argv[0], &val2);
3861   if (!SWIG_IsOK(ecode2)) {
3862     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","z", 2, argv[0] ));
3863   } 
3864   arg2 = (mrcImageParaTypeInteger)(val2);
3865   if (arg1) (arg1)->z = arg2;
3866   return Qnil;
3867 fail:
3868   return Qnil;
3869 }
3870
3871
3872 SWIGINTERN VALUE
3873 _wrap_mrcImageParaTypeIntegerCoord_z_get(int argc, VALUE *argv, VALUE self) {
3874   mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3875   void *argp1 = 0 ;
3876   int res1 = 0 ;
3877   mrcImageParaTypeInteger result;
3878   VALUE vresult = Qnil;
3879   
3880   if ((argc < 0) || (argc > 0)) {
3881     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3882   }
3883   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
3884   if (!SWIG_IsOK(res1)) {
3885     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","z", 1, self )); 
3886   }
3887   arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3888   result = (mrcImageParaTypeInteger) ((arg1)->z);
3889   vresult = SWIG_From_int((int)(result));
3890   return vresult;
3891 fail:
3892   return Qnil;
3893 }
3894
3895
3896 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3897 SWIGINTERN VALUE
3898 _wrap_mrcImageParaTypeIntegerCoord_allocate(VALUE self) {
3899 #else
3900   SWIGINTERN VALUE
3901   _wrap_mrcImageParaTypeIntegerCoord_allocate(int argc, VALUE *argv, VALUE self) {
3902 #endif
3903     
3904     
3905     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageParaTypeIntegerCoord);
3906 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3907     rb_obj_call_init(vresult, argc, argv);
3908 #endif
3909     return vresult;
3910   }
3911   
3912
3913 SWIGINTERN VALUE
3914 _wrap_new_mrcImageParaTypeIntegerCoord(int argc, VALUE *argv, VALUE self) {
3915   mrcImageParaTypeIntegerCoord *result = 0 ;
3916   
3917   if ((argc < 0) || (argc > 0)) {
3918     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3919   }
3920   result = (mrcImageParaTypeIntegerCoord *)calloc(1, sizeof(mrcImageParaTypeIntegerCoord));
3921   DATA_PTR(self) = result;
3922   return self;
3923 fail:
3924   return Qnil;
3925 }
3926
3927
3928 SWIGINTERN void
3929 free_mrcImageParaTypeIntegerCoord(mrcImageParaTypeIntegerCoord *arg1) {
3930     free((char *) arg1);
3931 }
3932
3933 swig_class cMrcImageParaTypeRealCoord;
3934
3935 SWIGINTERN VALUE
3936 _wrap_mrcImageParaTypeRealCoord_x_set(int argc, VALUE *argv, VALUE self) {
3937   mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
3938   mrcImageParaTypeReal arg2 ;
3939   void *argp1 = 0 ;
3940   int res1 = 0 ;
3941   float val2 ;
3942   int ecode2 = 0 ;
3943   
3944   if ((argc < 1) || (argc > 1)) {
3945     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3946   }
3947   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
3948   if (!SWIG_IsOK(res1)) {
3949     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","x", 1, self )); 
3950   }
3951   arg1 = (mrcImageParaTypeRealCoord *)(argp1);
3952   ecode2 = SWIG_AsVal_float(argv[0], &val2);
3953   if (!SWIG_IsOK(ecode2)) {
3954     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","x", 2, argv[0] ));
3955   } 
3956   arg2 = (mrcImageParaTypeReal)(val2);
3957   if (arg1) (arg1)->x = arg2;
3958   return Qnil;
3959 fail:
3960   return Qnil;
3961 }
3962
3963
3964 SWIGINTERN VALUE
3965 _wrap_mrcImageParaTypeRealCoord_x_get(int argc, VALUE *argv, VALUE self) {
3966   mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
3967   void *argp1 = 0 ;
3968   int res1 = 0 ;
3969   mrcImageParaTypeReal result;
3970   VALUE vresult = Qnil;
3971   
3972   if ((argc < 0) || (argc > 0)) {
3973     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3974   }
3975   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
3976   if (!SWIG_IsOK(res1)) {
3977     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","x", 1, self )); 
3978   }
3979   arg1 = (mrcImageParaTypeRealCoord *)(argp1);
3980   result = (mrcImageParaTypeReal) ((arg1)->x);
3981   vresult = SWIG_From_float((float)(result));
3982   return vresult;
3983 fail:
3984   return Qnil;
3985 }
3986
3987
3988 SWIGINTERN VALUE
3989 _wrap_mrcImageParaTypeRealCoord_y_set(int argc, VALUE *argv, VALUE self) {
3990   mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
3991   mrcImageParaTypeReal arg2 ;
3992   void *argp1 = 0 ;
3993   int res1 = 0 ;
3994   float val2 ;
3995   int ecode2 = 0 ;
3996   
3997   if ((argc < 1) || (argc > 1)) {
3998     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3999   }
4000   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
4001   if (!SWIG_IsOK(res1)) {
4002     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","y", 1, self )); 
4003   }
4004   arg1 = (mrcImageParaTypeRealCoord *)(argp1);
4005   ecode2 = SWIG_AsVal_float(argv[0], &val2);
4006   if (!SWIG_IsOK(ecode2)) {
4007     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","y", 2, argv[0] ));
4008   } 
4009   arg2 = (mrcImageParaTypeReal)(val2);
4010   if (arg1) (arg1)->y = arg2;
4011   return Qnil;
4012 fail:
4013   return Qnil;
4014 }
4015
4016
4017 SWIGINTERN VALUE
4018 _wrap_mrcImageParaTypeRealCoord_y_get(int argc, VALUE *argv, VALUE self) {
4019   mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
4020   void *argp1 = 0 ;
4021   int res1 = 0 ;
4022   mrcImageParaTypeReal result;
4023   VALUE vresult = Qnil;
4024   
4025   if ((argc < 0) || (argc > 0)) {
4026     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4027   }
4028   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
4029   if (!SWIG_IsOK(res1)) {
4030     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","y", 1, self )); 
4031   }
4032   arg1 = (mrcImageParaTypeRealCoord *)(argp1);
4033   result = (mrcImageParaTypeReal) ((arg1)->y);
4034   vresult = SWIG_From_float((float)(result));
4035   return vresult;
4036 fail:
4037   return Qnil;
4038 }
4039
4040
4041 SWIGINTERN VALUE
4042 _wrap_mrcImageParaTypeRealCoord_z_set(int argc, VALUE *argv, VALUE self) {
4043   mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
4044   mrcImageParaTypeReal arg2 ;
4045   void *argp1 = 0 ;
4046   int res1 = 0 ;
4047   float val2 ;
4048   int ecode2 = 0 ;
4049   
4050   if ((argc < 1) || (argc > 1)) {
4051     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4052   }
4053   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
4054   if (!SWIG_IsOK(res1)) {
4055     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","z", 1, self )); 
4056   }
4057   arg1 = (mrcImageParaTypeRealCoord *)(argp1);
4058   ecode2 = SWIG_AsVal_float(argv[0], &val2);
4059   if (!SWIG_IsOK(ecode2)) {
4060     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","z", 2, argv[0] ));
4061   } 
4062   arg2 = (mrcImageParaTypeReal)(val2);
4063   if (arg1) (arg1)->z = arg2;
4064   return Qnil;
4065 fail:
4066   return Qnil;
4067 }
4068
4069
4070 SWIGINTERN VALUE
4071 _wrap_mrcImageParaTypeRealCoord_z_get(int argc, VALUE *argv, VALUE self) {
4072   mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
4073   void *argp1 = 0 ;
4074   int res1 = 0 ;
4075   mrcImageParaTypeReal result;
4076   VALUE vresult = Qnil;
4077   
4078   if ((argc < 0) || (argc > 0)) {
4079     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4080   }
4081   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
4082   if (!SWIG_IsOK(res1)) {
4083     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","z", 1, self )); 
4084   }
4085   arg1 = (mrcImageParaTypeRealCoord *)(argp1);
4086   result = (mrcImageParaTypeReal) ((arg1)->z);
4087   vresult = SWIG_From_float((float)(result));
4088   return vresult;
4089 fail:
4090   return Qnil;
4091 }
4092
4093
4094 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
4095 SWIGINTERN VALUE
4096 _wrap_mrcImageParaTypeRealCoord_allocate(VALUE self) {
4097 #else
4098   SWIGINTERN VALUE
4099   _wrap_mrcImageParaTypeRealCoord_allocate(int argc, VALUE *argv, VALUE self) {
4100 #endif
4101     
4102     
4103     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageParaTypeRealCoord);
4104 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
4105     rb_obj_call_init(vresult, argc, argv);
4106 #endif
4107     return vresult;
4108   }
4109   
4110
4111 SWIGINTERN VALUE
4112 _wrap_new_mrcImageParaTypeRealCoord(int argc, VALUE *argv, VALUE self) {
4113   mrcImageParaTypeRealCoord *result = 0 ;
4114   
4115   if ((argc < 0) || (argc > 0)) {
4116     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4117   }
4118   result = (mrcImageParaTypeRealCoord *)calloc(1, sizeof(mrcImageParaTypeRealCoord));
4119   DATA_PTR(self) = result;
4120   return self;
4121 fail:
4122   return Qnil;
4123 }
4124
4125
4126 SWIGINTERN void
4127 free_mrcImageParaTypeRealCoord(mrcImageParaTypeRealCoord *arg1) {
4128     free((char *) arg1);
4129 }
4130
4131 swig_class c_mrcImageHeader;
4132
4133 SWIGINTERN VALUE
4134 _wrap__mrcImageHeader_N_set(int argc, VALUE *argv, VALUE self) {
4135   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4136   mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
4137   void *argp1 = 0 ;
4138   int res1 = 0 ;
4139   void *argp2 = 0 ;
4140   int res2 = 0 ;
4141   
4142   if ((argc < 1) || (argc > 1)) {
4143     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4144   }
4145   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4146   if (!SWIG_IsOK(res1)) {
4147     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","N", 1, self )); 
4148   }
4149   arg1 = (_mrcImageHeader *)(argp1);
4150   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
4151   if (!SWIG_IsOK(res2)) {
4152     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","N", 2, argv[0] )); 
4153   }
4154   arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
4155   if (arg1) (arg1)->N = *arg2;
4156   return Qnil;
4157 fail:
4158   return Qnil;
4159 }
4160
4161
4162 SWIGINTERN VALUE
4163 _wrap__mrcImageHeader_N_get(int argc, VALUE *argv, VALUE self) {
4164   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4165   void *argp1 = 0 ;
4166   int res1 = 0 ;
4167   mrcImageParaTypeIntegerCoord *result = 0 ;
4168   VALUE vresult = Qnil;
4169   
4170   if ((argc < 0) || (argc > 0)) {
4171     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4172   }
4173   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4174   if (!SWIG_IsOK(res1)) {
4175     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","N", 1, self )); 
4176   }
4177   arg1 = (_mrcImageHeader *)(argp1);
4178   result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->N);
4179   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
4180   return vresult;
4181 fail:
4182   return Qnil;
4183 }
4184
4185
4186 SWIGINTERN VALUE
4187 _wrap__mrcImageHeader_Mode_set(int argc, VALUE *argv, VALUE self) {
4188   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4189   mrcImageMode arg2 ;
4190   void *argp1 = 0 ;
4191   int res1 = 0 ;
4192   int val2 ;
4193   int ecode2 = 0 ;
4194   
4195   if ((argc < 1) || (argc > 1)) {
4196     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4197   }
4198   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4199   if (!SWIG_IsOK(res1)) {
4200     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Mode", 1, self )); 
4201   }
4202   arg1 = (_mrcImageHeader *)(argp1);
4203   ecode2 = SWIG_AsVal_int(argv[0], &val2);
4204   if (!SWIG_IsOK(ecode2)) {
4205     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageMode","Mode", 2, argv[0] ));
4206   } 
4207   arg2 = (mrcImageMode)(val2);
4208   if (arg1) (arg1)->Mode = arg2;
4209   return Qnil;
4210 fail:
4211   return Qnil;
4212 }
4213
4214
4215 SWIGINTERN VALUE
4216 _wrap__mrcImageHeader_Mode_get(int argc, VALUE *argv, VALUE self) {
4217   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4218   void *argp1 = 0 ;
4219   int res1 = 0 ;
4220   mrcImageMode result;
4221   VALUE vresult = Qnil;
4222   
4223   if ((argc < 0) || (argc > 0)) {
4224     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4225   }
4226   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4227   if (!SWIG_IsOK(res1)) {
4228     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Mode", 1, self )); 
4229   }
4230   arg1 = (_mrcImageHeader *)(argp1);
4231   result = (mrcImageMode) ((arg1)->Mode);
4232   vresult = SWIG_From_int((int)(result));
4233   return vresult;
4234 fail:
4235   return Qnil;
4236 }
4237
4238
4239 SWIGINTERN VALUE
4240 _wrap__mrcImageHeader_StartN_set(int argc, VALUE *argv, VALUE self) {
4241   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4242   mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
4243   void *argp1 = 0 ;
4244   int res1 = 0 ;
4245   void *argp2 = 0 ;
4246   int res2 = 0 ;
4247   
4248   if ((argc < 1) || (argc > 1)) {
4249     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4250   }
4251   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4252   if (!SWIG_IsOK(res1)) {
4253     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","StartN", 1, self )); 
4254   }
4255   arg1 = (_mrcImageHeader *)(argp1);
4256   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
4257   if (!SWIG_IsOK(res2)) {
4258     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","StartN", 2, argv[0] )); 
4259   }
4260   arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
4261   if (arg1) (arg1)->StartN = *arg2;
4262   return Qnil;
4263 fail:
4264   return Qnil;
4265 }
4266
4267
4268 SWIGINTERN VALUE
4269 _wrap__mrcImageHeader_StartN_get(int argc, VALUE *argv, VALUE self) {
4270   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4271   void *argp1 = 0 ;
4272   int res1 = 0 ;
4273   mrcImageParaTypeIntegerCoord *result = 0 ;
4274   VALUE vresult = Qnil;
4275   
4276   if ((argc < 0) || (argc > 0)) {
4277     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4278   }
4279   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4280   if (!SWIG_IsOK(res1)) {
4281     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","StartN", 1, self )); 
4282   }
4283   arg1 = (_mrcImageHeader *)(argp1);
4284   result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->StartN);
4285   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
4286   return vresult;
4287 fail:
4288   return Qnil;
4289 }
4290
4291
4292 SWIGINTERN VALUE
4293 _wrap__mrcImageHeader_M_set(int argc, VALUE *argv, VALUE self) {
4294   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4295   mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
4296   void *argp1 = 0 ;
4297   int res1 = 0 ;
4298   void *argp2 = 0 ;
4299   int res2 = 0 ;
4300   
4301   if ((argc < 1) || (argc > 1)) {
4302     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4303   }
4304   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4305   if (!SWIG_IsOK(res1)) {
4306     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","M", 1, self )); 
4307   }
4308   arg1 = (_mrcImageHeader *)(argp1);
4309   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
4310   if (!SWIG_IsOK(res2)) {
4311     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","M", 2, argv[0] )); 
4312   }
4313   arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
4314   if (arg1) (arg1)->M = *arg2;
4315   return Qnil;
4316 fail:
4317   return Qnil;
4318 }
4319
4320
4321 SWIGINTERN VALUE
4322 _wrap__mrcImageHeader_M_get(int argc, VALUE *argv, VALUE self) {
4323   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4324   void *argp1 = 0 ;
4325   int res1 = 0 ;
4326   mrcImageParaTypeIntegerCoord *result = 0 ;
4327   VALUE vresult = Qnil;
4328   
4329   if ((argc < 0) || (argc > 0)) {
4330     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4331   }
4332   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4333   if (!SWIG_IsOK(res1)) {
4334     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","M", 1, self )); 
4335   }
4336   arg1 = (_mrcImageHeader *)(argp1);
4337   result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->M);
4338   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
4339   return vresult;
4340 fail:
4341   return Qnil;
4342 }
4343
4344
4345 SWIGINTERN VALUE
4346 _wrap__mrcImageHeader_Length_set(int argc, VALUE *argv, VALUE self) {
4347   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4348   mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
4349   void *argp1 = 0 ;
4350   int res1 = 0 ;
4351   void *argp2 = 0 ;
4352   int res2 = 0 ;
4353   
4354   if ((argc < 1) || (argc > 1)) {
4355     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4356   }
4357   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4358   if (!SWIG_IsOK(res1)) {
4359     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Length", 1, self )); 
4360   }
4361   arg1 = (_mrcImageHeader *)(argp1);
4362   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
4363   if (!SWIG_IsOK(res2)) {
4364     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","Length", 2, argv[0] )); 
4365   }
4366   arg2 = (mrcImageParaTypeRealCoord *)(argp2);
4367   if (arg1) (arg1)->Length = *arg2;
4368   return Qnil;
4369 fail:
4370   return Qnil;
4371 }
4372
4373
4374 SWIGINTERN VALUE
4375 _wrap__mrcImageHeader_Length_get(int argc, VALUE *argv, VALUE self) {
4376   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4377   void *argp1 = 0 ;
4378   int res1 = 0 ;
4379   mrcImageParaTypeRealCoord *result = 0 ;
4380   VALUE vresult = Qnil;
4381   
4382   if ((argc < 0) || (argc > 0)) {
4383     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4384   }
4385   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4386   if (!SWIG_IsOK(res1)) {
4387     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Length", 1, self )); 
4388   }
4389   arg1 = (_mrcImageHeader *)(argp1);
4390   result = (mrcImageParaTypeRealCoord *)& ((arg1)->Length);
4391   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
4392   return vresult;
4393 fail:
4394   return Qnil;
4395 }
4396
4397
4398 SWIGINTERN VALUE
4399 _wrap__mrcImageHeader_Alpha_set(int argc, VALUE *argv, VALUE self) {
4400   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4401   mrcImageParaTypeReal arg2 ;
4402   void *argp1 = 0 ;
4403   int res1 = 0 ;
4404   float val2 ;
4405   int ecode2 = 0 ;
4406   
4407   if ((argc < 1) || (argc > 1)) {
4408     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4409   }
4410   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4411   if (!SWIG_IsOK(res1)) {
4412     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Alpha", 1, self )); 
4413   }
4414   arg1 = (_mrcImageHeader *)(argp1);
4415   ecode2 = SWIG_AsVal_float(argv[0], &val2);
4416   if (!SWIG_IsOK(ecode2)) {
4417     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Alpha", 2, argv[0] ));
4418   } 
4419   arg2 = (mrcImageParaTypeReal)(val2);
4420   if (arg1) (arg1)->Alpha = arg2;
4421   return Qnil;
4422 fail:
4423   return Qnil;
4424 }
4425
4426
4427 SWIGINTERN VALUE
4428 _wrap__mrcImageHeader_Alpha_get(int argc, VALUE *argv, VALUE self) {
4429   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4430   void *argp1 = 0 ;
4431   int res1 = 0 ;
4432   mrcImageParaTypeReal result;
4433   VALUE vresult = Qnil;
4434   
4435   if ((argc < 0) || (argc > 0)) {
4436     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4437   }
4438   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4439   if (!SWIG_IsOK(res1)) {
4440     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Alpha", 1, self )); 
4441   }
4442   arg1 = (_mrcImageHeader *)(argp1);
4443   result = (mrcImageParaTypeReal) ((arg1)->Alpha);
4444   vresult = SWIG_From_float((float)(result));
4445   return vresult;
4446 fail:
4447   return Qnil;
4448 }
4449
4450
4451 SWIGINTERN VALUE
4452 _wrap__mrcImageHeader_Beta_set(int argc, VALUE *argv, VALUE self) {
4453   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4454   mrcImageParaTypeReal arg2 ;
4455   void *argp1 = 0 ;
4456   int res1 = 0 ;
4457   float val2 ;
4458   int ecode2 = 0 ;
4459   
4460   if ((argc < 1) || (argc > 1)) {
4461     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4462   }
4463   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4464   if (!SWIG_IsOK(res1)) {
4465     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Beta", 1, self )); 
4466   }
4467   arg1 = (_mrcImageHeader *)(argp1);
4468   ecode2 = SWIG_AsVal_float(argv[0], &val2);
4469   if (!SWIG_IsOK(ecode2)) {
4470     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Beta", 2, argv[0] ));
4471   } 
4472   arg2 = (mrcImageParaTypeReal)(val2);
4473   if (arg1) (arg1)->Beta = arg2;
4474   return Qnil;
4475 fail:
4476   return Qnil;
4477 }
4478
4479
4480 SWIGINTERN VALUE
4481 _wrap__mrcImageHeader_Beta_get(int argc, VALUE *argv, VALUE self) {
4482   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4483   void *argp1 = 0 ;
4484   int res1 = 0 ;
4485   mrcImageParaTypeReal result;
4486   VALUE vresult = Qnil;
4487   
4488   if ((argc < 0) || (argc > 0)) {
4489     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4490   }
4491   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4492   if (!SWIG_IsOK(res1)) {
4493     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Beta", 1, self )); 
4494   }
4495   arg1 = (_mrcImageHeader *)(argp1);
4496   result = (mrcImageParaTypeReal) ((arg1)->Beta);
4497   vresult = SWIG_From_float((float)(result));
4498   return vresult;
4499 fail:
4500   return Qnil;
4501 }
4502
4503
4504 SWIGINTERN VALUE
4505 _wrap__mrcImageHeader_Gamma_set(int argc, VALUE *argv, VALUE self) {
4506   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4507   mrcImageParaTypeReal arg2 ;
4508   void *argp1 = 0 ;
4509   int res1 = 0 ;
4510   float val2 ;
4511   int ecode2 = 0 ;
4512   
4513   if ((argc < 1) || (argc > 1)) {
4514     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4515   }
4516   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4517   if (!SWIG_IsOK(res1)) {
4518     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Gamma", 1, self )); 
4519   }
4520   arg1 = (_mrcImageHeader *)(argp1);
4521   ecode2 = SWIG_AsVal_float(argv[0], &val2);
4522   if (!SWIG_IsOK(ecode2)) {
4523     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Gamma", 2, argv[0] ));
4524   } 
4525   arg2 = (mrcImageParaTypeReal)(val2);
4526   if (arg1) (arg1)->Gamma = arg2;
4527   return Qnil;
4528 fail:
4529   return Qnil;
4530 }
4531
4532
4533 SWIGINTERN VALUE
4534 _wrap__mrcImageHeader_Gamma_get(int argc, VALUE *argv, VALUE self) {
4535   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4536   void *argp1 = 0 ;
4537   int res1 = 0 ;
4538   mrcImageParaTypeReal result;
4539   VALUE vresult = Qnil;
4540   
4541   if ((argc < 0) || (argc > 0)) {
4542     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4543   }
4544   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4545   if (!SWIG_IsOK(res1)) {
4546     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Gamma", 1, self )); 
4547   }
4548   arg1 = (_mrcImageHeader *)(argp1);
4549   result = (mrcImageParaTypeReal) ((arg1)->Gamma);
4550   vresult = SWIG_From_float((float)(result));
4551   return vresult;
4552 fail:
4553   return Qnil;
4554 }
4555
4556
4557 SWIGINTERN VALUE
4558 _wrap__mrcImageHeader_MAPC_set(int argc, VALUE *argv, VALUE self) {
4559   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4560   mrcImageParaTypeInteger arg2 ;
4561   void *argp1 = 0 ;
4562   int res1 = 0 ;
4563   int val2 ;
4564   int ecode2 = 0 ;
4565   
4566   if ((argc < 1) || (argc > 1)) {
4567     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4568   }
4569   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4570   if (!SWIG_IsOK(res1)) {
4571     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPC", 1, self )); 
4572   }
4573   arg1 = (_mrcImageHeader *)(argp1);
4574   ecode2 = SWIG_AsVal_int(argv[0], &val2);
4575   if (!SWIG_IsOK(ecode2)) {
4576     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPC", 2, argv[0] ));
4577   } 
4578   arg2 = (mrcImageParaTypeInteger)(val2);
4579   if (arg1) (arg1)->MAPC = arg2;
4580   return Qnil;
4581 fail:
4582   return Qnil;
4583 }
4584
4585
4586 SWIGINTERN VALUE
4587 _wrap__mrcImageHeader_MAPC_get(int argc, VALUE *argv, VALUE self) {
4588   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4589   void *argp1 = 0 ;
4590   int res1 = 0 ;
4591   mrcImageParaTypeInteger result;
4592   VALUE vresult = Qnil;
4593   
4594   if ((argc < 0) || (argc > 0)) {
4595     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4596   }
4597   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4598   if (!SWIG_IsOK(res1)) {
4599     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPC", 1, self )); 
4600   }
4601   arg1 = (_mrcImageHeader *)(argp1);
4602   result = (mrcImageParaTypeInteger) ((arg1)->MAPC);
4603   vresult = SWIG_From_int((int)(result));
4604   return vresult;
4605 fail:
4606   return Qnil;
4607 }
4608
4609
4610 SWIGINTERN VALUE
4611 _wrap__mrcImageHeader_MAPR_set(int argc, VALUE *argv, VALUE self) {
4612   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4613   mrcImageParaTypeInteger arg2 ;
4614   void *argp1 = 0 ;
4615   int res1 = 0 ;
4616   int val2 ;
4617   int ecode2 = 0 ;
4618   
4619   if ((argc < 1) || (argc > 1)) {
4620     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4621   }
4622   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4623   if (!SWIG_IsOK(res1)) {
4624     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPR", 1, self )); 
4625   }
4626   arg1 = (_mrcImageHeader *)(argp1);
4627   ecode2 = SWIG_AsVal_int(argv[0], &val2);
4628   if (!SWIG_IsOK(ecode2)) {
4629     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPR", 2, argv[0] ));
4630   } 
4631   arg2 = (mrcImageParaTypeInteger)(val2);
4632   if (arg1) (arg1)->MAPR = arg2;
4633   return Qnil;
4634 fail:
4635   return Qnil;
4636 }
4637
4638
4639 SWIGINTERN VALUE
4640 _wrap__mrcImageHeader_MAPR_get(int argc, VALUE *argv, VALUE self) {
4641   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4642   void *argp1 = 0 ;
4643   int res1 = 0 ;
4644   mrcImageParaTypeInteger result;
4645   VALUE vresult = Qnil;
4646   
4647   if ((argc < 0) || (argc > 0)) {
4648     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4649   }
4650   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4651   if (!SWIG_IsOK(res1)) {
4652     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPR", 1, self )); 
4653   }
4654   arg1 = (_mrcImageHeader *)(argp1);
4655   result = (mrcImageParaTypeInteger) ((arg1)->MAPR);
4656   vresult = SWIG_From_int((int)(result));
4657   return vresult;
4658 fail:
4659   return Qnil;
4660 }
4661
4662
4663 SWIGINTERN VALUE
4664 _wrap__mrcImageHeader_MAPS_set(int argc, VALUE *argv, VALUE self) {
4665   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4666   mrcImageParaTypeInteger arg2 ;
4667   void *argp1 = 0 ;
4668   int res1 = 0 ;
4669   int val2 ;
4670   int ecode2 = 0 ;
4671   
4672   if ((argc < 1) || (argc > 1)) {
4673     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4674   }
4675   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4676   if (!SWIG_IsOK(res1)) {
4677     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPS", 1, self )); 
4678   }
4679   arg1 = (_mrcImageHeader *)(argp1);
4680   ecode2 = SWIG_AsVal_int(argv[0], &val2);
4681   if (!SWIG_IsOK(ecode2)) {
4682     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPS", 2, argv[0] ));
4683   } 
4684   arg2 = (mrcImageParaTypeInteger)(val2);
4685   if (arg1) (arg1)->MAPS = arg2;
4686   return Qnil;
4687 fail:
4688   return Qnil;
4689 }
4690
4691
4692 SWIGINTERN VALUE
4693 _wrap__mrcImageHeader_MAPS_get(int argc, VALUE *argv, VALUE self) {
4694   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4695   void *argp1 = 0 ;
4696   int res1 = 0 ;
4697   mrcImageParaTypeInteger result;
4698   VALUE vresult = Qnil;
4699   
4700   if ((argc < 0) || (argc > 0)) {
4701     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4702   }
4703   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4704   if (!SWIG_IsOK(res1)) {
4705     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPS", 1, self )); 
4706   }
4707   arg1 = (_mrcImageHeader *)(argp1);
4708   result = (mrcImageParaTypeInteger) ((arg1)->MAPS);
4709   vresult = SWIG_From_int((int)(result));
4710   return vresult;
4711 fail:
4712   return Qnil;
4713 }
4714
4715
4716 SWIGINTERN VALUE
4717 _wrap__mrcImageHeader_AMin_set(int argc, VALUE *argv, VALUE self) {
4718   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4719   mrcImageParaTypeReal arg2 ;
4720   void *argp1 = 0 ;
4721   int res1 = 0 ;
4722   float val2 ;
4723   int ecode2 = 0 ;
4724   
4725   if ((argc < 1) || (argc > 1)) {
4726     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4727   }
4728   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4729   if (!SWIG_IsOK(res1)) {
4730     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMin", 1, self )); 
4731   }
4732   arg1 = (_mrcImageHeader *)(argp1);
4733   ecode2 = SWIG_AsVal_float(argv[0], &val2);
4734   if (!SWIG_IsOK(ecode2)) {
4735     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMin", 2, argv[0] ));
4736   } 
4737   arg2 = (mrcImageParaTypeReal)(val2);
4738   if (arg1) (arg1)->AMin = arg2;
4739   return Qnil;
4740 fail:
4741   return Qnil;
4742 }
4743
4744
4745 SWIGINTERN VALUE
4746 _wrap__mrcImageHeader_AMin_get(int argc, VALUE *argv, VALUE self) {
4747   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4748   void *argp1 = 0 ;
4749   int res1 = 0 ;
4750   mrcImageParaTypeReal result;
4751   VALUE vresult = Qnil;
4752   
4753   if ((argc < 0) || (argc > 0)) {
4754     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4755   }
4756   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4757   if (!SWIG_IsOK(res1)) {
4758     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMin", 1, self )); 
4759   }
4760   arg1 = (_mrcImageHeader *)(argp1);
4761   result = (mrcImageParaTypeReal) ((arg1)->AMin);
4762   vresult = SWIG_From_float((float)(result));
4763   return vresult;
4764 fail:
4765   return Qnil;
4766 }
4767
4768
4769 SWIGINTERN VALUE
4770 _wrap__mrcImageHeader_AMax_set(int argc, VALUE *argv, VALUE self) {
4771   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4772   mrcImageParaTypeReal arg2 ;
4773   void *argp1 = 0 ;
4774   int res1 = 0 ;
4775   float val2 ;
4776   int ecode2 = 0 ;
4777   
4778   if ((argc < 1) || (argc > 1)) {
4779     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4780   }
4781   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4782   if (!SWIG_IsOK(res1)) {
4783     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMax", 1, self )); 
4784   }
4785   arg1 = (_mrcImageHeader *)(argp1);
4786   ecode2 = SWIG_AsVal_float(argv[0], &val2);
4787   if (!SWIG_IsOK(ecode2)) {
4788     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMax", 2, argv[0] ));
4789   } 
4790   arg2 = (mrcImageParaTypeReal)(val2);
4791   if (arg1) (arg1)->AMax = arg2;
4792   return Qnil;
4793 fail:
4794   return Qnil;
4795 }
4796
4797
4798 SWIGINTERN VALUE
4799 _wrap__mrcImageHeader_AMax_get(int argc, VALUE *argv, VALUE self) {
4800   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4801   void *argp1 = 0 ;
4802   int res1 = 0 ;
4803   mrcImageParaTypeReal result;
4804   VALUE vresult = Qnil;
4805   
4806   if ((argc < 0) || (argc > 0)) {
4807     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4808   }
4809   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4810   if (!SWIG_IsOK(res1)) {
4811     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMax", 1, self )); 
4812   }
4813   arg1 = (_mrcImageHeader *)(argp1);
4814   result = (mrcImageParaTypeReal) ((arg1)->AMax);
4815   vresult = SWIG_From_float((float)(result));
4816   return vresult;
4817 fail:
4818   return Qnil;
4819 }
4820
4821
4822 SWIGINTERN VALUE
4823 _wrap__mrcImageHeader_AMean_set(int argc, VALUE *argv, VALUE self) {
4824   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4825   mrcImageParaTypeReal arg2 ;
4826   void *argp1 = 0 ;
4827   int res1 = 0 ;
4828   float val2 ;
4829   int ecode2 = 0 ;
4830   
4831   if ((argc < 1) || (argc > 1)) {
4832     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4833   }
4834   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4835   if (!SWIG_IsOK(res1)) {
4836     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMean", 1, self )); 
4837   }
4838   arg1 = (_mrcImageHeader *)(argp1);
4839   ecode2 = SWIG_AsVal_float(argv[0], &val2);
4840   if (!SWIG_IsOK(ecode2)) {
4841     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMean", 2, argv[0] ));
4842   } 
4843   arg2 = (mrcImageParaTypeReal)(val2);
4844   if (arg1) (arg1)->AMean = arg2;
4845   return Qnil;
4846 fail:
4847   return Qnil;
4848 }
4849
4850
4851 SWIGINTERN VALUE
4852 _wrap__mrcImageHeader_AMean_get(int argc, VALUE *argv, VALUE self) {
4853   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4854   void *argp1 = 0 ;
4855   int res1 = 0 ;
4856   mrcImageParaTypeReal result;
4857   VALUE vresult = Qnil;
4858   
4859   if ((argc < 0) || (argc > 0)) {
4860     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4861   }
4862   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4863   if (!SWIG_IsOK(res1)) {
4864     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMean", 1, self )); 
4865   }
4866   arg1 = (_mrcImageHeader *)(argp1);
4867   result = (mrcImageParaTypeReal) ((arg1)->AMean);
4868   vresult = SWIG_From_float((float)(result));
4869   return vresult;
4870 fail:
4871   return Qnil;
4872 }
4873
4874
4875 SWIGINTERN VALUE
4876 _wrap__mrcImageHeader_ISPG_set(int argc, VALUE *argv, VALUE self) {
4877   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4878   mrcImageParaTypeInteger arg2 ;
4879   void *argp1 = 0 ;
4880   int res1 = 0 ;
4881   int val2 ;
4882   int ecode2 = 0 ;
4883   
4884   if ((argc < 1) || (argc > 1)) {
4885     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4886   }
4887   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4888   if (!SWIG_IsOK(res1)) {
4889     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","ISPG", 1, self )); 
4890   }
4891   arg1 = (_mrcImageHeader *)(argp1);
4892   ecode2 = SWIG_AsVal_int(argv[0], &val2);
4893   if (!SWIG_IsOK(ecode2)) {
4894     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","ISPG", 2, argv[0] ));
4895   } 
4896   arg2 = (mrcImageParaTypeInteger)(val2);
4897   if (arg1) (arg1)->ISPG = arg2;
4898   return Qnil;
4899 fail:
4900   return Qnil;
4901 }
4902
4903
4904 SWIGINTERN VALUE
4905 _wrap__mrcImageHeader_ISPG_get(int argc, VALUE *argv, VALUE self) {
4906   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4907   void *argp1 = 0 ;
4908   int res1 = 0 ;
4909   mrcImageParaTypeInteger result;
4910   VALUE vresult = Qnil;
4911   
4912   if ((argc < 0) || (argc > 0)) {
4913     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4914   }
4915   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4916   if (!SWIG_IsOK(res1)) {
4917     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","ISPG", 1, self )); 
4918   }
4919   arg1 = (_mrcImageHeader *)(argp1);
4920   result = (mrcImageParaTypeInteger) ((arg1)->ISPG);
4921   vresult = SWIG_From_int((int)(result));
4922   return vresult;
4923 fail:
4924   return Qnil;
4925 }
4926
4927
4928 SWIGINTERN VALUE
4929 _wrap__mrcImageHeader_NSYMBT_set(int argc, VALUE *argv, VALUE self) {
4930   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4931   mrcImageParaTypeInteger arg2 ;
4932   void *argp1 = 0 ;
4933   int res1 = 0 ;
4934   int val2 ;
4935   int ecode2 = 0 ;
4936   
4937   if ((argc < 1) || (argc > 1)) {
4938     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4939   }
4940   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4941   if (!SWIG_IsOK(res1)) {
4942     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","NSYMBT", 1, self )); 
4943   }
4944   arg1 = (_mrcImageHeader *)(argp1);
4945   ecode2 = SWIG_AsVal_int(argv[0], &val2);
4946   if (!SWIG_IsOK(ecode2)) {
4947     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","NSYMBT", 2, argv[0] ));
4948   } 
4949   arg2 = (mrcImageParaTypeInteger)(val2);
4950   if (arg1) (arg1)->NSYMBT = arg2;
4951   return Qnil;
4952 fail:
4953   return Qnil;
4954 }
4955
4956
4957 SWIGINTERN VALUE
4958 _wrap__mrcImageHeader_NSYMBT_get(int argc, VALUE *argv, VALUE self) {
4959   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4960   void *argp1 = 0 ;
4961   int res1 = 0 ;
4962   mrcImageParaTypeInteger result;
4963   VALUE vresult = Qnil;
4964   
4965   if ((argc < 0) || (argc > 0)) {
4966     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4967   }
4968   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4969   if (!SWIG_IsOK(res1)) {
4970     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","NSYMBT", 1, self )); 
4971   }
4972   arg1 = (_mrcImageHeader *)(argp1);
4973   result = (mrcImageParaTypeInteger) ((arg1)->NSYMBT);
4974   vresult = SWIG_From_int((int)(result));
4975   return vresult;
4976 fail:
4977   return Qnil;
4978 }
4979
4980
4981 SWIGINTERN VALUE
4982 _wrap__mrcImageHeader_EXTRA_set(int argc, VALUE *argv, VALUE self) {
4983   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4984   mrcImageParaTypeReal *arg2 ;
4985   void *argp1 = 0 ;
4986   int res1 = 0 ;
4987   void *argp2 = 0 ;
4988   int res2 = 0 ;
4989   
4990   if ((argc < 1) || (argc > 1)) {
4991     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4992   }
4993   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
4994   if (!SWIG_IsOK(res1)) {
4995     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","EXTRA", 1, self )); 
4996   }
4997   arg1 = (_mrcImageHeader *)(argp1);
4998   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 |  0 );
4999   if (!SWIG_IsOK(res2)) {
5000     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(29)]","EXTRA", 2, argv[0] )); 
5001   } 
5002   arg2 = (mrcImageParaTypeReal *)(argp2);
5003   {
5004     if (arg2) {
5005       size_t ii = 0;
5006       for (; ii < (size_t)(29); ++ii) arg1->EXTRA[ii] = arg2[ii];
5007     } else {
5008       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""EXTRA""' of type '""mrcImageParaTypeReal [(29)]""'");
5009     }
5010   }
5011   return Qnil;
5012 fail:
5013   return Qnil;
5014 }
5015
5016
5017 SWIGINTERN VALUE
5018 _wrap__mrcImageHeader_EXTRA_get(int argc, VALUE *argv, VALUE self) {
5019   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5020   void *argp1 = 0 ;
5021   int res1 = 0 ;
5022   mrcImageParaTypeReal *result = 0 ;
5023   VALUE vresult = Qnil;
5024   
5025   if ((argc < 0) || (argc > 0)) {
5026     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5027   }
5028   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5029   if (!SWIG_IsOK(res1)) {
5030     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","EXTRA", 1, self )); 
5031   }
5032   arg1 = (_mrcImageHeader *)(argp1);
5033   result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->EXTRA);
5034   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
5035   return vresult;
5036 fail:
5037   return Qnil;
5038 }
5039
5040
5041 SWIGINTERN VALUE
5042 _wrap__mrcImageHeader_OriginX_set(int argc, VALUE *argv, VALUE self) {
5043   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5044   mrcImageParaTypeReal arg2 ;
5045   void *argp1 = 0 ;
5046   int res1 = 0 ;
5047   float val2 ;
5048   int ecode2 = 0 ;
5049   
5050   if ((argc < 1) || (argc > 1)) {
5051     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5052   }
5053   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5054   if (!SWIG_IsOK(res1)) {
5055     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","OriginX", 1, self )); 
5056   }
5057   arg1 = (_mrcImageHeader *)(argp1);
5058   ecode2 = SWIG_AsVal_float(argv[0], &val2);
5059   if (!SWIG_IsOK(ecode2)) {
5060     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","OriginX", 2, argv[0] ));
5061   } 
5062   arg2 = (mrcImageParaTypeReal)(val2);
5063   if (arg1) (arg1)->OriginX = arg2;
5064   return Qnil;
5065 fail:
5066   return Qnil;
5067 }
5068
5069
5070 SWIGINTERN VALUE
5071 _wrap__mrcImageHeader_OriginX_get(int argc, VALUE *argv, VALUE self) {
5072   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5073   void *argp1 = 0 ;
5074   int res1 = 0 ;
5075   mrcImageParaTypeReal result;
5076   VALUE vresult = Qnil;
5077   
5078   if ((argc < 0) || (argc > 0)) {
5079     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5080   }
5081   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5082   if (!SWIG_IsOK(res1)) {
5083     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","OriginX", 1, self )); 
5084   }
5085   arg1 = (_mrcImageHeader *)(argp1);
5086   result = (mrcImageParaTypeReal) ((arg1)->OriginX);
5087   vresult = SWIG_From_float((float)(result));
5088   return vresult;
5089 fail:
5090   return Qnil;
5091 }
5092
5093
5094 SWIGINTERN VALUE
5095 _wrap__mrcImageHeader_OriginY_set(int argc, VALUE *argv, VALUE self) {
5096   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5097   mrcImageParaTypeReal arg2 ;
5098   void *argp1 = 0 ;
5099   int res1 = 0 ;
5100   float val2 ;
5101   int ecode2 = 0 ;
5102   
5103   if ((argc < 1) || (argc > 1)) {
5104     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5105   }
5106   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5107   if (!SWIG_IsOK(res1)) {
5108     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","OriginY", 1, self )); 
5109   }
5110   arg1 = (_mrcImageHeader *)(argp1);
5111   ecode2 = SWIG_AsVal_float(argv[0], &val2);
5112   if (!SWIG_IsOK(ecode2)) {
5113     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","OriginY", 2, argv[0] ));
5114   } 
5115   arg2 = (mrcImageParaTypeReal)(val2);
5116   if (arg1) (arg1)->OriginY = arg2;
5117   return Qnil;
5118 fail:
5119   return Qnil;
5120 }
5121
5122
5123 SWIGINTERN VALUE
5124 _wrap__mrcImageHeader_OriginY_get(int argc, VALUE *argv, VALUE self) {
5125   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5126   void *argp1 = 0 ;
5127   int res1 = 0 ;
5128   mrcImageParaTypeReal result;
5129   VALUE vresult = Qnil;
5130   
5131   if ((argc < 0) || (argc > 0)) {
5132     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5133   }
5134   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5135   if (!SWIG_IsOK(res1)) {
5136     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","OriginY", 1, self )); 
5137   }
5138   arg1 = (_mrcImageHeader *)(argp1);
5139   result = (mrcImageParaTypeReal) ((arg1)->OriginY);
5140   vresult = SWIG_From_float((float)(result));
5141   return vresult;
5142 fail:
5143   return Qnil;
5144 }
5145
5146
5147 SWIGINTERN VALUE
5148 _wrap__mrcImageHeader_LabelN_set(int argc, VALUE *argv, VALUE self) {
5149   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5150   mrcImageParaTypeInteger arg2 ;
5151   void *argp1 = 0 ;
5152   int res1 = 0 ;
5153   int val2 ;
5154   int ecode2 = 0 ;
5155   
5156   if ((argc < 1) || (argc > 1)) {
5157     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5158   }
5159   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5160   if (!SWIG_IsOK(res1)) {
5161     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","LabelN", 1, self )); 
5162   }
5163   arg1 = (_mrcImageHeader *)(argp1);
5164   ecode2 = SWIG_AsVal_int(argv[0], &val2);
5165   if (!SWIG_IsOK(ecode2)) {
5166     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","LabelN", 2, argv[0] ));
5167   } 
5168   arg2 = (mrcImageParaTypeInteger)(val2);
5169   if (arg1) (arg1)->LabelN = arg2;
5170   return Qnil;
5171 fail:
5172   return Qnil;
5173 }
5174
5175
5176 SWIGINTERN VALUE
5177 _wrap__mrcImageHeader_LabelN_get(int argc, VALUE *argv, VALUE self) {
5178   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5179   void *argp1 = 0 ;
5180   int res1 = 0 ;
5181   mrcImageParaTypeInteger result;
5182   VALUE vresult = Qnil;
5183   
5184   if ((argc < 0) || (argc > 0)) {
5185     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5186   }
5187   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5188   if (!SWIG_IsOK(res1)) {
5189     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","LabelN", 1, self )); 
5190   }
5191   arg1 = (_mrcImageHeader *)(argp1);
5192   result = (mrcImageParaTypeInteger) ((arg1)->LabelN);
5193   vresult = SWIG_From_int((int)(result));
5194   return vresult;
5195 fail:
5196   return Qnil;
5197 }
5198
5199
5200 SWIGINTERN VALUE
5201 _wrap__mrcImageHeader_Label_set(int argc, VALUE *argv, VALUE self) {
5202   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5203   char (*arg2)[(80)] ;
5204   void *argp1 = 0 ;
5205   int res1 = 0 ;
5206   void *argp2 = 0 ;
5207   int res2 = 0 ;
5208   
5209   if ((argc < 1) || (argc > 1)) {
5210     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5211   }
5212   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5213   if (!SWIG_IsOK(res1)) {
5214     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Label", 1, self )); 
5215   }
5216   arg1 = (_mrcImageHeader *)(argp1);
5217   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_a__80___char, 0 |  0 );
5218   if (!SWIG_IsOK(res2)) {
5219     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(10)][(80)]","Label", 2, argv[0] )); 
5220   } 
5221   arg2 = (char (*)[(80)])(argp2);
5222   {
5223     if (arg2) {
5224       size_t ii = 0;
5225       for (; ii < (size_t)(10); ++ii) {
5226         if (arg2[ii]) {
5227           size_t jj = 0;
5228           for (; jj < (size_t)(80); ++jj) arg1->Label[ii][jj] = arg2[ii][jj];
5229         } else {
5230           SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Label""' of type '""char [(10)][(80)]""'");
5231         }
5232       }
5233     } else {
5234       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Label""' of type '""char [(10)][(80)]""'");
5235     }
5236   }
5237   return Qnil;
5238 fail:
5239   return Qnil;
5240 }
5241
5242
5243 SWIGINTERN VALUE
5244 _wrap__mrcImageHeader_Label_get(int argc, VALUE *argv, VALUE self) {
5245   _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5246   void *argp1 = 0 ;
5247   int res1 = 0 ;
5248   char (*result)[(80)] = 0 ;
5249   VALUE vresult = Qnil;
5250   
5251   if ((argc < 0) || (argc > 0)) {
5252     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5253   }
5254   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
5255   if (!SWIG_IsOK(res1)) {
5256     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Label", 1, self )); 
5257   }
5258   arg1 = (_mrcImageHeader *)(argp1);
5259   result = (char (*)[(80)])(char (*)[(80)]) ((arg1)->Label);
5260   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_a__80___char, 0 |  0 );
5261   return vresult;
5262 fail:
5263   return Qnil;
5264 }
5265
5266
5267 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
5268 SWIGINTERN VALUE
5269 _wrap__mrcImageHeader_allocate(VALUE self) {
5270 #else
5271   SWIGINTERN VALUE
5272   _wrap__mrcImageHeader_allocate(int argc, VALUE *argv, VALUE self) {
5273 #endif
5274     
5275     
5276     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p__mrcImageHeader);
5277 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
5278     rb_obj_call_init(vresult, argc, argv);
5279 #endif
5280     return vresult;
5281   }
5282   
5283
5284 SWIGINTERN VALUE
5285 _wrap_new__mrcImageHeader(int argc, VALUE *argv, VALUE self) {
5286   _mrcImageHeader *result = 0 ;
5287   
5288   if ((argc < 0) || (argc > 0)) {
5289     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5290   }
5291   result = (_mrcImageHeader *)calloc(1, sizeof(_mrcImageHeader));
5292   DATA_PTR(self) = result;
5293   return self;
5294 fail:
5295   return Qnil;
5296 }
5297
5298
5299 SWIGINTERN void
5300 free__mrcImageHeader(_mrcImageHeader *arg1) {
5301     free((char *) arg1);
5302 }
5303
5304 swig_class c_mrcImageHeaderCCP4;
5305
5306 SWIGINTERN VALUE
5307 _wrap__mrcImageHeaderCCP4_N_set(int argc, VALUE *argv, VALUE self) {
5308   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5309   mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
5310   void *argp1 = 0 ;
5311   int res1 = 0 ;
5312   void *argp2 = 0 ;
5313   int res2 = 0 ;
5314   
5315   if ((argc < 1) || (argc > 1)) {
5316     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5317   }
5318   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5319   if (!SWIG_IsOK(res1)) {
5320     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","N", 1, self )); 
5321   }
5322   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5323   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
5324   if (!SWIG_IsOK(res2)) {
5325     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","N", 2, argv[0] )); 
5326   }
5327   arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
5328   if (arg1) (arg1)->N = *arg2;
5329   return Qnil;
5330 fail:
5331   return Qnil;
5332 }
5333
5334
5335 SWIGINTERN VALUE
5336 _wrap__mrcImageHeaderCCP4_N_get(int argc, VALUE *argv, VALUE self) {
5337   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5338   void *argp1 = 0 ;
5339   int res1 = 0 ;
5340   mrcImageParaTypeIntegerCoord *result = 0 ;
5341   VALUE vresult = Qnil;
5342   
5343   if ((argc < 0) || (argc > 0)) {
5344     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5345   }
5346   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5347   if (!SWIG_IsOK(res1)) {
5348     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","N", 1, self )); 
5349   }
5350   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5351   result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->N);
5352   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
5353   return vresult;
5354 fail:
5355   return Qnil;
5356 }
5357
5358
5359 SWIGINTERN VALUE
5360 _wrap__mrcImageHeaderCCP4_Mode_set(int argc, VALUE *argv, VALUE self) {
5361   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5362   mrcImageMode arg2 ;
5363   void *argp1 = 0 ;
5364   int res1 = 0 ;
5365   int val2 ;
5366   int ecode2 = 0 ;
5367   
5368   if ((argc < 1) || (argc > 1)) {
5369     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5370   }
5371   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5372   if (!SWIG_IsOK(res1)) {
5373     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Mode", 1, self )); 
5374   }
5375   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5376   ecode2 = SWIG_AsVal_int(argv[0], &val2);
5377   if (!SWIG_IsOK(ecode2)) {
5378     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageMode","Mode", 2, argv[0] ));
5379   } 
5380   arg2 = (mrcImageMode)(val2);
5381   if (arg1) (arg1)->Mode = arg2;
5382   return Qnil;
5383 fail:
5384   return Qnil;
5385 }
5386
5387
5388 SWIGINTERN VALUE
5389 _wrap__mrcImageHeaderCCP4_Mode_get(int argc, VALUE *argv, VALUE self) {
5390   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5391   void *argp1 = 0 ;
5392   int res1 = 0 ;
5393   mrcImageMode result;
5394   VALUE vresult = Qnil;
5395   
5396   if ((argc < 0) || (argc > 0)) {
5397     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5398   }
5399   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5400   if (!SWIG_IsOK(res1)) {
5401     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Mode", 1, self )); 
5402   }
5403   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5404   result = (mrcImageMode) ((arg1)->Mode);
5405   vresult = SWIG_From_int((int)(result));
5406   return vresult;
5407 fail:
5408   return Qnil;
5409 }
5410
5411
5412 SWIGINTERN VALUE
5413 _wrap__mrcImageHeaderCCP4_StartN_set(int argc, VALUE *argv, VALUE self) {
5414   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5415   mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
5416   void *argp1 = 0 ;
5417   int res1 = 0 ;
5418   void *argp2 = 0 ;
5419   int res2 = 0 ;
5420   
5421   if ((argc < 1) || (argc > 1)) {
5422     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5423   }
5424   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5425   if (!SWIG_IsOK(res1)) {
5426     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","StartN", 1, self )); 
5427   }
5428   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5429   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
5430   if (!SWIG_IsOK(res2)) {
5431     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","StartN", 2, argv[0] )); 
5432   }
5433   arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
5434   if (arg1) (arg1)->StartN = *arg2;
5435   return Qnil;
5436 fail:
5437   return Qnil;
5438 }
5439
5440
5441 SWIGINTERN VALUE
5442 _wrap__mrcImageHeaderCCP4_StartN_get(int argc, VALUE *argv, VALUE self) {
5443   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5444   void *argp1 = 0 ;
5445   int res1 = 0 ;
5446   mrcImageParaTypeIntegerCoord *result = 0 ;
5447   VALUE vresult = Qnil;
5448   
5449   if ((argc < 0) || (argc > 0)) {
5450     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5451   }
5452   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5453   if (!SWIG_IsOK(res1)) {
5454     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","StartN", 1, self )); 
5455   }
5456   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5457   result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->StartN);
5458   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
5459   return vresult;
5460 fail:
5461   return Qnil;
5462 }
5463
5464
5465 SWIGINTERN VALUE
5466 _wrap__mrcImageHeaderCCP4_NI_set(int argc, VALUE *argv, VALUE self) {
5467   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5468   mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
5469   void *argp1 = 0 ;
5470   int res1 = 0 ;
5471   void *argp2 = 0 ;
5472   int res2 = 0 ;
5473   
5474   if ((argc < 1) || (argc > 1)) {
5475     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5476   }
5477   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5478   if (!SWIG_IsOK(res1)) {
5479     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","NI", 1, self )); 
5480   }
5481   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5482   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
5483   if (!SWIG_IsOK(res2)) {
5484     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","NI", 2, argv[0] )); 
5485   }
5486   arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
5487   if (arg1) (arg1)->NI = *arg2;
5488   return Qnil;
5489 fail:
5490   return Qnil;
5491 }
5492
5493
5494 SWIGINTERN VALUE
5495 _wrap__mrcImageHeaderCCP4_NI_get(int argc, VALUE *argv, VALUE self) {
5496   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5497   void *argp1 = 0 ;
5498   int res1 = 0 ;
5499   mrcImageParaTypeIntegerCoord *result = 0 ;
5500   VALUE vresult = Qnil;
5501   
5502   if ((argc < 0) || (argc > 0)) {
5503     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5504   }
5505   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5506   if (!SWIG_IsOK(res1)) {
5507     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","NI", 1, self )); 
5508   }
5509   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5510   result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->NI);
5511   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 |  0 );
5512   return vresult;
5513 fail:
5514   return Qnil;
5515 }
5516
5517
5518 SWIGINTERN VALUE
5519 _wrap__mrcImageHeaderCCP4_Length_set(int argc, VALUE *argv, VALUE self) {
5520   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5521   mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
5522   void *argp1 = 0 ;
5523   int res1 = 0 ;
5524   void *argp2 = 0 ;
5525   int res2 = 0 ;
5526   
5527   if ((argc < 1) || (argc > 1)) {
5528     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5529   }
5530   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5531   if (!SWIG_IsOK(res1)) {
5532     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Length", 1, self )); 
5533   }
5534   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5535   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
5536   if (!SWIG_IsOK(res2)) {
5537     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","Length", 2, argv[0] )); 
5538   }
5539   arg2 = (mrcImageParaTypeRealCoord *)(argp2);
5540   if (arg1) (arg1)->Length = *arg2;
5541   return Qnil;
5542 fail:
5543   return Qnil;
5544 }
5545
5546
5547 SWIGINTERN VALUE
5548 _wrap__mrcImageHeaderCCP4_Length_get(int argc, VALUE *argv, VALUE self) {
5549   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5550   void *argp1 = 0 ;
5551   int res1 = 0 ;
5552   mrcImageParaTypeRealCoord *result = 0 ;
5553   VALUE vresult = Qnil;
5554   
5555   if ((argc < 0) || (argc > 0)) {
5556     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5557   }
5558   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5559   if (!SWIG_IsOK(res1)) {
5560     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Length", 1, self )); 
5561   }
5562   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5563   result = (mrcImageParaTypeRealCoord *)& ((arg1)->Length);
5564   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
5565   return vresult;
5566 fail:
5567   return Qnil;
5568 }
5569
5570
5571 SWIGINTERN VALUE
5572 _wrap__mrcImageHeaderCCP4_Alpha_set(int argc, VALUE *argv, VALUE self) {
5573   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5574   mrcImageParaTypeReal arg2 ;
5575   void *argp1 = 0 ;
5576   int res1 = 0 ;
5577   float val2 ;
5578   int ecode2 = 0 ;
5579   
5580   if ((argc < 1) || (argc > 1)) {
5581     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5582   }
5583   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5584   if (!SWIG_IsOK(res1)) {
5585     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Alpha", 1, self )); 
5586   }
5587   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5588   ecode2 = SWIG_AsVal_float(argv[0], &val2);
5589   if (!SWIG_IsOK(ecode2)) {
5590     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Alpha", 2, argv[0] ));
5591   } 
5592   arg2 = (mrcImageParaTypeReal)(val2);
5593   if (arg1) (arg1)->Alpha = arg2;
5594   return Qnil;
5595 fail:
5596   return Qnil;
5597 }
5598
5599
5600 SWIGINTERN VALUE
5601 _wrap__mrcImageHeaderCCP4_Alpha_get(int argc, VALUE *argv, VALUE self) {
5602   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5603   void *argp1 = 0 ;
5604   int res1 = 0 ;
5605   mrcImageParaTypeReal result;
5606   VALUE vresult = Qnil;
5607   
5608   if ((argc < 0) || (argc > 0)) {
5609     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5610   }
5611   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5612   if (!SWIG_IsOK(res1)) {
5613     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Alpha", 1, self )); 
5614   }
5615   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5616   result = (mrcImageParaTypeReal) ((arg1)->Alpha);
5617   vresult = SWIG_From_float((float)(result));
5618   return vresult;
5619 fail:
5620   return Qnil;
5621 }
5622
5623
5624 SWIGINTERN VALUE
5625 _wrap__mrcImageHeaderCCP4_Beta_set(int argc, VALUE *argv, VALUE self) {
5626   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5627   mrcImageParaTypeReal arg2 ;
5628   void *argp1 = 0 ;
5629   int res1 = 0 ;
5630   float val2 ;
5631   int ecode2 = 0 ;
5632   
5633   if ((argc < 1) || (argc > 1)) {
5634     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5635   }
5636   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5637   if (!SWIG_IsOK(res1)) {
5638     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Beta", 1, self )); 
5639   }
5640   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5641   ecode2 = SWIG_AsVal_float(argv[0], &val2);
5642   if (!SWIG_IsOK(ecode2)) {
5643     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Beta", 2, argv[0] ));
5644   } 
5645   arg2 = (mrcImageParaTypeReal)(val2);
5646   if (arg1) (arg1)->Beta = arg2;
5647   return Qnil;
5648 fail:
5649   return Qnil;
5650 }
5651
5652
5653 SWIGINTERN VALUE
5654 _wrap__mrcImageHeaderCCP4_Beta_get(int argc, VALUE *argv, VALUE self) {
5655   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5656   void *argp1 = 0 ;
5657   int res1 = 0 ;
5658   mrcImageParaTypeReal result;
5659   VALUE vresult = Qnil;
5660   
5661   if ((argc < 0) || (argc > 0)) {
5662     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5663   }
5664   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5665   if (!SWIG_IsOK(res1)) {
5666     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Beta", 1, self )); 
5667   }
5668   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5669   result = (mrcImageParaTypeReal) ((arg1)->Beta);
5670   vresult = SWIG_From_float((float)(result));
5671   return vresult;
5672 fail:
5673   return Qnil;
5674 }
5675
5676
5677 SWIGINTERN VALUE
5678 _wrap__mrcImageHeaderCCP4_Gamma_set(int argc, VALUE *argv, VALUE self) {
5679   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5680   mrcImageParaTypeReal arg2 ;
5681   void *argp1 = 0 ;
5682   int res1 = 0 ;
5683   float val2 ;
5684   int ecode2 = 0 ;
5685   
5686   if ((argc < 1) || (argc > 1)) {
5687     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5688   }
5689   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5690   if (!SWIG_IsOK(res1)) {
5691     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Gamma", 1, self )); 
5692   }
5693   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5694   ecode2 = SWIG_AsVal_float(argv[0], &val2);
5695   if (!SWIG_IsOK(ecode2)) {
5696     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Gamma", 2, argv[0] ));
5697   } 
5698   arg2 = (mrcImageParaTypeReal)(val2);
5699   if (arg1) (arg1)->Gamma = arg2;
5700   return Qnil;
5701 fail:
5702   return Qnil;
5703 }
5704
5705
5706 SWIGINTERN VALUE
5707 _wrap__mrcImageHeaderCCP4_Gamma_get(int argc, VALUE *argv, VALUE self) {
5708   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5709   void *argp1 = 0 ;
5710   int res1 = 0 ;
5711   mrcImageParaTypeReal result;
5712   VALUE vresult = Qnil;
5713   
5714   if ((argc < 0) || (argc > 0)) {
5715     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5716   }
5717   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5718   if (!SWIG_IsOK(res1)) {
5719     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Gamma", 1, self )); 
5720   }
5721   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5722   result = (mrcImageParaTypeReal) ((arg1)->Gamma);
5723   vresult = SWIG_From_float((float)(result));
5724   return vresult;
5725 fail:
5726   return Qnil;
5727 }
5728
5729
5730 SWIGINTERN VALUE
5731 _wrap__mrcImageHeaderCCP4_MAPC_set(int argc, VALUE *argv, VALUE self) {
5732   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5733   mrcImageParaTypeInteger arg2 ;
5734   void *argp1 = 0 ;
5735   int res1 = 0 ;
5736   int val2 ;
5737   int ecode2 = 0 ;
5738   
5739   if ((argc < 1) || (argc > 1)) {
5740     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5741   }
5742   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5743   if (!SWIG_IsOK(res1)) {
5744     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPC", 1, self )); 
5745   }
5746   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5747   ecode2 = SWIG_AsVal_int(argv[0], &val2);
5748   if (!SWIG_IsOK(ecode2)) {
5749     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPC", 2, argv[0] ));
5750   } 
5751   arg2 = (mrcImageParaTypeInteger)(val2);
5752   if (arg1) (arg1)->MAPC = arg2;
5753   return Qnil;
5754 fail:
5755   return Qnil;
5756 }
5757
5758
5759 SWIGINTERN VALUE
5760 _wrap__mrcImageHeaderCCP4_MAPC_get(int argc, VALUE *argv, VALUE self) {
5761   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5762   void *argp1 = 0 ;
5763   int res1 = 0 ;
5764   mrcImageParaTypeInteger result;
5765   VALUE vresult = Qnil;
5766   
5767   if ((argc < 0) || (argc > 0)) {
5768     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5769   }
5770   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5771   if (!SWIG_IsOK(res1)) {
5772     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPC", 1, self )); 
5773   }
5774   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5775   result = (mrcImageParaTypeInteger) ((arg1)->MAPC);
5776   vresult = SWIG_From_int((int)(result));
5777   return vresult;
5778 fail:
5779   return Qnil;
5780 }
5781
5782
5783 SWIGINTERN VALUE
5784 _wrap__mrcImageHeaderCCP4_MAPR_set(int argc, VALUE *argv, VALUE self) {
5785   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5786   mrcImageParaTypeInteger arg2 ;
5787   void *argp1 = 0 ;
5788   int res1 = 0 ;
5789   int val2 ;
5790   int ecode2 = 0 ;
5791   
5792   if ((argc < 1) || (argc > 1)) {
5793     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5794   }
5795   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5796   if (!SWIG_IsOK(res1)) {
5797     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPR", 1, self )); 
5798   }
5799   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5800   ecode2 = SWIG_AsVal_int(argv[0], &val2);
5801   if (!SWIG_IsOK(ecode2)) {
5802     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPR", 2, argv[0] ));
5803   } 
5804   arg2 = (mrcImageParaTypeInteger)(val2);
5805   if (arg1) (arg1)->MAPR = arg2;
5806   return Qnil;
5807 fail:
5808   return Qnil;
5809 }
5810
5811
5812 SWIGINTERN VALUE
5813 _wrap__mrcImageHeaderCCP4_MAPR_get(int argc, VALUE *argv, VALUE self) {
5814   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5815   void *argp1 = 0 ;
5816   int res1 = 0 ;
5817   mrcImageParaTypeInteger result;
5818   VALUE vresult = Qnil;
5819   
5820   if ((argc < 0) || (argc > 0)) {
5821     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5822   }
5823   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5824   if (!SWIG_IsOK(res1)) {
5825     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPR", 1, self )); 
5826   }
5827   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5828   result = (mrcImageParaTypeInteger) ((arg1)->MAPR);
5829   vresult = SWIG_From_int((int)(result));
5830   return vresult;
5831 fail:
5832   return Qnil;
5833 }
5834
5835
5836 SWIGINTERN VALUE
5837 _wrap__mrcImageHeaderCCP4_MAPS_set(int argc, VALUE *argv, VALUE self) {
5838   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5839   mrcImageParaTypeInteger arg2 ;
5840   void *argp1 = 0 ;
5841   int res1 = 0 ;
5842   int val2 ;
5843   int ecode2 = 0 ;
5844   
5845   if ((argc < 1) || (argc > 1)) {
5846     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5847   }
5848   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5849   if (!SWIG_IsOK(res1)) {
5850     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPS", 1, self )); 
5851   }
5852   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5853   ecode2 = SWIG_AsVal_int(argv[0], &val2);
5854   if (!SWIG_IsOK(ecode2)) {
5855     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPS", 2, argv[0] ));
5856   } 
5857   arg2 = (mrcImageParaTypeInteger)(val2);
5858   if (arg1) (arg1)->MAPS = arg2;
5859   return Qnil;
5860 fail:
5861   return Qnil;
5862 }
5863
5864
5865 SWIGINTERN VALUE
5866 _wrap__mrcImageHeaderCCP4_MAPS_get(int argc, VALUE *argv, VALUE self) {
5867   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5868   void *argp1 = 0 ;
5869   int res1 = 0 ;
5870   mrcImageParaTypeInteger result;
5871   VALUE vresult = Qnil;
5872   
5873   if ((argc < 0) || (argc > 0)) {
5874     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5875   }
5876   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5877   if (!SWIG_IsOK(res1)) {
5878     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPS", 1, self )); 
5879   }
5880   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5881   result = (mrcImageParaTypeInteger) ((arg1)->MAPS);
5882   vresult = SWIG_From_int((int)(result));
5883   return vresult;
5884 fail:
5885   return Qnil;
5886 }
5887
5888
5889 SWIGINTERN VALUE
5890 _wrap__mrcImageHeaderCCP4_AMin_set(int argc, VALUE *argv, VALUE self) {
5891   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5892   mrcImageParaTypeReal arg2 ;
5893   void *argp1 = 0 ;
5894   int res1 = 0 ;
5895   float val2 ;
5896   int ecode2 = 0 ;
5897   
5898   if ((argc < 1) || (argc > 1)) {
5899     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5900   }
5901   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5902   if (!SWIG_IsOK(res1)) {
5903     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMin", 1, self )); 
5904   }
5905   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5906   ecode2 = SWIG_AsVal_float(argv[0], &val2);
5907   if (!SWIG_IsOK(ecode2)) {
5908     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMin", 2, argv[0] ));
5909   } 
5910   arg2 = (mrcImageParaTypeReal)(val2);
5911   if (arg1) (arg1)->AMin = arg2;
5912   return Qnil;
5913 fail:
5914   return Qnil;
5915 }
5916
5917
5918 SWIGINTERN VALUE
5919 _wrap__mrcImageHeaderCCP4_AMin_get(int argc, VALUE *argv, VALUE self) {
5920   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5921   void *argp1 = 0 ;
5922   int res1 = 0 ;
5923   mrcImageParaTypeReal result;
5924   VALUE vresult = Qnil;
5925   
5926   if ((argc < 0) || (argc > 0)) {
5927     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5928   }
5929   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5930   if (!SWIG_IsOK(res1)) {
5931     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMin", 1, self )); 
5932   }
5933   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5934   result = (mrcImageParaTypeReal) ((arg1)->AMin);
5935   vresult = SWIG_From_float((float)(result));
5936   return vresult;
5937 fail:
5938   return Qnil;
5939 }
5940
5941
5942 SWIGINTERN VALUE
5943 _wrap__mrcImageHeaderCCP4_AMax_set(int argc, VALUE *argv, VALUE self) {
5944   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5945   mrcImageParaTypeReal arg2 ;
5946   void *argp1 = 0 ;
5947   int res1 = 0 ;
5948   float val2 ;
5949   int ecode2 = 0 ;
5950   
5951   if ((argc < 1) || (argc > 1)) {
5952     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5953   }
5954   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5955   if (!SWIG_IsOK(res1)) {
5956     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMax", 1, self )); 
5957   }
5958   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5959   ecode2 = SWIG_AsVal_float(argv[0], &val2);
5960   if (!SWIG_IsOK(ecode2)) {
5961     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMax", 2, argv[0] ));
5962   } 
5963   arg2 = (mrcImageParaTypeReal)(val2);
5964   if (arg1) (arg1)->AMax = arg2;
5965   return Qnil;
5966 fail:
5967   return Qnil;
5968 }
5969
5970
5971 SWIGINTERN VALUE
5972 _wrap__mrcImageHeaderCCP4_AMax_get(int argc, VALUE *argv, VALUE self) {
5973   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5974   void *argp1 = 0 ;
5975   int res1 = 0 ;
5976   mrcImageParaTypeReal result;
5977   VALUE vresult = Qnil;
5978   
5979   if ((argc < 0) || (argc > 0)) {
5980     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5981   }
5982   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
5983   if (!SWIG_IsOK(res1)) {
5984     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMax", 1, self )); 
5985   }
5986   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5987   result = (mrcImageParaTypeReal) ((arg1)->AMax);
5988   vresult = SWIG_From_float((float)(result));
5989   return vresult;
5990 fail:
5991   return Qnil;
5992 }
5993
5994
5995 SWIGINTERN VALUE
5996 _wrap__mrcImageHeaderCCP4_AMean_set(int argc, VALUE *argv, VALUE self) {
5997   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5998   mrcImageParaTypeReal arg2 ;
5999   void *argp1 = 0 ;
6000   int res1 = 0 ;
6001   float val2 ;
6002   int ecode2 = 0 ;
6003   
6004   if ((argc < 1) || (argc > 1)) {
6005     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6006   }
6007   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6008   if (!SWIG_IsOK(res1)) {
6009     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMean", 1, self )); 
6010   }
6011   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6012   ecode2 = SWIG_AsVal_float(argv[0], &val2);
6013   if (!SWIG_IsOK(ecode2)) {
6014     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMean", 2, argv[0] ));
6015   } 
6016   arg2 = (mrcImageParaTypeReal)(val2);
6017   if (arg1) (arg1)->AMean = arg2;
6018   return Qnil;
6019 fail:
6020   return Qnil;
6021 }
6022
6023
6024 SWIGINTERN VALUE
6025 _wrap__mrcImageHeaderCCP4_AMean_get(int argc, VALUE *argv, VALUE self) {
6026   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6027   void *argp1 = 0 ;
6028   int res1 = 0 ;
6029   mrcImageParaTypeReal result;
6030   VALUE vresult = Qnil;
6031   
6032   if ((argc < 0) || (argc > 0)) {
6033     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6034   }
6035   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6036   if (!SWIG_IsOK(res1)) {
6037     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMean", 1, self )); 
6038   }
6039   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6040   result = (mrcImageParaTypeReal) ((arg1)->AMean);
6041   vresult = SWIG_From_float((float)(result));
6042   return vresult;
6043 fail:
6044   return Qnil;
6045 }
6046
6047
6048 SWIGINTERN VALUE
6049 _wrap__mrcImageHeaderCCP4_ISPG_set(int argc, VALUE *argv, VALUE self) {
6050   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6051   mrcImageParaTypeInteger arg2 ;
6052   void *argp1 = 0 ;
6053   int res1 = 0 ;
6054   int val2 ;
6055   int ecode2 = 0 ;
6056   
6057   if ((argc < 1) || (argc > 1)) {
6058     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6059   }
6060   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6061   if (!SWIG_IsOK(res1)) {
6062     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ISPG", 1, self )); 
6063   }
6064   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6065   ecode2 = SWIG_AsVal_int(argv[0], &val2);
6066   if (!SWIG_IsOK(ecode2)) {
6067     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","ISPG", 2, argv[0] ));
6068   } 
6069   arg2 = (mrcImageParaTypeInteger)(val2);
6070   if (arg1) (arg1)->ISPG = arg2;
6071   return Qnil;
6072 fail:
6073   return Qnil;
6074 }
6075
6076
6077 SWIGINTERN VALUE
6078 _wrap__mrcImageHeaderCCP4_ISPG_get(int argc, VALUE *argv, VALUE self) {
6079   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6080   void *argp1 = 0 ;
6081   int res1 = 0 ;
6082   mrcImageParaTypeInteger result;
6083   VALUE vresult = Qnil;
6084   
6085   if ((argc < 0) || (argc > 0)) {
6086     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6087   }
6088   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6089   if (!SWIG_IsOK(res1)) {
6090     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ISPG", 1, self )); 
6091   }
6092   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6093   result = (mrcImageParaTypeInteger) ((arg1)->ISPG);
6094   vresult = SWIG_From_int((int)(result));
6095   return vresult;
6096 fail:
6097   return Qnil;
6098 }
6099
6100
6101 SWIGINTERN VALUE
6102 _wrap__mrcImageHeaderCCP4_NSYMBT_set(int argc, VALUE *argv, VALUE self) {
6103   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6104   mrcImageParaTypeInteger arg2 ;
6105   void *argp1 = 0 ;
6106   int res1 = 0 ;
6107   int val2 ;
6108   int ecode2 = 0 ;
6109   
6110   if ((argc < 1) || (argc > 1)) {
6111     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6112   }
6113   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6114   if (!SWIG_IsOK(res1)) {
6115     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","NSYMBT", 1, self )); 
6116   }
6117   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6118   ecode2 = SWIG_AsVal_int(argv[0], &val2);
6119   if (!SWIG_IsOK(ecode2)) {
6120     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","NSYMBT", 2, argv[0] ));
6121   } 
6122   arg2 = (mrcImageParaTypeInteger)(val2);
6123   if (arg1) (arg1)->NSYMBT = arg2;
6124   return Qnil;
6125 fail:
6126   return Qnil;
6127 }
6128
6129
6130 SWIGINTERN VALUE
6131 _wrap__mrcImageHeaderCCP4_NSYMBT_get(int argc, VALUE *argv, VALUE self) {
6132   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6133   void *argp1 = 0 ;
6134   int res1 = 0 ;
6135   mrcImageParaTypeInteger result;
6136   VALUE vresult = Qnil;
6137   
6138   if ((argc < 0) || (argc > 0)) {
6139     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6140   }
6141   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6142   if (!SWIG_IsOK(res1)) {
6143     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","NSYMBT", 1, self )); 
6144   }
6145   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6146   result = (mrcImageParaTypeInteger) ((arg1)->NSYMBT);
6147   vresult = SWIG_From_int((int)(result));
6148   return vresult;
6149 fail:
6150   return Qnil;
6151 }
6152
6153
6154 SWIGINTERN VALUE
6155 _wrap__mrcImageHeaderCCP4_LSKFLG_set(int argc, VALUE *argv, VALUE self) {
6156   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6157   mrcImageParaTypeInteger arg2 ;
6158   void *argp1 = 0 ;
6159   int res1 = 0 ;
6160   int val2 ;
6161   int ecode2 = 0 ;
6162   
6163   if ((argc < 1) || (argc > 1)) {
6164     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6165   }
6166   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6167   if (!SWIG_IsOK(res1)) {
6168     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","LSKFLG", 1, self )); 
6169   }
6170   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6171   ecode2 = SWIG_AsVal_int(argv[0], &val2);
6172   if (!SWIG_IsOK(ecode2)) {
6173     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","LSKFLG", 2, argv[0] ));
6174   } 
6175   arg2 = (mrcImageParaTypeInteger)(val2);
6176   if (arg1) (arg1)->LSKFLG = arg2;
6177   return Qnil;
6178 fail:
6179   return Qnil;
6180 }
6181
6182
6183 SWIGINTERN VALUE
6184 _wrap__mrcImageHeaderCCP4_LSKFLG_get(int argc, VALUE *argv, VALUE self) {
6185   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6186   void *argp1 = 0 ;
6187   int res1 = 0 ;
6188   mrcImageParaTypeInteger result;
6189   VALUE vresult = Qnil;
6190   
6191   if ((argc < 0) || (argc > 0)) {
6192     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6193   }
6194   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6195   if (!SWIG_IsOK(res1)) {
6196     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","LSKFLG", 1, self )); 
6197   }
6198   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6199   result = (mrcImageParaTypeInteger) ((arg1)->LSKFLG);
6200   vresult = SWIG_From_int((int)(result));
6201   return vresult;
6202 fail:
6203   return Qnil;
6204 }
6205
6206
6207 SWIGINTERN VALUE
6208 _wrap__mrcImageHeaderCCP4_SKWMAT_set(int argc, VALUE *argv, VALUE self) {
6209   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6210   mrcImageParaTypeReal *arg2 ;
6211   void *argp1 = 0 ;
6212   int res1 = 0 ;
6213   void *argp2 = 0 ;
6214   int res2 = 0 ;
6215   
6216   if ((argc < 1) || (argc > 1)) {
6217     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6218   }
6219   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6220   if (!SWIG_IsOK(res1)) {
6221     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","SKWMAT", 1, self )); 
6222   }
6223   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6224   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 |  0 );
6225   if (!SWIG_IsOK(res2)) {
6226     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [9]","SKWMAT", 2, argv[0] )); 
6227   } 
6228   arg2 = (mrcImageParaTypeReal *)(argp2);
6229   {
6230     if (arg2) {
6231       size_t ii = 0;
6232       for (; ii < (size_t)9; ++ii) arg1->SKWMAT[ii] = arg2[ii];
6233     } else {
6234       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""SKWMAT""' of type '""mrcImageParaTypeReal [9]""'");
6235     }
6236   }
6237   return Qnil;
6238 fail:
6239   return Qnil;
6240 }
6241
6242
6243 SWIGINTERN VALUE
6244 _wrap__mrcImageHeaderCCP4_SKWMAT_get(int argc, VALUE *argv, VALUE self) {
6245   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6246   void *argp1 = 0 ;
6247   int res1 = 0 ;
6248   mrcImageParaTypeReal *result = 0 ;
6249   VALUE vresult = Qnil;
6250   
6251   if ((argc < 0) || (argc > 0)) {
6252     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6253   }
6254   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6255   if (!SWIG_IsOK(res1)) {
6256     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","SKWMAT", 1, self )); 
6257   }
6258   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6259   result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->SKWMAT);
6260   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
6261   return vresult;
6262 fail:
6263   return Qnil;
6264 }
6265
6266
6267 SWIGINTERN VALUE
6268 _wrap__mrcImageHeaderCCP4_SKWTRN_set(int argc, VALUE *argv, VALUE self) {
6269   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6270   mrcImageParaTypeReal *arg2 ;
6271   void *argp1 = 0 ;
6272   int res1 = 0 ;
6273   void *argp2 = 0 ;
6274   int res2 = 0 ;
6275   
6276   if ((argc < 1) || (argc > 1)) {
6277     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6278   }
6279   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6280   if (!SWIG_IsOK(res1)) {
6281     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","SKWTRN", 1, self )); 
6282   }
6283   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6284   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 |  0 );
6285   if (!SWIG_IsOK(res2)) {
6286     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [3]","SKWTRN", 2, argv[0] )); 
6287   } 
6288   arg2 = (mrcImageParaTypeReal *)(argp2);
6289   {
6290     if (arg2) {
6291       size_t ii = 0;
6292       for (; ii < (size_t)3; ++ii) arg1->SKWTRN[ii] = arg2[ii];
6293     } else {
6294       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""SKWTRN""' of type '""mrcImageParaTypeReal [3]""'");
6295     }
6296   }
6297   return Qnil;
6298 fail:
6299   return Qnil;
6300 }
6301
6302
6303 SWIGINTERN VALUE
6304 _wrap__mrcImageHeaderCCP4_SKWTRN_get(int argc, VALUE *argv, VALUE self) {
6305   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6306   void *argp1 = 0 ;
6307   int res1 = 0 ;
6308   mrcImageParaTypeReal *result = 0 ;
6309   VALUE vresult = Qnil;
6310   
6311   if ((argc < 0) || (argc > 0)) {
6312     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6313   }
6314   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6315   if (!SWIG_IsOK(res1)) {
6316     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","SKWTRN", 1, self )); 
6317   }
6318   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6319   result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->SKWTRN);
6320   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
6321   return vresult;
6322 fail:
6323   return Qnil;
6324 }
6325
6326
6327 SWIGINTERN VALUE
6328 _wrap__mrcImageHeaderCCP4_EXTRA_set(int argc, VALUE *argv, VALUE self) {
6329   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6330   mrcImageParaTypeReal *arg2 ;
6331   void *argp1 = 0 ;
6332   int res1 = 0 ;
6333   void *argp2 = 0 ;
6334   int res2 = 0 ;
6335   
6336   if ((argc < 1) || (argc > 1)) {
6337     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6338   }
6339   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6340   if (!SWIG_IsOK(res1)) {
6341     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","EXTRA", 1, self )); 
6342   }
6343   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6344   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 |  0 );
6345   if (!SWIG_IsOK(res2)) {
6346     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(15)]","EXTRA", 2, argv[0] )); 
6347   } 
6348   arg2 = (mrcImageParaTypeReal *)(argp2);
6349   {
6350     if (arg2) {
6351       size_t ii = 0;
6352       for (; ii < (size_t)(15); ++ii) arg1->EXTRA[ii] = arg2[ii];
6353     } else {
6354       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""EXTRA""' of type '""mrcImageParaTypeReal [(15)]""'");
6355     }
6356   }
6357   return Qnil;
6358 fail:
6359   return Qnil;
6360 }
6361
6362
6363 SWIGINTERN VALUE
6364 _wrap__mrcImageHeaderCCP4_EXTRA_get(int argc, VALUE *argv, VALUE self) {
6365   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6366   void *argp1 = 0 ;
6367   int res1 = 0 ;
6368   mrcImageParaTypeReal *result = 0 ;
6369   VALUE vresult = Qnil;
6370   
6371   if ((argc < 0) || (argc > 0)) {
6372     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6373   }
6374   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6375   if (!SWIG_IsOK(res1)) {
6376     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","EXTRA", 1, self )); 
6377   }
6378   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6379   result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->EXTRA);
6380   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
6381   return vresult;
6382 fail:
6383   return Qnil;
6384 }
6385
6386
6387 SWIGINTERN VALUE
6388 _wrap__mrcImageHeaderCCP4_MAP_set(int argc, VALUE *argv, VALUE self) {
6389   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6390   mrcImageParaTypeCharacter *arg2 ;
6391   void *argp1 = 0 ;
6392   int res1 = 0 ;
6393   void *argp2 = 0 ;
6394   int res2 = 0 ;
6395   
6396   if ((argc < 1) || (argc > 1)) {
6397     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6398   }
6399   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6400   if (!SWIG_IsOK(res1)) {
6401     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAP", 1, self )); 
6402   }
6403   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6404   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, 0 |  0 );
6405   if (!SWIG_IsOK(res2)) {
6406     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeCharacter [4]","MAP", 2, argv[0] )); 
6407   } 
6408   arg2 = (mrcImageParaTypeCharacter *)(argp2);
6409   {
6410     if (arg2) {
6411       size_t ii = 0;
6412       for (; ii < (size_t)4; ++ii) arg1->MAP[ii] = arg2[ii];
6413     } else {
6414       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""MAP""' of type '""mrcImageParaTypeCharacter [4]""'");
6415     }
6416   }
6417   return Qnil;
6418 fail:
6419   return Qnil;
6420 }
6421
6422
6423 SWIGINTERN VALUE
6424 _wrap__mrcImageHeaderCCP4_MAP_get(int argc, VALUE *argv, VALUE self) {
6425   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6426   void *argp1 = 0 ;
6427   int res1 = 0 ;
6428   mrcImageParaTypeCharacter *result = 0 ;
6429   VALUE vresult = Qnil;
6430   
6431   if ((argc < 0) || (argc > 0)) {
6432     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6433   }
6434   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6435   if (!SWIG_IsOK(res1)) {
6436     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAP", 1, self )); 
6437   }
6438   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6439   result = (mrcImageParaTypeCharacter *)(mrcImageParaTypeCharacter *) ((arg1)->MAP);
6440   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 |  0 );
6441   return vresult;
6442 fail:
6443   return Qnil;
6444 }
6445
6446
6447 SWIGINTERN VALUE
6448 _wrap__mrcImageHeaderCCP4_MARCHST_set(int argc, VALUE *argv, VALUE self) {
6449   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6450   mrcImageParaTypeInteger arg2 ;
6451   void *argp1 = 0 ;
6452   int res1 = 0 ;
6453   int val2 ;
6454   int ecode2 = 0 ;
6455   
6456   if ((argc < 1) || (argc > 1)) {
6457     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6458   }
6459   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6460   if (!SWIG_IsOK(res1)) {
6461     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MARCHST", 1, self )); 
6462   }
6463   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6464   ecode2 = SWIG_AsVal_int(argv[0], &val2);
6465   if (!SWIG_IsOK(ecode2)) {
6466     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MARCHST", 2, argv[0] ));
6467   } 
6468   arg2 = (mrcImageParaTypeInteger)(val2);
6469   if (arg1) (arg1)->MARCHST = arg2;
6470   return Qnil;
6471 fail:
6472   return Qnil;
6473 }
6474
6475
6476 SWIGINTERN VALUE
6477 _wrap__mrcImageHeaderCCP4_MARCHST_get(int argc, VALUE *argv, VALUE self) {
6478   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6479   void *argp1 = 0 ;
6480   int res1 = 0 ;
6481   mrcImageParaTypeInteger result;
6482   VALUE vresult = Qnil;
6483   
6484   if ((argc < 0) || (argc > 0)) {
6485     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6486   }
6487   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6488   if (!SWIG_IsOK(res1)) {
6489     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MARCHST", 1, self )); 
6490   }
6491   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6492   result = (mrcImageParaTypeInteger) ((arg1)->MARCHST);
6493   vresult = SWIG_From_int((int)(result));
6494   return vresult;
6495 fail:
6496   return Qnil;
6497 }
6498
6499
6500 SWIGINTERN VALUE
6501 _wrap__mrcImageHeaderCCP4_ARMS_set(int argc, VALUE *argv, VALUE self) {
6502   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6503   mrcImageParaTypeReal arg2 ;
6504   void *argp1 = 0 ;
6505   int res1 = 0 ;
6506   float val2 ;
6507   int ecode2 = 0 ;
6508   
6509   if ((argc < 1) || (argc > 1)) {
6510     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6511   }
6512   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6513   if (!SWIG_IsOK(res1)) {
6514     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ARMS", 1, self )); 
6515   }
6516   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6517   ecode2 = SWIG_AsVal_float(argv[0], &val2);
6518   if (!SWIG_IsOK(ecode2)) {
6519     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","ARMS", 2, argv[0] ));
6520   } 
6521   arg2 = (mrcImageParaTypeReal)(val2);
6522   if (arg1) (arg1)->ARMS = arg2;
6523   return Qnil;
6524 fail:
6525   return Qnil;
6526 }
6527
6528
6529 SWIGINTERN VALUE
6530 _wrap__mrcImageHeaderCCP4_ARMS_get(int argc, VALUE *argv, VALUE self) {
6531   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6532   void *argp1 = 0 ;
6533   int res1 = 0 ;
6534   mrcImageParaTypeReal result;
6535   VALUE vresult = Qnil;
6536   
6537   if ((argc < 0) || (argc > 0)) {
6538     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6539   }
6540   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6541   if (!SWIG_IsOK(res1)) {
6542     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ARMS", 1, self )); 
6543   }
6544   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6545   result = (mrcImageParaTypeReal) ((arg1)->ARMS);
6546   vresult = SWIG_From_float((float)(result));
6547   return vresult;
6548 fail:
6549   return Qnil;
6550 }
6551
6552
6553 SWIGINTERN VALUE
6554 _wrap__mrcImageHeaderCCP4_LabelN_set(int argc, VALUE *argv, VALUE self) {
6555   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6556   mrcImageParaTypeInteger arg2 ;
6557   void *argp1 = 0 ;
6558   int res1 = 0 ;
6559   int val2 ;
6560   int ecode2 = 0 ;
6561   
6562   if ((argc < 1) || (argc > 1)) {
6563     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6564   }
6565   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6566   if (!SWIG_IsOK(res1)) {
6567     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","LabelN", 1, self )); 
6568   }
6569   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6570   ecode2 = SWIG_AsVal_int(argv[0], &val2);
6571   if (!SWIG_IsOK(ecode2)) {
6572     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","LabelN", 2, argv[0] ));
6573   } 
6574   arg2 = (mrcImageParaTypeInteger)(val2);
6575   if (arg1) (arg1)->LabelN = arg2;
6576   return Qnil;
6577 fail:
6578   return Qnil;
6579 }
6580
6581
6582 SWIGINTERN VALUE
6583 _wrap__mrcImageHeaderCCP4_LabelN_get(int argc, VALUE *argv, VALUE self) {
6584   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6585   void *argp1 = 0 ;
6586   int res1 = 0 ;
6587   mrcImageParaTypeInteger result;
6588   VALUE vresult = Qnil;
6589   
6590   if ((argc < 0) || (argc > 0)) {
6591     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6592   }
6593   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6594   if (!SWIG_IsOK(res1)) {
6595     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","LabelN", 1, self )); 
6596   }
6597   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6598   result = (mrcImageParaTypeInteger) ((arg1)->LabelN);
6599   vresult = SWIG_From_int((int)(result));
6600   return vresult;
6601 fail:
6602   return Qnil;
6603 }
6604
6605
6606 SWIGINTERN VALUE
6607 _wrap__mrcImageHeaderCCP4_Label_set(int argc, VALUE *argv, VALUE self) {
6608   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6609   char (*arg2)[(80)] ;
6610   void *argp1 = 0 ;
6611   int res1 = 0 ;
6612   void *argp2 = 0 ;
6613   int res2 = 0 ;
6614   
6615   if ((argc < 1) || (argc > 1)) {
6616     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6617   }
6618   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6619   if (!SWIG_IsOK(res1)) {
6620     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Label", 1, self )); 
6621   }
6622   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6623   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_a__80___char, 0 |  0 );
6624   if (!SWIG_IsOK(res2)) {
6625     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(10)][(80)]","Label", 2, argv[0] )); 
6626   } 
6627   arg2 = (char (*)[(80)])(argp2);
6628   {
6629     if (arg2) {
6630       size_t ii = 0;
6631       for (; ii < (size_t)(10); ++ii) {
6632         if (arg2[ii]) {
6633           size_t jj = 0;
6634           for (; jj < (size_t)(80); ++jj) arg1->Label[ii][jj] = arg2[ii][jj];
6635         } else {
6636           SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Label""' of type '""char [(10)][(80)]""'");
6637         }
6638       }
6639     } else {
6640       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Label""' of type '""char [(10)][(80)]""'");
6641     }
6642   }
6643   return Qnil;
6644 fail:
6645   return Qnil;
6646 }
6647
6648
6649 SWIGINTERN VALUE
6650 _wrap__mrcImageHeaderCCP4_Label_get(int argc, VALUE *argv, VALUE self) {
6651   _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6652   void *argp1 = 0 ;
6653   int res1 = 0 ;
6654   char (*result)[(80)] = 0 ;
6655   VALUE vresult = Qnil;
6656   
6657   if ((argc < 0) || (argc > 0)) {
6658     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6659   }
6660   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6661   if (!SWIG_IsOK(res1)) {
6662     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Label", 1, self )); 
6663   }
6664   arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6665   result = (char (*)[(80)])(char (*)[(80)]) ((arg1)->Label);
6666   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_a__80___char, 0 |  0 );
6667   return vresult;
6668 fail:
6669   return Qnil;
6670 }
6671
6672
6673 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
6674 SWIGINTERN VALUE
6675 _wrap__mrcImageHeaderCCP4_allocate(VALUE self) {
6676 #else
6677   SWIGINTERN VALUE
6678   _wrap__mrcImageHeaderCCP4_allocate(int argc, VALUE *argv, VALUE self) {
6679 #endif
6680     
6681     
6682     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p__mrcImageHeaderCCP4);
6683 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
6684     rb_obj_call_init(vresult, argc, argv);
6685 #endif
6686     return vresult;
6687   }
6688   
6689
6690 SWIGINTERN VALUE
6691 _wrap_new__mrcImageHeaderCCP4(int argc, VALUE *argv, VALUE self) {
6692   _mrcImageHeaderCCP4 *result = 0 ;
6693   
6694   if ((argc < 0) || (argc > 0)) {
6695     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6696   }
6697   result = (_mrcImageHeaderCCP4 *)calloc(1, sizeof(_mrcImageHeaderCCP4));
6698   DATA_PTR(self) = result;
6699   return self;
6700 fail:
6701   return Qnil;
6702 }
6703
6704
6705 SWIGINTERN void
6706 free__mrcImageHeaderCCP4(_mrcImageHeaderCCP4 *arg1) {
6707     free((char *) arg1);
6708 }
6709
6710 swig_class cMrcImageHeader;
6711
6712 SWIGINTERN VALUE
6713 _wrap_mrcImageHeader_All_set(int argc, VALUE *argv, VALUE self) {
6714   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6715   unsigned char *arg2 ;
6716   void *argp1 = 0 ;
6717   int res1 = 0 ;
6718   void *argp2 = 0 ;
6719   int res2 = 0 ;
6720   
6721   if ((argc < 1) || (argc > 1)) {
6722     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6723   }
6724   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6725   if (!SWIG_IsOK(res1)) {
6726     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","All", 1, self )); 
6727   }
6728   arg1 = (mrcImageHeader *)(argp1);
6729   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, 0 |  0 );
6730   if (!SWIG_IsOK(res2)) {
6731     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned char [(1024)]","All", 2, argv[0] )); 
6732   } 
6733   arg2 = (unsigned char *)(argp2);
6734   {
6735     if (arg2) {
6736       size_t ii = 0;
6737       for (; ii < (size_t)(1024); ++ii) arg1->All[ii] = arg2[ii];
6738     } else {
6739       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""All""' of type '""unsigned char [(1024)]""'");
6740     }
6741   }
6742   return Qnil;
6743 fail:
6744   return Qnil;
6745 }
6746
6747
6748 SWIGINTERN VALUE
6749 _wrap_mrcImageHeader_All_get(int argc, VALUE *argv, VALUE self) {
6750   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6751   void *argp1 = 0 ;
6752   int res1 = 0 ;
6753   unsigned char *result = 0 ;
6754   VALUE vresult = Qnil;
6755   
6756   if ((argc < 0) || (argc > 0)) {
6757     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6758   }
6759   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6760   if (!SWIG_IsOK(res1)) {
6761     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","All", 1, self )); 
6762   }
6763   arg1 = (mrcImageHeader *)(argp1);
6764   result = (unsigned char *)(unsigned char *) ((arg1)->All);
6765   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 |  0 );
6766   return vresult;
6767 fail:
6768   return Qnil;
6769 }
6770
6771
6772 SWIGINTERN VALUE
6773 _wrap_mrcImageHeader_Int_set(int argc, VALUE *argv, VALUE self) {
6774   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6775   mrcImageParaTypeInteger *arg2 ;
6776   void *argp1 = 0 ;
6777   int res1 = 0 ;
6778   void *argp2 = 0 ;
6779   int res2 = 0 ;
6780   
6781   if ((argc < 1) || (argc > 1)) {
6782     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6783   }
6784   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6785   if (!SWIG_IsOK(res1)) {
6786     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Int", 1, self )); 
6787   }
6788   arg1 = (mrcImageHeader *)(argp1);
6789   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_int, 0 |  0 );
6790   if (!SWIG_IsOK(res2)) {
6791     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger [(1024)/4]","Int", 2, argv[0] )); 
6792   } 
6793   arg2 = (mrcImageParaTypeInteger *)(argp2);
6794   {
6795     if (arg2) {
6796       size_t ii = 0;
6797       for (; ii < (size_t)(1024)/4; ++ii) arg1->Int[ii] = arg2[ii];
6798     } else {
6799       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Int""' of type '""mrcImageParaTypeInteger [(1024)/4]""'");
6800     }
6801   }
6802   return Qnil;
6803 fail:
6804   return Qnil;
6805 }
6806
6807
6808 SWIGINTERN VALUE
6809 _wrap_mrcImageHeader_Int_get(int argc, VALUE *argv, VALUE self) {
6810   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6811   void *argp1 = 0 ;
6812   int res1 = 0 ;
6813   mrcImageParaTypeInteger *result = 0 ;
6814   VALUE vresult = Qnil;
6815   
6816   if ((argc < 0) || (argc > 0)) {
6817     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6818   }
6819   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6820   if (!SWIG_IsOK(res1)) {
6821     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Int", 1, self )); 
6822   }
6823   arg1 = (mrcImageHeader *)(argp1);
6824   result = (mrcImageParaTypeInteger *)(mrcImageParaTypeInteger *) ((arg1)->Int);
6825   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
6826   return vresult;
6827 fail:
6828   return Qnil;
6829 }
6830
6831
6832 SWIGINTERN VALUE
6833 _wrap_mrcImageHeader_Real_set(int argc, VALUE *argv, VALUE self) {
6834   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6835   mrcImageParaTypeReal *arg2 ;
6836   void *argp1 = 0 ;
6837   int res1 = 0 ;
6838   void *argp2 = 0 ;
6839   int res2 = 0 ;
6840   
6841   if ((argc < 1) || (argc > 1)) {
6842     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6843   }
6844   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6845   if (!SWIG_IsOK(res1)) {
6846     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Real", 1, self )); 
6847   }
6848   arg1 = (mrcImageHeader *)(argp1);
6849   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 |  0 );
6850   if (!SWIG_IsOK(res2)) {
6851     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(1024)/4]","Real", 2, argv[0] )); 
6852   } 
6853   arg2 = (mrcImageParaTypeReal *)(argp2);
6854   {
6855     if (arg2) {
6856       size_t ii = 0;
6857       for (; ii < (size_t)(1024)/4; ++ii) arg1->Real[ii] = arg2[ii];
6858     } else {
6859       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Real""' of type '""mrcImageParaTypeReal [(1024)/4]""'");
6860     }
6861   }
6862   return Qnil;
6863 fail:
6864   return Qnil;
6865 }
6866
6867
6868 SWIGINTERN VALUE
6869 _wrap_mrcImageHeader_Real_get(int argc, VALUE *argv, VALUE self) {
6870   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6871   void *argp1 = 0 ;
6872   int res1 = 0 ;
6873   mrcImageParaTypeReal *result = 0 ;
6874   VALUE vresult = Qnil;
6875   
6876   if ((argc < 0) || (argc > 0)) {
6877     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6878   }
6879   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6880   if (!SWIG_IsOK(res1)) {
6881     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Real", 1, self )); 
6882   }
6883   arg1 = (mrcImageHeader *)(argp1);
6884   result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->Real);
6885   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
6886   return vresult;
6887 fail:
6888   return Qnil;
6889 }
6890
6891
6892 SWIGINTERN VALUE
6893 _wrap_mrcImageHeader_Cont_set(int argc, VALUE *argv, VALUE self) {
6894   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6895   _mrcImageHeader *arg2 = (_mrcImageHeader *) 0 ;
6896   void *argp1 = 0 ;
6897   int res1 = 0 ;
6898   void *argp2 = 0 ;
6899   int res2 = 0 ;
6900   
6901   if ((argc < 1) || (argc > 1)) {
6902     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6903   }
6904   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6905   if (!SWIG_IsOK(res1)) {
6906     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Cont", 1, self )); 
6907   }
6908   arg1 = (mrcImageHeader *)(argp1);
6909   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__mrcImageHeader, 0 |  0 );
6910   if (!SWIG_IsOK(res2)) {
6911     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_mrcImageHeader *","Cont", 2, argv[0] )); 
6912   }
6913   arg2 = (_mrcImageHeader *)(argp2);
6914   if (arg1) (arg1)->Cont = *arg2;
6915   return Qnil;
6916 fail:
6917   return Qnil;
6918 }
6919
6920
6921 SWIGINTERN VALUE
6922 _wrap_mrcImageHeader_Cont_get(int argc, VALUE *argv, VALUE self) {
6923   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6924   void *argp1 = 0 ;
6925   int res1 = 0 ;
6926   _mrcImageHeader *result = 0 ;
6927   VALUE vresult = Qnil;
6928   
6929   if ((argc < 0) || (argc > 0)) {
6930     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6931   }
6932   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6933   if (!SWIG_IsOK(res1)) {
6934     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Cont", 1, self )); 
6935   }
6936   arg1 = (mrcImageHeader *)(argp1);
6937   result = (_mrcImageHeader *)& ((arg1)->Cont);
6938   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageHeader, 0 |  0 );
6939   return vresult;
6940 fail:
6941   return Qnil;
6942 }
6943
6944
6945 SWIGINTERN VALUE
6946 _wrap_mrcImageHeader_ContCCP4_set(int argc, VALUE *argv, VALUE self) {
6947   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6948   _mrcImageHeaderCCP4 *arg2 = (_mrcImageHeaderCCP4 *) 0 ;
6949   void *argp1 = 0 ;
6950   int res1 = 0 ;
6951   void *argp2 = 0 ;
6952   int res2 = 0 ;
6953   
6954   if ((argc < 1) || (argc > 1)) {
6955     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6956   }
6957   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6958   if (!SWIG_IsOK(res1)) {
6959     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","ContCCP4", 1, self )); 
6960   }
6961   arg1 = (mrcImageHeader *)(argp1);
6962   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6963   if (!SWIG_IsOK(res2)) {
6964     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ContCCP4", 2, argv[0] )); 
6965   }
6966   arg2 = (_mrcImageHeaderCCP4 *)(argp2);
6967   if (arg1) (arg1)->ContCCP4 = *arg2;
6968   return Qnil;
6969 fail:
6970   return Qnil;
6971 }
6972
6973
6974 SWIGINTERN VALUE
6975 _wrap_mrcImageHeader_ContCCP4_get(int argc, VALUE *argv, VALUE self) {
6976   mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6977   void *argp1 = 0 ;
6978   int res1 = 0 ;
6979   _mrcImageHeaderCCP4 *result = 0 ;
6980   VALUE vresult = Qnil;
6981   
6982   if ((argc < 0) || (argc > 0)) {
6983     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6984   }
6985   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
6986   if (!SWIG_IsOK(res1)) {
6987     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","ContCCP4", 1, self )); 
6988   }
6989   arg1 = (mrcImageHeader *)(argp1);
6990   result = (_mrcImageHeaderCCP4 *)& ((arg1)->ContCCP4);
6991   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageHeaderCCP4, 0 |  0 );
6992   return vresult;
6993 fail:
6994   return Qnil;
6995 }
6996
6997
6998 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
6999 SWIGINTERN VALUE
7000 _wrap_mrcImageHeader_allocate(VALUE self) {
7001 #else
7002   SWIGINTERN VALUE
7003   _wrap_mrcImageHeader_allocate(int argc, VALUE *argv, VALUE self) {
7004 #endif
7005     
7006     
7007     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageHeader);
7008 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
7009     rb_obj_call_init(vresult, argc, argv);
7010 #endif
7011     return vresult;
7012   }
7013   
7014
7015 SWIGINTERN VALUE
7016 _wrap_new_mrcImageHeader(int argc, VALUE *argv, VALUE self) {
7017   mrcImageHeader *result = 0 ;
7018   
7019   if ((argc < 0) || (argc > 0)) {
7020     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7021   }
7022   result = (mrcImageHeader *)calloc(1, sizeof(mrcImageHeader));
7023   DATA_PTR(self) = result;
7024   return self;
7025 fail:
7026   return Qnil;
7027 }
7028
7029
7030 SWIGINTERN void
7031 free_mrcImageHeader(mrcImageHeader *arg1) {
7032     free((char *) arg1);
7033 }
7034
7035 swig_class c_mrcImageTailer;
7036
7037 SWIGINTERN VALUE
7038 _wrap__mrcImageTailer_Code_set(int argc, VALUE *argv, VALUE self) {
7039   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7040   char *arg2 ;
7041   void *argp1 = 0 ;
7042   int res1 = 0 ;
7043   char temp2[4] ;
7044   int res2 ;
7045   
7046   if ((argc < 1) || (argc > 1)) {
7047     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7048   }
7049   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7050   if (!SWIG_IsOK(res1)) {
7051     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Code", 1, self )); 
7052   }
7053   arg1 = (_mrcImageTailer *)(argp1);
7054   res2 = SWIG_AsCharArray(argv[0], temp2, 4);
7055   if (!SWIG_IsOK(res2)) {
7056     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","Code", 2, argv[0] ));
7057   }
7058   arg2 = (char *)(temp2);
7059   if (arg2) memcpy(arg1->Code,arg2,4*sizeof(char));
7060   else memset(arg1->Code,0,4*sizeof(char));
7061   return Qnil;
7062 fail:
7063   return Qnil;
7064 }
7065
7066
7067 SWIGINTERN VALUE
7068 _wrap__mrcImageTailer_Code_get(int argc, VALUE *argv, VALUE self) {
7069   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7070   void *argp1 = 0 ;
7071   int res1 = 0 ;
7072   char *result = 0 ;
7073   VALUE vresult = Qnil;
7074   
7075   if ((argc < 0) || (argc > 0)) {
7076     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7077   }
7078   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7079   if (!SWIG_IsOK(res1)) {
7080     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Code", 1, self )); 
7081   }
7082   arg1 = (_mrcImageTailer *)(argp1);
7083   result = (char *)(char *) ((arg1)->Code);
7084   {
7085     size_t size = 4;
7086     
7087     while (size && (result[size - 1] == '\0')) --size;
7088     
7089     vresult = SWIG_FromCharPtrAndSize(result, size);
7090   }
7091   return vresult;
7092 fail:
7093   return Qnil;
7094 }
7095
7096
7097 SWIGINTERN VALUE
7098 _wrap__mrcImageTailer_Mode_set(int argc, VALUE *argv, VALUE self) {
7099   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7100   mrcImageParaTypeInteger arg2 ;
7101   void *argp1 = 0 ;
7102   int res1 = 0 ;
7103   int val2 ;
7104   int ecode2 = 0 ;
7105   
7106   if ((argc < 1) || (argc > 1)) {
7107     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7108   }
7109   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7110   if (!SWIG_IsOK(res1)) {
7111     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Mode", 1, self )); 
7112   }
7113   arg1 = (_mrcImageTailer *)(argp1);
7114   ecode2 = SWIG_AsVal_int(argv[0], &val2);
7115   if (!SWIG_IsOK(ecode2)) {
7116     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","Mode", 2, argv[0] ));
7117   } 
7118   arg2 = (mrcImageParaTypeInteger)(val2);
7119   if (arg1) (arg1)->Mode = arg2;
7120   return Qnil;
7121 fail:
7122   return Qnil;
7123 }
7124
7125
7126 SWIGINTERN VALUE
7127 _wrap__mrcImageTailer_Mode_get(int argc, VALUE *argv, VALUE self) {
7128   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7129   void *argp1 = 0 ;
7130   int res1 = 0 ;
7131   mrcImageParaTypeInteger result;
7132   VALUE vresult = Qnil;
7133   
7134   if ((argc < 0) || (argc > 0)) {
7135     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7136   }
7137   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7138   if (!SWIG_IsOK(res1)) {
7139     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Mode", 1, self )); 
7140   }
7141   arg1 = (_mrcImageTailer *)(argp1);
7142   result = (mrcImageParaTypeInteger) ((arg1)->Mode);
7143   vresult = SWIG_From_int((int)(result));
7144   return vresult;
7145 fail:
7146   return Qnil;
7147 }
7148
7149
7150 SWIGINTERN VALUE
7151 _wrap__mrcImageTailer_EulerAngleMode_set(int argc, VALUE *argv, VALUE self) {
7152   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7153   char *arg2 ;
7154   void *argp1 = 0 ;
7155   int res1 = 0 ;
7156   char temp2[4] ;
7157   int res2 ;
7158   
7159   if ((argc < 1) || (argc > 1)) {
7160     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7161   }
7162   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7163   if (!SWIG_IsOK(res1)) {
7164     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","EulerAngleMode", 1, self )); 
7165   }
7166   arg1 = (_mrcImageTailer *)(argp1);
7167   res2 = SWIG_AsCharArray(argv[0], temp2, 4);
7168   if (!SWIG_IsOK(res2)) {
7169     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","EulerAngleMode", 2, argv[0] ));
7170   }
7171   arg2 = (char *)(temp2);
7172   if (arg2) memcpy(arg1->EulerAngleMode,arg2,4*sizeof(char));
7173   else memset(arg1->EulerAngleMode,0,4*sizeof(char));
7174   return Qnil;
7175 fail:
7176   return Qnil;
7177 }
7178
7179
7180 SWIGINTERN VALUE
7181 _wrap__mrcImageTailer_EulerAngleMode_get(int argc, VALUE *argv, VALUE self) {
7182   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7183   void *argp1 = 0 ;
7184   int res1 = 0 ;
7185   char *result = 0 ;
7186   VALUE vresult = Qnil;
7187   
7188   if ((argc < 0) || (argc > 0)) {
7189     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7190   }
7191   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7192   if (!SWIG_IsOK(res1)) {
7193     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","EulerAngleMode", 1, self )); 
7194   }
7195   arg1 = (_mrcImageTailer *)(argp1);
7196   result = (char *)(char *) ((arg1)->EulerAngleMode);
7197   {
7198     size_t size = 4;
7199     
7200     while (size && (result[size - 1] == '\0')) --size;
7201     
7202     vresult = SWIG_FromCharPtrAndSize(result, size);
7203   }
7204   return vresult;
7205 fail:
7206   return Qnil;
7207 }
7208
7209
7210 SWIGINTERN VALUE
7211 _wrap__mrcImageTailer_Rot1_set(int argc, VALUE *argv, VALUE self) {
7212   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7213   mrcImageParaTypeReal arg2 ;
7214   void *argp1 = 0 ;
7215   int res1 = 0 ;
7216   float val2 ;
7217   int ecode2 = 0 ;
7218   
7219   if ((argc < 1) || (argc > 1)) {
7220     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7221   }
7222   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7223   if (!SWIG_IsOK(res1)) {
7224     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot1", 1, self )); 
7225   }
7226   arg1 = (_mrcImageTailer *)(argp1);
7227   ecode2 = SWIG_AsVal_float(argv[0], &val2);
7228   if (!SWIG_IsOK(ecode2)) {
7229     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Rot1", 2, argv[0] ));
7230   } 
7231   arg2 = (mrcImageParaTypeReal)(val2);
7232   if (arg1) (arg1)->Rot1 = arg2;
7233   return Qnil;
7234 fail:
7235   return Qnil;
7236 }
7237
7238
7239 SWIGINTERN VALUE
7240 _wrap__mrcImageTailer_Rot1_get(int argc, VALUE *argv, VALUE self) {
7241   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7242   void *argp1 = 0 ;
7243   int res1 = 0 ;
7244   mrcImageParaTypeReal result;
7245   VALUE vresult = Qnil;
7246   
7247   if ((argc < 0) || (argc > 0)) {
7248     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7249   }
7250   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7251   if (!SWIG_IsOK(res1)) {
7252     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot1", 1, self )); 
7253   }
7254   arg1 = (_mrcImageTailer *)(argp1);
7255   result = (mrcImageParaTypeReal) ((arg1)->Rot1);
7256   vresult = SWIG_From_float((float)(result));
7257   return vresult;
7258 fail:
7259   return Qnil;
7260 }
7261
7262
7263 SWIGINTERN VALUE
7264 _wrap__mrcImageTailer_Rot2_set(int argc, VALUE *argv, VALUE self) {
7265   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7266   mrcImageParaTypeReal arg2 ;
7267   void *argp1 = 0 ;
7268   int res1 = 0 ;
7269   float val2 ;
7270   int ecode2 = 0 ;
7271   
7272   if ((argc < 1) || (argc > 1)) {
7273     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7274   }
7275   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7276   if (!SWIG_IsOK(res1)) {
7277     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot2", 1, self )); 
7278   }
7279   arg1 = (_mrcImageTailer *)(argp1);
7280   ecode2 = SWIG_AsVal_float(argv[0], &val2);
7281   if (!SWIG_IsOK(ecode2)) {
7282     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Rot2", 2, argv[0] ));
7283   } 
7284   arg2 = (mrcImageParaTypeReal)(val2);
7285   if (arg1) (arg1)->Rot2 = arg2;
7286   return Qnil;
7287 fail:
7288   return Qnil;
7289 }
7290
7291
7292 SWIGINTERN VALUE
7293 _wrap__mrcImageTailer_Rot2_get(int argc, VALUE *argv, VALUE self) {
7294   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7295   void *argp1 = 0 ;
7296   int res1 = 0 ;
7297   mrcImageParaTypeReal result;
7298   VALUE vresult = Qnil;
7299   
7300   if ((argc < 0) || (argc > 0)) {
7301     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7302   }
7303   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7304   if (!SWIG_IsOK(res1)) {
7305     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot2", 1, self )); 
7306   }
7307   arg1 = (_mrcImageTailer *)(argp1);
7308   result = (mrcImageParaTypeReal) ((arg1)->Rot2);
7309   vresult = SWIG_From_float((float)(result));
7310   return vresult;
7311 fail:
7312   return Qnil;
7313 }
7314
7315
7316 SWIGINTERN VALUE
7317 _wrap__mrcImageTailer_Rot3_set(int argc, VALUE *argv, VALUE self) {
7318   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7319   mrcImageParaTypeReal arg2 ;
7320   void *argp1 = 0 ;
7321   int res1 = 0 ;
7322   float val2 ;
7323   int ecode2 = 0 ;
7324   
7325   if ((argc < 1) || (argc > 1)) {
7326     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7327   }
7328   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7329   if (!SWIG_IsOK(res1)) {
7330     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot3", 1, self )); 
7331   }
7332   arg1 = (_mrcImageTailer *)(argp1);
7333   ecode2 = SWIG_AsVal_float(argv[0], &val2);
7334   if (!SWIG_IsOK(ecode2)) {
7335     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Rot3", 2, argv[0] ));
7336   } 
7337   arg2 = (mrcImageParaTypeReal)(val2);
7338   if (arg1) (arg1)->Rot3 = arg2;
7339   return Qnil;
7340 fail:
7341   return Qnil;
7342 }
7343
7344
7345 SWIGINTERN VALUE
7346 _wrap__mrcImageTailer_Rot3_get(int argc, VALUE *argv, VALUE self) {
7347   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7348   void *argp1 = 0 ;
7349   int res1 = 0 ;
7350   mrcImageParaTypeReal result;
7351   VALUE vresult = Qnil;
7352   
7353   if ((argc < 0) || (argc > 0)) {
7354     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7355   }
7356   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7357   if (!SWIG_IsOK(res1)) {
7358     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot3", 1, self )); 
7359   }
7360   arg1 = (_mrcImageTailer *)(argp1);
7361   result = (mrcImageParaTypeReal) ((arg1)->Rot3);
7362   vresult = SWIG_From_float((float)(result));
7363   return vresult;
7364 fail:
7365   return Qnil;
7366 }
7367
7368
7369 SWIGINTERN VALUE
7370 _wrap__mrcImageTailer_Mirror_set(int argc, VALUE *argv, VALUE self) {
7371   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7372   mrcImageParaTypeInteger arg2 ;
7373   void *argp1 = 0 ;
7374   int res1 = 0 ;
7375   int val2 ;
7376   int ecode2 = 0 ;
7377   
7378   if ((argc < 1) || (argc > 1)) {
7379     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7380   }
7381   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7382   if (!SWIG_IsOK(res1)) {
7383     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Mirror", 1, self )); 
7384   }
7385   arg1 = (_mrcImageTailer *)(argp1);
7386   ecode2 = SWIG_AsVal_int(argv[0], &val2);
7387   if (!SWIG_IsOK(ecode2)) {
7388     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","Mirror", 2, argv[0] ));
7389   } 
7390   arg2 = (mrcImageParaTypeInteger)(val2);
7391   if (arg1) (arg1)->Mirror = arg2;
7392   return Qnil;
7393 fail:
7394   return Qnil;
7395 }
7396
7397
7398 SWIGINTERN VALUE
7399 _wrap__mrcImageTailer_Mirror_get(int argc, VALUE *argv, VALUE self) {
7400   _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7401   void *argp1 = 0 ;
7402   int res1 = 0 ;
7403   mrcImageParaTypeInteger result;
7404   VALUE vresult = Qnil;
7405   
7406   if ((argc < 0) || (argc > 0)) {
7407     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7408   }
7409   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7410   if (!SWIG_IsOK(res1)) {
7411     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Mirror", 1, self )); 
7412   }
7413   arg1 = (_mrcImageTailer *)(argp1);
7414   result = (mrcImageParaTypeInteger) ((arg1)->Mirror);
7415   vresult = SWIG_From_int((int)(result));
7416   return vresult;
7417 fail:
7418   return Qnil;
7419 }
7420
7421
7422 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
7423 SWIGINTERN VALUE
7424 _wrap__mrcImageTailer_allocate(VALUE self) {
7425 #else
7426   SWIGINTERN VALUE
7427   _wrap__mrcImageTailer_allocate(int argc, VALUE *argv, VALUE self) {
7428 #endif
7429     
7430     
7431     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p__mrcImageTailer);
7432 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
7433     rb_obj_call_init(vresult, argc, argv);
7434 #endif
7435     return vresult;
7436   }
7437   
7438
7439 SWIGINTERN VALUE
7440 _wrap_new__mrcImageTailer(int argc, VALUE *argv, VALUE self) {
7441   _mrcImageTailer *result = 0 ;
7442   
7443   if ((argc < 0) || (argc > 0)) {
7444     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7445   }
7446   result = (_mrcImageTailer *)calloc(1, sizeof(_mrcImageTailer));
7447   DATA_PTR(self) = result;
7448   return self;
7449 fail:
7450   return Qnil;
7451 }
7452
7453
7454 SWIGINTERN void
7455 free__mrcImageTailer(_mrcImageTailer *arg1) {
7456     free((char *) arg1);
7457 }
7458
7459 swig_class cMrcImageTailer;
7460
7461 SWIGINTERN VALUE
7462 _wrap_mrcImageTailer_All_set(int argc, VALUE *argv, VALUE self) {
7463   mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7464   unsigned char *arg2 ;
7465   void *argp1 = 0 ;
7466   int res1 = 0 ;
7467   void *argp2 = 0 ;
7468   int res2 = 0 ;
7469   
7470   if ((argc < 1) || (argc > 1)) {
7471     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7472   }
7473   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 |  0 );
7474   if (!SWIG_IsOK(res1)) {
7475     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","All", 1, self )); 
7476   }
7477   arg1 = (mrcImageTailer *)(argp1);
7478   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, 0 |  0 );
7479   if (!SWIG_IsOK(res2)) {
7480     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned char [(1024)]","All", 2, argv[0] )); 
7481   } 
7482   arg2 = (unsigned char *)(argp2);
7483   {
7484     if (arg2) {
7485       size_t ii = 0;
7486       for (; ii < (size_t)(1024); ++ii) arg1->All[ii] = arg2[ii];
7487     } else {
7488       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""All""' of type '""unsigned char [(1024)]""'");
7489     }
7490   }
7491   return Qnil;
7492 fail:
7493   return Qnil;
7494 }
7495
7496
7497 SWIGINTERN VALUE
7498 _wrap_mrcImageTailer_All_get(int argc, VALUE *argv, VALUE self) {
7499   mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7500   void *argp1 = 0 ;
7501   int res1 = 0 ;
7502   unsigned char *result = 0 ;
7503   VALUE vresult = Qnil;
7504   
7505   if ((argc < 0) || (argc > 0)) {
7506     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7507   }
7508   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 |  0 );
7509   if (!SWIG_IsOK(res1)) {
7510     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","All", 1, self )); 
7511   }
7512   arg1 = (mrcImageTailer *)(argp1);
7513   result = (unsigned char *)(unsigned char *) ((arg1)->All);
7514   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 |  0 );
7515   return vresult;
7516 fail:
7517   return Qnil;
7518 }
7519
7520
7521 SWIGINTERN VALUE
7522 _wrap_mrcImageTailer_Int_set(int argc, VALUE *argv, VALUE self) {
7523   mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7524   mrcImageParaTypeInteger *arg2 ;
7525   void *argp1 = 0 ;
7526   int res1 = 0 ;
7527   void *argp2 = 0 ;
7528   int res2 = 0 ;
7529   
7530   if ((argc < 1) || (argc > 1)) {
7531     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7532   }
7533   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 |  0 );
7534   if (!SWIG_IsOK(res1)) {
7535     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Int", 1, self )); 
7536   }
7537   arg1 = (mrcImageTailer *)(argp1);
7538   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_int, 0 |  0 );
7539   if (!SWIG_IsOK(res2)) {
7540     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger [(1024)/4]","Int", 2, argv[0] )); 
7541   } 
7542   arg2 = (mrcImageParaTypeInteger *)(argp2);
7543   {
7544     if (arg2) {
7545       size_t ii = 0;
7546       for (; ii < (size_t)(1024)/4; ++ii) arg1->Int[ii] = arg2[ii];
7547     } else {
7548       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Int""' of type '""mrcImageParaTypeInteger [(1024)/4]""'");
7549     }
7550   }
7551   return Qnil;
7552 fail:
7553   return Qnil;
7554 }
7555
7556
7557 SWIGINTERN VALUE
7558 _wrap_mrcImageTailer_Int_get(int argc, VALUE *argv, VALUE self) {
7559   mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7560   void *argp1 = 0 ;
7561   int res1 = 0 ;
7562   mrcImageParaTypeInteger *result = 0 ;
7563   VALUE vresult = Qnil;
7564   
7565   if ((argc < 0) || (argc > 0)) {
7566     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7567   }
7568   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 |  0 );
7569   if (!SWIG_IsOK(res1)) {
7570     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Int", 1, self )); 
7571   }
7572   arg1 = (mrcImageTailer *)(argp1);
7573   result = (mrcImageParaTypeInteger *)(mrcImageParaTypeInteger *) ((arg1)->Int);
7574   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
7575   return vresult;
7576 fail:
7577   return Qnil;
7578 }
7579
7580
7581 SWIGINTERN VALUE
7582 _wrap_mrcImageTailer_Real_set(int argc, VALUE *argv, VALUE self) {
7583   mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7584   mrcImageParaTypeReal *arg2 ;
7585   void *argp1 = 0 ;
7586   int res1 = 0 ;
7587   void *argp2 = 0 ;
7588   int res2 = 0 ;
7589   
7590   if ((argc < 1) || (argc > 1)) {
7591     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7592   }
7593   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 |  0 );
7594   if (!SWIG_IsOK(res1)) {
7595     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Real", 1, self )); 
7596   }
7597   arg1 = (mrcImageTailer *)(argp1);
7598   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 |  0 );
7599   if (!SWIG_IsOK(res2)) {
7600     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(1024)/4]","Real", 2, argv[0] )); 
7601   } 
7602   arg2 = (mrcImageParaTypeReal *)(argp2);
7603   {
7604     if (arg2) {
7605       size_t ii = 0;
7606       for (; ii < (size_t)(1024)/4; ++ii) arg1->Real[ii] = arg2[ii];
7607     } else {
7608       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Real""' of type '""mrcImageParaTypeReal [(1024)/4]""'");
7609     }
7610   }
7611   return Qnil;
7612 fail:
7613   return Qnil;
7614 }
7615
7616
7617 SWIGINTERN VALUE
7618 _wrap_mrcImageTailer_Real_get(int argc, VALUE *argv, VALUE self) {
7619   mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7620   void *argp1 = 0 ;
7621   int res1 = 0 ;
7622   mrcImageParaTypeReal *result = 0 ;
7623   VALUE vresult = Qnil;
7624   
7625   if ((argc < 0) || (argc > 0)) {
7626     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7627   }
7628   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 |  0 );
7629   if (!SWIG_IsOK(res1)) {
7630     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Real", 1, self )); 
7631   }
7632   arg1 = (mrcImageTailer *)(argp1);
7633   result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->Real);
7634   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
7635   return vresult;
7636 fail:
7637   return Qnil;
7638 }
7639
7640
7641 SWIGINTERN VALUE
7642 _wrap_mrcImageTailer_Cont_set(int argc, VALUE *argv, VALUE self) {
7643   mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7644   _mrcImageTailer *arg2 = (_mrcImageTailer *) 0 ;
7645   void *argp1 = 0 ;
7646   int res1 = 0 ;
7647   void *argp2 = 0 ;
7648   int res2 = 0 ;
7649   
7650   if ((argc < 1) || (argc > 1)) {
7651     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7652   }
7653   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 |  0 );
7654   if (!SWIG_IsOK(res1)) {
7655     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Cont", 1, self )); 
7656   }
7657   arg1 = (mrcImageTailer *)(argp1);
7658   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7659   if (!SWIG_IsOK(res2)) {
7660     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_mrcImageTailer *","Cont", 2, argv[0] )); 
7661   }
7662   arg2 = (_mrcImageTailer *)(argp2);
7663   if (arg1) (arg1)->Cont = *arg2;
7664   return Qnil;
7665 fail:
7666   return Qnil;
7667 }
7668
7669
7670 SWIGINTERN VALUE
7671 _wrap_mrcImageTailer_Cont_get(int argc, VALUE *argv, VALUE self) {
7672   mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7673   void *argp1 = 0 ;
7674   int res1 = 0 ;
7675   _mrcImageTailer *result = 0 ;
7676   VALUE vresult = Qnil;
7677   
7678   if ((argc < 0) || (argc > 0)) {
7679     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7680   }
7681   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 |  0 );
7682   if (!SWIG_IsOK(res1)) {
7683     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Cont", 1, self )); 
7684   }
7685   arg1 = (mrcImageTailer *)(argp1);
7686   result = (_mrcImageTailer *)& ((arg1)->Cont);
7687   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageTailer, 0 |  0 );
7688   return vresult;
7689 fail:
7690   return Qnil;
7691 }
7692
7693
7694 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
7695 SWIGINTERN VALUE
7696 _wrap_mrcImageTailer_allocate(VALUE self) {
7697 #else
7698   SWIGINTERN VALUE
7699   _wrap_mrcImageTailer_allocate(int argc, VALUE *argv, VALUE self) {
7700 #endif
7701     
7702     
7703     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageTailer);
7704 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
7705     rb_obj_call_init(vresult, argc, argv);
7706 #endif
7707     return vresult;
7708   }
7709   
7710
7711 SWIGINTERN VALUE
7712 _wrap_new_mrcImageTailer(int argc, VALUE *argv, VALUE self) {
7713   mrcImageTailer *result = 0 ;
7714   
7715   if ((argc < 0) || (argc > 0)) {
7716     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7717   }
7718   result = (mrcImageTailer *)calloc(1, sizeof(mrcImageTailer));
7719   DATA_PTR(self) = result;
7720   return self;
7721 fail:
7722   return Qnil;
7723 }
7724
7725
7726 SWIGINTERN void
7727 free_mrcImageTailer(mrcImageTailer *arg1) {
7728     free((char *) arg1);
7729 }
7730
7731 swig_class cMrcImage;
7732
7733 SWIGINTERN VALUE
7734 _wrap_mrcImage_Header_set(int argc, VALUE *argv, VALUE self) {
7735   mrcImage *arg1 = (mrcImage *) 0 ;
7736   mrcImageHeader *arg2 = (mrcImageHeader *) 0 ;
7737   void *argp1 = 0 ;
7738   int res1 = 0 ;
7739   void *argp2 = 0 ;
7740   int res2 = 0 ;
7741   
7742   if ((argc < 1) || (argc > 1)) {
7743     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7744   }
7745   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7746   if (!SWIG_IsOK(res1)) {
7747     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Header", 1, self )); 
7748   }
7749   arg1 = (mrcImage *)(argp1);
7750   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageHeader, 0 |  0 );
7751   if (!SWIG_IsOK(res2)) {
7752     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageHeader *","Header", 2, argv[0] )); 
7753   }
7754   arg2 = (mrcImageHeader *)(argp2);
7755   if (arg1) (arg1)->Header = *arg2;
7756   return Qnil;
7757 fail:
7758   return Qnil;
7759 }
7760
7761
7762 SWIGINTERN VALUE
7763 _wrap_mrcImage_Header_get(int argc, VALUE *argv, VALUE self) {
7764   mrcImage *arg1 = (mrcImage *) 0 ;
7765   void *argp1 = 0 ;
7766   int res1 = 0 ;
7767   mrcImageHeader *result = 0 ;
7768   VALUE vresult = Qnil;
7769   
7770   if ((argc < 0) || (argc > 0)) {
7771     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7772   }
7773   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7774   if (!SWIG_IsOK(res1)) {
7775     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Header", 1, self )); 
7776   }
7777   arg1 = (mrcImage *)(argp1);
7778   result = (mrcImageHeader *)& ((arg1)->Header);
7779   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageHeader, 0 |  0 );
7780   return vresult;
7781 fail:
7782   return Qnil;
7783 }
7784
7785
7786 SWIGINTERN VALUE
7787 _wrap_mrcImage_BytePerImage_set(int argc, VALUE *argv, VALUE self) {
7788   mrcImage *arg1 = (mrcImage *) 0 ;
7789   mrcImageParaTypeInteger arg2 ;
7790   void *argp1 = 0 ;
7791   int res1 = 0 ;
7792   int val2 ;
7793   int ecode2 = 0 ;
7794   
7795   if ((argc < 1) || (argc > 1)) {
7796     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7797   }
7798   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7799   if (!SWIG_IsOK(res1)) {
7800     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BytePerImage", 1, self )); 
7801   }
7802   arg1 = (mrcImage *)(argp1);
7803   ecode2 = SWIG_AsVal_int(argv[0], &val2);
7804   if (!SWIG_IsOK(ecode2)) {
7805     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","BytePerImage", 2, argv[0] ));
7806   } 
7807   arg2 = (mrcImageParaTypeInteger)(val2);
7808   if (arg1) (arg1)->BytePerImage = arg2;
7809   return Qnil;
7810 fail:
7811   return Qnil;
7812 }
7813
7814
7815 SWIGINTERN VALUE
7816 _wrap_mrcImage_BytePerImage_get(int argc, VALUE *argv, VALUE self) {
7817   mrcImage *arg1 = (mrcImage *) 0 ;
7818   void *argp1 = 0 ;
7819   int res1 = 0 ;
7820   mrcImageParaTypeInteger result;
7821   VALUE vresult = Qnil;
7822   
7823   if ((argc < 0) || (argc > 0)) {
7824     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7825   }
7826   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7827   if (!SWIG_IsOK(res1)) {
7828     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BytePerImage", 1, self )); 
7829   }
7830   arg1 = (mrcImage *)(argp1);
7831   result = (mrcImageParaTypeInteger) ((arg1)->BytePerImage);
7832   vresult = SWIG_From_int((int)(result));
7833   return vresult;
7834 fail:
7835   return Qnil;
7836 }
7837
7838
7839 SWIGINTERN VALUE
7840 _wrap_mrcImage_BytePerBand_set(int argc, VALUE *argv, VALUE self) {
7841   mrcImage *arg1 = (mrcImage *) 0 ;
7842   mrcImageParaTypeInteger arg2 ;
7843   void *argp1 = 0 ;
7844   int res1 = 0 ;
7845   int val2 ;
7846   int ecode2 = 0 ;
7847   
7848   if ((argc < 1) || (argc > 1)) {
7849     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7850   }
7851   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7852   if (!SWIG_IsOK(res1)) {
7853     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BytePerBand", 1, self )); 
7854   }
7855   arg1 = (mrcImage *)(argp1);
7856   ecode2 = SWIG_AsVal_int(argv[0], &val2);
7857   if (!SWIG_IsOK(ecode2)) {
7858     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","BytePerBand", 2, argv[0] ));
7859   } 
7860   arg2 = (mrcImageParaTypeInteger)(val2);
7861   if (arg1) (arg1)->BytePerBand = arg2;
7862   return Qnil;
7863 fail:
7864   return Qnil;
7865 }
7866
7867
7868 SWIGINTERN VALUE
7869 _wrap_mrcImage_BytePerBand_get(int argc, VALUE *argv, VALUE self) {
7870   mrcImage *arg1 = (mrcImage *) 0 ;
7871   void *argp1 = 0 ;
7872   int res1 = 0 ;
7873   mrcImageParaTypeInteger result;
7874   VALUE vresult = Qnil;
7875   
7876   if ((argc < 0) || (argc > 0)) {
7877     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7878   }
7879   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7880   if (!SWIG_IsOK(res1)) {
7881     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BytePerBand", 1, self )); 
7882   }
7883   arg1 = (mrcImage *)(argp1);
7884   result = (mrcImageParaTypeInteger) ((arg1)->BytePerBand);
7885   vresult = SWIG_From_int((int)(result));
7886   return vresult;
7887 fail:
7888   return Qnil;
7889 }
7890
7891
7892 SWIGINTERN VALUE
7893 _wrap_mrcImage_BandPerPixel_set(int argc, VALUE *argv, VALUE self) {
7894   mrcImage *arg1 = (mrcImage *) 0 ;
7895   mrcImageParaTypeInteger arg2 ;
7896   void *argp1 = 0 ;
7897   int res1 = 0 ;
7898   int val2 ;
7899   int ecode2 = 0 ;
7900   
7901   if ((argc < 1) || (argc > 1)) {
7902     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7903   }
7904   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7905   if (!SWIG_IsOK(res1)) {
7906     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BandPerPixel", 1, self )); 
7907   }
7908   arg1 = (mrcImage *)(argp1);
7909   ecode2 = SWIG_AsVal_int(argv[0], &val2);
7910   if (!SWIG_IsOK(ecode2)) {
7911     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","BandPerPixel", 2, argv[0] ));
7912   } 
7913   arg2 = (mrcImageParaTypeInteger)(val2);
7914   if (arg1) (arg1)->BandPerPixel = arg2;
7915   return Qnil;
7916 fail:
7917   return Qnil;
7918 }
7919
7920
7921 SWIGINTERN VALUE
7922 _wrap_mrcImage_BandPerPixel_get(int argc, VALUE *argv, VALUE self) {
7923   mrcImage *arg1 = (mrcImage *) 0 ;
7924   void *argp1 = 0 ;
7925   int res1 = 0 ;
7926   mrcImageParaTypeInteger result;
7927   VALUE vresult = Qnil;
7928   
7929   if ((argc < 0) || (argc > 0)) {
7930     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7931   }
7932   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7933   if (!SWIG_IsOK(res1)) {
7934     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BandPerPixel", 1, self )); 
7935   }
7936   arg1 = (mrcImage *)(argp1);
7937   result = (mrcImageParaTypeInteger) ((arg1)->BandPerPixel);
7938   vresult = SWIG_From_int((int)(result));
7939   return vresult;
7940 fail:
7941   return Qnil;
7942 }
7943
7944
7945 SWIGINTERN VALUE
7946 _wrap_mrcImage_PixelPerImage_set(int argc, VALUE *argv, VALUE self) {
7947   mrcImage *arg1 = (mrcImage *) 0 ;
7948   mrcImageParaTypeInteger arg2 ;
7949   void *argp1 = 0 ;
7950   int res1 = 0 ;
7951   int val2 ;
7952   int ecode2 = 0 ;
7953   
7954   if ((argc < 1) || (argc > 1)) {
7955     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7956   }
7957   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7958   if (!SWIG_IsOK(res1)) {
7959     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","PixelPerImage", 1, self )); 
7960   }
7961   arg1 = (mrcImage *)(argp1);
7962   ecode2 = SWIG_AsVal_int(argv[0], &val2);
7963   if (!SWIG_IsOK(ecode2)) {
7964     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","PixelPerImage", 2, argv[0] ));
7965   } 
7966   arg2 = (mrcImageParaTypeInteger)(val2);
7967   if (arg1) (arg1)->PixelPerImage = arg2;
7968   return Qnil;
7969 fail:
7970   return Qnil;
7971 }
7972
7973
7974 SWIGINTERN VALUE
7975 _wrap_mrcImage_PixelPerImage_get(int argc, VALUE *argv, VALUE self) {
7976   mrcImage *arg1 = (mrcImage *) 0 ;
7977   void *argp1 = 0 ;
7978   int res1 = 0 ;
7979   mrcImageParaTypeInteger result;
7980   VALUE vresult = Qnil;
7981   
7982   if ((argc < 0) || (argc > 0)) {
7983     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7984   }
7985   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
7986   if (!SWIG_IsOK(res1)) {
7987     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","PixelPerImage", 1, self )); 
7988   }
7989   arg1 = (mrcImage *)(argp1);
7990   result = (mrcImageParaTypeInteger) ((arg1)->PixelPerImage);
7991   vresult = SWIG_From_int((int)(result));
7992   return vresult;
7993 fail:
7994   return Qnil;
7995 }
7996
7997
7998 SWIGINTERN VALUE
7999 _wrap_mrcImage_status_set(int argc, VALUE *argv, VALUE self) {
8000   mrcImage *arg1 = (mrcImage *) 0 ;
8001   mrcStatusType arg2 ;
8002   void *argp1 = 0 ;
8003   int res1 = 0 ;
8004   unsigned int val2 ;
8005   int ecode2 = 0 ;
8006   
8007   if ((argc < 1) || (argc > 1)) {
8008     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8009   }
8010   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8011   if (!SWIG_IsOK(res1)) {
8012     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","status", 1, self )); 
8013   }
8014   arg1 = (mrcImage *)(argp1);
8015   ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
8016   if (!SWIG_IsOK(ecode2)) {
8017     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcStatusType","status", 2, argv[0] ));
8018   } 
8019   arg2 = (mrcStatusType)(val2);
8020   if (arg1) (arg1)->status = arg2;
8021   return Qnil;
8022 fail:
8023   return Qnil;
8024 }
8025
8026
8027 SWIGINTERN VALUE
8028 _wrap_mrcImage_status_get(int argc, VALUE *argv, VALUE self) {
8029   mrcImage *arg1 = (mrcImage *) 0 ;
8030   void *argp1 = 0 ;
8031   int res1 = 0 ;
8032   mrcStatusType result;
8033   VALUE vresult = Qnil;
8034   
8035   if ((argc < 0) || (argc > 0)) {
8036     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8037   }
8038   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8039   if (!SWIG_IsOK(res1)) {
8040     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","status", 1, self )); 
8041   }
8042   arg1 = (mrcImage *)(argp1);
8043   result = (mrcStatusType) ((arg1)->status);
8044   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
8045   return vresult;
8046 fail:
8047   return Qnil;
8048 }
8049
8050
8051 SWIGINTERN VALUE
8052 _wrap_mrcImage_Image_set(int argc, VALUE *argv, VALUE self) {
8053   mrcImage *arg1 = (mrcImage *) 0 ;
8054   char *arg2 = (char *) 0 ;
8055   void *argp1 = 0 ;
8056   int res1 = 0 ;
8057   int res2 ;
8058   char *buf2 = 0 ;
8059   int alloc2 = 0 ;
8060   
8061   if ((argc < 1) || (argc > 1)) {
8062     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8063   }
8064   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8065   if (!SWIG_IsOK(res1)) {
8066     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Image", 1, self )); 
8067   }
8068   arg1 = (mrcImage *)(argp1);
8069   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
8070   if (!SWIG_IsOK(res2)) {
8071     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","Image", 2, argv[0] ));
8072   }
8073   arg2 = (char *)(buf2);
8074   if (arg1->Image) free((char*)arg1->Image);
8075   if (arg2) {
8076     size_t size = strlen((const char *)(arg2)) + 1;
8077     arg1->Image = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
8078   } else {
8079     arg1->Image = 0;
8080   }
8081   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8082   return Qnil;
8083 fail:
8084   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8085   return Qnil;
8086 }
8087
8088
8089 SWIGINTERN VALUE
8090 _wrap_mrcImage_Image_get(int argc, VALUE *argv, VALUE self) {
8091   mrcImage *arg1 = (mrcImage *) 0 ;
8092   void *argp1 = 0 ;
8093   int res1 = 0 ;
8094   char *result = 0 ;
8095   VALUE vresult = Qnil;
8096   
8097   if ((argc < 0) || (argc > 0)) {
8098     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8099   }
8100   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8101   if (!SWIG_IsOK(res1)) {
8102     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Image", 1, self )); 
8103   }
8104   arg1 = (mrcImage *)(argp1);
8105   result = (char *) ((arg1)->Image);
8106   vresult = SWIG_FromCharPtr((const char *)result);
8107   return vresult;
8108 fail:
8109   return Qnil;
8110 }
8111
8112
8113 SWIGINTERN VALUE
8114 _wrap_mrcImage_ImageCharImage_set(int argc, VALUE *argv, VALUE self) {
8115   mrcImage *arg1 = (mrcImage *) 0 ;
8116   unsigned char *arg2 = (unsigned char *) 0 ;
8117   void *argp1 = 0 ;
8118   int res1 = 0 ;
8119   void *argp2 = 0 ;
8120   int res2 = 0 ;
8121   
8122   if ((argc < 1) || (argc > 1)) {
8123     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8124   }
8125   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8126   if (!SWIG_IsOK(res1)) {
8127     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageCharImage", 1, self )); 
8128   }
8129   arg1 = (mrcImage *)(argp1);
8130   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, SWIG_POINTER_DISOWN |  0 );
8131   if (!SWIG_IsOK(res2)) {
8132     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned char *","ImageCharImage", 2, argv[0] )); 
8133   }
8134   arg2 = (unsigned char *)(argp2);
8135   if (arg1) (arg1)->ImageCharImage = arg2;
8136   return Qnil;
8137 fail:
8138   return Qnil;
8139 }
8140
8141
8142 SWIGINTERN VALUE
8143 _wrap_mrcImage_ImageCharImage_get(int argc, VALUE *argv, VALUE self) {
8144   mrcImage *arg1 = (mrcImage *) 0 ;
8145   void *argp1 = 0 ;
8146   int res1 = 0 ;
8147   unsigned char *result = 0 ;
8148   VALUE vresult = Qnil;
8149   
8150   if ((argc < 0) || (argc > 0)) {
8151     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8152   }
8153   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8154   if (!SWIG_IsOK(res1)) {
8155     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageCharImage", 1, self )); 
8156   }
8157   arg1 = (mrcImage *)(argp1);
8158   result = (unsigned char *) ((arg1)->ImageCharImage);
8159   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 |  0 );
8160   return vresult;
8161 fail:
8162   return Qnil;
8163 }
8164
8165
8166 SWIGINTERN VALUE
8167 _wrap_mrcImage_ImageShortImage_set(int argc, VALUE *argv, VALUE self) {
8168   mrcImage *arg1 = (mrcImage *) 0 ;
8169   unsigned short *arg2 = (unsigned short *) 0 ;
8170   void *argp1 = 0 ;
8171   int res1 = 0 ;
8172   void *argp2 = 0 ;
8173   int res2 = 0 ;
8174   
8175   if ((argc < 1) || (argc > 1)) {
8176     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8177   }
8178   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8179   if (!SWIG_IsOK(res1)) {
8180     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageShortImage", 1, self )); 
8181   }
8182   arg1 = (mrcImage *)(argp1);
8183   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_short, SWIG_POINTER_DISOWN |  0 );
8184   if (!SWIG_IsOK(res2)) {
8185     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned short *","ImageShortImage", 2, argv[0] )); 
8186   }
8187   arg2 = (unsigned short *)(argp2);
8188   if (arg1) (arg1)->ImageShortImage = arg2;
8189   return Qnil;
8190 fail:
8191   return Qnil;
8192 }
8193
8194
8195 SWIGINTERN VALUE
8196 _wrap_mrcImage_ImageShortImage_get(int argc, VALUE *argv, VALUE self) {
8197   mrcImage *arg1 = (mrcImage *) 0 ;
8198   void *argp1 = 0 ;
8199   int res1 = 0 ;
8200   unsigned short *result = 0 ;
8201   VALUE vresult = Qnil;
8202   
8203   if ((argc < 0) || (argc > 0)) {
8204     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8205   }
8206   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8207   if (!SWIG_IsOK(res1)) {
8208     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageShortImage", 1, self )); 
8209   }
8210   arg1 = (mrcImage *)(argp1);
8211   result = (unsigned short *) ((arg1)->ImageShortImage);
8212   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 |  0 );
8213   return vresult;
8214 fail:
8215   return Qnil;
8216 }
8217
8218
8219 SWIGINTERN VALUE
8220 _wrap_mrcImage_ImageLongImage_set(int argc, VALUE *argv, VALUE self) {
8221   mrcImage *arg1 = (mrcImage *) 0 ;
8222   unsigned long *arg2 = (unsigned long *) 0 ;
8223   void *argp1 = 0 ;
8224   int res1 = 0 ;
8225   void *argp2 = 0 ;
8226   int res2 = 0 ;
8227   
8228   if ((argc < 1) || (argc > 1)) {
8229     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8230   }
8231   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8232   if (!SWIG_IsOK(res1)) {
8233     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageLongImage", 1, self )); 
8234   }
8235   arg1 = (mrcImage *)(argp1);
8236   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_long, SWIG_POINTER_DISOWN |  0 );
8237   if (!SWIG_IsOK(res2)) {
8238     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned long *","ImageLongImage", 2, argv[0] )); 
8239   }
8240   arg2 = (unsigned long *)(argp2);
8241   if (arg1) (arg1)->ImageLongImage = arg2;
8242   return Qnil;
8243 fail:
8244   return Qnil;
8245 }
8246
8247
8248 SWIGINTERN VALUE
8249 _wrap_mrcImage_ImageLongImage_get(int argc, VALUE *argv, VALUE self) {
8250   mrcImage *arg1 = (mrcImage *) 0 ;
8251   void *argp1 = 0 ;
8252   int res1 = 0 ;
8253   unsigned long *result = 0 ;
8254   VALUE vresult = Qnil;
8255   
8256   if ((argc < 0) || (argc > 0)) {
8257     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8258   }
8259   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8260   if (!SWIG_IsOK(res1)) {
8261     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageLongImage", 1, self )); 
8262   }
8263   arg1 = (mrcImage *)(argp1);
8264   result = (unsigned long *) ((arg1)->ImageLongImage);
8265   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long, 0 |  0 );
8266   return vresult;
8267 fail:
8268   return Qnil;
8269 }
8270
8271
8272 SWIGINTERN VALUE
8273 _wrap_mrcImage_ImageFloatImage_set(int argc, VALUE *argv, VALUE self) {
8274   mrcImage *arg1 = (mrcImage *) 0 ;
8275   float *arg2 = (float *) 0 ;
8276   void *argp1 = 0 ;
8277   int res1 = 0 ;
8278   void *argp2 = 0 ;
8279   int res2 = 0 ;
8280   
8281   if ((argc < 1) || (argc > 1)) {
8282     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8283   }
8284   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8285   if (!SWIG_IsOK(res1)) {
8286     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageFloatImage", 1, self )); 
8287   }
8288   arg1 = (mrcImage *)(argp1);
8289   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, SWIG_POINTER_DISOWN |  0 );
8290   if (!SWIG_IsOK(res2)) {
8291     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float *","ImageFloatImage", 2, argv[0] )); 
8292   }
8293   arg2 = (float *)(argp2);
8294   if (arg1) (arg1)->ImageFloatImage = arg2;
8295   return Qnil;
8296 fail:
8297   return Qnil;
8298 }
8299
8300
8301 SWIGINTERN VALUE
8302 _wrap_mrcImage_ImageFloatImage_get(int argc, VALUE *argv, VALUE self) {
8303   mrcImage *arg1 = (mrcImage *) 0 ;
8304   void *argp1 = 0 ;
8305   int res1 = 0 ;
8306   float *result = 0 ;
8307   VALUE vresult = Qnil;
8308   
8309   if ((argc < 0) || (argc > 0)) {
8310     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8311   }
8312   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8313   if (!SWIG_IsOK(res1)) {
8314     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageFloatImage", 1, self )); 
8315   }
8316   arg1 = (mrcImage *)(argp1);
8317   result = (float *) ((arg1)->ImageFloatImage);
8318   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
8319   return vresult;
8320 fail:
8321   return Qnil;
8322 }
8323
8324
8325 SWIGINTERN VALUE
8326 _wrap_mrcImage_ImageDoubleImage_set(int argc, VALUE *argv, VALUE self) {
8327   mrcImage *arg1 = (mrcImage *) 0 ;
8328   double *arg2 = (double *) 0 ;
8329   void *argp1 = 0 ;
8330   int res1 = 0 ;
8331   void *argp2 = 0 ;
8332   int res2 = 0 ;
8333   
8334   if ((argc < 1) || (argc > 1)) {
8335     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8336   }
8337   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8338   if (!SWIG_IsOK(res1)) {
8339     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageDoubleImage", 1, self )); 
8340   }
8341   arg1 = (mrcImage *)(argp1);
8342   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN |  0 );
8343   if (!SWIG_IsOK(res2)) {
8344     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","ImageDoubleImage", 2, argv[0] )); 
8345   }
8346   arg2 = (double *)(argp2);
8347   if (arg1) (arg1)->ImageDoubleImage = arg2;
8348   return Qnil;
8349 fail:
8350   return Qnil;
8351 }
8352
8353
8354 SWIGINTERN VALUE
8355 _wrap_mrcImage_ImageDoubleImage_get(int argc, VALUE *argv, VALUE self) {
8356   mrcImage *arg1 = (mrcImage *) 0 ;
8357   void *argp1 = 0 ;
8358   int res1 = 0 ;
8359   double *result = 0 ;
8360   VALUE vresult = Qnil;
8361   
8362   if ((argc < 0) || (argc > 0)) {
8363     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8364   }
8365   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8366   if (!SWIG_IsOK(res1)) {
8367     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageDoubleImage", 1, self )); 
8368   }
8369   arg1 = (mrcImage *)(argp1);
8370   result = (double *) ((arg1)->ImageDoubleImage);
8371   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 |  0 );
8372   return vresult;
8373 fail:
8374   return Qnil;
8375 }
8376
8377
8378 SWIGINTERN VALUE
8379 _wrap_mrcImage_Tailer_set(int argc, VALUE *argv, VALUE self) {
8380   mrcImage *arg1 = (mrcImage *) 0 ;
8381   mrcImageTailer *arg2 = (mrcImageTailer *) 0 ;
8382   void *argp1 = 0 ;
8383   int res1 = 0 ;
8384   void *argp2 = 0 ;
8385   int res2 = 0 ;
8386   
8387   if ((argc < 1) || (argc > 1)) {
8388     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8389   }
8390   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8391   if (!SWIG_IsOK(res1)) {
8392     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Tailer", 1, self )); 
8393   }
8394   arg1 = (mrcImage *)(argp1);
8395   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageTailer, SWIG_POINTER_DISOWN |  0 );
8396   if (!SWIG_IsOK(res2)) {
8397     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageTailer *","Tailer", 2, argv[0] )); 
8398   }
8399   arg2 = (mrcImageTailer *)(argp2);
8400   if (arg1) (arg1)->Tailer = arg2;
8401   return Qnil;
8402 fail:
8403   return Qnil;
8404 }
8405
8406
8407 SWIGINTERN VALUE
8408 _wrap_mrcImage_Tailer_get(int argc, VALUE *argv, VALUE self) {
8409   mrcImage *arg1 = (mrcImage *) 0 ;
8410   void *argp1 = 0 ;
8411   int res1 = 0 ;
8412   mrcImageTailer *result = 0 ;
8413   VALUE vresult = Qnil;
8414   
8415   if ((argc < 0) || (argc > 0)) {
8416     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8417   }
8418   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8419   if (!SWIG_IsOK(res1)) {
8420     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Tailer", 1, self )); 
8421   }
8422   arg1 = (mrcImage *)(argp1);
8423   result = (mrcImageTailer *) ((arg1)->Tailer);
8424   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageTailer, 0 |  0 );
8425   return vresult;
8426 fail:
8427   return Qnil;
8428 }
8429
8430
8431 SWIGINTERN VALUE
8432 _wrap_mrcImage_numTailer_set(int argc, VALUE *argv, VALUE self) {
8433   mrcImage *arg1 = (mrcImage *) 0 ;
8434   mrcImageParaTypeInteger arg2 ;
8435   void *argp1 = 0 ;
8436   int res1 = 0 ;
8437   int val2 ;
8438   int ecode2 = 0 ;
8439   
8440   if ((argc < 1) || (argc > 1)) {
8441     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8442   }
8443   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8444   if (!SWIG_IsOK(res1)) {
8445     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","numTailer", 1, self )); 
8446   }
8447   arg1 = (mrcImage *)(argp1);
8448   ecode2 = SWIG_AsVal_int(argv[0], &val2);
8449   if (!SWIG_IsOK(ecode2)) {
8450     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","numTailer", 2, argv[0] ));
8451   } 
8452   arg2 = (mrcImageParaTypeInteger)(val2);
8453   if (arg1) (arg1)->numTailer = arg2;
8454   return Qnil;
8455 fail:
8456   return Qnil;
8457 }
8458
8459
8460 SWIGINTERN VALUE
8461 _wrap_mrcImage_numTailer_get(int argc, VALUE *argv, VALUE self) {
8462   mrcImage *arg1 = (mrcImage *) 0 ;
8463   void *argp1 = 0 ;
8464   int res1 = 0 ;
8465   mrcImageParaTypeInteger result;
8466   VALUE vresult = Qnil;
8467   
8468   if ((argc < 0) || (argc > 0)) {
8469     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8470   }
8471   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8472   if (!SWIG_IsOK(res1)) {
8473     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","numTailer", 1, self )); 
8474   }
8475   arg1 = (mrcImage *)(argp1);
8476   result = (mrcImageParaTypeInteger) ((arg1)->numTailer);
8477   vresult = SWIG_From_int((int)(result));
8478   return vresult;
8479 fail:
8480   return Qnil;
8481 }
8482
8483
8484 SWIGINTERN VALUE
8485 _wrap_mrcImage_flagByteSwap_set(int argc, VALUE *argv, VALUE self) {
8486   mrcImage *arg1 = (mrcImage *) 0 ;
8487   mrcImageParaTypeInteger arg2 ;
8488   void *argp1 = 0 ;
8489   int res1 = 0 ;
8490   int val2 ;
8491   int ecode2 = 0 ;
8492   
8493   if ((argc < 1) || (argc > 1)) {
8494     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8495   }
8496   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8497   if (!SWIG_IsOK(res1)) {
8498     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","flagByteSwap", 1, self )); 
8499   }
8500   arg1 = (mrcImage *)(argp1);
8501   ecode2 = SWIG_AsVal_int(argv[0], &val2);
8502   if (!SWIG_IsOK(ecode2)) {
8503     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","flagByteSwap", 2, argv[0] ));
8504   } 
8505   arg2 = (mrcImageParaTypeInteger)(val2);
8506   if (arg1) (arg1)->flagByteSwap = arg2;
8507   return Qnil;
8508 fail:
8509   return Qnil;
8510 }
8511
8512
8513 SWIGINTERN VALUE
8514 _wrap_mrcImage_flagByteSwap_get(int argc, VALUE *argv, VALUE self) {
8515   mrcImage *arg1 = (mrcImage *) 0 ;
8516   void *argp1 = 0 ;
8517   int res1 = 0 ;
8518   mrcImageParaTypeInteger result;
8519   VALUE vresult = Qnil;
8520   
8521   if ((argc < 0) || (argc > 0)) {
8522     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8523   }
8524   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8525   if (!SWIG_IsOK(res1)) {
8526     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","flagByteSwap", 1, self )); 
8527   }
8528   arg1 = (mrcImage *)(argp1);
8529   result = (mrcImageParaTypeInteger) ((arg1)->flagByteSwap);
8530   vresult = SWIG_From_int((int)(result));
8531   return vresult;
8532 fail:
8533   return Qnil;
8534 }
8535
8536
8537 SWIGINTERN VALUE
8538 _wrap_mrcImage_flagCCP4_set(int argc, VALUE *argv, VALUE self) {
8539   mrcImage *arg1 = (mrcImage *) 0 ;
8540   mrcImageParaTypeInteger arg2 ;
8541   void *argp1 = 0 ;
8542   int res1 = 0 ;
8543   int val2 ;
8544   int ecode2 = 0 ;
8545   
8546   if ((argc < 1) || (argc > 1)) {
8547     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8548   }
8549   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8550   if (!SWIG_IsOK(res1)) {
8551     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","flagCCP4", 1, self )); 
8552   }
8553   arg1 = (mrcImage *)(argp1);
8554   ecode2 = SWIG_AsVal_int(argv[0], &val2);
8555   if (!SWIG_IsOK(ecode2)) {
8556     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","flagCCP4", 2, argv[0] ));
8557   } 
8558   arg2 = (mrcImageParaTypeInteger)(val2);
8559   if (arg1) (arg1)->flagCCP4 = arg2;
8560   return Qnil;
8561 fail:
8562   return Qnil;
8563 }
8564
8565
8566 SWIGINTERN VALUE
8567 _wrap_mrcImage_flagCCP4_get(int argc, VALUE *argv, VALUE self) {
8568   mrcImage *arg1 = (mrcImage *) 0 ;
8569   void *argp1 = 0 ;
8570   int res1 = 0 ;
8571   mrcImageParaTypeInteger result;
8572   VALUE vresult = Qnil;
8573   
8574   if ((argc < 0) || (argc > 0)) {
8575     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8576   }
8577   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8578   if (!SWIG_IsOK(res1)) {
8579     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","flagCCP4", 1, self )); 
8580   }
8581   arg1 = (mrcImage *)(argp1);
8582   result = (mrcImageParaTypeInteger) ((arg1)->flagCCP4);
8583   vresult = SWIG_From_int((int)(result));
8584   return vresult;
8585 fail:
8586   return Qnil;
8587 }
8588
8589
8590 SWIGINTERN VALUE
8591 _wrap_mrcImage_ImageOffset_set(int argc, VALUE *argv, VALUE self) {
8592   mrcImage *arg1 = (mrcImage *) 0 ;
8593   mrcImageParaTypeInteger arg2 ;
8594   void *argp1 = 0 ;
8595   int res1 = 0 ;
8596   int val2 ;
8597   int ecode2 = 0 ;
8598   
8599   if ((argc < 1) || (argc > 1)) {
8600     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8601   }
8602   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8603   if (!SWIG_IsOK(res1)) {
8604     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageOffset", 1, self )); 
8605   }
8606   arg1 = (mrcImage *)(argp1);
8607   ecode2 = SWIG_AsVal_int(argv[0], &val2);
8608   if (!SWIG_IsOK(ecode2)) {
8609     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","ImageOffset", 2, argv[0] ));
8610   } 
8611   arg2 = (mrcImageParaTypeInteger)(val2);
8612   if (arg1) (arg1)->ImageOffset = arg2;
8613   return Qnil;
8614 fail:
8615   return Qnil;
8616 }
8617
8618
8619 SWIGINTERN VALUE
8620 _wrap_mrcImage_ImageOffset_get(int argc, VALUE *argv, VALUE self) {
8621   mrcImage *arg1 = (mrcImage *) 0 ;
8622   void *argp1 = 0 ;
8623   int res1 = 0 ;
8624   mrcImageParaTypeInteger result;
8625   VALUE vresult = Qnil;
8626   
8627   if ((argc < 0) || (argc > 0)) {
8628     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8629   }
8630   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8631   if (!SWIG_IsOK(res1)) {
8632     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageOffset", 1, self )); 
8633   }
8634   arg1 = (mrcImage *)(argp1);
8635   result = (mrcImageParaTypeInteger) ((arg1)->ImageOffset);
8636   vresult = SWIG_From_int((int)(result));
8637   return vresult;
8638 fail:
8639   return Qnil;
8640 }
8641
8642
8643 SWIGINTERN VALUE
8644 _wrap_mrcImage_SymmetryOperator_set(int argc, VALUE *argv, VALUE self) {
8645   mrcImage *arg1 = (mrcImage *) 0 ;
8646   mrcImageSymmetryOperator *arg2 = (mrcImageSymmetryOperator *) 0 ;
8647   void *argp1 = 0 ;
8648   int res1 = 0 ;
8649   int res2 ;
8650   char *buf2 = 0 ;
8651   int alloc2 = 0 ;
8652   
8653   if ((argc < 1) || (argc > 1)) {
8654     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8655   }
8656   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8657   if (!SWIG_IsOK(res1)) {
8658     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","SymmetryOperator", 1, self )); 
8659   }
8660   arg1 = (mrcImage *)(argp1);
8661   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
8662   if (!SWIG_IsOK(res2)) {
8663     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageSymmetryOperator *","SymmetryOperator", 2, argv[0] ));
8664   }
8665   arg2 = (mrcImageSymmetryOperator *)(buf2);
8666   if (arg1->SymmetryOperator) free((char*)arg1->SymmetryOperator);
8667   if (arg2) {
8668     size_t size = strlen((const char *)(arg2)) + 1;
8669     arg1->SymmetryOperator = (mrcImageSymmetryOperator *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
8670   } else {
8671     arg1->SymmetryOperator = 0;
8672   }
8673   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8674   return Qnil;
8675 fail:
8676   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8677   return Qnil;
8678 }
8679
8680
8681 SWIGINTERN VALUE
8682 _wrap_mrcImage_SymmetryOperator_get(int argc, VALUE *argv, VALUE self) {
8683   mrcImage *arg1 = (mrcImage *) 0 ;
8684   void *argp1 = 0 ;
8685   int res1 = 0 ;
8686   mrcImageSymmetryOperator *result = 0 ;
8687   VALUE vresult = Qnil;
8688   
8689   if ((argc < 0) || (argc > 0)) {
8690     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8691   }
8692   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
8693   if (!SWIG_IsOK(res1)) {
8694     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","SymmetryOperator", 1, self )); 
8695   }
8696   arg1 = (mrcImage *)(argp1);
8697   result = (mrcImageSymmetryOperator *) ((arg1)->SymmetryOperator);
8698   vresult = SWIG_FromCharPtr((const char *)result);
8699   return vresult;
8700 fail:
8701   return Qnil;
8702 }
8703
8704
8705 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
8706 SWIGINTERN VALUE
8707 _wrap_mrcImage_allocate(VALUE self) {
8708 #else
8709   SWIGINTERN VALUE
8710   _wrap_mrcImage_allocate(int argc, VALUE *argv, VALUE self) {
8711 #endif
8712     
8713     
8714     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImage);
8715 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
8716     rb_obj_call_init(vresult, argc, argv);
8717 #endif
8718     return vresult;
8719   }
8720   
8721
8722 SWIGINTERN VALUE
8723 _wrap_new_mrcImage(int argc, VALUE *argv, VALUE self) {
8724   mrcImage *result = 0 ;
8725   
8726   if ((argc < 0) || (argc > 0)) {
8727     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8728   }
8729   result = (mrcImage *)calloc(1, sizeof(mrcImage));
8730   DATA_PTR(self) = result;
8731   return self;
8732 fail:
8733   return Qnil;
8734 }
8735
8736
8737 SWIGINTERN void
8738 free_mrcImage(mrcImage *arg1) {
8739     free((char *) arg1);
8740 }
8741
8742 swig_class cMrcImageInformation;
8743
8744 SWIGINTERN VALUE
8745 _wrap_mrcImageInformation_mean_set(int argc, VALUE *argv, VALUE self) {
8746   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8747   double arg2 ;
8748   void *argp1 = 0 ;
8749   int res1 = 0 ;
8750   double val2 ;
8751   int ecode2 = 0 ;
8752   
8753   if ((argc < 1) || (argc > 1)) {
8754     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8755   }
8756   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8757   if (!SWIG_IsOK(res1)) {
8758     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","mean", 1, self )); 
8759   }
8760   arg1 = (mrcImageInformation *)(argp1);
8761   ecode2 = SWIG_AsVal_double(argv[0], &val2);
8762   if (!SWIG_IsOK(ecode2)) {
8763     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","mean", 2, argv[0] ));
8764   } 
8765   arg2 = (double)(val2);
8766   if (arg1) (arg1)->mean = arg2;
8767   return Qnil;
8768 fail:
8769   return Qnil;
8770 }
8771
8772
8773 SWIGINTERN VALUE
8774 _wrap_mrcImageInformation_mean_get(int argc, VALUE *argv, VALUE self) {
8775   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8776   void *argp1 = 0 ;
8777   int res1 = 0 ;
8778   double result;
8779   VALUE vresult = Qnil;
8780   
8781   if ((argc < 0) || (argc > 0)) {
8782     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8783   }
8784   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8785   if (!SWIG_IsOK(res1)) {
8786     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","mean", 1, self )); 
8787   }
8788   arg1 = (mrcImageInformation *)(argp1);
8789   result = (double) ((arg1)->mean);
8790   vresult = SWIG_From_double((double)(result));
8791   return vresult;
8792 fail:
8793   return Qnil;
8794 }
8795
8796
8797 SWIGINTERN VALUE
8798 _wrap_mrcImageInformation_rootMeanSquare_set(int argc, VALUE *argv, VALUE self) {
8799   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8800   double arg2 ;
8801   void *argp1 = 0 ;
8802   int res1 = 0 ;
8803   double val2 ;
8804   int ecode2 = 0 ;
8805   
8806   if ((argc < 1) || (argc > 1)) {
8807     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8808   }
8809   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8810   if (!SWIG_IsOK(res1)) {
8811     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","rootMeanSquare", 1, self )); 
8812   }
8813   arg1 = (mrcImageInformation *)(argp1);
8814   ecode2 = SWIG_AsVal_double(argv[0], &val2);
8815   if (!SWIG_IsOK(ecode2)) {
8816     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","rootMeanSquare", 2, argv[0] ));
8817   } 
8818   arg2 = (double)(val2);
8819   if (arg1) (arg1)->rootMeanSquare = arg2;
8820   return Qnil;
8821 fail:
8822   return Qnil;
8823 }
8824
8825
8826 SWIGINTERN VALUE
8827 _wrap_mrcImageInformation_rootMeanSquare_get(int argc, VALUE *argv, VALUE self) {
8828   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8829   void *argp1 = 0 ;
8830   int res1 = 0 ;
8831   double result;
8832   VALUE vresult = Qnil;
8833   
8834   if ((argc < 0) || (argc > 0)) {
8835     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8836   }
8837   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8838   if (!SWIG_IsOK(res1)) {
8839     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","rootMeanSquare", 1, self )); 
8840   }
8841   arg1 = (mrcImageInformation *)(argp1);
8842   result = (double) ((arg1)->rootMeanSquare);
8843   vresult = SWIG_From_double((double)(result));
8844   return vresult;
8845 fail:
8846   return Qnil;
8847 }
8848
8849
8850 SWIGINTERN VALUE
8851 _wrap_mrcImageInformation_meanOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
8852   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8853   double arg2 ;
8854   void *argp1 = 0 ;
8855   int res1 = 0 ;
8856   double val2 ;
8857   int ecode2 = 0 ;
8858   
8859   if ((argc < 1) || (argc > 1)) {
8860     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8861   }
8862   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8863   if (!SWIG_IsOK(res1)) {
8864     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfSphereSurface", 1, self )); 
8865   }
8866   arg1 = (mrcImageInformation *)(argp1);
8867   ecode2 = SWIG_AsVal_double(argv[0], &val2);
8868   if (!SWIG_IsOK(ecode2)) {
8869     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","meanOfSphereSurface", 2, argv[0] ));
8870   } 
8871   arg2 = (double)(val2);
8872   if (arg1) (arg1)->meanOfSphereSurface = arg2;
8873   return Qnil;
8874 fail:
8875   return Qnil;
8876 }
8877
8878
8879 SWIGINTERN VALUE
8880 _wrap_mrcImageInformation_meanOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
8881   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8882   void *argp1 = 0 ;
8883   int res1 = 0 ;
8884   double result;
8885   VALUE vresult = Qnil;
8886   
8887   if ((argc < 0) || (argc > 0)) {
8888     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8889   }
8890   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8891   if (!SWIG_IsOK(res1)) {
8892     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfSphereSurface", 1, self )); 
8893   }
8894   arg1 = (mrcImageInformation *)(argp1);
8895   result = (double) ((arg1)->meanOfSphereSurface);
8896   vresult = SWIG_From_double((double)(result));
8897   return vresult;
8898 fail:
8899   return Qnil;
8900 }
8901
8902
8903 SWIGINTERN VALUE
8904 _wrap_mrcImageInformation_sdOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
8905   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8906   double arg2 ;
8907   void *argp1 = 0 ;
8908   int res1 = 0 ;
8909   double val2 ;
8910   int ecode2 = 0 ;
8911   
8912   if ((argc < 1) || (argc > 1)) {
8913     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8914   }
8915   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8916   if (!SWIG_IsOK(res1)) {
8917     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfSphereSurface", 1, self )); 
8918   }
8919   arg1 = (mrcImageInformation *)(argp1);
8920   ecode2 = SWIG_AsVal_double(argv[0], &val2);
8921   if (!SWIG_IsOK(ecode2)) {
8922     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sdOfSphereSurface", 2, argv[0] ));
8923   } 
8924   arg2 = (double)(val2);
8925   if (arg1) (arg1)->sdOfSphereSurface = arg2;
8926   return Qnil;
8927 fail:
8928   return Qnil;
8929 }
8930
8931
8932 SWIGINTERN VALUE
8933 _wrap_mrcImageInformation_sdOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
8934   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8935   void *argp1 = 0 ;
8936   int res1 = 0 ;
8937   double result;
8938   VALUE vresult = Qnil;
8939   
8940   if ((argc < 0) || (argc > 0)) {
8941     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8942   }
8943   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8944   if (!SWIG_IsOK(res1)) {
8945     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfSphereSurface", 1, self )); 
8946   }
8947   arg1 = (mrcImageInformation *)(argp1);
8948   result = (double) ((arg1)->sdOfSphereSurface);
8949   vresult = SWIG_From_double((double)(result));
8950   return vresult;
8951 fail:
8952   return Qnil;
8953 }
8954
8955
8956 SWIGINTERN VALUE
8957 _wrap_mrcImageInformation_seOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
8958   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8959   double arg2 ;
8960   void *argp1 = 0 ;
8961   int res1 = 0 ;
8962   double val2 ;
8963   int ecode2 = 0 ;
8964   
8965   if ((argc < 1) || (argc > 1)) {
8966     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8967   }
8968   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8969   if (!SWIG_IsOK(res1)) {
8970     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfSphereSurface", 1, self )); 
8971   }
8972   arg1 = (mrcImageInformation *)(argp1);
8973   ecode2 = SWIG_AsVal_double(argv[0], &val2);
8974   if (!SWIG_IsOK(ecode2)) {
8975     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","seOfSphereSurface", 2, argv[0] ));
8976   } 
8977   arg2 = (double)(val2);
8978   if (arg1) (arg1)->seOfSphereSurface = arg2;
8979   return Qnil;
8980 fail:
8981   return Qnil;
8982 }
8983
8984
8985 SWIGINTERN VALUE
8986 _wrap_mrcImageInformation_seOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
8987   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8988   void *argp1 = 0 ;
8989   int res1 = 0 ;
8990   double result;
8991   VALUE vresult = Qnil;
8992   
8993   if ((argc < 0) || (argc > 0)) {
8994     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8995   }
8996   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
8997   if (!SWIG_IsOK(res1)) {
8998     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfSphereSurface", 1, self )); 
8999   }
9000   arg1 = (mrcImageInformation *)(argp1);
9001   result = (double) ((arg1)->seOfSphereSurface);
9002   vresult = SWIG_From_double((double)(result));
9003   return vresult;
9004 fail:
9005   return Qnil;
9006 }
9007
9008
9009 SWIGINTERN VALUE
9010 _wrap_mrcImageInformation_meanOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
9011   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9012   double arg2 ;
9013   void *argp1 = 0 ;
9014   int res1 = 0 ;
9015   double val2 ;
9016   int ecode2 = 0 ;
9017   
9018   if ((argc < 1) || (argc > 1)) {
9019     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9020   }
9021   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9022   if (!SWIG_IsOK(res1)) {
9023     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfCylinderSurface", 1, self )); 
9024   }
9025   arg1 = (mrcImageInformation *)(argp1);
9026   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9027   if (!SWIG_IsOK(ecode2)) {
9028     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","meanOfCylinderSurface", 2, argv[0] ));
9029   } 
9030   arg2 = (double)(val2);
9031   if (arg1) (arg1)->meanOfCylinderSurface = arg2;
9032   return Qnil;
9033 fail:
9034   return Qnil;
9035 }
9036
9037
9038 SWIGINTERN VALUE
9039 _wrap_mrcImageInformation_meanOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
9040   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9041   void *argp1 = 0 ;
9042   int res1 = 0 ;
9043   double result;
9044   VALUE vresult = Qnil;
9045   
9046   if ((argc < 0) || (argc > 0)) {
9047     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9048   }
9049   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9050   if (!SWIG_IsOK(res1)) {
9051     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfCylinderSurface", 1, self )); 
9052   }
9053   arg1 = (mrcImageInformation *)(argp1);
9054   result = (double) ((arg1)->meanOfCylinderSurface);
9055   vresult = SWIG_From_double((double)(result));
9056   return vresult;
9057 fail:
9058   return Qnil;
9059 }
9060
9061
9062 SWIGINTERN VALUE
9063 _wrap_mrcImageInformation_sdOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
9064   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9065   double arg2 ;
9066   void *argp1 = 0 ;
9067   int res1 = 0 ;
9068   double val2 ;
9069   int ecode2 = 0 ;
9070   
9071   if ((argc < 1) || (argc > 1)) {
9072     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9073   }
9074   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9075   if (!SWIG_IsOK(res1)) {
9076     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfCylinderSurface", 1, self )); 
9077   }
9078   arg1 = (mrcImageInformation *)(argp1);
9079   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9080   if (!SWIG_IsOK(ecode2)) {
9081     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sdOfCylinderSurface", 2, argv[0] ));
9082   } 
9083   arg2 = (double)(val2);
9084   if (arg1) (arg1)->sdOfCylinderSurface = arg2;
9085   return Qnil;
9086 fail:
9087   return Qnil;
9088 }
9089
9090
9091 SWIGINTERN VALUE
9092 _wrap_mrcImageInformation_sdOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
9093   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9094   void *argp1 = 0 ;
9095   int res1 = 0 ;
9096   double result;
9097   VALUE vresult = Qnil;
9098   
9099   if ((argc < 0) || (argc > 0)) {
9100     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9101   }
9102   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9103   if (!SWIG_IsOK(res1)) {
9104     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfCylinderSurface", 1, self )); 
9105   }
9106   arg1 = (mrcImageInformation *)(argp1);
9107   result = (double) ((arg1)->sdOfCylinderSurface);
9108   vresult = SWIG_From_double((double)(result));
9109   return vresult;
9110 fail:
9111   return Qnil;
9112 }
9113
9114
9115 SWIGINTERN VALUE
9116 _wrap_mrcImageInformation_seOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
9117   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9118   double arg2 ;
9119   void *argp1 = 0 ;
9120   int res1 = 0 ;
9121   double val2 ;
9122   int ecode2 = 0 ;
9123   
9124   if ((argc < 1) || (argc > 1)) {
9125     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9126   }
9127   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9128   if (!SWIG_IsOK(res1)) {
9129     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfCylinderSurface", 1, self )); 
9130   }
9131   arg1 = (mrcImageInformation *)(argp1);
9132   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9133   if (!SWIG_IsOK(ecode2)) {
9134     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","seOfCylinderSurface", 2, argv[0] ));
9135   } 
9136   arg2 = (double)(val2);
9137   if (arg1) (arg1)->seOfCylinderSurface = arg2;
9138   return Qnil;
9139 fail:
9140   return Qnil;
9141 }
9142
9143
9144 SWIGINTERN VALUE
9145 _wrap_mrcImageInformation_seOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
9146   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9147   void *argp1 = 0 ;
9148   int res1 = 0 ;
9149   double result;
9150   VALUE vresult = Qnil;
9151   
9152   if ((argc < 0) || (argc > 0)) {
9153     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9154   }
9155   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9156   if (!SWIG_IsOK(res1)) {
9157     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfCylinderSurface", 1, self )); 
9158   }
9159   arg1 = (mrcImageInformation *)(argp1);
9160   result = (double) ((arg1)->seOfCylinderSurface);
9161   vresult = SWIG_From_double((double)(result));
9162   return vresult;
9163 fail:
9164   return Qnil;
9165 }
9166
9167
9168 SWIGINTERN VALUE
9169 _wrap_mrcImageInformation_meanOfEdge_set(int argc, VALUE *argv, VALUE self) {
9170   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9171   double arg2 ;
9172   void *argp1 = 0 ;
9173   int res1 = 0 ;
9174   double val2 ;
9175   int ecode2 = 0 ;
9176   
9177   if ((argc < 1) || (argc > 1)) {
9178     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9179   }
9180   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9181   if (!SWIG_IsOK(res1)) {
9182     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfEdge", 1, self )); 
9183   }
9184   arg1 = (mrcImageInformation *)(argp1);
9185   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9186   if (!SWIG_IsOK(ecode2)) {
9187     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","meanOfEdge", 2, argv[0] ));
9188   } 
9189   arg2 = (double)(val2);
9190   if (arg1) (arg1)->meanOfEdge = arg2;
9191   return Qnil;
9192 fail:
9193   return Qnil;
9194 }
9195
9196
9197 SWIGINTERN VALUE
9198 _wrap_mrcImageInformation_meanOfEdge_get(int argc, VALUE *argv, VALUE self) {
9199   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9200   void *argp1 = 0 ;
9201   int res1 = 0 ;
9202   double result;
9203   VALUE vresult = Qnil;
9204   
9205   if ((argc < 0) || (argc > 0)) {
9206     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9207   }
9208   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9209   if (!SWIG_IsOK(res1)) {
9210     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfEdge", 1, self )); 
9211   }
9212   arg1 = (mrcImageInformation *)(argp1);
9213   result = (double) ((arg1)->meanOfEdge);
9214   vresult = SWIG_From_double((double)(result));
9215   return vresult;
9216 fail:
9217   return Qnil;
9218 }
9219
9220
9221 SWIGINTERN VALUE
9222 _wrap_mrcImageInformation_sdOfEdge_set(int argc, VALUE *argv, VALUE self) {
9223   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9224   double arg2 ;
9225   void *argp1 = 0 ;
9226   int res1 = 0 ;
9227   double val2 ;
9228   int ecode2 = 0 ;
9229   
9230   if ((argc < 1) || (argc > 1)) {
9231     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9232   }
9233   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9234   if (!SWIG_IsOK(res1)) {
9235     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfEdge", 1, self )); 
9236   }
9237   arg1 = (mrcImageInformation *)(argp1);
9238   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9239   if (!SWIG_IsOK(ecode2)) {
9240     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sdOfEdge", 2, argv[0] ));
9241   } 
9242   arg2 = (double)(val2);
9243   if (arg1) (arg1)->sdOfEdge = arg2;
9244   return Qnil;
9245 fail:
9246   return Qnil;
9247 }
9248
9249
9250 SWIGINTERN VALUE
9251 _wrap_mrcImageInformation_sdOfEdge_get(int argc, VALUE *argv, VALUE self) {
9252   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9253   void *argp1 = 0 ;
9254   int res1 = 0 ;
9255   double result;
9256   VALUE vresult = Qnil;
9257   
9258   if ((argc < 0) || (argc > 0)) {
9259     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9260   }
9261   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9262   if (!SWIG_IsOK(res1)) {
9263     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfEdge", 1, self )); 
9264   }
9265   arg1 = (mrcImageInformation *)(argp1);
9266   result = (double) ((arg1)->sdOfEdge);
9267   vresult = SWIG_From_double((double)(result));
9268   return vresult;
9269 fail:
9270   return Qnil;
9271 }
9272
9273
9274 SWIGINTERN VALUE
9275 _wrap_mrcImageInformation_seOfEdge_set(int argc, VALUE *argv, VALUE self) {
9276   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9277   double arg2 ;
9278   void *argp1 = 0 ;
9279   int res1 = 0 ;
9280   double val2 ;
9281   int ecode2 = 0 ;
9282   
9283   if ((argc < 1) || (argc > 1)) {
9284     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9285   }
9286   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9287   if (!SWIG_IsOK(res1)) {
9288     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfEdge", 1, self )); 
9289   }
9290   arg1 = (mrcImageInformation *)(argp1);
9291   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9292   if (!SWIG_IsOK(ecode2)) {
9293     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","seOfEdge", 2, argv[0] ));
9294   } 
9295   arg2 = (double)(val2);
9296   if (arg1) (arg1)->seOfEdge = arg2;
9297   return Qnil;
9298 fail:
9299   return Qnil;
9300 }
9301
9302
9303 SWIGINTERN VALUE
9304 _wrap_mrcImageInformation_seOfEdge_get(int argc, VALUE *argv, VALUE self) {
9305   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9306   void *argp1 = 0 ;
9307   int res1 = 0 ;
9308   double result;
9309   VALUE vresult = Qnil;
9310   
9311   if ((argc < 0) || (argc > 0)) {
9312     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9313   }
9314   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9315   if (!SWIG_IsOK(res1)) {
9316     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfEdge", 1, self )); 
9317   }
9318   arg1 = (mrcImageInformation *)(argp1);
9319   result = (double) ((arg1)->seOfEdge);
9320   vresult = SWIG_From_double((double)(result));
9321   return vresult;
9322 fail:
9323   return Qnil;
9324 }
9325
9326
9327 SWIGINTERN VALUE
9328 _wrap_mrcImageInformation_max_set(int argc, VALUE *argv, VALUE self) {
9329   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9330   double arg2 ;
9331   void *argp1 = 0 ;
9332   int res1 = 0 ;
9333   double val2 ;
9334   int ecode2 = 0 ;
9335   
9336   if ((argc < 1) || (argc > 1)) {
9337     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9338   }
9339   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9340   if (!SWIG_IsOK(res1)) {
9341     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","max", 1, self )); 
9342   }
9343   arg1 = (mrcImageInformation *)(argp1);
9344   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9345   if (!SWIG_IsOK(ecode2)) {
9346     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","max", 2, argv[0] ));
9347   } 
9348   arg2 = (double)(val2);
9349   if (arg1) (arg1)->max = arg2;
9350   return Qnil;
9351 fail:
9352   return Qnil;
9353 }
9354
9355
9356 SWIGINTERN VALUE
9357 _wrap_mrcImageInformation_max_get(int argc, VALUE *argv, VALUE self) {
9358   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9359   void *argp1 = 0 ;
9360   int res1 = 0 ;
9361   double result;
9362   VALUE vresult = Qnil;
9363   
9364   if ((argc < 0) || (argc > 0)) {
9365     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9366   }
9367   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9368   if (!SWIG_IsOK(res1)) {
9369     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","max", 1, self )); 
9370   }
9371   arg1 = (mrcImageInformation *)(argp1);
9372   result = (double) ((arg1)->max);
9373   vresult = SWIG_From_double((double)(result));
9374   return vresult;
9375 fail:
9376   return Qnil;
9377 }
9378
9379
9380 SWIGINTERN VALUE
9381 _wrap_mrcImageInformation_maxCoord_set(int argc, VALUE *argv, VALUE self) {
9382   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9383   mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
9384   void *argp1 = 0 ;
9385   int res1 = 0 ;
9386   void *argp2 = 0 ;
9387   int res2 = 0 ;
9388   
9389   if ((argc < 1) || (argc > 1)) {
9390     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9391   }
9392   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9393   if (!SWIG_IsOK(res1)) {
9394     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","maxCoord", 1, self )); 
9395   }
9396   arg1 = (mrcImageInformation *)(argp1);
9397   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
9398   if (!SWIG_IsOK(res2)) {
9399     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","maxCoord", 2, argv[0] )); 
9400   }
9401   arg2 = (mrcImageParaTypeRealCoord *)(argp2);
9402   if (arg1) (arg1)->maxCoord = *arg2;
9403   return Qnil;
9404 fail:
9405   return Qnil;
9406 }
9407
9408
9409 SWIGINTERN VALUE
9410 _wrap_mrcImageInformation_maxCoord_get(int argc, VALUE *argv, VALUE self) {
9411   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9412   void *argp1 = 0 ;
9413   int res1 = 0 ;
9414   mrcImageParaTypeRealCoord *result = 0 ;
9415   VALUE vresult = Qnil;
9416   
9417   if ((argc < 0) || (argc > 0)) {
9418     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9419   }
9420   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9421   if (!SWIG_IsOK(res1)) {
9422     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","maxCoord", 1, self )); 
9423   }
9424   arg1 = (mrcImageInformation *)(argp1);
9425   result = (mrcImageParaTypeRealCoord *)& ((arg1)->maxCoord);
9426   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
9427   return vresult;
9428 fail:
9429   return Qnil;
9430 }
9431
9432
9433 SWIGINTERN VALUE
9434 _wrap_mrcImageInformation_min_set(int argc, VALUE *argv, VALUE self) {
9435   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9436   double arg2 ;
9437   void *argp1 = 0 ;
9438   int res1 = 0 ;
9439   double val2 ;
9440   int ecode2 = 0 ;
9441   
9442   if ((argc < 1) || (argc > 1)) {
9443     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9444   }
9445   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9446   if (!SWIG_IsOK(res1)) {
9447     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","min", 1, self )); 
9448   }
9449   arg1 = (mrcImageInformation *)(argp1);
9450   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9451   if (!SWIG_IsOK(ecode2)) {
9452     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","min", 2, argv[0] ));
9453   } 
9454   arg2 = (double)(val2);
9455   if (arg1) (arg1)->min = arg2;
9456   return Qnil;
9457 fail:
9458   return Qnil;
9459 }
9460
9461
9462 SWIGINTERN VALUE
9463 _wrap_mrcImageInformation_min_get(int argc, VALUE *argv, VALUE self) {
9464   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9465   void *argp1 = 0 ;
9466   int res1 = 0 ;
9467   double result;
9468   VALUE vresult = Qnil;
9469   
9470   if ((argc < 0) || (argc > 0)) {
9471     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9472   }
9473   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9474   if (!SWIG_IsOK(res1)) {
9475     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","min", 1, self )); 
9476   }
9477   arg1 = (mrcImageInformation *)(argp1);
9478   result = (double) ((arg1)->min);
9479   vresult = SWIG_From_double((double)(result));
9480   return vresult;
9481 fail:
9482   return Qnil;
9483 }
9484
9485
9486 SWIGINTERN VALUE
9487 _wrap_mrcImageInformation_minCoord_set(int argc, VALUE *argv, VALUE self) {
9488   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9489   mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
9490   void *argp1 = 0 ;
9491   int res1 = 0 ;
9492   void *argp2 = 0 ;
9493   int res2 = 0 ;
9494   
9495   if ((argc < 1) || (argc > 1)) {
9496     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9497   }
9498   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9499   if (!SWIG_IsOK(res1)) {
9500     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","minCoord", 1, self )); 
9501   }
9502   arg1 = (mrcImageInformation *)(argp1);
9503   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
9504   if (!SWIG_IsOK(res2)) {
9505     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","minCoord", 2, argv[0] )); 
9506   }
9507   arg2 = (mrcImageParaTypeRealCoord *)(argp2);
9508   if (arg1) (arg1)->minCoord = *arg2;
9509   return Qnil;
9510 fail:
9511   return Qnil;
9512 }
9513
9514
9515 SWIGINTERN VALUE
9516 _wrap_mrcImageInformation_minCoord_get(int argc, VALUE *argv, VALUE self) {
9517   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9518   void *argp1 = 0 ;
9519   int res1 = 0 ;
9520   mrcImageParaTypeRealCoord *result = 0 ;
9521   VALUE vresult = Qnil;
9522   
9523   if ((argc < 0) || (argc > 0)) {
9524     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9525   }
9526   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9527   if (!SWIG_IsOK(res1)) {
9528     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","minCoord", 1, self )); 
9529   }
9530   arg1 = (mrcImageInformation *)(argp1);
9531   result = (mrcImageParaTypeRealCoord *)& ((arg1)->minCoord);
9532   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 |  0 );
9533   return vresult;
9534 fail:
9535   return Qnil;
9536 }
9537
9538
9539 SWIGINTERN VALUE
9540 _wrap_mrcImageInformation_sd_set(int argc, VALUE *argv, VALUE self) {
9541   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9542   double arg2 ;
9543   void *argp1 = 0 ;
9544   int res1 = 0 ;
9545   double val2 ;
9546   int ecode2 = 0 ;
9547   
9548   if ((argc < 1) || (argc > 1)) {
9549     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9550   }
9551   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9552   if (!SWIG_IsOK(res1)) {
9553     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sd", 1, self )); 
9554   }
9555   arg1 = (mrcImageInformation *)(argp1);
9556   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9557   if (!SWIG_IsOK(ecode2)) {
9558     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sd", 2, argv[0] ));
9559   } 
9560   arg2 = (double)(val2);
9561   if (arg1) (arg1)->sd = arg2;
9562   return Qnil;
9563 fail:
9564   return Qnil;
9565 }
9566
9567
9568 SWIGINTERN VALUE
9569 _wrap_mrcImageInformation_sd_get(int argc, VALUE *argv, VALUE self) {
9570   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9571   void *argp1 = 0 ;
9572   int res1 = 0 ;
9573   double result;
9574   VALUE vresult = Qnil;
9575   
9576   if ((argc < 0) || (argc > 0)) {
9577     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9578   }
9579   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9580   if (!SWIG_IsOK(res1)) {
9581     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sd", 1, self )); 
9582   }
9583   arg1 = (mrcImageInformation *)(argp1);
9584   result = (double) ((arg1)->sd);
9585   vresult = SWIG_From_double((double)(result));
9586   return vresult;
9587 fail:
9588   return Qnil;
9589 }
9590
9591
9592 SWIGINTERN VALUE
9593 _wrap_mrcImageInformation_se_set(int argc, VALUE *argv, VALUE self) {
9594   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9595   double arg2 ;
9596   void *argp1 = 0 ;
9597   int res1 = 0 ;
9598   double val2 ;
9599   int ecode2 = 0 ;
9600   
9601   if ((argc < 1) || (argc > 1)) {
9602     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9603   }
9604   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9605   if (!SWIG_IsOK(res1)) {
9606     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","se", 1, self )); 
9607   }
9608   arg1 = (mrcImageInformation *)(argp1);
9609   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9610   if (!SWIG_IsOK(ecode2)) {
9611     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","se", 2, argv[0] ));
9612   } 
9613   arg2 = (double)(val2);
9614   if (arg1) (arg1)->se = arg2;
9615   return Qnil;
9616 fail:
9617   return Qnil;
9618 }
9619
9620
9621 SWIGINTERN VALUE
9622 _wrap_mrcImageInformation_se_get(int argc, VALUE *argv, VALUE self) {
9623   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9624   void *argp1 = 0 ;
9625   int res1 = 0 ;
9626   double result;
9627   VALUE vresult = Qnil;
9628   
9629   if ((argc < 0) || (argc > 0)) {
9630     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9631   }
9632   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9633   if (!SWIG_IsOK(res1)) {
9634     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","se", 1, self )); 
9635   }
9636   arg1 = (mrcImageInformation *)(argp1);
9637   result = (double) ((arg1)->se);
9638   vresult = SWIG_From_double((double)(result));
9639   return vresult;
9640 fail:
9641   return Qnil;
9642 }
9643
9644
9645 SWIGINTERN VALUE
9646 _wrap_mrcImageInformation_rmax_set(int argc, VALUE *argv, VALUE self) {
9647   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9648   double arg2 ;
9649   void *argp1 = 0 ;
9650   int res1 = 0 ;
9651   double val2 ;
9652   int ecode2 = 0 ;
9653   
9654   if ((argc < 1) || (argc > 1)) {
9655     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9656   }
9657   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9658   if (!SWIG_IsOK(res1)) {
9659     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","rmax", 1, self )); 
9660   }
9661   arg1 = (mrcImageInformation *)(argp1);
9662   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9663   if (!SWIG_IsOK(ecode2)) {
9664     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","rmax", 2, argv[0] ));
9665   } 
9666   arg2 = (double)(val2);
9667   if (arg1) (arg1)->rmax = arg2;
9668   return Qnil;
9669 fail:
9670   return Qnil;
9671 }
9672
9673
9674 SWIGINTERN VALUE
9675 _wrap_mrcImageInformation_rmax_get(int argc, VALUE *argv, VALUE self) {
9676   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9677   void *argp1 = 0 ;
9678   int res1 = 0 ;
9679   double result;
9680   VALUE vresult = Qnil;
9681   
9682   if ((argc < 0) || (argc > 0)) {
9683     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9684   }
9685   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9686   if (!SWIG_IsOK(res1)) {
9687     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","rmax", 1, self )); 
9688   }
9689   arg1 = (mrcImageInformation *)(argp1);
9690   result = (double) ((arg1)->rmax);
9691   vresult = SWIG_From_double((double)(result));
9692   return vresult;
9693 fail:
9694   return Qnil;
9695 }
9696
9697
9698 SWIGINTERN VALUE
9699 _wrap_mrcImageInformation_flagrmax_set(int argc, VALUE *argv, VALUE self) {
9700   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9701   long arg2 ;
9702   void *argp1 = 0 ;
9703   int res1 = 0 ;
9704   long val2 ;
9705   int ecode2 = 0 ;
9706   
9707   if ((argc < 1) || (argc > 1)) {
9708     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9709   }
9710   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9711   if (!SWIG_IsOK(res1)) {
9712     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagrmax", 1, self )); 
9713   }
9714   arg1 = (mrcImageInformation *)(argp1);
9715   ecode2 = SWIG_AsVal_long(argv[0], &val2);
9716   if (!SWIG_IsOK(ecode2)) {
9717     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagrmax", 2, argv[0] ));
9718   } 
9719   arg2 = (long)(val2);
9720   if (arg1) (arg1)->flagrmax = arg2;
9721   return Qnil;
9722 fail:
9723   return Qnil;
9724 }
9725
9726
9727 SWIGINTERN VALUE
9728 _wrap_mrcImageInformation_flagrmax_get(int argc, VALUE *argv, VALUE self) {
9729   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9730   void *argp1 = 0 ;
9731   int res1 = 0 ;
9732   long result;
9733   VALUE vresult = Qnil;
9734   
9735   if ((argc < 0) || (argc > 0)) {
9736     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9737   }
9738   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9739   if (!SWIG_IsOK(res1)) {
9740     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagrmax", 1, self )); 
9741   }
9742   arg1 = (mrcImageInformation *)(argp1);
9743   result = (long) ((arg1)->flagrmax);
9744   vresult = SWIG_From_long((long)(result));
9745   return vresult;
9746 fail:
9747   return Qnil;
9748 }
9749
9750
9751 SWIGINTERN VALUE
9752 _wrap_mrcImageInformation_RMS_set(int argc, VALUE *argv, VALUE self) {
9753   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9754   double arg2 ;
9755   void *argp1 = 0 ;
9756   int res1 = 0 ;
9757   double val2 ;
9758   int ecode2 = 0 ;
9759   
9760   if ((argc < 1) || (argc > 1)) {
9761     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9762   }
9763   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9764   if (!SWIG_IsOK(res1)) {
9765     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","RMS", 1, self )); 
9766   }
9767   arg1 = (mrcImageInformation *)(argp1);
9768   ecode2 = SWIG_AsVal_double(argv[0], &val2);
9769   if (!SWIG_IsOK(ecode2)) {
9770     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","RMS", 2, argv[0] ));
9771   } 
9772   arg2 = (double)(val2);
9773   if (arg1) (arg1)->RMS = arg2;
9774   return Qnil;
9775 fail:
9776   return Qnil;
9777 }
9778
9779
9780 SWIGINTERN VALUE
9781 _wrap_mrcImageInformation_RMS_get(int argc, VALUE *argv, VALUE self) {
9782   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9783   void *argp1 = 0 ;
9784   int res1 = 0 ;
9785   double result;
9786   VALUE vresult = Qnil;
9787   
9788   if ((argc < 0) || (argc > 0)) {
9789     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9790   }
9791   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9792   if (!SWIG_IsOK(res1)) {
9793     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","RMS", 1, self )); 
9794   }
9795   arg1 = (mrcImageInformation *)(argp1);
9796   result = (double) ((arg1)->RMS);
9797   vresult = SWIG_From_double((double)(result));
9798   return vresult;
9799 fail:
9800   return Qnil;
9801 }
9802
9803
9804 SWIGINTERN VALUE
9805 _wrap_mrcImageInformation_mode_set(int argc, VALUE *argv, VALUE self) {
9806   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9807   int arg2 ;
9808   void *argp1 = 0 ;
9809   int res1 = 0 ;
9810   int val2 ;
9811   int ecode2 = 0 ;
9812   
9813   if ((argc < 1) || (argc > 1)) {
9814     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9815   }
9816   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9817   if (!SWIG_IsOK(res1)) {
9818     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","mode", 1, self )); 
9819   }
9820   arg1 = (mrcImageInformation *)(argp1);
9821   ecode2 = SWIG_AsVal_int(argv[0], &val2);
9822   if (!SWIG_IsOK(ecode2)) {
9823     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","mode", 2, argv[0] ));
9824   } 
9825   arg2 = (int)(val2);
9826   if (arg1) (arg1)->mode = arg2;
9827   return Qnil;
9828 fail:
9829   return Qnil;
9830 }
9831
9832
9833 SWIGINTERN VALUE
9834 _wrap_mrcImageInformation_mode_get(int argc, VALUE *argv, VALUE self) {
9835   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9836   void *argp1 = 0 ;
9837   int res1 = 0 ;
9838   int result;
9839   VALUE vresult = Qnil;
9840   
9841   if ((argc < 0) || (argc > 0)) {
9842     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9843   }
9844   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
9845   if (!SWIG_IsOK(res1)) {
9846     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","mode", 1, self )); 
9847   }
9848   arg1 = (mrcImageInformation *)(argp1);
9849   result = (int) ((arg1)->mode);
9850   vresult = SWIG_From_int((int)(result));
9851   return vresult;
9852 fail:
9853   return Qnil;
9854 }
9855
9856
9857 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
9858 SWIGINTERN VALUE
9859 _wrap_mrcImageInformation_allocate(VALUE self) {
9860 #else
9861   SWIGINTERN VALUE
9862   _wrap_mrcImageInformation_allocate(int argc, VALUE *argv, VALUE self) {
9863 #endif
9864     
9865     
9866     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageInformation);
9867 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
9868     rb_obj_call_init(vresult, argc, argv);
9869 #endif
9870     return vresult;
9871   }
9872   
9873
9874 SWIGINTERN VALUE
9875 _wrap_new_mrcImageInformation(int argc, VALUE *argv, VALUE self) {
9876   mrcImageInformation *result = 0 ;
9877   
9878   if ((argc < 0) || (argc > 0)) {
9879     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9880   }
9881   result = (mrcImageInformation *)calloc(1, sizeof(mrcImageInformation));
9882   DATA_PTR(self) = result;
9883   return self;
9884 fail:
9885   return Qnil;
9886 }
9887
9888
9889 SWIGINTERN void
9890 free_mrcImageInformation(mrcImageInformation *arg1) {
9891     free((char *) arg1);
9892 }
9893
9894 swig_class cLmrcImageSmoothingInfo;
9895
9896 SWIGINTERN VALUE
9897 _wrap_lmrcImageSmoothingInfo_mode_set(int argc, VALUE *argv, VALUE self) {
9898   lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
9899   long arg2 ;
9900   void *argp1 = 0 ;
9901   int res1 = 0 ;
9902   long val2 ;
9903   int ecode2 = 0 ;
9904   
9905   if ((argc < 1) || (argc > 1)) {
9906     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9907   }
9908   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
9909   if (!SWIG_IsOK(res1)) {
9910     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","mode", 1, self )); 
9911   }
9912   arg1 = (lmrcImageSmoothingInfo *)(argp1);
9913   ecode2 = SWIG_AsVal_long(argv[0], &val2);
9914   if (!SWIG_IsOK(ecode2)) {
9915     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
9916   } 
9917   arg2 = (long)(val2);
9918   if (arg1) (arg1)->mode = arg2;
9919   return Qnil;
9920 fail:
9921   return Qnil;
9922 }
9923
9924
9925 SWIGINTERN VALUE
9926 _wrap_lmrcImageSmoothingInfo_mode_get(int argc, VALUE *argv, VALUE self) {
9927   lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
9928   void *argp1 = 0 ;
9929   int res1 = 0 ;
9930   long result;
9931   VALUE vresult = Qnil;
9932   
9933   if ((argc < 0) || (argc > 0)) {
9934     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9935   }
9936   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
9937   if (!SWIG_IsOK(res1)) {
9938     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","mode", 1, self )); 
9939   }
9940   arg1 = (lmrcImageSmoothingInfo *)(argp1);
9941   result = (long) ((arg1)->mode);
9942   vresult = SWIG_From_long((long)(result));
9943   return vresult;
9944 fail:
9945   return Qnil;
9946 }
9947
9948
9949 SWIGINTERN VALUE
9950 _wrap_lmrcImageSmoothingInfo_sx_set(int argc, VALUE *argv, VALUE self) {
9951   lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
9952   mrcImageParaTypeReal arg2 ;
9953   void *argp1 = 0 ;
9954   int res1 = 0 ;
9955   float val2 ;
9956   int ecode2 = 0 ;
9957   
9958   if ((argc < 1) || (argc > 1)) {
9959     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9960   }
9961   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
9962   if (!SWIG_IsOK(res1)) {
9963     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sx", 1, self )); 
9964   }
9965   arg1 = (lmrcImageSmoothingInfo *)(argp1);
9966   ecode2 = SWIG_AsVal_float(argv[0], &val2);
9967   if (!SWIG_IsOK(ecode2)) {
9968     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","sx", 2, argv[0] ));
9969   } 
9970   arg2 = (mrcImageParaTypeReal)(val2);
9971   if (arg1) (arg1)->sx = arg2;
9972   return Qnil;
9973 fail:
9974   return Qnil;
9975 }
9976
9977
9978 SWIGINTERN VALUE
9979 _wrap_lmrcImageSmoothingInfo_sx_get(int argc, VALUE *argv, VALUE self) {
9980   lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
9981   void *argp1 = 0 ;
9982   int res1 = 0 ;
9983   mrcImageParaTypeReal result;
9984   VALUE vresult = Qnil;
9985   
9986   if ((argc < 0) || (argc > 0)) {
9987     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9988   }
9989   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
9990   if (!SWIG_IsOK(res1)) {
9991     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sx", 1, self )); 
9992   }
9993   arg1 = (lmrcImageSmoothingInfo *)(argp1);
9994   result = (mrcImageParaTypeReal) ((arg1)->sx);
9995   vresult = SWIG_From_float((float)(result));
9996   return vresult;
9997 fail:
9998   return Qnil;
9999 }
10000
10001
10002 SWIGINTERN VALUE
10003 _wrap_lmrcImageSmoothingInfo_sy_set(int argc, VALUE *argv, VALUE self) {
10004   lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
10005   mrcImageParaTypeReal arg2 ;
10006   void *argp1 = 0 ;
10007   int res1 = 0 ;
10008   float val2 ;
10009   int ecode2 = 0 ;
10010   
10011   if ((argc < 1) || (argc > 1)) {
10012     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10013   }
10014   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
10015   if (!SWIG_IsOK(res1)) {
10016     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sy", 1, self )); 
10017   }
10018   arg1 = (lmrcImageSmoothingInfo *)(argp1);
10019   ecode2 = SWIG_AsVal_float(argv[0], &val2);
10020   if (!SWIG_IsOK(ecode2)) {
10021     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","sy", 2, argv[0] ));
10022   } 
10023   arg2 = (mrcImageParaTypeReal)(val2);
10024   if (arg1) (arg1)->sy = arg2;
10025   return Qnil;
10026 fail:
10027   return Qnil;
10028 }
10029
10030
10031 SWIGINTERN VALUE
10032 _wrap_lmrcImageSmoothingInfo_sy_get(int argc, VALUE *argv, VALUE self) {
10033   lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
10034   void *argp1 = 0 ;
10035   int res1 = 0 ;
10036   mrcImageParaTypeReal result;
10037   VALUE vresult = Qnil;
10038   
10039   if ((argc < 0) || (argc > 0)) {
10040     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10041   }
10042   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
10043   if (!SWIG_IsOK(res1)) {
10044     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sy", 1, self )); 
10045   }
10046   arg1 = (lmrcImageSmoothingInfo *)(argp1);
10047   result = (mrcImageParaTypeReal) ((arg1)->sy);
10048   vresult = SWIG_From_float((float)(result));
10049   return vresult;
10050 fail:
10051   return Qnil;
10052 }
10053
10054
10055 SWIGINTERN VALUE
10056 _wrap_lmrcImageSmoothingInfo_sz_set(int argc, VALUE *argv, VALUE self) {
10057   lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
10058   mrcImageParaTypeReal arg2 ;
10059   void *argp1 = 0 ;
10060   int res1 = 0 ;
10061   float val2 ;
10062   int ecode2 = 0 ;
10063   
10064   if ((argc < 1) || (argc > 1)) {
10065     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10066   }
10067   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
10068   if (!SWIG_IsOK(res1)) {
10069     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sz", 1, self )); 
10070   }
10071   arg1 = (lmrcImageSmoothingInfo *)(argp1);
10072   ecode2 = SWIG_AsVal_float(argv[0], &val2);
10073   if (!SWIG_IsOK(ecode2)) {
10074     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","sz", 2, argv[0] ));
10075   } 
10076   arg2 = (mrcImageParaTypeReal)(val2);
10077   if (arg1) (arg1)->sz = arg2;
10078   return Qnil;
10079 fail:
10080   return Qnil;
10081 }
10082
10083
10084 SWIGINTERN VALUE
10085 _wrap_lmrcImageSmoothingInfo_sz_get(int argc, VALUE *argv, VALUE self) {
10086   lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
10087   void *argp1 = 0 ;
10088   int res1 = 0 ;
10089   mrcImageParaTypeReal result;
10090   VALUE vresult = Qnil;
10091   
10092   if ((argc < 0) || (argc > 0)) {
10093     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10094   }
10095   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
10096   if (!SWIG_IsOK(res1)) {
10097     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sz", 1, self )); 
10098   }
10099   arg1 = (lmrcImageSmoothingInfo *)(argp1);
10100   result = (mrcImageParaTypeReal) ((arg1)->sz);
10101   vresult = SWIG_From_float((float)(result));
10102   return vresult;
10103 fail:
10104   return Qnil;
10105 }
10106
10107
10108 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10109 SWIGINTERN VALUE
10110 _wrap_lmrcImageSmoothingInfo_allocate(VALUE self) {
10111 #else
10112   SWIGINTERN VALUE
10113   _wrap_lmrcImageSmoothingInfo_allocate(int argc, VALUE *argv, VALUE self) {
10114 #endif
10115     
10116     
10117     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageSmoothingInfo);
10118 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10119     rb_obj_call_init(vresult, argc, argv);
10120 #endif
10121     return vresult;
10122   }
10123   
10124
10125 SWIGINTERN VALUE
10126 _wrap_new_lmrcImageSmoothingInfo(int argc, VALUE *argv, VALUE self) {
10127   lmrcImageSmoothingInfo *result = 0 ;
10128   
10129   if ((argc < 0) || (argc > 0)) {
10130     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10131   }
10132   result = (lmrcImageSmoothingInfo *)calloc(1, sizeof(lmrcImageSmoothingInfo));
10133   DATA_PTR(self) = result;
10134   return self;
10135 fail:
10136   return Qnil;
10137 }
10138
10139
10140 SWIGINTERN void
10141 free_lmrcImageSmoothingInfo(lmrcImageSmoothingInfo *arg1) {
10142     free((char *) arg1);
10143 }
10144
10145 swig_class cLmrcImageCVEInfo;
10146
10147 SWIGINTERN VALUE
10148 _wrap_lmrcImageCVEInfo_sx_set(int argc, VALUE *argv, VALUE self) {
10149   lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10150   long arg2 ;
10151   void *argp1 = 0 ;
10152   int res1 = 0 ;
10153   long val2 ;
10154   int ecode2 = 0 ;
10155   
10156   if ((argc < 1) || (argc > 1)) {
10157     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10158   }
10159   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 |  0 );
10160   if (!SWIG_IsOK(res1)) {
10161     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sx", 1, self )); 
10162   }
10163   arg1 = (lmrcImageCVEInfo *)(argp1);
10164   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10165   if (!SWIG_IsOK(ecode2)) {
10166     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sx", 2, argv[0] ));
10167   } 
10168   arg2 = (long)(val2);
10169   if (arg1) (arg1)->sx = arg2;
10170   return Qnil;
10171 fail:
10172   return Qnil;
10173 }
10174
10175
10176 SWIGINTERN VALUE
10177 _wrap_lmrcImageCVEInfo_sx_get(int argc, VALUE *argv, VALUE self) {
10178   lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10179   void *argp1 = 0 ;
10180   int res1 = 0 ;
10181   long result;
10182   VALUE vresult = Qnil;
10183   
10184   if ((argc < 0) || (argc > 0)) {
10185     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10186   }
10187   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 |  0 );
10188   if (!SWIG_IsOK(res1)) {
10189     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sx", 1, self )); 
10190   }
10191   arg1 = (lmrcImageCVEInfo *)(argp1);
10192   result = (long) ((arg1)->sx);
10193   vresult = SWIG_From_long((long)(result));
10194   return vresult;
10195 fail:
10196   return Qnil;
10197 }
10198
10199
10200 SWIGINTERN VALUE
10201 _wrap_lmrcImageCVEInfo_sy_set(int argc, VALUE *argv, VALUE self) {
10202   lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10203   long arg2 ;
10204   void *argp1 = 0 ;
10205   int res1 = 0 ;
10206   long val2 ;
10207   int ecode2 = 0 ;
10208   
10209   if ((argc < 1) || (argc > 1)) {
10210     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10211   }
10212   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 |  0 );
10213   if (!SWIG_IsOK(res1)) {
10214     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sy", 1, self )); 
10215   }
10216   arg1 = (lmrcImageCVEInfo *)(argp1);
10217   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10218   if (!SWIG_IsOK(ecode2)) {
10219     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sy", 2, argv[0] ));
10220   } 
10221   arg2 = (long)(val2);
10222   if (arg1) (arg1)->sy = arg2;
10223   return Qnil;
10224 fail:
10225   return Qnil;
10226 }
10227
10228
10229 SWIGINTERN VALUE
10230 _wrap_lmrcImageCVEInfo_sy_get(int argc, VALUE *argv, VALUE self) {
10231   lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10232   void *argp1 = 0 ;
10233   int res1 = 0 ;
10234   long result;
10235   VALUE vresult = Qnil;
10236   
10237   if ((argc < 0) || (argc > 0)) {
10238     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10239   }
10240   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 |  0 );
10241   if (!SWIG_IsOK(res1)) {
10242     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sy", 1, self )); 
10243   }
10244   arg1 = (lmrcImageCVEInfo *)(argp1);
10245   result = (long) ((arg1)->sy);
10246   vresult = SWIG_From_long((long)(result));
10247   return vresult;
10248 fail:
10249   return Qnil;
10250 }
10251
10252
10253 SWIGINTERN VALUE
10254 _wrap_lmrcImageCVEInfo_sz_set(int argc, VALUE *argv, VALUE self) {
10255   lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10256   long arg2 ;
10257   void *argp1 = 0 ;
10258   int res1 = 0 ;
10259   long val2 ;
10260   int ecode2 = 0 ;
10261   
10262   if ((argc < 1) || (argc > 1)) {
10263     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10264   }
10265   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 |  0 );
10266   if (!SWIG_IsOK(res1)) {
10267     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sz", 1, self )); 
10268   }
10269   arg1 = (lmrcImageCVEInfo *)(argp1);
10270   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10271   if (!SWIG_IsOK(ecode2)) {
10272     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sz", 2, argv[0] ));
10273   } 
10274   arg2 = (long)(val2);
10275   if (arg1) (arg1)->sz = arg2;
10276   return Qnil;
10277 fail:
10278   return Qnil;
10279 }
10280
10281
10282 SWIGINTERN VALUE
10283 _wrap_lmrcImageCVEInfo_sz_get(int argc, VALUE *argv, VALUE self) {
10284   lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10285   void *argp1 = 0 ;
10286   int res1 = 0 ;
10287   long result;
10288   VALUE vresult = Qnil;
10289   
10290   if ((argc < 0) || (argc > 0)) {
10291     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10292   }
10293   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 |  0 );
10294   if (!SWIG_IsOK(res1)) {
10295     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sz", 1, self )); 
10296   }
10297   arg1 = (lmrcImageCVEInfo *)(argp1);
10298   result = (long) ((arg1)->sz);
10299   vresult = SWIG_From_long((long)(result));
10300   return vresult;
10301 fail:
10302   return Qnil;
10303 }
10304
10305
10306 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10307 SWIGINTERN VALUE
10308 _wrap_lmrcImageCVEInfo_allocate(VALUE self) {
10309 #else
10310   SWIGINTERN VALUE
10311   _wrap_lmrcImageCVEInfo_allocate(int argc, VALUE *argv, VALUE self) {
10312 #endif
10313     
10314     
10315     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageCVEInfo);
10316 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10317     rb_obj_call_init(vresult, argc, argv);
10318 #endif
10319     return vresult;
10320   }
10321   
10322
10323 SWIGINTERN VALUE
10324 _wrap_new_lmrcImageCVEInfo(int argc, VALUE *argv, VALUE self) {
10325   lmrcImageCVEInfo *result = 0 ;
10326   
10327   if ((argc < 0) || (argc > 0)) {
10328     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10329   }
10330   result = (lmrcImageCVEInfo *)calloc(1, sizeof(lmrcImageCVEInfo));
10331   DATA_PTR(self) = result;
10332   return self;
10333 fail:
10334   return Qnil;
10335 }
10336
10337
10338 SWIGINTERN void
10339 free_lmrcImageCVEInfo(lmrcImageCVEInfo *arg1) {
10340     free((char *) arg1);
10341 }
10342
10343 swig_class cLmrcImageTfunctionInfo;
10344
10345 SWIGINTERN VALUE
10346 _wrap_lmrcImageTfunctionInfo_sx_set(int argc, VALUE *argv, VALUE self) {
10347   lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10348   long arg2 ;
10349   void *argp1 = 0 ;
10350   int res1 = 0 ;
10351   long val2 ;
10352   int ecode2 = 0 ;
10353   
10354   if ((argc < 1) || (argc > 1)) {
10355     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10356   }
10357   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 |  0 );
10358   if (!SWIG_IsOK(res1)) {
10359     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sx", 1, self )); 
10360   }
10361   arg1 = (lmrcImageTfunctionInfo *)(argp1);
10362   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10363   if (!SWIG_IsOK(ecode2)) {
10364     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sx", 2, argv[0] ));
10365   } 
10366   arg2 = (long)(val2);
10367   if (arg1) (arg1)->sx = arg2;
10368   return Qnil;
10369 fail:
10370   return Qnil;
10371 }
10372
10373
10374 SWIGINTERN VALUE
10375 _wrap_lmrcImageTfunctionInfo_sx_get(int argc, VALUE *argv, VALUE self) {
10376   lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10377   void *argp1 = 0 ;
10378   int res1 = 0 ;
10379   long result;
10380   VALUE vresult = Qnil;
10381   
10382   if ((argc < 0) || (argc > 0)) {
10383     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10384   }
10385   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 |  0 );
10386   if (!SWIG_IsOK(res1)) {
10387     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sx", 1, self )); 
10388   }
10389   arg1 = (lmrcImageTfunctionInfo *)(argp1);
10390   result = (long) ((arg1)->sx);
10391   vresult = SWIG_From_long((long)(result));
10392   return vresult;
10393 fail:
10394   return Qnil;
10395 }
10396
10397
10398 SWIGINTERN VALUE
10399 _wrap_lmrcImageTfunctionInfo_sy_set(int argc, VALUE *argv, VALUE self) {
10400   lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10401   long arg2 ;
10402   void *argp1 = 0 ;
10403   int res1 = 0 ;
10404   long val2 ;
10405   int ecode2 = 0 ;
10406   
10407   if ((argc < 1) || (argc > 1)) {
10408     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10409   }
10410   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 |  0 );
10411   if (!SWIG_IsOK(res1)) {
10412     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sy", 1, self )); 
10413   }
10414   arg1 = (lmrcImageTfunctionInfo *)(argp1);
10415   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10416   if (!SWIG_IsOK(ecode2)) {
10417     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sy", 2, argv[0] ));
10418   } 
10419   arg2 = (long)(val2);
10420   if (arg1) (arg1)->sy = arg2;
10421   return Qnil;
10422 fail:
10423   return Qnil;
10424 }
10425
10426
10427 SWIGINTERN VALUE
10428 _wrap_lmrcImageTfunctionInfo_sy_get(int argc, VALUE *argv, VALUE self) {
10429   lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10430   void *argp1 = 0 ;
10431   int res1 = 0 ;
10432   long result;
10433   VALUE vresult = Qnil;
10434   
10435   if ((argc < 0) || (argc > 0)) {
10436     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10437   }
10438   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 |  0 );
10439   if (!SWIG_IsOK(res1)) {
10440     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sy", 1, self )); 
10441   }
10442   arg1 = (lmrcImageTfunctionInfo *)(argp1);
10443   result = (long) ((arg1)->sy);
10444   vresult = SWIG_From_long((long)(result));
10445   return vresult;
10446 fail:
10447   return Qnil;
10448 }
10449
10450
10451 SWIGINTERN VALUE
10452 _wrap_lmrcImageTfunctionInfo_sz_set(int argc, VALUE *argv, VALUE self) {
10453   lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10454   long arg2 ;
10455   void *argp1 = 0 ;
10456   int res1 = 0 ;
10457   long val2 ;
10458   int ecode2 = 0 ;
10459   
10460   if ((argc < 1) || (argc > 1)) {
10461     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10462   }
10463   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 |  0 );
10464   if (!SWIG_IsOK(res1)) {
10465     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sz", 1, self )); 
10466   }
10467   arg1 = (lmrcImageTfunctionInfo *)(argp1);
10468   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10469   if (!SWIG_IsOK(ecode2)) {
10470     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sz", 2, argv[0] ));
10471   } 
10472   arg2 = (long)(val2);
10473   if (arg1) (arg1)->sz = arg2;
10474   return Qnil;
10475 fail:
10476   return Qnil;
10477 }
10478
10479
10480 SWIGINTERN VALUE
10481 _wrap_lmrcImageTfunctionInfo_sz_get(int argc, VALUE *argv, VALUE self) {
10482   lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10483   void *argp1 = 0 ;
10484   int res1 = 0 ;
10485   long result;
10486   VALUE vresult = Qnil;
10487   
10488   if ((argc < 0) || (argc > 0)) {
10489     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10490   }
10491   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 |  0 );
10492   if (!SWIG_IsOK(res1)) {
10493     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sz", 1, self )); 
10494   }
10495   arg1 = (lmrcImageTfunctionInfo *)(argp1);
10496   result = (long) ((arg1)->sz);
10497   vresult = SWIG_From_long((long)(result));
10498   return vresult;
10499 fail:
10500   return Qnil;
10501 }
10502
10503
10504 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10505 SWIGINTERN VALUE
10506 _wrap_lmrcImageTfunctionInfo_allocate(VALUE self) {
10507 #else
10508   SWIGINTERN VALUE
10509   _wrap_lmrcImageTfunctionInfo_allocate(int argc, VALUE *argv, VALUE self) {
10510 #endif
10511     
10512     
10513     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageTfunctionInfo);
10514 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10515     rb_obj_call_init(vresult, argc, argv);
10516 #endif
10517     return vresult;
10518   }
10519   
10520
10521 SWIGINTERN VALUE
10522 _wrap_new_lmrcImageTfunctionInfo(int argc, VALUE *argv, VALUE self) {
10523   lmrcImageTfunctionInfo *result = 0 ;
10524   
10525   if ((argc < 0) || (argc > 0)) {
10526     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10527   }
10528   result = (lmrcImageTfunctionInfo *)calloc(1, sizeof(lmrcImageTfunctionInfo));
10529   DATA_PTR(self) = result;
10530   return self;
10531 fail:
10532   return Qnil;
10533 }
10534
10535
10536 SWIGINTERN void
10537 free_lmrcImageTfunctionInfo(lmrcImageTfunctionInfo *arg1) {
10538     free((char *) arg1);
10539 }
10540
10541 swig_class cLmrcImageHighlightInfo;
10542
10543 SWIGINTERN VALUE
10544 _wrap_lmrcImageHighlightInfo_mode_set(int argc, VALUE *argv, VALUE self) {
10545   lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10546   long arg2 ;
10547   void *argp1 = 0 ;
10548   int res1 = 0 ;
10549   long val2 ;
10550   int ecode2 = 0 ;
10551   
10552   if ((argc < 1) || (argc > 1)) {
10553     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10554   }
10555   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 |  0 );
10556   if (!SWIG_IsOK(res1)) {
10557     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","mode", 1, self )); 
10558   }
10559   arg1 = (lmrcImageHighlightInfo *)(argp1);
10560   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10561   if (!SWIG_IsOK(ecode2)) {
10562     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
10563   } 
10564   arg2 = (long)(val2);
10565   if (arg1) (arg1)->mode = arg2;
10566   return Qnil;
10567 fail:
10568   return Qnil;
10569 }
10570
10571
10572 SWIGINTERN VALUE
10573 _wrap_lmrcImageHighlightInfo_mode_get(int argc, VALUE *argv, VALUE self) {
10574   lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10575   void *argp1 = 0 ;
10576   int res1 = 0 ;
10577   long result;
10578   VALUE vresult = Qnil;
10579   
10580   if ((argc < 0) || (argc > 0)) {
10581     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10582   }
10583   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 |  0 );
10584   if (!SWIG_IsOK(res1)) {
10585     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","mode", 1, self )); 
10586   }
10587   arg1 = (lmrcImageHighlightInfo *)(argp1);
10588   result = (long) ((arg1)->mode);
10589   vresult = SWIG_From_long((long)(result));
10590   return vresult;
10591 fail:
10592   return Qnil;
10593 }
10594
10595
10596 SWIGINTERN VALUE
10597 _wrap_lmrcImageHighlightInfo_Bias_set(int argc, VALUE *argv, VALUE self) {
10598   lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10599   float arg2 ;
10600   void *argp1 = 0 ;
10601   int res1 = 0 ;
10602   float val2 ;
10603   int ecode2 = 0 ;
10604   
10605   if ((argc < 1) || (argc > 1)) {
10606     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10607   }
10608   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 |  0 );
10609   if (!SWIG_IsOK(res1)) {
10610     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","Bias", 1, self )); 
10611   }
10612   arg1 = (lmrcImageHighlightInfo *)(argp1);
10613   ecode2 = SWIG_AsVal_float(argv[0], &val2);
10614   if (!SWIG_IsOK(ecode2)) {
10615     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","Bias", 2, argv[0] ));
10616   } 
10617   arg2 = (float)(val2);
10618   if (arg1) (arg1)->Bias = arg2;
10619   return Qnil;
10620 fail:
10621   return Qnil;
10622 }
10623
10624
10625 SWIGINTERN VALUE
10626 _wrap_lmrcImageHighlightInfo_Bias_get(int argc, VALUE *argv, VALUE self) {
10627   lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10628   void *argp1 = 0 ;
10629   int res1 = 0 ;
10630   float result;
10631   VALUE vresult = Qnil;
10632   
10633   if ((argc < 0) || (argc > 0)) {
10634     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10635   }
10636   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 |  0 );
10637   if (!SWIG_IsOK(res1)) {
10638     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","Bias", 1, self )); 
10639   }
10640   arg1 = (lmrcImageHighlightInfo *)(argp1);
10641   result = (float) ((arg1)->Bias);
10642   vresult = SWIG_From_float((float)(result));
10643   return vresult;
10644 fail:
10645   return Qnil;
10646 }
10647
10648
10649 SWIGINTERN VALUE
10650 _wrap_lmrcImageHighlightInfo_Grad_set(int argc, VALUE *argv, VALUE self) {
10651   lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10652   float arg2 ;
10653   void *argp1 = 0 ;
10654   int res1 = 0 ;
10655   float val2 ;
10656   int ecode2 = 0 ;
10657   
10658   if ((argc < 1) || (argc > 1)) {
10659     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10660   }
10661   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 |  0 );
10662   if (!SWIG_IsOK(res1)) {
10663     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","Grad", 1, self )); 
10664   }
10665   arg1 = (lmrcImageHighlightInfo *)(argp1);
10666   ecode2 = SWIG_AsVal_float(argv[0], &val2);
10667   if (!SWIG_IsOK(ecode2)) {
10668     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","Grad", 2, argv[0] ));
10669   } 
10670   arg2 = (float)(val2);
10671   if (arg1) (arg1)->Grad = arg2;
10672   return Qnil;
10673 fail:
10674   return Qnil;
10675 }
10676
10677
10678 SWIGINTERN VALUE
10679 _wrap_lmrcImageHighlightInfo_Grad_get(int argc, VALUE *argv, VALUE self) {
10680   lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10681   void *argp1 = 0 ;
10682   int res1 = 0 ;
10683   float result;
10684   VALUE vresult = Qnil;
10685   
10686   if ((argc < 0) || (argc > 0)) {
10687     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10688   }
10689   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 |  0 );
10690   if (!SWIG_IsOK(res1)) {
10691     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","Grad", 1, self )); 
10692   }
10693   arg1 = (lmrcImageHighlightInfo *)(argp1);
10694   result = (float) ((arg1)->Grad);
10695   vresult = SWIG_From_float((float)(result));
10696   return vresult;
10697 fail:
10698   return Qnil;
10699 }
10700
10701
10702 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10703 SWIGINTERN VALUE
10704 _wrap_lmrcImageHighlightInfo_allocate(VALUE self) {
10705 #else
10706   SWIGINTERN VALUE
10707   _wrap_lmrcImageHighlightInfo_allocate(int argc, VALUE *argv, VALUE self) {
10708 #endif
10709     
10710     
10711     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageHighlightInfo);
10712 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10713     rb_obj_call_init(vresult, argc, argv);
10714 #endif
10715     return vresult;
10716   }
10717   
10718
10719 SWIGINTERN VALUE
10720 _wrap_new_lmrcImageHighlightInfo(int argc, VALUE *argv, VALUE self) {
10721   lmrcImageHighlightInfo *result = 0 ;
10722   
10723   if ((argc < 0) || (argc > 0)) {
10724     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10725   }
10726   result = (lmrcImageHighlightInfo *)calloc(1, sizeof(lmrcImageHighlightInfo));
10727   DATA_PTR(self) = result;
10728   return self;
10729 fail:
10730   return Qnil;
10731 }
10732
10733
10734 SWIGINTERN void
10735 free_lmrcImageHighlightInfo(lmrcImageHighlightInfo *arg1) {
10736     free((char *) arg1);
10737 }
10738
10739 swig_class cLmrcImageLowPassFilterInfo;
10740
10741 SWIGINTERN VALUE
10742 _wrap_lmrcImageLowPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
10743   lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10744   long arg2 ;
10745   void *argp1 = 0 ;
10746   int res1 = 0 ;
10747   long val2 ;
10748   int ecode2 = 0 ;
10749   
10750   if ((argc < 1) || (argc > 1)) {
10751     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10752   }
10753   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 |  0 );
10754   if (!SWIG_IsOK(res1)) {
10755     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","mode", 1, self )); 
10756   }
10757   arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10758   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10759   if (!SWIG_IsOK(ecode2)) {
10760     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
10761   } 
10762   arg2 = (long)(val2);
10763   if (arg1) (arg1)->mode = arg2;
10764   return Qnil;
10765 fail:
10766   return Qnil;
10767 }
10768
10769
10770 SWIGINTERN VALUE
10771 _wrap_lmrcImageLowPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
10772   lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10773   void *argp1 = 0 ;
10774   int res1 = 0 ;
10775   long result;
10776   VALUE vresult = Qnil;
10777   
10778   if ((argc < 0) || (argc > 0)) {
10779     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10780   }
10781   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 |  0 );
10782   if (!SWIG_IsOK(res1)) {
10783     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","mode", 1, self )); 
10784   }
10785   arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10786   result = (long) ((arg1)->mode);
10787   vresult = SWIG_From_long((long)(result));
10788   return vresult;
10789 fail:
10790   return Qnil;
10791 }
10792
10793
10794 SWIGINTERN VALUE
10795 _wrap_lmrcImageLowPassFilterInfo_hvp_set(int argc, VALUE *argv, VALUE self) {
10796   lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10797   float arg2 ;
10798   void *argp1 = 0 ;
10799   int res1 = 0 ;
10800   float val2 ;
10801   int ecode2 = 0 ;
10802   
10803   if ((argc < 1) || (argc > 1)) {
10804     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10805   }
10806   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 |  0 );
10807   if (!SWIG_IsOK(res1)) {
10808     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","hvp", 1, self )); 
10809   }
10810   arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10811   ecode2 = SWIG_AsVal_float(argv[0], &val2);
10812   if (!SWIG_IsOK(ecode2)) {
10813     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","hvp", 2, argv[0] ));
10814   } 
10815   arg2 = (float)(val2);
10816   if (arg1) (arg1)->hvp = arg2;
10817   return Qnil;
10818 fail:
10819   return Qnil;
10820 }
10821
10822
10823 SWIGINTERN VALUE
10824 _wrap_lmrcImageLowPassFilterInfo_hvp_get(int argc, VALUE *argv, VALUE self) {
10825   lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10826   void *argp1 = 0 ;
10827   int res1 = 0 ;
10828   float result;
10829   VALUE vresult = Qnil;
10830   
10831   if ((argc < 0) || (argc > 0)) {
10832     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10833   }
10834   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 |  0 );
10835   if (!SWIG_IsOK(res1)) {
10836     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","hvp", 1, self )); 
10837   }
10838   arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10839   result = (float) ((arg1)->hvp);
10840   vresult = SWIG_From_float((float)(result));
10841   return vresult;
10842 fail:
10843   return Qnil;
10844 }
10845
10846
10847 SWIGINTERN VALUE
10848 _wrap_lmrcImageLowPassFilterInfo_width_set(int argc, VALUE *argv, VALUE self) {
10849   lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10850   float arg2 ;
10851   void *argp1 = 0 ;
10852   int res1 = 0 ;
10853   float val2 ;
10854   int ecode2 = 0 ;
10855   
10856   if ((argc < 1) || (argc > 1)) {
10857     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10858   }
10859   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 |  0 );
10860   if (!SWIG_IsOK(res1)) {
10861     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","width", 1, self )); 
10862   }
10863   arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10864   ecode2 = SWIG_AsVal_float(argv[0], &val2);
10865   if (!SWIG_IsOK(ecode2)) {
10866     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","width", 2, argv[0] ));
10867   } 
10868   arg2 = (float)(val2);
10869   if (arg1) (arg1)->width = arg2;
10870   return Qnil;
10871 fail:
10872   return Qnil;
10873 }
10874
10875
10876 SWIGINTERN VALUE
10877 _wrap_lmrcImageLowPassFilterInfo_width_get(int argc, VALUE *argv, VALUE self) {
10878   lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10879   void *argp1 = 0 ;
10880   int res1 = 0 ;
10881   float result;
10882   VALUE vresult = Qnil;
10883   
10884   if ((argc < 0) || (argc > 0)) {
10885     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10886   }
10887   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 |  0 );
10888   if (!SWIG_IsOK(res1)) {
10889     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","width", 1, self )); 
10890   }
10891   arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10892   result = (float) ((arg1)->width);
10893   vresult = SWIG_From_float((float)(result));
10894   return vresult;
10895 fail:
10896   return Qnil;
10897 }
10898
10899
10900 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10901 SWIGINTERN VALUE
10902 _wrap_lmrcImageLowPassFilterInfo_allocate(VALUE self) {
10903 #else
10904   SWIGINTERN VALUE
10905   _wrap_lmrcImageLowPassFilterInfo_allocate(int argc, VALUE *argv, VALUE self) {
10906 #endif
10907     
10908     
10909     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageLowPassFilterInfo);
10910 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10911     rb_obj_call_init(vresult, argc, argv);
10912 #endif
10913     return vresult;
10914   }
10915   
10916
10917 SWIGINTERN VALUE
10918 _wrap_new_lmrcImageLowPassFilterInfo(int argc, VALUE *argv, VALUE self) {
10919   lmrcImageLowPassFilterInfo *result = 0 ;
10920   
10921   if ((argc < 0) || (argc > 0)) {
10922     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10923   }
10924   result = (lmrcImageLowPassFilterInfo *)calloc(1, sizeof(lmrcImageLowPassFilterInfo));
10925   DATA_PTR(self) = result;
10926   return self;
10927 fail:
10928   return Qnil;
10929 }
10930
10931
10932 SWIGINTERN void
10933 free_lmrcImageLowPassFilterInfo(lmrcImageLowPassFilterInfo *arg1) {
10934     free((char *) arg1);
10935 }
10936
10937 swig_class cLmrcImageHighPassFilterInfo;
10938
10939 SWIGINTERN VALUE
10940 _wrap_lmrcImageHighPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
10941   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
10942   long arg2 ;
10943   void *argp1 = 0 ;
10944   int res1 = 0 ;
10945   long val2 ;
10946   int ecode2 = 0 ;
10947   
10948   if ((argc < 1) || (argc > 1)) {
10949     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10950   }
10951   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
10952   if (!SWIG_IsOK(res1)) {
10953     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","mode", 1, self )); 
10954   }
10955   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
10956   ecode2 = SWIG_AsVal_long(argv[0], &val2);
10957   if (!SWIG_IsOK(ecode2)) {
10958     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
10959   } 
10960   arg2 = (long)(val2);
10961   if (arg1) (arg1)->mode = arg2;
10962   return Qnil;
10963 fail:
10964   return Qnil;
10965 }
10966
10967
10968 SWIGINTERN VALUE
10969 _wrap_lmrcImageHighPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
10970   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
10971   void *argp1 = 0 ;
10972   int res1 = 0 ;
10973   long result;
10974   VALUE vresult = Qnil;
10975   
10976   if ((argc < 0) || (argc > 0)) {
10977     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10978   }
10979   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
10980   if (!SWIG_IsOK(res1)) {
10981     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","mode", 1, self )); 
10982   }
10983   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
10984   result = (long) ((arg1)->mode);
10985   vresult = SWIG_From_long((long)(result));
10986   return vresult;
10987 fail:
10988   return Qnil;
10989 }
10990
10991
10992 SWIGINTERN VALUE
10993 _wrap_lmrcImageHighPassFilterInfo_hvp_set(int argc, VALUE *argv, VALUE self) {
10994   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
10995   float arg2 ;
10996   void *argp1 = 0 ;
10997   int res1 = 0 ;
10998   float val2 ;
10999   int ecode2 = 0 ;
11000   
11001   if ((argc < 1) || (argc > 1)) {
11002     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11003   }
11004   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
11005   if (!SWIG_IsOK(res1)) {
11006     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","hvp", 1, self )); 
11007   }
11008   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11009   ecode2 = SWIG_AsVal_float(argv[0], &val2);
11010   if (!SWIG_IsOK(ecode2)) {
11011     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","hvp", 2, argv[0] ));
11012   } 
11013   arg2 = (float)(val2);
11014   if (arg1) (arg1)->hvp = arg2;
11015   return Qnil;
11016 fail:
11017   return Qnil;
11018 }
11019
11020
11021 SWIGINTERN VALUE
11022 _wrap_lmrcImageHighPassFilterInfo_hvp_get(int argc, VALUE *argv, VALUE self) {
11023   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11024   void *argp1 = 0 ;
11025   int res1 = 0 ;
11026   float result;
11027   VALUE vresult = Qnil;
11028   
11029   if ((argc < 0) || (argc > 0)) {
11030     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11031   }
11032   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
11033   if (!SWIG_IsOK(res1)) {
11034     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","hvp", 1, self )); 
11035   }
11036   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11037   result = (float) ((arg1)->hvp);
11038   vresult = SWIG_From_float((float)(result));
11039   return vresult;
11040 fail:
11041   return Qnil;
11042 }
11043
11044
11045 SWIGINTERN VALUE
11046 _wrap_lmrcImageHighPassFilterInfo_width_set(int argc, VALUE *argv, VALUE self) {
11047   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11048   float arg2 ;
11049   void *argp1 = 0 ;
11050   int res1 = 0 ;
11051   float val2 ;
11052   int ecode2 = 0 ;
11053   
11054   if ((argc < 1) || (argc > 1)) {
11055     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11056   }
11057   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
11058   if (!SWIG_IsOK(res1)) {
11059     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","width", 1, self )); 
11060   }
11061   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11062   ecode2 = SWIG_AsVal_float(argv[0], &val2);
11063   if (!SWIG_IsOK(ecode2)) {
11064     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","width", 2, argv[0] ));
11065   } 
11066   arg2 = (float)(val2);
11067   if (arg1) (arg1)->width = arg2;
11068   return Qnil;
11069 fail:
11070   return Qnil;
11071 }
11072
11073
11074 SWIGINTERN VALUE
11075 _wrap_lmrcImageHighPassFilterInfo_width_get(int argc, VALUE *argv, VALUE self) {
11076   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11077   void *argp1 = 0 ;
11078   int res1 = 0 ;
11079   float result;
11080   VALUE vresult = Qnil;
11081   
11082   if ((argc < 0) || (argc > 0)) {
11083     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11084   }
11085   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
11086   if (!SWIG_IsOK(res1)) {
11087     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","width", 1, self )); 
11088   }
11089   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11090   result = (float) ((arg1)->width);
11091   vresult = SWIG_From_float((float)(result));
11092   return vresult;
11093 fail:
11094   return Qnil;
11095 }
11096
11097
11098 SWIGINTERN VALUE
11099 _wrap_lmrcImageHighPassFilterInfo_pathWindowLow_set(int argc, VALUE *argv, VALUE self) {
11100   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11101   float arg2 ;
11102   void *argp1 = 0 ;
11103   int res1 = 0 ;
11104   float val2 ;
11105   int ecode2 = 0 ;
11106   
11107   if ((argc < 1) || (argc > 1)) {
11108     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11109   }
11110   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
11111   if (!SWIG_IsOK(res1)) {
11112     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","pathWindowLow", 1, self )); 
11113   }
11114   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11115   ecode2 = SWIG_AsVal_float(argv[0], &val2);
11116   if (!SWIG_IsOK(ecode2)) {
11117     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","pathWindowLow", 2, argv[0] ));
11118   } 
11119   arg2 = (float)(val2);
11120   if (arg1) (arg1)->pathWindowLow = arg2;
11121   return Qnil;
11122 fail:
11123   return Qnil;
11124 }
11125
11126
11127 SWIGINTERN VALUE
11128 _wrap_lmrcImageHighPassFilterInfo_pathWindowLow_get(int argc, VALUE *argv, VALUE self) {
11129   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11130   void *argp1 = 0 ;
11131   int res1 = 0 ;
11132   float result;
11133   VALUE vresult = Qnil;
11134   
11135   if ((argc < 0) || (argc > 0)) {
11136     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11137   }
11138   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
11139   if (!SWIG_IsOK(res1)) {
11140     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","pathWindowLow", 1, self )); 
11141   }
11142   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11143   result = (float) ((arg1)->pathWindowLow);
11144   vresult = SWIG_From_float((float)(result));
11145   return vresult;
11146 fail:
11147   return Qnil;
11148 }
11149
11150
11151 SWIGINTERN VALUE
11152 _wrap_lmrcImageHighPassFilterInfo_pathWindowHigh_set(int argc, VALUE *argv, VALUE self) {
11153   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11154   float arg2 ;
11155   void *argp1 = 0 ;
11156   int res1 = 0 ;
11157   float val2 ;
11158   int ecode2 = 0 ;
11159   
11160   if ((argc < 1) || (argc > 1)) {
11161     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11162   }
11163   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
11164   if (!SWIG_IsOK(res1)) {
11165     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","pathWindowHigh", 1, self )); 
11166   }
11167   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11168   ecode2 = SWIG_AsVal_float(argv[0], &val2);
11169   if (!SWIG_IsOK(ecode2)) {
11170     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","pathWindowHigh", 2, argv[0] ));
11171   } 
11172   arg2 = (float)(val2);
11173   if (arg1) (arg1)->pathWindowHigh = arg2;
11174   return Qnil;
11175 fail:
11176   return Qnil;
11177 }
11178
11179
11180 SWIGINTERN VALUE
11181 _wrap_lmrcImageHighPassFilterInfo_pathWindowHigh_get(int argc, VALUE *argv, VALUE self) {
11182   lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11183   void *argp1 = 0 ;
11184   int res1 = 0 ;
11185   float result;
11186   VALUE vresult = Qnil;
11187   
11188   if ((argc < 0) || (argc > 0)) {
11189     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11190   }
11191   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
11192   if (!SWIG_IsOK(res1)) {
11193     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","pathWindowHigh", 1, self )); 
11194   }
11195   arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11196   result = (float) ((arg1)->pathWindowHigh);
11197   vresult = SWIG_From_float((float)(result));
11198   return vresult;
11199 fail:
11200   return Qnil;
11201 }
11202
11203
11204 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
11205 SWIGINTERN VALUE
11206 _wrap_lmrcImageHighPassFilterInfo_allocate(VALUE self) {
11207 #else
11208   SWIGINTERN VALUE
11209   _wrap_lmrcImageHighPassFilterInfo_allocate(int argc, VALUE *argv, VALUE self) {
11210 #endif
11211     
11212     
11213     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageHighPassFilterInfo);
11214 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
11215     rb_obj_call_init(vresult, argc, argv);
11216 #endif
11217     return vresult;
11218   }
11219   
11220
11221 SWIGINTERN VALUE
11222 _wrap_new_lmrcImageHighPassFilterInfo(int argc, VALUE *argv, VALUE self) {
11223   lmrcImageHighPassFilterInfo *result = 0 ;
11224   
11225   if ((argc < 0) || (argc > 0)) {
11226     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11227   }
11228   result = (lmrcImageHighPassFilterInfo *)calloc(1, sizeof(lmrcImageHighPassFilterInfo));
11229   DATA_PTR(self) = result;
11230   return self;
11231 fail:
11232   return Qnil;
11233 }
11234
11235
11236 SWIGINTERN void
11237 free_lmrcImageHighPassFilterInfo(lmrcImageHighPassFilterInfo *arg1) {
11238     free((char *) arg1);
11239 }
11240
11241 swig_class cLmrcImageBandPassFilterInfo;
11242
11243 SWIGINTERN VALUE
11244 _wrap_lmrcImageBandPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
11245   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11246   long arg2 ;
11247   void *argp1 = 0 ;
11248   int res1 = 0 ;
11249   long val2 ;
11250   int ecode2 = 0 ;
11251   
11252   if ((argc < 1) || (argc > 1)) {
11253     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11254   }
11255   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11256   if (!SWIG_IsOK(res1)) {
11257     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","mode", 1, self )); 
11258   }
11259   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11260   ecode2 = SWIG_AsVal_long(argv[0], &val2);
11261   if (!SWIG_IsOK(ecode2)) {
11262     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
11263   } 
11264   arg2 = (long)(val2);
11265   if (arg1) (arg1)->mode = arg2;
11266   return Qnil;
11267 fail:
11268   return Qnil;
11269 }
11270
11271
11272 SWIGINTERN VALUE
11273 _wrap_lmrcImageBandPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
11274   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11275   void *argp1 = 0 ;
11276   int res1 = 0 ;
11277   long result;
11278   VALUE vresult = Qnil;
11279   
11280   if ((argc < 0) || (argc > 0)) {
11281     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11282   }
11283   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11284   if (!SWIG_IsOK(res1)) {
11285     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","mode", 1, self )); 
11286   }
11287   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11288   result = (long) ((arg1)->mode);
11289   vresult = SWIG_From_long((long)(result));
11290   return vresult;
11291 fail:
11292   return Qnil;
11293 }
11294
11295
11296 SWIGINTERN VALUE
11297 _wrap_lmrcImageBandPassFilterInfo_hvl_set(int argc, VALUE *argv, VALUE self) {
11298   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11299   float arg2 ;
11300   void *argp1 = 0 ;
11301   int res1 = 0 ;
11302   float val2 ;
11303   int ecode2 = 0 ;
11304   
11305   if ((argc < 1) || (argc > 1)) {
11306     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11307   }
11308   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11309   if (!SWIG_IsOK(res1)) {
11310     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","hvl", 1, self )); 
11311   }
11312   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11313   ecode2 = SWIG_AsVal_float(argv[0], &val2);
11314   if (!SWIG_IsOK(ecode2)) {
11315     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","hvl", 2, argv[0] ));
11316   } 
11317   arg2 = (float)(val2);
11318   if (arg1) (arg1)->hvl = arg2;
11319   return Qnil;
11320 fail:
11321   return Qnil;
11322 }
11323
11324
11325 SWIGINTERN VALUE
11326 _wrap_lmrcImageBandPassFilterInfo_hvl_get(int argc, VALUE *argv, VALUE self) {
11327   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11328   void *argp1 = 0 ;
11329   int res1 = 0 ;
11330   float result;
11331   VALUE vresult = Qnil;
11332   
11333   if ((argc < 0) || (argc > 0)) {
11334     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11335   }
11336   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11337   if (!SWIG_IsOK(res1)) {
11338     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","hvl", 1, self )); 
11339   }
11340   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11341   result = (float) ((arg1)->hvl);
11342   vresult = SWIG_From_float((float)(result));
11343   return vresult;
11344 fail:
11345   return Qnil;
11346 }
11347
11348
11349 SWIGINTERN VALUE
11350 _wrap_lmrcImageBandPassFilterInfo_hvh_set(int argc, VALUE *argv, VALUE self) {
11351   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11352   float arg2 ;
11353   void *argp1 = 0 ;
11354   int res1 = 0 ;
11355   float val2 ;
11356   int ecode2 = 0 ;
11357   
11358   if ((argc < 1) || (argc > 1)) {
11359     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11360   }
11361   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11362   if (!SWIG_IsOK(res1)) {
11363     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","hvh", 1, self )); 
11364   }
11365   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11366   ecode2 = SWIG_AsVal_float(argv[0], &val2);
11367   if (!SWIG_IsOK(ecode2)) {
11368     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","hvh", 2, argv[0] ));
11369   } 
11370   arg2 = (float)(val2);
11371   if (arg1) (arg1)->hvh = arg2;
11372   return Qnil;
11373 fail:
11374   return Qnil;
11375 }
11376
11377
11378 SWIGINTERN VALUE
11379 _wrap_lmrcImageBandPassFilterInfo_hvh_get(int argc, VALUE *argv, VALUE self) {
11380   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11381   void *argp1 = 0 ;
11382   int res1 = 0 ;
11383   float result;
11384   VALUE vresult = Qnil;
11385   
11386   if ((argc < 0) || (argc > 0)) {
11387     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11388   }
11389   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11390   if (!SWIG_IsOK(res1)) {
11391     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","hvh", 1, self )); 
11392   }
11393   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11394   result = (float) ((arg1)->hvh);
11395   vresult = SWIG_From_float((float)(result));
11396   return vresult;
11397 fail:
11398   return Qnil;
11399 }
11400
11401
11402 SWIGINTERN VALUE
11403 _wrap_lmrcImageBandPassFilterInfo_wl_set(int argc, VALUE *argv, VALUE self) {
11404   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11405   float arg2 ;
11406   void *argp1 = 0 ;
11407   int res1 = 0 ;
11408   float val2 ;
11409   int ecode2 = 0 ;
11410   
11411   if ((argc < 1) || (argc > 1)) {
11412     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11413   }
11414   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11415   if (!SWIG_IsOK(res1)) {
11416     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","wl", 1, self )); 
11417   }
11418   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11419   ecode2 = SWIG_AsVal_float(argv[0], &val2);
11420   if (!SWIG_IsOK(ecode2)) {
11421     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","wl", 2, argv[0] ));
11422   } 
11423   arg2 = (float)(val2);
11424   if (arg1) (arg1)->wl = arg2;
11425   return Qnil;
11426 fail:
11427   return Qnil;
11428 }
11429
11430
11431 SWIGINTERN VALUE
11432 _wrap_lmrcImageBandPassFilterInfo_wl_get(int argc, VALUE *argv, VALUE self) {
11433   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11434   void *argp1 = 0 ;
11435   int res1 = 0 ;
11436   float result;
11437   VALUE vresult = Qnil;
11438   
11439   if ((argc < 0) || (argc > 0)) {
11440     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11441   }
11442   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11443   if (!SWIG_IsOK(res1)) {
11444     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","wl", 1, self )); 
11445   }
11446   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11447   result = (float) ((arg1)->wl);
11448   vresult = SWIG_From_float((float)(result));
11449   return vresult;
11450 fail:
11451   return Qnil;
11452 }
11453
11454
11455 SWIGINTERN VALUE
11456 _wrap_lmrcImageBandPassFilterInfo_wh_set(int argc, VALUE *argv, VALUE self) {
11457   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11458   float arg2 ;
11459   void *argp1 = 0 ;
11460   int res1 = 0 ;
11461   float val2 ;
11462   int ecode2 = 0 ;
11463   
11464   if ((argc < 1) || (argc > 1)) {
11465     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11466   }
11467   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11468   if (!SWIG_IsOK(res1)) {
11469     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","wh", 1, self )); 
11470   }
11471   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11472   ecode2 = SWIG_AsVal_float(argv[0], &val2);
11473   if (!SWIG_IsOK(ecode2)) {
11474     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","wh", 2, argv[0] ));
11475   } 
11476   arg2 = (float)(val2);
11477   if (arg1) (arg1)->wh = arg2;
11478   return Qnil;
11479 fail:
11480   return Qnil;
11481 }
11482
11483
11484 SWIGINTERN VALUE
11485 _wrap_lmrcImageBandPassFilterInfo_wh_get(int argc, VALUE *argv, VALUE self) {
11486   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11487   void *argp1 = 0 ;
11488   int res1 = 0 ;
11489   float result;
11490   VALUE vresult = Qnil;
11491   
11492   if ((argc < 0) || (argc > 0)) {
11493     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11494   }
11495   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11496   if (!SWIG_IsOK(res1)) {
11497     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","wh", 1, self )); 
11498   }
11499   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11500   result = (float) ((arg1)->wh);
11501   vresult = SWIG_From_float((float)(result));
11502   return vresult;
11503 fail:
11504   return Qnil;
11505 }
11506
11507
11508 SWIGINTERN VALUE
11509 _wrap_lmrcImageBandPassFilterInfo_flagLowWeight_set(int argc, VALUE *argv, VALUE self) {
11510   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11511   int arg2 ;
11512   void *argp1 = 0 ;
11513   int res1 = 0 ;
11514   int val2 ;
11515   int ecode2 = 0 ;
11516   
11517   if ((argc < 1) || (argc > 1)) {
11518     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11519   }
11520   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11521   if (!SWIG_IsOK(res1)) {
11522     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","flagLowWeight", 1, self )); 
11523   }
11524   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11525   ecode2 = SWIG_AsVal_int(argv[0], &val2);
11526   if (!SWIG_IsOK(ecode2)) {
11527     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","flagLowWeight", 2, argv[0] ));
11528   } 
11529   arg2 = (int)(val2);
11530   if (arg1) (arg1)->flagLowWeight = arg2;
11531   return Qnil;
11532 fail:
11533   return Qnil;
11534 }
11535
11536
11537 SWIGINTERN VALUE
11538 _wrap_lmrcImageBandPassFilterInfo_flagLowWeight_get(int argc, VALUE *argv, VALUE self) {
11539   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11540   void *argp1 = 0 ;
11541   int res1 = 0 ;
11542   int result;
11543   VALUE vresult = Qnil;
11544   
11545   if ((argc < 0) || (argc > 0)) {
11546     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11547   }
11548   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11549   if (!SWIG_IsOK(res1)) {
11550     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","flagLowWeight", 1, self )); 
11551   }
11552   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11553   result = (int) ((arg1)->flagLowWeight);
11554   vresult = SWIG_From_int((int)(result));
11555   return vresult;
11556 fail:
11557   return Qnil;
11558 }
11559
11560
11561 SWIGINTERN VALUE
11562 _wrap_lmrcImageBandPassFilterInfo_lowWeight_set(int argc, VALUE *argv, VALUE self) {
11563   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11564   double arg2 ;
11565   void *argp1 = 0 ;
11566   int res1 = 0 ;
11567   double val2 ;
11568   int ecode2 = 0 ;
11569   
11570   if ((argc < 1) || (argc > 1)) {
11571     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11572   }
11573   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11574   if (!SWIG_IsOK(res1)) {
11575     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","lowWeight", 1, self )); 
11576   }
11577   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11578   ecode2 = SWIG_AsVal_double(argv[0], &val2);
11579   if (!SWIG_IsOK(ecode2)) {
11580     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","lowWeight", 2, argv[0] ));
11581   } 
11582   arg2 = (double)(val2);
11583   if (arg1) (arg1)->lowWeight = arg2;
11584   return Qnil;
11585 fail:
11586   return Qnil;
11587 }
11588
11589
11590 SWIGINTERN VALUE
11591 _wrap_lmrcImageBandPassFilterInfo_lowWeight_get(int argc, VALUE *argv, VALUE self) {
11592   lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11593   void *argp1 = 0 ;
11594   int res1 = 0 ;
11595   double result;
11596   VALUE vresult = Qnil;
11597   
11598   if ((argc < 0) || (argc > 0)) {
11599     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11600   }
11601   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
11602   if (!SWIG_IsOK(res1)) {
11603     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","lowWeight", 1, self )); 
11604   }
11605   arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11606   result = (double) ((arg1)->lowWeight);
11607   vresult = SWIG_From_double((double)(result));
11608   return vresult;
11609 fail:
11610   return Qnil;
11611 }
11612
11613
11614 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
11615 SWIGINTERN VALUE
11616 _wrap_lmrcImageBandPassFilterInfo_allocate(VALUE self) {
11617 #else
11618   SWIGINTERN VALUE
11619   _wrap_lmrcImageBandPassFilterInfo_allocate(int argc, VALUE *argv, VALUE self) {
11620 #endif
11621     
11622     
11623     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageBandPassFilterInfo);
11624 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
11625     rb_obj_call_init(vresult, argc, argv);
11626 #endif
11627     return vresult;
11628   }
11629   
11630
11631 SWIGINTERN VALUE
11632 _wrap_new_lmrcImageBandPassFilterInfo(int argc, VALUE *argv, VALUE self) {
11633   lmrcImageBandPassFilterInfo *result = 0 ;
11634   
11635   if ((argc < 0) || (argc > 0)) {
11636     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11637   }
11638   result = (lmrcImageBandPassFilterInfo *)calloc(1, sizeof(lmrcImageBandPassFilterInfo));
11639   DATA_PTR(self) = result;
11640   return self;
11641 fail:
11642   return Qnil;
11643 }
11644
11645
11646 SWIGINTERN void
11647 free_lmrcImageBandPassFilterInfo(lmrcImageBandPassFilterInfo *arg1) {
11648     free((char *) arg1);
11649 }
11650
11651 SWIGINTERN VALUE
11652 _wrap_mrcInit(int argc, VALUE *argv, VALUE self) {
11653   mrcImage *arg1 = (mrcImage *) 0 ;
11654   char *arg2 = (char *) 0 ;
11655   void *argp1 = 0 ;
11656   int res1 = 0 ;
11657   int res2 ;
11658   char *buf2 = 0 ;
11659   int alloc2 = 0 ;
11660   mrcStatusType result;
11661   VALUE vresult = Qnil;
11662   
11663   if ((argc < 2) || (argc > 2)) {
11664     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11665   }
11666   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11667   if (!SWIG_IsOK(res1)) {
11668     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcInit", 1, argv[0] )); 
11669   }
11670   arg1 = (mrcImage *)(argp1);
11671   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
11672   if (!SWIG_IsOK(res2)) {
11673     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcInit", 2, argv[1] ));
11674   }
11675   arg2 = (char *)(buf2);
11676   result = (mrcStatusType)mrcInit(arg1,arg2);
11677   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11678   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11679   return vresult;
11680 fail:
11681   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11682   return Qnil;
11683 }
11684
11685
11686 SWIGINTERN VALUE
11687 _wrap_mrcDefaultHeaderValueSet(int argc, VALUE *argv, VALUE self) {
11688   mrcImage *arg1 = (mrcImage *) 0 ;
11689   void *argp1 = 0 ;
11690   int res1 = 0 ;
11691   mrcStatusType result;
11692   VALUE vresult = Qnil;
11693   
11694   if ((argc < 1) || (argc > 1)) {
11695     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11696   }
11697   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11698   if (!SWIG_IsOK(res1)) {
11699     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcDefaultHeaderValueSet", 1, argv[0] )); 
11700   }
11701   arg1 = (mrcImage *)(argp1);
11702   result = (mrcStatusType)mrcDefaultHeaderValueSet(arg1);
11703   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11704   return vresult;
11705 fail:
11706   return Qnil;
11707 }
11708
11709
11710 SWIGINTERN VALUE
11711 _wrap_mrcDefaultHeaderValueSetOnlyFixedValue(int argc, VALUE *argv, VALUE self) {
11712   mrcImage *arg1 = (mrcImage *) 0 ;
11713   void *argp1 = 0 ;
11714   int res1 = 0 ;
11715   mrcStatusType result;
11716   VALUE vresult = Qnil;
11717   
11718   if ((argc < 1) || (argc > 1)) {
11719     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11720   }
11721   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11722   if (!SWIG_IsOK(res1)) {
11723     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcDefaultHeaderValueSetOnlyFixedValue", 1, argv[0] )); 
11724   }
11725   arg1 = (mrcImage *)(argp1);
11726   result = (mrcStatusType)mrcDefaultHeaderValueSetOnlyFixedValue(arg1);
11727   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11728   return vresult;
11729 fail:
11730   return Qnil;
11731 }
11732
11733
11734 SWIGINTERN VALUE
11735 _wrap_mrcHiddenDataSet(int argc, VALUE *argv, VALUE self) {
11736   mrcImage *arg1 = (mrcImage *) 0 ;
11737   long arg2 ;
11738   void *argp1 = 0 ;
11739   int res1 = 0 ;
11740   long val2 ;
11741   int ecode2 = 0 ;
11742   mrcStatusType result;
11743   VALUE vresult = Qnil;
11744   
11745   if ((argc < 2) || (argc > 2)) {
11746     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11747   }
11748   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11749   if (!SWIG_IsOK(res1)) {
11750     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcHiddenDataSet", 1, argv[0] )); 
11751   }
11752   arg1 = (mrcImage *)(argp1);
11753   ecode2 = SWIG_AsVal_long(argv[1], &val2);
11754   if (!SWIG_IsOK(ecode2)) {
11755     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mrcHiddenDataSet", 2, argv[1] ));
11756   } 
11757   arg2 = (long)(val2);
11758   result = (mrcStatusType)mrcHiddenDataSet(arg1,arg2);
11759   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11760   return vresult;
11761 fail:
11762   return Qnil;
11763 }
11764
11765
11766 SWIGINTERN VALUE
11767 _wrap_mrcImageFree(int argc, VALUE *argv, VALUE self) {
11768   mrcImage *arg1 = (mrcImage *) 0 ;
11769   char *arg2 = (char *) 0 ;
11770   void *argp1 = 0 ;
11771   int res1 = 0 ;
11772   int res2 ;
11773   char *buf2 = 0 ;
11774   int alloc2 = 0 ;
11775   
11776   if ((argc < 2) || (argc > 2)) {
11777     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11778   }
11779   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11780   if (!SWIG_IsOK(res1)) {
11781     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageFree", 1, argv[0] )); 
11782   }
11783   arg1 = (mrcImage *)(argp1);
11784   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
11785   if (!SWIG_IsOK(res2)) {
11786     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcImageFree", 2, argv[1] ));
11787   }
11788   arg2 = (char *)(buf2);
11789   mrcImageFree(arg1,arg2);
11790   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11791   return Qnil;
11792 fail:
11793   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11794   return Qnil;
11795 }
11796
11797
11798 SWIGINTERN VALUE
11799 _wrap_mrcTailerInit(int argc, VALUE *argv, VALUE self) {
11800   mrcImage *arg1 = (mrcImage *) 0 ;
11801   long arg2 ;
11802   void *argp1 = 0 ;
11803   int res1 = 0 ;
11804   long val2 ;
11805   int ecode2 = 0 ;
11806   
11807   if ((argc < 2) || (argc > 2)) {
11808     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11809   }
11810   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11811   if (!SWIG_IsOK(res1)) {
11812     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcTailerInit", 1, argv[0] )); 
11813   }
11814   arg1 = (mrcImage *)(argp1);
11815   ecode2 = SWIG_AsVal_long(argv[1], &val2);
11816   if (!SWIG_IsOK(ecode2)) {
11817     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mrcTailerInit", 2, argv[1] ));
11818   } 
11819   arg2 = (long)(val2);
11820   mrcTailerInit(arg1,arg2);
11821   return Qnil;
11822 fail:
11823   return Qnil;
11824 }
11825
11826
11827 SWIGINTERN VALUE
11828 _wrap_mrcTailerCopy(int argc, VALUE *argv, VALUE self) {
11829   mrcImage *arg1 = (mrcImage *) 0 ;
11830   mrcImage *arg2 = (mrcImage *) 0 ;
11831   long arg3 ;
11832   void *argp1 = 0 ;
11833   int res1 = 0 ;
11834   void *argp2 = 0 ;
11835   int res2 = 0 ;
11836   long val3 ;
11837   int ecode3 = 0 ;
11838   
11839   if ((argc < 3) || (argc > 3)) {
11840     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
11841   }
11842   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11843   if (!SWIG_IsOK(res1)) {
11844     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcTailerCopy", 1, argv[0] )); 
11845   }
11846   arg1 = (mrcImage *)(argp1);
11847   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
11848   if (!SWIG_IsOK(res2)) {
11849     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","mrcTailerCopy", 2, argv[1] )); 
11850   }
11851   arg2 = (mrcImage *)(argp2);
11852   ecode3 = SWIG_AsVal_long(argv[2], &val3);
11853   if (!SWIG_IsOK(ecode3)) {
11854     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "long","mrcTailerCopy", 3, argv[2] ));
11855   } 
11856   arg3 = (long)(val3);
11857   mrcTailerCopy(arg1,arg2,arg3);
11858   return Qnil;
11859 fail:
11860   return Qnil;
11861 }
11862
11863
11864 SWIGINTERN VALUE
11865 _wrap_mrcFileRead(int argc, VALUE *argv, VALUE self) {
11866   mrcImage *arg1 = (mrcImage *) 0 ;
11867   char *arg2 = (char *) 0 ;
11868   char *arg3 = (char *) 0 ;
11869   long arg4 ;
11870   void *argp1 = 0 ;
11871   int res1 = 0 ;
11872   int res2 ;
11873   char *buf2 = 0 ;
11874   int alloc2 = 0 ;
11875   int res3 ;
11876   char *buf3 = 0 ;
11877   int alloc3 = 0 ;
11878   long val4 ;
11879   int ecode4 = 0 ;
11880   mrcStatusType result;
11881   VALUE vresult = Qnil;
11882   
11883   if ((argc < 4) || (argc > 4)) {
11884     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
11885   }
11886   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11887   if (!SWIG_IsOK(res1)) {
11888     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcFileRead", 1, argv[0] )); 
11889   }
11890   arg1 = (mrcImage *)(argp1);
11891   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
11892   if (!SWIG_IsOK(res2)) {
11893     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcFileRead", 2, argv[1] ));
11894   }
11895   arg2 = (char *)(buf2);
11896   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11897   if (!SWIG_IsOK(res3)) {
11898     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcFileRead", 3, argv[2] ));
11899   }
11900   arg3 = (char *)(buf3);
11901   ecode4 = SWIG_AsVal_long(argv[3], &val4);
11902   if (!SWIG_IsOK(ecode4)) {
11903     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcFileRead", 4, argv[3] ));
11904   } 
11905   arg4 = (long)(val4);
11906   result = (mrcStatusType)mrcFileRead(arg1,arg2,arg3,arg4);
11907   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11908   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11909   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11910   return vresult;
11911 fail:
11912   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11913   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11914   return Qnil;
11915 }
11916
11917
11918 SWIGINTERN VALUE
11919 _wrap_mrcImageRead(int argc, VALUE *argv, VALUE self) {
11920   mrcImage *arg1 = (mrcImage *) 0 ;
11921   char *arg2 = (char *) 0 ;
11922   char *arg3 = (char *) 0 ;
11923   long arg4 ;
11924   void *argp1 = 0 ;
11925   int res1 = 0 ;
11926   int res2 ;
11927   char *buf2 = 0 ;
11928   int alloc2 = 0 ;
11929   int res3 ;
11930   char *buf3 = 0 ;
11931   int alloc3 = 0 ;
11932   long val4 ;
11933   int ecode4 = 0 ;
11934   mrcStatusType result;
11935   VALUE vresult = Qnil;
11936   
11937   if ((argc < 4) || (argc > 4)) {
11938     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
11939   }
11940   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11941   if (!SWIG_IsOK(res1)) {
11942     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageRead", 1, argv[0] )); 
11943   }
11944   arg1 = (mrcImage *)(argp1);
11945   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
11946   if (!SWIG_IsOK(res2)) {
11947     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcImageRead", 2, argv[1] ));
11948   }
11949   arg2 = (char *)(buf2);
11950   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11951   if (!SWIG_IsOK(res3)) {
11952     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcImageRead", 3, argv[2] ));
11953   }
11954   arg3 = (char *)(buf3);
11955   ecode4 = SWIG_AsVal_long(argv[3], &val4);
11956   if (!SWIG_IsOK(ecode4)) {
11957     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcImageRead", 4, argv[3] ));
11958   } 
11959   arg4 = (long)(val4);
11960   result = (mrcStatusType)mrcImageRead(arg1,arg2,arg3,arg4);
11961   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11962   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11963   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11964   return vresult;
11965 fail:
11966   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11967   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11968   return Qnil;
11969 }
11970
11971
11972 SWIGINTERN VALUE
11973 _wrap_mrcHeaderRead(int argc, VALUE *argv, VALUE self) {
11974   mrcImage *arg1 = (mrcImage *) 0 ;
11975   char *arg2 = (char *) 0 ;
11976   char *arg3 = (char *) 0 ;
11977   long arg4 ;
11978   void *argp1 = 0 ;
11979   int res1 = 0 ;
11980   int res2 ;
11981   char *buf2 = 0 ;
11982   int alloc2 = 0 ;
11983   int res3 ;
11984   char *buf3 = 0 ;
11985   int alloc3 = 0 ;
11986   long val4 ;
11987   int ecode4 = 0 ;
11988   mrcStatusType result;
11989   VALUE vresult = Qnil;
11990   
11991   if ((argc < 4) || (argc > 4)) {
11992     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
11993   }
11994   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
11995   if (!SWIG_IsOK(res1)) {
11996     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcHeaderRead", 1, argv[0] )); 
11997   }
11998   arg1 = (mrcImage *)(argp1);
11999   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
12000   if (!SWIG_IsOK(res2)) {
12001     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcHeaderRead", 2, argv[1] ));
12002   }
12003   arg2 = (char *)(buf2);
12004   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12005   if (!SWIG_IsOK(res3)) {
12006     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcHeaderRead", 3, argv[2] ));
12007   }
12008   arg3 = (char *)(buf3);
12009   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12010   if (!SWIG_IsOK(ecode4)) {
12011     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcHeaderRead", 4, argv[3] ));
12012   } 
12013   arg4 = (long)(val4);
12014   result = (mrcStatusType)mrcHeaderRead(arg1,arg2,arg3,arg4);
12015   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
12016   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12017   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12018   return vresult;
12019 fail:
12020   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12021   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12022   return Qnil;
12023 }
12024
12025
12026 SWIGINTERN VALUE
12027 _wrap_mrcTailerRead(int argc, VALUE *argv, VALUE self) {
12028   mrcImage *arg1 = (mrcImage *) 0 ;
12029   char *arg2 = (char *) 0 ;
12030   char *arg3 = (char *) 0 ;
12031   long arg4 ;
12032   void *argp1 = 0 ;
12033   int res1 = 0 ;
12034   int res2 ;
12035   char *buf2 = 0 ;
12036   int alloc2 = 0 ;
12037   int res3 ;
12038   char *buf3 = 0 ;
12039   int alloc3 = 0 ;
12040   long val4 ;
12041   int ecode4 = 0 ;
12042   mrcStatusType result;
12043   VALUE vresult = Qnil;
12044   
12045   if ((argc < 4) || (argc > 4)) {
12046     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12047   }
12048   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12049   if (!SWIG_IsOK(res1)) {
12050     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcTailerRead", 1, argv[0] )); 
12051   }
12052   arg1 = (mrcImage *)(argp1);
12053   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
12054   if (!SWIG_IsOK(res2)) {
12055     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcTailerRead", 2, argv[1] ));
12056   }
12057   arg2 = (char *)(buf2);
12058   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12059   if (!SWIG_IsOK(res3)) {
12060     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcTailerRead", 3, argv[2] ));
12061   }
12062   arg3 = (char *)(buf3);
12063   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12064   if (!SWIG_IsOK(ecode4)) {
12065     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcTailerRead", 4, argv[3] ));
12066   } 
12067   arg4 = (long)(val4);
12068   result = (mrcStatusType)mrcTailerRead(arg1,arg2,arg3,arg4);
12069   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
12070   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12071   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12072   return vresult;
12073 fail:
12074   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12075   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12076   return Qnil;
12077 }
12078
12079
12080 SWIGINTERN VALUE
12081 _wrap_mrcFileWrite(int argc, VALUE *argv, VALUE self) {
12082   mrcImage *arg1 = (mrcImage *) 0 ;
12083   char *arg2 = (char *) 0 ;
12084   char *arg3 = (char *) 0 ;
12085   long arg4 ;
12086   void *argp1 = 0 ;
12087   int res1 = 0 ;
12088   int res2 ;
12089   char *buf2 = 0 ;
12090   int alloc2 = 0 ;
12091   int res3 ;
12092   char *buf3 = 0 ;
12093   int alloc3 = 0 ;
12094   long val4 ;
12095   int ecode4 = 0 ;
12096   mrcStatusType result;
12097   VALUE vresult = Qnil;
12098   
12099   if ((argc < 4) || (argc > 4)) {
12100     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12101   }
12102   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12103   if (!SWIG_IsOK(res1)) {
12104     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcFileWrite", 1, argv[0] )); 
12105   }
12106   arg1 = (mrcImage *)(argp1);
12107   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
12108   if (!SWIG_IsOK(res2)) {
12109     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcFileWrite", 2, argv[1] ));
12110   }
12111   arg2 = (char *)(buf2);
12112   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12113   if (!SWIG_IsOK(res3)) {
12114     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcFileWrite", 3, argv[2] ));
12115   }
12116   arg3 = (char *)(buf3);
12117   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12118   if (!SWIG_IsOK(ecode4)) {
12119     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcFileWrite", 4, argv[3] ));
12120   } 
12121   arg4 = (long)(val4);
12122   result = (mrcStatusType)mrcFileWrite(arg1,arg2,arg3,arg4);
12123   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
12124   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12125   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12126   return vresult;
12127 fail:
12128   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12129   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12130   return Qnil;
12131 }
12132
12133
12134 SWIGINTERN VALUE
12135 _wrap_mrcImageWrite(int argc, VALUE *argv, VALUE self) {
12136   mrcImage *arg1 = (mrcImage *) 0 ;
12137   char *arg2 = (char *) 0 ;
12138   char *arg3 = (char *) 0 ;
12139   long arg4 ;
12140   void *argp1 = 0 ;
12141   int res1 = 0 ;
12142   int res2 ;
12143   char *buf2 = 0 ;
12144   int alloc2 = 0 ;
12145   int res3 ;
12146   char *buf3 = 0 ;
12147   int alloc3 = 0 ;
12148   long val4 ;
12149   int ecode4 = 0 ;
12150   mrcStatusType result;
12151   VALUE vresult = Qnil;
12152   
12153   if ((argc < 4) || (argc > 4)) {
12154     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12155   }
12156   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12157   if (!SWIG_IsOK(res1)) {
12158     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageWrite", 1, argv[0] )); 
12159   }
12160   arg1 = (mrcImage *)(argp1);
12161   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
12162   if (!SWIG_IsOK(res2)) {
12163     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcImageWrite", 2, argv[1] ));
12164   }
12165   arg2 = (char *)(buf2);
12166   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12167   if (!SWIG_IsOK(res3)) {
12168     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcImageWrite", 3, argv[2] ));
12169   }
12170   arg3 = (char *)(buf3);
12171   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12172   if (!SWIG_IsOK(ecode4)) {
12173     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcImageWrite", 4, argv[3] ));
12174   } 
12175   arg4 = (long)(val4);
12176   result = (mrcStatusType)mrcImageWrite(arg1,arg2,arg3,arg4);
12177   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
12178   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12179   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12180   return vresult;
12181 fail:
12182   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12183   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12184   return Qnil;
12185 }
12186
12187
12188 SWIGINTERN VALUE
12189 _wrap_mrcHeaderWrite(int argc, VALUE *argv, VALUE self) {
12190   mrcImage *arg1 = (mrcImage *) 0 ;
12191   char *arg2 = (char *) 0 ;
12192   char *arg3 = (char *) 0 ;
12193   long arg4 ;
12194   void *argp1 = 0 ;
12195   int res1 = 0 ;
12196   int res2 ;
12197   char *buf2 = 0 ;
12198   int alloc2 = 0 ;
12199   int res3 ;
12200   char *buf3 = 0 ;
12201   int alloc3 = 0 ;
12202   long val4 ;
12203   int ecode4 = 0 ;
12204   mrcStatusType result;
12205   VALUE vresult = Qnil;
12206   
12207   if ((argc < 4) || (argc > 4)) {
12208     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12209   }
12210   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12211   if (!SWIG_IsOK(res1)) {
12212     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcHeaderWrite", 1, argv[0] )); 
12213   }
12214   arg1 = (mrcImage *)(argp1);
12215   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
12216   if (!SWIG_IsOK(res2)) {
12217     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcHeaderWrite", 2, argv[1] ));
12218   }
12219   arg2 = (char *)(buf2);
12220   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12221   if (!SWIG_IsOK(res3)) {
12222     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcHeaderWrite", 3, argv[2] ));
12223   }
12224   arg3 = (char *)(buf3);
12225   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12226   if (!SWIG_IsOK(ecode4)) {
12227     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcHeaderWrite", 4, argv[3] ));
12228   } 
12229   arg4 = (long)(val4);
12230   result = (mrcStatusType)mrcHeaderWrite(arg1,arg2,arg3,arg4);
12231   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
12232   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12233   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12234   return vresult;
12235 fail:
12236   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12237   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12238   return Qnil;
12239 }
12240
12241
12242 SWIGINTERN VALUE
12243 _wrap_mrcTailerWrite(int argc, VALUE *argv, VALUE self) {
12244   mrcImage *arg1 = (mrcImage *) 0 ;
12245   char *arg2 = (char *) 0 ;
12246   char *arg3 = (char *) 0 ;
12247   long arg4 ;
12248   void *argp1 = 0 ;
12249   int res1 = 0 ;
12250   int res2 ;
12251   char *buf2 = 0 ;
12252   int alloc2 = 0 ;
12253   int res3 ;
12254   char *buf3 = 0 ;
12255   int alloc3 = 0 ;
12256   long val4 ;
12257   int ecode4 = 0 ;
12258   mrcStatusType result;
12259   VALUE vresult = Qnil;
12260   
12261   if ((argc < 4) || (argc > 4)) {
12262     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12263   }
12264   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12265   if (!SWIG_IsOK(res1)) {
12266     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcTailerWrite", 1, argv[0] )); 
12267   }
12268   arg1 = (mrcImage *)(argp1);
12269   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
12270   if (!SWIG_IsOK(res2)) {
12271     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcTailerWrite", 2, argv[1] ));
12272   }
12273   arg2 = (char *)(buf2);
12274   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12275   if (!SWIG_IsOK(res3)) {
12276     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcTailerWrite", 3, argv[2] ));
12277   }
12278   arg3 = (char *)(buf3);
12279   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12280   if (!SWIG_IsOK(ecode4)) {
12281     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcTailerWrite", 4, argv[3] ));
12282   } 
12283   arg4 = (long)(val4);
12284   result = (mrcStatusType)mrcTailerWrite(arg1,arg2,arg3,arg4);
12285   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
12286   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12287   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12288   return vresult;
12289 fail:
12290   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12291   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12292   return Qnil;
12293 }
12294
12295
12296 SWIGINTERN VALUE
12297 _wrap_mrcFileWriteLowerResolution(int argc, VALUE *argv, VALUE self) {
12298   mrcImage *arg1 = (mrcImage *) 0 ;
12299   char *arg2 = (char *) 0 ;
12300   char *arg3 = (char *) 0 ;
12301   long arg4 ;
12302   long arg5 ;
12303   void *argp1 = 0 ;
12304   int res1 = 0 ;
12305   int res2 ;
12306   char *buf2 = 0 ;
12307   int alloc2 = 0 ;
12308   int res3 ;
12309   char *buf3 = 0 ;
12310   int alloc3 = 0 ;
12311   long val4 ;
12312   int ecode4 = 0 ;
12313   long val5 ;
12314   int ecode5 = 0 ;
12315   mrcStatusType result;
12316   VALUE vresult = Qnil;
12317   
12318   if ((argc < 5) || (argc > 5)) {
12319     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
12320   }
12321   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12322   if (!SWIG_IsOK(res1)) {
12323     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcFileWriteLowerResolution", 1, argv[0] )); 
12324   }
12325   arg1 = (mrcImage *)(argp1);
12326   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
12327   if (!SWIG_IsOK(res2)) {
12328     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcFileWriteLowerResolution", 2, argv[1] ));
12329   }
12330   arg2 = (char *)(buf2);
12331   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
12332   if (!SWIG_IsOK(res3)) {
12333     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcFileWriteLowerResolution", 3, argv[2] ));
12334   }
12335   arg3 = (char *)(buf3);
12336   ecode4 = SWIG_AsVal_long(argv[3], &val4);
12337   if (!SWIG_IsOK(ecode4)) {
12338     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcFileWriteLowerResolution", 4, argv[3] ));
12339   } 
12340   arg4 = (long)(val4);
12341   ecode5 = SWIG_AsVal_long(argv[4], &val5);
12342   if (!SWIG_IsOK(ecode5)) {
12343     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "long","mrcFileWriteLowerResolution", 5, argv[4] ));
12344   } 
12345   arg5 = (long)(val5);
12346   result = (mrcStatusType)mrcFileWriteLowerResolution(arg1,arg2,arg3,arg4,arg5);
12347   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
12348   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12349   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12350   return vresult;
12351 fail:
12352   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12353   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12354   return Qnil;
12355 }
12356
12357
12358 SWIGINTERN VALUE
12359 _wrap_mrcImageDataGetbyAU(int argc, VALUE *argv, VALUE self) {
12360   mrcImage *arg1 = (mrcImage *) 0 ;
12361   mrcImageParaTypeReal arg2 ;
12362   mrcImageParaTypeReal arg3 ;
12363   mrcImageParaTypeReal arg4 ;
12364   double *arg5 = (double *) 0 ;
12365   mrcPixelDataType arg6 ;
12366   mrcPixelDataHowToGet arg7 ;
12367   void *argp1 = 0 ;
12368   int res1 = 0 ;
12369   float val2 ;
12370   int ecode2 = 0 ;
12371   float val3 ;
12372   int ecode3 = 0 ;
12373   float val4 ;
12374   int ecode4 = 0 ;
12375   void *argp5 = 0 ;
12376   int res5 = 0 ;
12377   int val6 ;
12378   int ecode6 = 0 ;
12379   int val7 ;
12380   int ecode7 = 0 ;
12381   double result;
12382   VALUE vresult = Qnil;
12383   
12384   if ((argc < 7) || (argc > 7)) {
12385     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
12386   }
12387   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12388   if (!SWIG_IsOK(res1)) {
12389     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageDataGetbyAU", 1, argv[0] )); 
12390   }
12391   arg1 = (mrcImage *)(argp1);
12392   ecode2 = SWIG_AsVal_float(argv[1], &val2);
12393   if (!SWIG_IsOK(ecode2)) {
12394     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataGetbyAU", 2, argv[1] ));
12395   } 
12396   arg2 = (mrcImageParaTypeReal)(val2);
12397   ecode3 = SWIG_AsVal_float(argv[2], &val3);
12398   if (!SWIG_IsOK(ecode3)) {
12399     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataGetbyAU", 3, argv[2] ));
12400   } 
12401   arg3 = (mrcImageParaTypeReal)(val3);
12402   ecode4 = SWIG_AsVal_float(argv[3], &val4);
12403   if (!SWIG_IsOK(ecode4)) {
12404     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataGetbyAU", 4, argv[3] ));
12405   } 
12406   arg4 = (mrcImageParaTypeReal)(val4);
12407   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_double, 0 |  0 );
12408   if (!SWIG_IsOK(res5)) {
12409     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "double *","mrcImageDataGetbyAU", 5, argv[4] )); 
12410   }
12411   arg5 = (double *)(argp5);
12412   ecode6 = SWIG_AsVal_int(argv[5], &val6);
12413   if (!SWIG_IsOK(ecode6)) {
12414     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "mrcPixelDataType","mrcImageDataGetbyAU", 6, argv[5] ));
12415   } 
12416   arg6 = (mrcPixelDataType)(val6);
12417   ecode7 = SWIG_AsVal_int(argv[6], &val7);
12418   if (!SWIG_IsOK(ecode7)) {
12419     SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "mrcPixelDataHowToGet","mrcImageDataGetbyAU", 7, argv[6] ));
12420   } 
12421   arg7 = (mrcPixelDataHowToGet)(val7);
12422   result = (double)mrcImageDataGetbyAU(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
12423   vresult = SWIG_From_double((double)(result));
12424   return vresult;
12425 fail:
12426   return Qnil;
12427 }
12428
12429
12430 SWIGINTERN VALUE
12431 _wrap_mrcPixelDataGet(int argc, VALUE *argv, VALUE self) {
12432   mrcImage *arg1 = (mrcImage *) 0 ;
12433   mrcImageParaTypeReal arg2 ;
12434   mrcImageParaTypeReal arg3 ;
12435   mrcImageParaTypeReal arg4 ;
12436   double *arg5 = (double *) 0 ;
12437   mrcPixelDataType arg6 ;
12438   mrcPixelDataHowToGet arg7 ;
12439   void *argp1 = 0 ;
12440   int res1 = 0 ;
12441   float val2 ;
12442   int ecode2 = 0 ;
12443   float val3 ;
12444   int ecode3 = 0 ;
12445   float val4 ;
12446   int ecode4 = 0 ;
12447   void *argp5 = 0 ;
12448   int res5 = 0 ;
12449   int val6 ;
12450   int ecode6 = 0 ;
12451   int val7 ;
12452   int ecode7 = 0 ;
12453   double result;
12454   VALUE vresult = Qnil;
12455   
12456   if ((argc < 7) || (argc > 7)) {
12457     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
12458   }
12459   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12460   if (!SWIG_IsOK(res1)) {
12461     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcPixelDataGet", 1, argv[0] )); 
12462   }
12463   arg1 = (mrcImage *)(argp1);
12464   ecode2 = SWIG_AsVal_float(argv[1], &val2);
12465   if (!SWIG_IsOK(ecode2)) {
12466     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcPixelDataGet", 2, argv[1] ));
12467   } 
12468   arg2 = (mrcImageParaTypeReal)(val2);
12469   ecode3 = SWIG_AsVal_float(argv[2], &val3);
12470   if (!SWIG_IsOK(ecode3)) {
12471     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcPixelDataGet", 3, argv[2] ));
12472   } 
12473   arg3 = (mrcImageParaTypeReal)(val3);
12474   ecode4 = SWIG_AsVal_float(argv[3], &val4);
12475   if (!SWIG_IsOK(ecode4)) {
12476     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcPixelDataGet", 4, argv[3] ));
12477   } 
12478   arg4 = (mrcImageParaTypeReal)(val4);
12479   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_double, 0 |  0 );
12480   if (!SWIG_IsOK(res5)) {
12481     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "double *","mrcPixelDataGet", 5, argv[4] )); 
12482   }
12483   arg5 = (double *)(argp5);
12484   ecode6 = SWIG_AsVal_int(argv[5], &val6);
12485   if (!SWIG_IsOK(ecode6)) {
12486     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "mrcPixelDataType","mrcPixelDataGet", 6, argv[5] ));
12487   } 
12488   arg6 = (mrcPixelDataType)(val6);
12489   ecode7 = SWIG_AsVal_int(argv[6], &val7);
12490   if (!SWIG_IsOK(ecode7)) {
12491     SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "mrcPixelDataHowToGet","mrcPixelDataGet", 7, argv[6] ));
12492   } 
12493   arg7 = (mrcPixelDataHowToGet)(val7);
12494   result = (double)mrcPixelDataGet(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
12495   vresult = SWIG_From_double((double)(result));
12496   return vresult;
12497 fail:
12498   return Qnil;
12499 }
12500
12501
12502 SWIGINTERN VALUE
12503 _wrap_mrcPixelDataGetFloatImage(int argc, VALUE *argv, VALUE self) {
12504   mrcImage *arg1 = (mrcImage *) 0 ;
12505   mrcImageParaTypeInteger arg2 ;
12506   mrcImageParaTypeInteger arg3 ;
12507   mrcImageParaTypeInteger arg4 ;
12508   void *argp1 = 0 ;
12509   int res1 = 0 ;
12510   int val2 ;
12511   int ecode2 = 0 ;
12512   int val3 ;
12513   int ecode3 = 0 ;
12514   int val4 ;
12515   int ecode4 = 0 ;
12516   double result;
12517   VALUE vresult = Qnil;
12518   
12519   if ((argc < 4) || (argc > 4)) {
12520     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12521   }
12522   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12523   if (!SWIG_IsOK(res1)) {
12524     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcPixelDataGetFloatImage", 1, argv[0] )); 
12525   }
12526   arg1 = (mrcImage *)(argp1);
12527   ecode2 = SWIG_AsVal_int(argv[1], &val2);
12528   if (!SWIG_IsOK(ecode2)) {
12529     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatImage", 2, argv[1] ));
12530   } 
12531   arg2 = (mrcImageParaTypeInteger)(val2);
12532   ecode3 = SWIG_AsVal_int(argv[2], &val3);
12533   if (!SWIG_IsOK(ecode3)) {
12534     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatImage", 3, argv[2] ));
12535   } 
12536   arg3 = (mrcImageParaTypeInteger)(val3);
12537   ecode4 = SWIG_AsVal_int(argv[3], &val4);
12538   if (!SWIG_IsOK(ecode4)) {
12539     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatImage", 4, argv[3] ));
12540   } 
12541   arg4 = (mrcImageParaTypeInteger)(val4);
12542   result = (double)mrcPixelDataGetFloatImage(arg1,arg2,arg3,arg4);
12543   vresult = SWIG_From_double((double)(result));
12544   return vresult;
12545 fail:
12546   return Qnil;
12547 }
12548
12549
12550 SWIGINTERN VALUE
12551 _wrap_mrcPixelDataGetFloatFTRe(int argc, VALUE *argv, VALUE self) {
12552   mrcImage *arg1 = (mrcImage *) 0 ;
12553   mrcImageParaTypeInteger arg2 ;
12554   mrcImageParaTypeInteger arg3 ;
12555   mrcImageParaTypeInteger arg4 ;
12556   void *argp1 = 0 ;
12557   int res1 = 0 ;
12558   int val2 ;
12559   int ecode2 = 0 ;
12560   int val3 ;
12561   int ecode3 = 0 ;
12562   int val4 ;
12563   int ecode4 = 0 ;
12564   double result;
12565   VALUE vresult = Qnil;
12566   
12567   if ((argc < 4) || (argc > 4)) {
12568     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12569   }
12570   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12571   if (!SWIG_IsOK(res1)) {
12572     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcPixelDataGetFloatFTRe", 1, argv[0] )); 
12573   }
12574   arg1 = (mrcImage *)(argp1);
12575   ecode2 = SWIG_AsVal_int(argv[1], &val2);
12576   if (!SWIG_IsOK(ecode2)) {
12577     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatFTRe", 2, argv[1] ));
12578   } 
12579   arg2 = (mrcImageParaTypeInteger)(val2);
12580   ecode3 = SWIG_AsVal_int(argv[2], &val3);
12581   if (!SWIG_IsOK(ecode3)) {
12582     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatFTRe", 3, argv[2] ));
12583   } 
12584   arg3 = (mrcImageParaTypeInteger)(val3);
12585   ecode4 = SWIG_AsVal_int(argv[3], &val4);
12586   if (!SWIG_IsOK(ecode4)) {
12587     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatFTRe", 4, argv[3] ));
12588   } 
12589   arg4 = (mrcImageParaTypeInteger)(val4);
12590   result = (double)mrcPixelDataGetFloatFTRe(arg1,arg2,arg3,arg4);
12591   vresult = SWIG_From_double((double)(result));
12592   return vresult;
12593 fail:
12594   return Qnil;
12595 }
12596
12597
12598 SWIGINTERN VALUE
12599 _wrap_mrcPixelDataGetFloatFTIm(int argc, VALUE *argv, VALUE self) {
12600   mrcImage *arg1 = (mrcImage *) 0 ;
12601   mrcImageParaTypeInteger arg2 ;
12602   mrcImageParaTypeInteger arg3 ;
12603   mrcImageParaTypeInteger arg4 ;
12604   void *argp1 = 0 ;
12605   int res1 = 0 ;
12606   int val2 ;
12607   int ecode2 = 0 ;
12608   int val3 ;
12609   int ecode3 = 0 ;
12610   int val4 ;
12611   int ecode4 = 0 ;
12612   double result;
12613   VALUE vresult = Qnil;
12614   
12615   if ((argc < 4) || (argc > 4)) {
12616     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12617   }
12618   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12619   if (!SWIG_IsOK(res1)) {
12620     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcPixelDataGetFloatFTIm", 1, argv[0] )); 
12621   }
12622   arg1 = (mrcImage *)(argp1);
12623   ecode2 = SWIG_AsVal_int(argv[1], &val2);
12624   if (!SWIG_IsOK(ecode2)) {
12625     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatFTIm", 2, argv[1] ));
12626   } 
12627   arg2 = (mrcImageParaTypeInteger)(val2);
12628   ecode3 = SWIG_AsVal_int(argv[2], &val3);
12629   if (!SWIG_IsOK(ecode3)) {
12630     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatFTIm", 3, argv[2] ));
12631   } 
12632   arg3 = (mrcImageParaTypeInteger)(val3);
12633   ecode4 = SWIG_AsVal_int(argv[3], &val4);
12634   if (!SWIG_IsOK(ecode4)) {
12635     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataGetFloatFTIm", 4, argv[3] ));
12636   } 
12637   arg4 = (mrcImageParaTypeInteger)(val4);
12638   result = (double)mrcPixelDataGetFloatFTIm(arg1,arg2,arg3,arg4);
12639   vresult = SWIG_From_double((double)(result));
12640   return vresult;
12641 fail:
12642   return Qnil;
12643 }
12644
12645
12646 SWIGINTERN VALUE
12647 _wrap_mrcInfoSet(int argc, VALUE *argv, VALUE self) {
12648   mrcImage *arg1 = (mrcImage *) 0 ;
12649   FILE *arg2 = (FILE *) 0 ;
12650   FILE *arg3 = (FILE *) 0 ;
12651   mrcImageParaTypeInteger arg4 ;
12652   void *argp1 = 0 ;
12653   int res1 = 0 ;
12654   void *argp2 = 0 ;
12655   int res2 = 0 ;
12656   void *argp3 = 0 ;
12657   int res3 = 0 ;
12658   int val4 ;
12659   int ecode4 = 0 ;
12660   
12661   if ((argc < 4) || (argc > 4)) {
12662     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
12663   }
12664   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12665   if (!SWIG_IsOK(res1)) {
12666     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcInfoSet", 1, argv[0] )); 
12667   }
12668   arg1 = (mrcImage *)(argp1);
12669   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FILE, 0 |  0 );
12670   if (!SWIG_IsOK(res2)) {
12671     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","mrcInfoSet", 2, argv[1] )); 
12672   }
12673   arg2 = (FILE *)(argp2);
12674   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FILE, 0 |  0 );
12675   if (!SWIG_IsOK(res3)) {
12676     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FILE *","mrcInfoSet", 3, argv[2] )); 
12677   }
12678   arg3 = (FILE *)(argp3);
12679   ecode4 = SWIG_AsVal_int(argv[3], &val4);
12680   if (!SWIG_IsOK(ecode4)) {
12681     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcInfoSet", 4, argv[3] ));
12682   } 
12683   arg4 = (mrcImageParaTypeInteger)(val4);
12684   mrcInfoSet(arg1,arg2,arg3,arg4);
12685   return Qnil;
12686 fail:
12687   return Qnil;
12688 }
12689
12690
12691 SWIGINTERN VALUE
12692 _wrap_mrcImageDataSet(int argc, VALUE *argv, VALUE self) {
12693   mrcImage *arg1 = (mrcImage *) 0 ;
12694   mrcImage *arg2 = (mrcImage *) 0 ;
12695   mrcImageParaTypeReal arg3 ;
12696   mrcImageParaTypeReal arg4 ;
12697   mrcImageParaTypeReal arg5 ;
12698   float arg6 ;
12699   mrcImageDataSetMode arg7 ;
12700   void *argp1 = 0 ;
12701   int res1 = 0 ;
12702   void *argp2 = 0 ;
12703   int res2 = 0 ;
12704   float val3 ;
12705   int ecode3 = 0 ;
12706   float val4 ;
12707   int ecode4 = 0 ;
12708   float val5 ;
12709   int ecode5 = 0 ;
12710   float val6 ;
12711   int ecode6 = 0 ;
12712   int val7 ;
12713   int ecode7 = 0 ;
12714   
12715   if ((argc < 7) || (argc > 7)) {
12716     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
12717   }
12718   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12719   if (!SWIG_IsOK(res1)) {
12720     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageDataSet", 1, argv[0] )); 
12721   }
12722   arg1 = (mrcImage *)(argp1);
12723   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
12724   if (!SWIG_IsOK(res2)) {
12725     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","mrcImageDataSet", 2, argv[1] )); 
12726   }
12727   arg2 = (mrcImage *)(argp2);
12728   ecode3 = SWIG_AsVal_float(argv[2], &val3);
12729   if (!SWIG_IsOK(ecode3)) {
12730     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataSet", 3, argv[2] ));
12731   } 
12732   arg3 = (mrcImageParaTypeReal)(val3);
12733   ecode4 = SWIG_AsVal_float(argv[3], &val4);
12734   if (!SWIG_IsOK(ecode4)) {
12735     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataSet", 4, argv[3] ));
12736   } 
12737   arg4 = (mrcImageParaTypeReal)(val4);
12738   ecode5 = SWIG_AsVal_float(argv[4], &val5);
12739   if (!SWIG_IsOK(ecode5)) {
12740     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataSet", 5, argv[4] ));
12741   } 
12742   arg5 = (mrcImageParaTypeReal)(val5);
12743   ecode6 = SWIG_AsVal_float(argv[5], &val6);
12744   if (!SWIG_IsOK(ecode6)) {
12745     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "float","mrcImageDataSet", 6, argv[5] ));
12746   } 
12747   arg6 = (float)(val6);
12748   ecode7 = SWIG_AsVal_int(argv[6], &val7);
12749   if (!SWIG_IsOK(ecode7)) {
12750     SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "mrcImageDataSetMode","mrcImageDataSet", 7, argv[6] ));
12751   } 
12752   arg7 = (mrcImageDataSetMode)(val7);
12753   mrcImageDataSet(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
12754   return Qnil;
12755 fail:
12756   return Qnil;
12757 }
12758
12759
12760 SWIGINTERN VALUE
12761 _wrap_mrcImageDataSetbyAU(int argc, VALUE *argv, VALUE self) {
12762   mrcImage *arg1 = (mrcImage *) 0 ;
12763   mrcImageParaTypeReal arg2 ;
12764   mrcImageParaTypeReal arg3 ;
12765   mrcImageParaTypeReal arg4 ;
12766   double arg5 ;
12767   mrcPixelDataType arg6 ;
12768   void *argp1 = 0 ;
12769   int res1 = 0 ;
12770   float val2 ;
12771   int ecode2 = 0 ;
12772   float val3 ;
12773   int ecode3 = 0 ;
12774   float val4 ;
12775   int ecode4 = 0 ;
12776   double val5 ;
12777   int ecode5 = 0 ;
12778   int val6 ;
12779   int ecode6 = 0 ;
12780   double result;
12781   VALUE vresult = Qnil;
12782   
12783   if ((argc < 6) || (argc > 6)) {
12784     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
12785   }
12786   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12787   if (!SWIG_IsOK(res1)) {
12788     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageDataSetbyAU", 1, argv[0] )); 
12789   }
12790   arg1 = (mrcImage *)(argp1);
12791   ecode2 = SWIG_AsVal_float(argv[1], &val2);
12792   if (!SWIG_IsOK(ecode2)) {
12793     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataSetbyAU", 2, argv[1] ));
12794   } 
12795   arg2 = (mrcImageParaTypeReal)(val2);
12796   ecode3 = SWIG_AsVal_float(argv[2], &val3);
12797   if (!SWIG_IsOK(ecode3)) {
12798     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataSetbyAU", 3, argv[2] ));
12799   } 
12800   arg3 = (mrcImageParaTypeReal)(val3);
12801   ecode4 = SWIG_AsVal_float(argv[3], &val4);
12802   if (!SWIG_IsOK(ecode4)) {
12803     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageDataSetbyAU", 4, argv[3] ));
12804   } 
12805   arg4 = (mrcImageParaTypeReal)(val4);
12806   ecode5 = SWIG_AsVal_double(argv[4], &val5);
12807   if (!SWIG_IsOK(ecode5)) {
12808     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "double","mrcImageDataSetbyAU", 5, argv[4] ));
12809   } 
12810   arg5 = (double)(val5);
12811   ecode6 = SWIG_AsVal_int(argv[5], &val6);
12812   if (!SWIG_IsOK(ecode6)) {
12813     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "mrcPixelDataType","mrcImageDataSetbyAU", 6, argv[5] ));
12814   } 
12815   arg6 = (mrcPixelDataType)(val6);
12816   result = (double)mrcImageDataSetbyAU(arg1,arg2,arg3,arg4,arg5,arg6);
12817   vresult = SWIG_From_double((double)(result));
12818   return vresult;
12819 fail:
12820   return Qnil;
12821 }
12822
12823
12824 SWIGINTERN VALUE
12825 _wrap_mrcPixelDataSet(int argc, VALUE *argv, VALUE self) {
12826   mrcImage *arg1 = (mrcImage *) 0 ;
12827   mrcImageParaTypeReal arg2 ;
12828   mrcImageParaTypeReal arg3 ;
12829   mrcImageParaTypeReal arg4 ;
12830   double arg5 ;
12831   mrcPixelDataType arg6 ;
12832   void *argp1 = 0 ;
12833   int res1 = 0 ;
12834   float val2 ;
12835   int ecode2 = 0 ;
12836   float val3 ;
12837   int ecode3 = 0 ;
12838   float val4 ;
12839   int ecode4 = 0 ;
12840   double val5 ;
12841   int ecode5 = 0 ;
12842   int val6 ;
12843   int ecode6 = 0 ;
12844   double result;
12845   VALUE vresult = Qnil;
12846   
12847   if ((argc < 6) || (argc > 6)) {
12848     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
12849   }
12850   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12851   if (!SWIG_IsOK(res1)) {
12852     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcPixelDataSet", 1, argv[0] )); 
12853   }
12854   arg1 = (mrcImage *)(argp1);
12855   ecode2 = SWIG_AsVal_float(argv[1], &val2);
12856   if (!SWIG_IsOK(ecode2)) {
12857     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcPixelDataSet", 2, argv[1] ));
12858   } 
12859   arg2 = (mrcImageParaTypeReal)(val2);
12860   ecode3 = SWIG_AsVal_float(argv[2], &val3);
12861   if (!SWIG_IsOK(ecode3)) {
12862     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcPixelDataSet", 3, argv[2] ));
12863   } 
12864   arg3 = (mrcImageParaTypeReal)(val3);
12865   ecode4 = SWIG_AsVal_float(argv[3], &val4);
12866   if (!SWIG_IsOK(ecode4)) {
12867     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcPixelDataSet", 4, argv[3] ));
12868   } 
12869   arg4 = (mrcImageParaTypeReal)(val4);
12870   ecode5 = SWIG_AsVal_double(argv[4], &val5);
12871   if (!SWIG_IsOK(ecode5)) {
12872     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "double","mrcPixelDataSet", 5, argv[4] ));
12873   } 
12874   arg5 = (double)(val5);
12875   ecode6 = SWIG_AsVal_int(argv[5], &val6);
12876   if (!SWIG_IsOK(ecode6)) {
12877     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "mrcPixelDataType","mrcPixelDataSet", 6, argv[5] ));
12878   } 
12879   arg6 = (mrcPixelDataType)(val6);
12880   result = (double)mrcPixelDataSet(arg1,arg2,arg3,arg4,arg5,arg6);
12881   vresult = SWIG_From_double((double)(result));
12882   return vresult;
12883 fail:
12884   return Qnil;
12885 }
12886
12887
12888 SWIGINTERN VALUE
12889 _wrap_mrcPixelDataSetFloatImage(int argc, VALUE *argv, VALUE self) {
12890   mrcImage *arg1 = (mrcImage *) 0 ;
12891   mrcImageParaTypeInteger arg2 ;
12892   mrcImageParaTypeInteger arg3 ;
12893   mrcImageParaTypeInteger arg4 ;
12894   double arg5 ;
12895   void *argp1 = 0 ;
12896   int res1 = 0 ;
12897   int val2 ;
12898   int ecode2 = 0 ;
12899   int val3 ;
12900   int ecode3 = 0 ;
12901   int val4 ;
12902   int ecode4 = 0 ;
12903   double val5 ;
12904   int ecode5 = 0 ;
12905   
12906   if ((argc < 5) || (argc > 5)) {
12907     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
12908   }
12909   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12910   if (!SWIG_IsOK(res1)) {
12911     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcPixelDataSetFloatImage", 1, argv[0] )); 
12912   }
12913   arg1 = (mrcImage *)(argp1);
12914   ecode2 = SWIG_AsVal_int(argv[1], &val2);
12915   if (!SWIG_IsOK(ecode2)) {
12916     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatImage", 2, argv[1] ));
12917   } 
12918   arg2 = (mrcImageParaTypeInteger)(val2);
12919   ecode3 = SWIG_AsVal_int(argv[2], &val3);
12920   if (!SWIG_IsOK(ecode3)) {
12921     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatImage", 3, argv[2] ));
12922   } 
12923   arg3 = (mrcImageParaTypeInteger)(val3);
12924   ecode4 = SWIG_AsVal_int(argv[3], &val4);
12925   if (!SWIG_IsOK(ecode4)) {
12926     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatImage", 4, argv[3] ));
12927   } 
12928   arg4 = (mrcImageParaTypeInteger)(val4);
12929   ecode5 = SWIG_AsVal_double(argv[4], &val5);
12930   if (!SWIG_IsOK(ecode5)) {
12931     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "double","mrcPixelDataSetFloatImage", 5, argv[4] ));
12932   } 
12933   arg5 = (double)(val5);
12934   mrcPixelDataSetFloatImage(arg1,arg2,arg3,arg4,arg5);
12935   return Qnil;
12936 fail:
12937   return Qnil;
12938 }
12939
12940
12941 SWIGINTERN VALUE
12942 _wrap_mrcPixelDataSetFloatFTRe(int argc, VALUE *argv, VALUE self) {
12943   mrcImage *arg1 = (mrcImage *) 0 ;
12944   mrcImageParaTypeInteger arg2 ;
12945   mrcImageParaTypeInteger arg3 ;
12946   mrcImageParaTypeInteger arg4 ;
12947   double arg5 ;
12948   void *argp1 = 0 ;
12949   int res1 = 0 ;
12950   int val2 ;
12951   int ecode2 = 0 ;
12952   int val3 ;
12953   int ecode3 = 0 ;
12954   int val4 ;
12955   int ecode4 = 0 ;
12956   double val5 ;
12957   int ecode5 = 0 ;
12958   
12959   if ((argc < 5) || (argc > 5)) {
12960     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
12961   }
12962   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
12963   if (!SWIG_IsOK(res1)) {
12964     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcPixelDataSetFloatFTRe", 1, argv[0] )); 
12965   }
12966   arg1 = (mrcImage *)(argp1);
12967   ecode2 = SWIG_AsVal_int(argv[1], &val2);
12968   if (!SWIG_IsOK(ecode2)) {
12969     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatFTRe", 2, argv[1] ));
12970   } 
12971   arg2 = (mrcImageParaTypeInteger)(val2);
12972   ecode3 = SWIG_AsVal_int(argv[2], &val3);
12973   if (!SWIG_IsOK(ecode3)) {
12974     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatFTRe", 3, argv[2] ));
12975   } 
12976   arg3 = (mrcImageParaTypeInteger)(val3);
12977   ecode4 = SWIG_AsVal_int(argv[3], &val4);
12978   if (!SWIG_IsOK(ecode4)) {
12979     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatFTRe", 4, argv[3] ));
12980   } 
12981   arg4 = (mrcImageParaTypeInteger)(val4);
12982   ecode5 = SWIG_AsVal_double(argv[4], &val5);
12983   if (!SWIG_IsOK(ecode5)) {
12984     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "double","mrcPixelDataSetFloatFTRe", 5, argv[4] ));
12985   } 
12986   arg5 = (double)(val5);
12987   mrcPixelDataSetFloatFTRe(arg1,arg2,arg3,arg4,arg5);
12988   return Qnil;
12989 fail:
12990   return Qnil;
12991 }
12992
12993
12994 SWIGINTERN VALUE
12995 _wrap_mrcPixelDataSetFloatFTIm(int argc, VALUE *argv, VALUE self) {
12996   mrcImage *arg1 = (mrcImage *) 0 ;
12997   mrcImageParaTypeInteger arg2 ;
12998   mrcImageParaTypeInteger arg3 ;
12999   mrcImageParaTypeInteger arg4 ;
13000   double arg5 ;
13001   void *argp1 = 0 ;
13002   int res1 = 0 ;
13003   int val2 ;
13004   int ecode2 = 0 ;
13005   int val3 ;
13006   int ecode3 = 0 ;
13007   int val4 ;
13008   int ecode4 = 0 ;
13009   double val5 ;
13010   int ecode5 = 0 ;
13011   
13012   if ((argc < 5) || (argc > 5)) {
13013     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
13014   }
13015   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13016   if (!SWIG_IsOK(res1)) {
13017     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcPixelDataSetFloatFTIm", 1, argv[0] )); 
13018   }
13019   arg1 = (mrcImage *)(argp1);
13020   ecode2 = SWIG_AsVal_int(argv[1], &val2);
13021   if (!SWIG_IsOK(ecode2)) {
13022     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatFTIm", 2, argv[1] ));
13023   } 
13024   arg2 = (mrcImageParaTypeInteger)(val2);
13025   ecode3 = SWIG_AsVal_int(argv[2], &val3);
13026   if (!SWIG_IsOK(ecode3)) {
13027     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatFTIm", 3, argv[2] ));
13028   } 
13029   arg3 = (mrcImageParaTypeInteger)(val3);
13030   ecode4 = SWIG_AsVal_int(argv[3], &val4);
13031   if (!SWIG_IsOK(ecode4)) {
13032     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcPixelDataSetFloatFTIm", 4, argv[3] ));
13033   } 
13034   arg4 = (mrcImageParaTypeInteger)(val4);
13035   ecode5 = SWIG_AsVal_double(argv[4], &val5);
13036   if (!SWIG_IsOK(ecode5)) {
13037     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "double","mrcPixelDataSetFloatFTIm", 5, argv[4] ));
13038   } 
13039   arg5 = (double)(val5);
13040   mrcPixelDataSetFloatFTIm(arg1,arg2,arg3,arg4,arg5);
13041   return Qnil;
13042 fail:
13043   return Qnil;
13044 }
13045
13046
13047 SWIGINTERN VALUE
13048 _wrap_mrcStatDataSet(int argc, VALUE *argv, VALUE self) {
13049   mrcImage *arg1 = (mrcImage *) 0 ;
13050   mrcImageParaTypeInteger arg2 ;
13051   void *argp1 = 0 ;
13052   int res1 = 0 ;
13053   int val2 ;
13054   int ecode2 = 0 ;
13055   
13056   if ((argc < 2) || (argc > 2)) {
13057     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13058   }
13059   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13060   if (!SWIG_IsOK(res1)) {
13061     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcStatDataSet", 1, argv[0] )); 
13062   }
13063   arg1 = (mrcImage *)(argp1);
13064   ecode2 = SWIG_AsVal_int(argv[1], &val2);
13065   if (!SWIG_IsOK(ecode2)) {
13066     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcStatDataSet", 2, argv[1] ));
13067   } 
13068   arg2 = (mrcImageParaTypeInteger)(val2);
13069   mrcStatDataSet(arg1,arg2);
13070   return Qnil;
13071 fail:
13072   return Qnil;
13073 }
13074
13075
13076 SWIGINTERN VALUE
13077 _wrap_lmrcImageXSection(int argc, VALUE *argv, VALUE self) {
13078   mrcImage *arg1 = (mrcImage *) 0 ;
13079   mrcImage *arg2 = (mrcImage *) 0 ;
13080   double arg3 ;
13081   void *argp1 = 0 ;
13082   int res1 = 0 ;
13083   void *argp2 = 0 ;
13084   int res2 = 0 ;
13085   double val3 ;
13086   int ecode3 = 0 ;
13087   
13088   if ((argc < 3) || (argc > 3)) {
13089     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13090   }
13091   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13092   if (!SWIG_IsOK(res1)) {
13093     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageXSection", 1, argv[0] )); 
13094   }
13095   arg1 = (mrcImage *)(argp1);
13096   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13097   if (!SWIG_IsOK(res2)) {
13098     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageXSection", 2, argv[1] )); 
13099   }
13100   arg2 = (mrcImage *)(argp2);
13101   ecode3 = SWIG_AsVal_double(argv[2], &val3);
13102   if (!SWIG_IsOK(ecode3)) {
13103     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","lmrcImageXSection", 3, argv[2] ));
13104   } 
13105   arg3 = (double)(val3);
13106   lmrcImageXSection(arg1,arg2,arg3);
13107   return Qnil;
13108 fail:
13109   return Qnil;
13110 }
13111
13112
13113 SWIGINTERN VALUE
13114 _wrap_lmrcImageYSection(int argc, VALUE *argv, VALUE self) {
13115   mrcImage *arg1 = (mrcImage *) 0 ;
13116   mrcImage *arg2 = (mrcImage *) 0 ;
13117   double arg3 ;
13118   void *argp1 = 0 ;
13119   int res1 = 0 ;
13120   void *argp2 = 0 ;
13121   int res2 = 0 ;
13122   double val3 ;
13123   int ecode3 = 0 ;
13124   
13125   if ((argc < 3) || (argc > 3)) {
13126     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13127   }
13128   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13129   if (!SWIG_IsOK(res1)) {
13130     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageYSection", 1, argv[0] )); 
13131   }
13132   arg1 = (mrcImage *)(argp1);
13133   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13134   if (!SWIG_IsOK(res2)) {
13135     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageYSection", 2, argv[1] )); 
13136   }
13137   arg2 = (mrcImage *)(argp2);
13138   ecode3 = SWIG_AsVal_double(argv[2], &val3);
13139   if (!SWIG_IsOK(ecode3)) {
13140     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","lmrcImageYSection", 3, argv[2] ));
13141   } 
13142   arg3 = (double)(val3);
13143   lmrcImageYSection(arg1,arg2,arg3);
13144   return Qnil;
13145 fail:
13146   return Qnil;
13147 }
13148
13149
13150 SWIGINTERN VALUE
13151 _wrap_lmrcImageXProjection(int argc, VALUE *argv, VALUE self) {
13152   mrcImage *arg1 = (mrcImage *) 0 ;
13153   mrcImage *arg2 = (mrcImage *) 0 ;
13154   void *argp1 = 0 ;
13155   int res1 = 0 ;
13156   void *argp2 = 0 ;
13157   int res2 = 0 ;
13158   
13159   if ((argc < 2) || (argc > 2)) {
13160     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13161   }
13162   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13163   if (!SWIG_IsOK(res1)) {
13164     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageXProjection", 1, argv[0] )); 
13165   }
13166   arg1 = (mrcImage *)(argp1);
13167   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13168   if (!SWIG_IsOK(res2)) {
13169     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageXProjection", 2, argv[1] )); 
13170   }
13171   arg2 = (mrcImage *)(argp2);
13172   lmrcImageXProjection(arg1,arg2);
13173   return Qnil;
13174 fail:
13175   return Qnil;
13176 }
13177
13178
13179 SWIGINTERN VALUE
13180 _wrap_lmrcImageYProjection(int argc, VALUE *argv, VALUE self) {
13181   mrcImage *arg1 = (mrcImage *) 0 ;
13182   mrcImage *arg2 = (mrcImage *) 0 ;
13183   void *argp1 = 0 ;
13184   int res1 = 0 ;
13185   void *argp2 = 0 ;
13186   int res2 = 0 ;
13187   
13188   if ((argc < 2) || (argc > 2)) {
13189     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13190   }
13191   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13192   if (!SWIG_IsOK(res1)) {
13193     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageYProjection", 1, argv[0] )); 
13194   }
13195   arg1 = (mrcImage *)(argp1);
13196   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13197   if (!SWIG_IsOK(res2)) {
13198     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageYProjection", 2, argv[1] )); 
13199   }
13200   arg2 = (mrcImage *)(argp2);
13201   lmrcImageYProjection(arg1,arg2);
13202   return Qnil;
13203 fail:
13204   return Qnil;
13205 }
13206
13207
13208 SWIGINTERN VALUE
13209 _wrap_lmrcImageZProjection(int argc, VALUE *argv, VALUE self) {
13210   mrcImage *arg1 = (mrcImage *) 0 ;
13211   mrcImage *arg2 = (mrcImage *) 0 ;
13212   void *argp1 = 0 ;
13213   int res1 = 0 ;
13214   void *argp2 = 0 ;
13215   int res2 = 0 ;
13216   
13217   if ((argc < 2) || (argc > 2)) {
13218     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13219   }
13220   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13221   if (!SWIG_IsOK(res1)) {
13222     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageZProjection", 1, argv[0] )); 
13223   }
13224   arg1 = (mrcImage *)(argp1);
13225   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13226   if (!SWIG_IsOK(res2)) {
13227     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageZProjection", 2, argv[1] )); 
13228   }
13229   arg2 = (mrcImage *)(argp2);
13230   lmrcImageZProjection(arg1,arg2);
13231   return Qnil;
13232 fail:
13233   return Qnil;
13234 }
13235
13236
13237 SWIGINTERN VALUE
13238 _wrap_lmrcImageXYProjection(int argc, VALUE *argv, VALUE self) {
13239   mrcImage *arg1 = (mrcImage *) 0 ;
13240   mrcImage *arg2 = (mrcImage *) 0 ;
13241   void *argp1 = 0 ;
13242   int res1 = 0 ;
13243   void *argp2 = 0 ;
13244   int res2 = 0 ;
13245   
13246   if ((argc < 2) || (argc > 2)) {
13247     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13248   }
13249   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13250   if (!SWIG_IsOK(res1)) {
13251     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageXYProjection", 1, argv[0] )); 
13252   }
13253   arg1 = (mrcImage *)(argp1);
13254   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13255   if (!SWIG_IsOK(res2)) {
13256     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageXYProjection", 2, argv[1] )); 
13257   }
13258   arg2 = (mrcImage *)(argp2);
13259   lmrcImageXYProjection(arg1,arg2);
13260   return Qnil;
13261 fail:
13262   return Qnil;
13263 }
13264
13265
13266 SWIGINTERN VALUE
13267 _wrap_lmrcImageYZProjection(int argc, VALUE *argv, VALUE self) {
13268   mrcImage *arg1 = (mrcImage *) 0 ;
13269   mrcImage *arg2 = (mrcImage *) 0 ;
13270   void *argp1 = 0 ;
13271   int res1 = 0 ;
13272   void *argp2 = 0 ;
13273   int res2 = 0 ;
13274   
13275   if ((argc < 2) || (argc > 2)) {
13276     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13277   }
13278   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13279   if (!SWIG_IsOK(res1)) {
13280     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageYZProjection", 1, argv[0] )); 
13281   }
13282   arg1 = (mrcImage *)(argp1);
13283   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13284   if (!SWIG_IsOK(res2)) {
13285     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageYZProjection", 2, argv[1] )); 
13286   }
13287   arg2 = (mrcImage *)(argp2);
13288   lmrcImageYZProjection(arg1,arg2);
13289   return Qnil;
13290 fail:
13291   return Qnil;
13292 }
13293
13294
13295 SWIGINTERN VALUE
13296 _wrap_lmrcImageZXProjection(int argc, VALUE *argv, VALUE self) {
13297   mrcImage *arg1 = (mrcImage *) 0 ;
13298   mrcImage *arg2 = (mrcImage *) 0 ;
13299   void *argp1 = 0 ;
13300   int res1 = 0 ;
13301   void *argp2 = 0 ;
13302   int res2 = 0 ;
13303   
13304   if ((argc < 2) || (argc > 2)) {
13305     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13306   }
13307   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13308   if (!SWIG_IsOK(res1)) {
13309     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageZXProjection", 1, argv[0] )); 
13310   }
13311   arg1 = (mrcImage *)(argp1);
13312   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13313   if (!SWIG_IsOK(res2)) {
13314     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageZXProjection", 2, argv[1] )); 
13315   }
13316   arg2 = (mrcImage *)(argp2);
13317   lmrcImageZXProjection(arg1,arg2);
13318   return Qnil;
13319 fail:
13320   return Qnil;
13321 }
13322
13323
13324 SWIGINTERN VALUE
13325 _wrap_lmrcImageHistgram(int argc, VALUE *argv, VALUE self) {
13326   double **arg1 = (double **) 0 ;
13327   unsigned long arg2 ;
13328   mrcImage *arg3 = (mrcImage *) 0 ;
13329   void *argp1 = 0 ;
13330   int res1 = 0 ;
13331   unsigned long val2 ;
13332   int ecode2 = 0 ;
13333   void *argp3 = 0 ;
13334   int res3 = 0 ;
13335   
13336   if ((argc < 3) || (argc > 3)) {
13337     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13338   }
13339   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_p_double, 0 |  0 );
13340   if (!SWIG_IsOK(res1)) {
13341     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "double **","lmrcImageHistgram", 1, argv[0] )); 
13342   }
13343   arg1 = (double **)(argp1);
13344   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[1], &val2);
13345   if (!SWIG_IsOK(ecode2)) {
13346     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","lmrcImageHistgram", 2, argv[1] ));
13347   } 
13348   arg2 = (unsigned long)(val2);
13349   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
13350   if (!SWIG_IsOK(res3)) {
13351     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHistgram", 3, argv[2] )); 
13352   }
13353   arg3 = (mrcImage *)(argp3);
13354   lmrcImageHistgram(arg1,arg2,arg3);
13355   return Qnil;
13356 fail:
13357   return Qnil;
13358 }
13359
13360
13361 SWIGINTERN VALUE
13362 _wrap_lmrcImageHistgram2(int argc, VALUE *argv, VALUE self) {
13363   double **arg1 = (double **) 0 ;
13364   double arg2 ;
13365   mrcImage *arg3 = (mrcImage *) 0 ;
13366   void *argp1 = 0 ;
13367   int res1 = 0 ;
13368   double val2 ;
13369   int ecode2 = 0 ;
13370   void *argp3 = 0 ;
13371   int res3 = 0 ;
13372   
13373   if ((argc < 3) || (argc > 3)) {
13374     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13375   }
13376   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_p_double, 0 |  0 );
13377   if (!SWIG_IsOK(res1)) {
13378     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "double **","lmrcImageHistgram2", 1, argv[0] )); 
13379   }
13380   arg1 = (double **)(argp1);
13381   ecode2 = SWIG_AsVal_double(argv[1], &val2);
13382   if (!SWIG_IsOK(ecode2)) {
13383     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","lmrcImageHistgram2", 2, argv[1] ));
13384   } 
13385   arg2 = (double)(val2);
13386   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
13387   if (!SWIG_IsOK(res3)) {
13388     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHistgram2", 3, argv[2] )); 
13389   }
13390   arg3 = (mrcImage *)(argp3);
13391   lmrcImageHistgram2(arg1,arg2,arg3);
13392   return Qnil;
13393 fail:
13394   return Qnil;
13395 }
13396
13397
13398 SWIGINTERN VALUE
13399 _wrap_lmrcImageHistgram5(int argc, VALUE *argv, VALUE self) {
13400   double **arg1 = (double **) 0 ;
13401   unsigned long arg2 ;
13402   double arg3 ;
13403   double arg4 ;
13404   mrcImage *arg5 = (mrcImage *) 0 ;
13405   void *argp1 = 0 ;
13406   int res1 = 0 ;
13407   unsigned long val2 ;
13408   int ecode2 = 0 ;
13409   double val3 ;
13410   int ecode3 = 0 ;
13411   double val4 ;
13412   int ecode4 = 0 ;
13413   void *argp5 = 0 ;
13414   int res5 = 0 ;
13415   
13416   if ((argc < 5) || (argc > 5)) {
13417     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
13418   }
13419   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_p_double, 0 |  0 );
13420   if (!SWIG_IsOK(res1)) {
13421     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "double **","lmrcImageHistgram5", 1, argv[0] )); 
13422   }
13423   arg1 = (double **)(argp1);
13424   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[1], &val2);
13425   if (!SWIG_IsOK(ecode2)) {
13426     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","lmrcImageHistgram5", 2, argv[1] ));
13427   } 
13428   arg2 = (unsigned long)(val2);
13429   ecode3 = SWIG_AsVal_double(argv[2], &val3);
13430   if (!SWIG_IsOK(ecode3)) {
13431     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","lmrcImageHistgram5", 3, argv[2] ));
13432   } 
13433   arg3 = (double)(val3);
13434   ecode4 = SWIG_AsVal_double(argv[3], &val4);
13435   if (!SWIG_IsOK(ecode4)) {
13436     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "double","lmrcImageHistgram5", 4, argv[3] ));
13437   } 
13438   arg4 = (double)(val4);
13439   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_mrcImage, 0 |  0 );
13440   if (!SWIG_IsOK(res5)) {
13441     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHistgram5", 5, argv[4] )); 
13442   }
13443   arg5 = (mrcImage *)(argp5);
13444   lmrcImageHistgram5(arg1,arg2,arg3,arg4,arg5);
13445   return Qnil;
13446 fail:
13447   return Qnil;
13448 }
13449
13450
13451 SWIGINTERN VALUE
13452 _wrap_lmrcImageHistgram3(int argc, VALUE *argv, VALUE self) {
13453   double **arg1 = (double **) 0 ;
13454   unsigned long arg2 ;
13455   mrcImage *arg3 = (mrcImage *) 0 ;
13456   void *argp1 = 0 ;
13457   int res1 = 0 ;
13458   unsigned long val2 ;
13459   int ecode2 = 0 ;
13460   void *argp3 = 0 ;
13461   int res3 = 0 ;
13462   
13463   if ((argc < 3) || (argc > 3)) {
13464     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13465   }
13466   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_p_double, 0 |  0 );
13467   if (!SWIG_IsOK(res1)) {
13468     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "double **","lmrcImageHistgram3", 1, argv[0] )); 
13469   }
13470   arg1 = (double **)(argp1);
13471   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[1], &val2);
13472   if (!SWIG_IsOK(ecode2)) {
13473     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","lmrcImageHistgram3", 2, argv[1] ));
13474   } 
13475   arg2 = (unsigned long)(val2);
13476   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
13477   if (!SWIG_IsOK(res3)) {
13478     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHistgram3", 3, argv[2] )); 
13479   }
13480   arg3 = (mrcImage *)(argp3);
13481   lmrcImageHistgram3(arg1,arg2,arg3);
13482   return Qnil;
13483 fail:
13484   return Qnil;
13485 }
13486
13487
13488 SWIGINTERN VALUE
13489 _wrap_lmrcImageHistgram4(int argc, VALUE *argv, VALUE self) {
13490   double **arg1 = (double **) 0 ;
13491   double arg2 ;
13492   mrcImage *arg3 = (mrcImage *) 0 ;
13493   void *argp1 = 0 ;
13494   int res1 = 0 ;
13495   double val2 ;
13496   int ecode2 = 0 ;
13497   void *argp3 = 0 ;
13498   int res3 = 0 ;
13499   
13500   if ((argc < 3) || (argc > 3)) {
13501     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13502   }
13503   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_p_double, 0 |  0 );
13504   if (!SWIG_IsOK(res1)) {
13505     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "double **","lmrcImageHistgram4", 1, argv[0] )); 
13506   }
13507   arg1 = (double **)(argp1);
13508   ecode2 = SWIG_AsVal_double(argv[1], &val2);
13509   if (!SWIG_IsOK(ecode2)) {
13510     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","lmrcImageHistgram4", 2, argv[1] ));
13511   } 
13512   arg2 = (double)(val2);
13513   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
13514   if (!SWIG_IsOK(res3)) {
13515     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHistgram4", 3, argv[2] )); 
13516   }
13517   arg3 = (mrcImage *)(argp3);
13518   lmrcImageHistgram4(arg1,arg2,arg3);
13519   return Qnil;
13520 fail:
13521   return Qnil;
13522 }
13523
13524
13525 SWIGINTERN VALUE
13526 _wrap_lmrcImageHistgram6(int argc, VALUE *argv, VALUE self) {
13527   double **arg1 = (double **) 0 ;
13528   unsigned long arg2 ;
13529   double arg3 ;
13530   double arg4 ;
13531   mrcImage *arg5 = (mrcImage *) 0 ;
13532   void *argp1 = 0 ;
13533   int res1 = 0 ;
13534   unsigned long val2 ;
13535   int ecode2 = 0 ;
13536   double val3 ;
13537   int ecode3 = 0 ;
13538   double val4 ;
13539   int ecode4 = 0 ;
13540   void *argp5 = 0 ;
13541   int res5 = 0 ;
13542   
13543   if ((argc < 5) || (argc > 5)) {
13544     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
13545   }
13546   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_p_double, 0 |  0 );
13547   if (!SWIG_IsOK(res1)) {
13548     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "double **","lmrcImageHistgram6", 1, argv[0] )); 
13549   }
13550   arg1 = (double **)(argp1);
13551   ecode2 = SWIG_AsVal_unsigned_SS_long(argv[1], &val2);
13552   if (!SWIG_IsOK(ecode2)) {
13553     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","lmrcImageHistgram6", 2, argv[1] ));
13554   } 
13555   arg2 = (unsigned long)(val2);
13556   ecode3 = SWIG_AsVal_double(argv[2], &val3);
13557   if (!SWIG_IsOK(ecode3)) {
13558     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","lmrcImageHistgram6", 3, argv[2] ));
13559   } 
13560   arg3 = (double)(val3);
13561   ecode4 = SWIG_AsVal_double(argv[3], &val4);
13562   if (!SWIG_IsOK(ecode4)) {
13563     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "double","lmrcImageHistgram6", 4, argv[3] ));
13564   } 
13565   arg4 = (double)(val4);
13566   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_mrcImage, 0 |  0 );
13567   if (!SWIG_IsOK(res5)) {
13568     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHistgram6", 5, argv[4] )); 
13569   }
13570   arg5 = (mrcImage *)(argp5);
13571   lmrcImageHistgram6(arg1,arg2,arg3,arg4,arg5);
13572   return Qnil;
13573 fail:
13574   return Qnil;
13575 }
13576
13577
13578 SWIGINTERN VALUE
13579 _wrap_lmrcImageInformation(int argc, VALUE *argv, VALUE self) {
13580   mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
13581   mrcImage *arg2 = (mrcImage *) 0 ;
13582   void *argp1 = 0 ;
13583   int res1 = 0 ;
13584   void *argp2 = 0 ;
13585   int res2 = 0 ;
13586   
13587   if ((argc < 2) || (argc > 2)) {
13588     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
13589   }
13590   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImageInformation, 0 |  0 );
13591   if (!SWIG_IsOK(res1)) {
13592     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","lmrcImageInformation", 1, argv[0] )); 
13593   }
13594   arg1 = (mrcImageInformation *)(argp1);
13595   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13596   if (!SWIG_IsOK(res2)) {
13597     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageInformation", 2, argv[1] )); 
13598   }
13599   arg2 = (mrcImage *)(argp2);
13600   lmrcImageInformation(arg1,arg2);
13601   return Qnil;
13602 fail:
13603   return Qnil;
13604 }
13605
13606
13607 SWIGINTERN VALUE
13608 _wrap_lmrcImageCopy(int argc, VALUE *argv, VALUE self) {
13609   mrcImage *arg1 = (mrcImage *) 0 ;
13610   mrcImage *arg2 = (mrcImage *) 0 ;
13611   mrcImageParaTypeRealCoord arg3 ;
13612   void *argp1 = 0 ;
13613   int res1 = 0 ;
13614   void *argp2 = 0 ;
13615   int res2 = 0 ;
13616   void *argp3 ;
13617   int res3 = 0 ;
13618   
13619   if ((argc < 3) || (argc > 3)) {
13620     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13621   }
13622   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13623   if (!SWIG_IsOK(res1)) {
13624     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCopy", 1, argv[0] )); 
13625   }
13626   arg1 = (mrcImage *)(argp1);
13627   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13628   if (!SWIG_IsOK(res2)) {
13629     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCopy", 2, argv[1] )); 
13630   }
13631   arg2 = (mrcImage *)(argp2);
13632   {
13633     res3 = SWIG_ConvertPtr(argv[2], &argp3, SWIGTYPE_p_mrcImageParaTypeRealCoord,  0 );
13634     if (!SWIG_IsOK(res3)) {
13635       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord","lmrcImageCopy", 3, argv[2] )); 
13636     }  
13637     if (!argp3) {
13638       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "mrcImageParaTypeRealCoord","lmrcImageCopy", 3, argv[2]));
13639     } else {
13640       arg3 = *((mrcImageParaTypeRealCoord *)(argp3));
13641     }
13642   }
13643   lmrcImageCopy(arg1,arg2,arg3);
13644   return Qnil;
13645 fail:
13646   return Qnil;
13647 }
13648
13649
13650 SWIGINTERN VALUE
13651 _wrap_IsFloatImage(int argc, VALUE *argv, VALUE self) {
13652   mrcImage *arg1 = (mrcImage *) 0 ;
13653   char *arg2 = (char *) 0 ;
13654   mrcImageParaTypeInteger arg3 ;
13655   void *argp1 = 0 ;
13656   int res1 = 0 ;
13657   int res2 ;
13658   char *buf2 = 0 ;
13659   int alloc2 = 0 ;
13660   int val3 ;
13661   int ecode3 = 0 ;
13662   int result;
13663   VALUE vresult = Qnil;
13664   
13665   if ((argc < 3) || (argc > 3)) {
13666     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13667   }
13668   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13669   if (!SWIG_IsOK(res1)) {
13670     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","IsFloatImage", 1, argv[0] )); 
13671   }
13672   arg1 = (mrcImage *)(argp1);
13673   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
13674   if (!SWIG_IsOK(res2)) {
13675     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","IsFloatImage", 2, argv[1] ));
13676   }
13677   arg2 = (char *)(buf2);
13678   ecode3 = SWIG_AsVal_int(argv[2], &val3);
13679   if (!SWIG_IsOK(ecode3)) {
13680     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","IsFloatImage", 3, argv[2] ));
13681   } 
13682   arg3 = (mrcImageParaTypeInteger)(val3);
13683   result = (int)IsFloatImage(arg1,arg2,arg3);
13684   vresult = SWIG_From_int((int)(result));
13685   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13686   return vresult;
13687 fail:
13688   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13689   return Qnil;
13690 }
13691
13692
13693 SWIGINTERN VALUE
13694 _wrap_IsFloatFT(int argc, VALUE *argv, VALUE self) {
13695   mrcImage *arg1 = (mrcImage *) 0 ;
13696   char *arg2 = (char *) 0 ;
13697   mrcImageParaTypeInteger arg3 ;
13698   void *argp1 = 0 ;
13699   int res1 = 0 ;
13700   int res2 ;
13701   char *buf2 = 0 ;
13702   int alloc2 = 0 ;
13703   int val3 ;
13704   int ecode3 = 0 ;
13705   int result;
13706   VALUE vresult = Qnil;
13707   
13708   if ((argc < 3) || (argc > 3)) {
13709     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13710   }
13711   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13712   if (!SWIG_IsOK(res1)) {
13713     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","IsFloatFT", 1, argv[0] )); 
13714   }
13715   arg1 = (mrcImage *)(argp1);
13716   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
13717   if (!SWIG_IsOK(res2)) {
13718     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","IsFloatFT", 2, argv[1] ));
13719   }
13720   arg2 = (char *)(buf2);
13721   ecode3 = SWIG_AsVal_int(argv[2], &val3);
13722   if (!SWIG_IsOK(ecode3)) {
13723     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","IsFloatFT", 3, argv[2] ));
13724   } 
13725   arg3 = (mrcImageParaTypeInteger)(val3);
13726   result = (int)IsFloatFT(arg1,arg2,arg3);
13727   vresult = SWIG_From_int((int)(result));
13728   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13729   return vresult;
13730 fail:
13731   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13732   return Qnil;
13733 }
13734
13735
13736 SWIGINTERN VALUE
13737 _wrap_IsImage(int argc, VALUE *argv, VALUE self) {
13738   mrcImage *arg1 = (mrcImage *) 0 ;
13739   char *arg2 = (char *) 0 ;
13740   mrcImageParaTypeInteger arg3 ;
13741   void *argp1 = 0 ;
13742   int res1 = 0 ;
13743   int res2 ;
13744   char *buf2 = 0 ;
13745   int alloc2 = 0 ;
13746   int val3 ;
13747   int ecode3 = 0 ;
13748   int result;
13749   VALUE vresult = Qnil;
13750   
13751   if ((argc < 3) || (argc > 3)) {
13752     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13753   }
13754   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13755   if (!SWIG_IsOK(res1)) {
13756     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","IsImage", 1, argv[0] )); 
13757   }
13758   arg1 = (mrcImage *)(argp1);
13759   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
13760   if (!SWIG_IsOK(res2)) {
13761     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","IsImage", 2, argv[1] ));
13762   }
13763   arg2 = (char *)(buf2);
13764   ecode3 = SWIG_AsVal_int(argv[2], &val3);
13765   if (!SWIG_IsOK(ecode3)) {
13766     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","IsImage", 3, argv[2] ));
13767   } 
13768   arg3 = (mrcImageParaTypeInteger)(val3);
13769   result = (int)IsImage(arg1,arg2,arg3);
13770   vresult = SWIG_From_int((int)(result));
13771   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13772   return vresult;
13773 fail:
13774   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13775   return Qnil;
13776 }
13777
13778
13779 SWIGINTERN VALUE
13780 _wrap_IsFT(int argc, VALUE *argv, VALUE self) {
13781   mrcImage *arg1 = (mrcImage *) 0 ;
13782   char *arg2 = (char *) 0 ;
13783   mrcImageParaTypeInteger arg3 ;
13784   void *argp1 = 0 ;
13785   int res1 = 0 ;
13786   int res2 ;
13787   char *buf2 = 0 ;
13788   int alloc2 = 0 ;
13789   int val3 ;
13790   int ecode3 = 0 ;
13791   int result;
13792   VALUE vresult = Qnil;
13793   
13794   if ((argc < 3) || (argc > 3)) {
13795     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13796   }
13797   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13798   if (!SWIG_IsOK(res1)) {
13799     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","IsFT", 1, argv[0] )); 
13800   }
13801   arg1 = (mrcImage *)(argp1);
13802   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
13803   if (!SWIG_IsOK(res2)) {
13804     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","IsFT", 2, argv[1] ));
13805   }
13806   arg2 = (char *)(buf2);
13807   ecode3 = SWIG_AsVal_int(argv[2], &val3);
13808   if (!SWIG_IsOK(ecode3)) {
13809     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","IsFT", 3, argv[2] ));
13810   } 
13811   arg3 = (mrcImageParaTypeInteger)(val3);
13812   result = (int)IsFT(arg1,arg2,arg3);
13813   vresult = SWIG_From_int((int)(result));
13814   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13815   return vresult;
13816 fail:
13817   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13818   return Qnil;
13819 }
13820
13821
13822 SWIGINTERN VALUE
13823 _wrap_IsFFT(int argc, VALUE *argv, VALUE self) {
13824   mrcImage *arg1 = (mrcImage *) 0 ;
13825   char *arg2 = (char *) 0 ;
13826   mrcImageParaTypeInteger arg3 ;
13827   void *argp1 = 0 ;
13828   int res1 = 0 ;
13829   int res2 ;
13830   char *buf2 = 0 ;
13831   int alloc2 = 0 ;
13832   int val3 ;
13833   int ecode3 = 0 ;
13834   int result;
13835   VALUE vresult = Qnil;
13836   
13837   if ((argc < 3) || (argc > 3)) {
13838     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13839   }
13840   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13841   if (!SWIG_IsOK(res1)) {
13842     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","IsFFT", 1, argv[0] )); 
13843   }
13844   arg1 = (mrcImage *)(argp1);
13845   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
13846   if (!SWIG_IsOK(res2)) {
13847     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","IsFFT", 2, argv[1] ));
13848   }
13849   arg2 = (char *)(buf2);
13850   ecode3 = SWIG_AsVal_int(argv[2], &val3);
13851   if (!SWIG_IsOK(ecode3)) {
13852     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","IsFFT", 3, argv[2] ));
13853   } 
13854   arg3 = (mrcImageParaTypeInteger)(val3);
13855   result = (int)IsFFT(arg1,arg2,arg3);
13856   vresult = SWIG_From_int((int)(result));
13857   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13858   return vresult;
13859 fail:
13860   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13861   return Qnil;
13862 }
13863
13864
13865 SWIGINTERN VALUE
13866 _wrap_mrcImageInfoSet(int argc, VALUE *argv, VALUE self) {
13867   mrcImage *arg1 = (mrcImage *) 0 ;
13868   FILE *arg2 = (FILE *) 0 ;
13869   FILE *arg3 = (FILE *) 0 ;
13870   long arg4 ;
13871   void *argp1 = 0 ;
13872   int res1 = 0 ;
13873   void *argp2 = 0 ;
13874   int res2 = 0 ;
13875   void *argp3 = 0 ;
13876   int res3 = 0 ;
13877   long val4 ;
13878   int ecode4 = 0 ;
13879   
13880   if ((argc < 4) || (argc > 4)) {
13881     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
13882   }
13883   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13884   if (!SWIG_IsOK(res1)) {
13885     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageInfoSet", 1, argv[0] )); 
13886   }
13887   arg1 = (mrcImage *)(argp1);
13888   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FILE, 0 |  0 );
13889   if (!SWIG_IsOK(res2)) {
13890     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","mrcImageInfoSet", 2, argv[1] )); 
13891   }
13892   arg2 = (FILE *)(argp2);
13893   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FILE, 0 |  0 );
13894   if (!SWIG_IsOK(res3)) {
13895     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FILE *","mrcImageInfoSet", 3, argv[2] )); 
13896   }
13897   arg3 = (FILE *)(argp3);
13898   ecode4 = SWIG_AsVal_long(argv[3], &val4);
13899   if (!SWIG_IsOK(ecode4)) {
13900     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcImageInfoSet", 4, argv[3] ));
13901   } 
13902   arg4 = (long)(val4);
13903   mrcImageInfoSet(arg1,arg2,arg3,arg4);
13904   return Qnil;
13905 fail:
13906   return Qnil;
13907 }
13908
13909
13910 SWIGINTERN VALUE
13911 _wrap_lmrcImageDevidedByImage(int argc, VALUE *argv, VALUE self) {
13912   mrcImage *arg1 = (mrcImage *) 0 ;
13913   mrcImage *arg2 = (mrcImage *) 0 ;
13914   mrcImage *arg3 = (mrcImage *) 0 ;
13915   void *argp1 = 0 ;
13916   int res1 = 0 ;
13917   void *argp2 = 0 ;
13918   int res2 = 0 ;
13919   void *argp3 = 0 ;
13920   int res3 = 0 ;
13921   
13922   if ((argc < 3) || (argc > 3)) {
13923     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13924   }
13925   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13926   if (!SWIG_IsOK(res1)) {
13927     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageDevidedByImage", 1, argv[0] )); 
13928   }
13929   arg1 = (mrcImage *)(argp1);
13930   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13931   if (!SWIG_IsOK(res2)) {
13932     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageDevidedByImage", 2, argv[1] )); 
13933   }
13934   arg2 = (mrcImage *)(argp2);
13935   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
13936   if (!SWIG_IsOK(res3)) {
13937     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageDevidedByImage", 3, argv[2] )); 
13938   }
13939   arg3 = (mrcImage *)(argp3);
13940   lmrcImageDevidedByImage(arg1,arg2,arg3);
13941   return Qnil;
13942 fail:
13943   return Qnil;
13944 }
13945
13946
13947 SWIGINTERN VALUE
13948 _wrap_lmrcImagetMapForZero(int argc, VALUE *argv, VALUE self) {
13949   mrcImage *arg1 = (mrcImage *) 0 ;
13950   mrcImage *arg2 = (mrcImage *) 0 ;
13951   mrcImage *arg3 = (mrcImage *) 0 ;
13952   void *argp1 = 0 ;
13953   int res1 = 0 ;
13954   void *argp2 = 0 ;
13955   int res2 = 0 ;
13956   void *argp3 = 0 ;
13957   int res3 = 0 ;
13958   
13959   if ((argc < 3) || (argc > 3)) {
13960     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13961   }
13962   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
13963   if (!SWIG_IsOK(res1)) {
13964     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImagetMapForZero", 1, argv[0] )); 
13965   }
13966   arg1 = (mrcImage *)(argp1);
13967   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
13968   if (!SWIG_IsOK(res2)) {
13969     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImagetMapForZero", 2, argv[1] )); 
13970   }
13971   arg2 = (mrcImage *)(argp2);
13972   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
13973   if (!SWIG_IsOK(res3)) {
13974     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImagetMapForZero", 3, argv[2] )); 
13975   }
13976   arg3 = (mrcImage *)(argp3);
13977   lmrcImagetMapForZero(arg1,arg2,arg3);
13978   return Qnil;
13979 fail:
13980   return Qnil;
13981 }
13982
13983
13984 SWIGINTERN VALUE
13985 _wrap_lmrcImageSN(int argc, VALUE *argv, VALUE self) {
13986   mrcImage *arg1 = (mrcImage *) 0 ;
13987   mrcImage *arg2 = (mrcImage *) 0 ;
13988   mrcImage *arg3 = (mrcImage *) 0 ;
13989   void *argp1 = 0 ;
13990   int res1 = 0 ;
13991   void *argp2 = 0 ;
13992   int res2 = 0 ;
13993   void *argp3 = 0 ;
13994   int res3 = 0 ;
13995   
13996   if ((argc < 3) || (argc > 3)) {
13997     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
13998   }
13999   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14000   if (!SWIG_IsOK(res1)) {
14001     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageSN", 1, argv[0] )); 
14002   }
14003   arg1 = (mrcImage *)(argp1);
14004   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14005   if (!SWIG_IsOK(res2)) {
14006     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageSN", 2, argv[1] )); 
14007   }
14008   arg2 = (mrcImage *)(argp2);
14009   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
14010   if (!SWIG_IsOK(res3)) {
14011     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageSN", 3, argv[2] )); 
14012   }
14013   arg3 = (mrcImage *)(argp3);
14014   lmrcImageSN(arg1,arg2,arg3);
14015   return Qnil;
14016 fail:
14017   return Qnil;
14018 }
14019
14020
14021 SWIGINTERN VALUE
14022 _wrap_lmrcImageDevidedByReal(int argc, VALUE *argv, VALUE self) {
14023   mrcImage *arg1 = (mrcImage *) 0 ;
14024   double arg2 ;
14025   void *argp1 = 0 ;
14026   int res1 = 0 ;
14027   double val2 ;
14028   int ecode2 = 0 ;
14029   
14030   if ((argc < 2) || (argc > 2)) {
14031     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
14032   }
14033   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14034   if (!SWIG_IsOK(res1)) {
14035     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageDevidedByReal", 1, argv[0] )); 
14036   }
14037   arg1 = (mrcImage *)(argp1);
14038   ecode2 = SWIG_AsVal_double(argv[1], &val2);
14039   if (!SWIG_IsOK(ecode2)) {
14040     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","lmrcImageDevidedByReal", 2, argv[1] ));
14041   } 
14042   arg2 = (double)(val2);
14043   lmrcImageDevidedByReal(arg1,arg2);
14044   return Qnil;
14045 fail:
14046   return Qnil;
14047 }
14048
14049
14050 SWIGINTERN VALUE
14051 _wrap_lmrcImageDevidedByRealForOnlyPositive(int argc, VALUE *argv, VALUE self) {
14052   mrcImage *arg1 = (mrcImage *) 0 ;
14053   double arg2 ;
14054   void *argp1 = 0 ;
14055   int res1 = 0 ;
14056   double val2 ;
14057   int ecode2 = 0 ;
14058   
14059   if ((argc < 2) || (argc > 2)) {
14060     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
14061   }
14062   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14063   if (!SWIG_IsOK(res1)) {
14064     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageDevidedByRealForOnlyPositive", 1, argv[0] )); 
14065   }
14066   arg1 = (mrcImage *)(argp1);
14067   ecode2 = SWIG_AsVal_double(argv[1], &val2);
14068   if (!SWIG_IsOK(ecode2)) {
14069     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","lmrcImageDevidedByRealForOnlyPositive", 2, argv[1] ));
14070   } 
14071   arg2 = (double)(val2);
14072   lmrcImageDevidedByRealForOnlyPositive(arg1,arg2);
14073   return Qnil;
14074 fail:
14075   return Qnil;
14076 }
14077
14078
14079 SWIGINTERN VALUE
14080 _wrap_lmrcImageAddedByReal(int argc, VALUE *argv, VALUE self) {
14081   mrcImage *arg1 = (mrcImage *) 0 ;
14082   double arg2 ;
14083   void *argp1 = 0 ;
14084   int res1 = 0 ;
14085   double val2 ;
14086   int ecode2 = 0 ;
14087   
14088   if ((argc < 2) || (argc > 2)) {
14089     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
14090   }
14091   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14092   if (!SWIG_IsOK(res1)) {
14093     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageAddedByReal", 1, argv[0] )); 
14094   }
14095   arg1 = (mrcImage *)(argp1);
14096   ecode2 = SWIG_AsVal_double(argv[1], &val2);
14097   if (!SWIG_IsOK(ecode2)) {
14098     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","lmrcImageAddedByReal", 2, argv[1] ));
14099   } 
14100   arg2 = (double)(val2);
14101   lmrcImageAddedByReal(arg1,arg2);
14102   return Qnil;
14103 fail:
14104   return Qnil;
14105 }
14106
14107
14108 SWIGINTERN VALUE
14109 _wrap_lmrcImageStdDev(int argc, VALUE *argv, VALUE self) {
14110   mrcImage *arg1 = (mrcImage *) 0 ;
14111   mrcImage *arg2 = (mrcImage *) 0 ;
14112   mrcImage *arg3 = (mrcImage *) 0 ;
14113   long arg4 ;
14114   void *argp1 = 0 ;
14115   int res1 = 0 ;
14116   void *argp2 = 0 ;
14117   int res2 = 0 ;
14118   void *argp3 = 0 ;
14119   int res3 = 0 ;
14120   long val4 ;
14121   int ecode4 = 0 ;
14122   
14123   if ((argc < 4) || (argc > 4)) {
14124     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
14125   }
14126   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14127   if (!SWIG_IsOK(res1)) {
14128     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageStdDev", 1, argv[0] )); 
14129   }
14130   arg1 = (mrcImage *)(argp1);
14131   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14132   if (!SWIG_IsOK(res2)) {
14133     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageStdDev", 2, argv[1] )); 
14134   }
14135   arg2 = (mrcImage *)(argp2);
14136   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
14137   if (!SWIG_IsOK(res3)) {
14138     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageStdDev", 3, argv[2] )); 
14139   }
14140   arg3 = (mrcImage *)(argp3);
14141   ecode4 = SWIG_AsVal_long(argv[3], &val4);
14142   if (!SWIG_IsOK(ecode4)) {
14143     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageStdDev", 4, argv[3] ));
14144   } 
14145   arg4 = (long)(val4);
14146   lmrcImageStdDev(arg1,arg2,arg3,arg4);
14147   return Qnil;
14148 fail:
14149   return Qnil;
14150 }
14151
14152
14153 SWIGINTERN VALUE
14154 _wrap_lmrcImageStdErr(int argc, VALUE *argv, VALUE self) {
14155   mrcImage *arg1 = (mrcImage *) 0 ;
14156   mrcImage *arg2 = (mrcImage *) 0 ;
14157   mrcImage *arg3 = (mrcImage *) 0 ;
14158   long arg4 ;
14159   void *argp1 = 0 ;
14160   int res1 = 0 ;
14161   void *argp2 = 0 ;
14162   int res2 = 0 ;
14163   void *argp3 = 0 ;
14164   int res3 = 0 ;
14165   long val4 ;
14166   int ecode4 = 0 ;
14167   
14168   if ((argc < 4) || (argc > 4)) {
14169     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
14170   }
14171   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14172   if (!SWIG_IsOK(res1)) {
14173     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageStdErr", 1, argv[0] )); 
14174   }
14175   arg1 = (mrcImage *)(argp1);
14176   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14177   if (!SWIG_IsOK(res2)) {
14178     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageStdErr", 2, argv[1] )); 
14179   }
14180   arg2 = (mrcImage *)(argp2);
14181   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
14182   if (!SWIG_IsOK(res3)) {
14183     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageStdErr", 3, argv[2] )); 
14184   }
14185   arg3 = (mrcImage *)(argp3);
14186   ecode4 = SWIG_AsVal_long(argv[3], &val4);
14187   if (!SWIG_IsOK(ecode4)) {
14188     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageStdErr", 4, argv[3] ));
14189   } 
14190   arg4 = (long)(val4);
14191   lmrcImageStdErr(arg1,arg2,arg3,arg4);
14192   return Qnil;
14193 fail:
14194   return Qnil;
14195 }
14196
14197
14198 SWIGINTERN VALUE
14199 _wrap_lmrcImageAdd(int argc, VALUE *argv, VALUE self) {
14200   mrcImage *arg1 = (mrcImage *) 0 ;
14201   mrcImage *arg2 = (mrcImage *) 0 ;
14202   long *arg3 = (long *) 0 ;
14203   void *argp1 = 0 ;
14204   int res1 = 0 ;
14205   void *argp2 = 0 ;
14206   int res2 = 0 ;
14207   void *argp3 = 0 ;
14208   int res3 = 0 ;
14209   
14210   if ((argc < 3) || (argc > 3)) {
14211     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
14212   }
14213   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14214   if (!SWIG_IsOK(res1)) {
14215     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageAdd", 1, argv[0] )); 
14216   }
14217   arg1 = (mrcImage *)(argp1);
14218   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14219   if (!SWIG_IsOK(res2)) {
14220     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageAdd", 2, argv[1] )); 
14221   }
14222   arg2 = (mrcImage *)(argp2);
14223   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_long, 0 |  0 );
14224   if (!SWIG_IsOK(res3)) {
14225     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "long *","lmrcImageAdd", 3, argv[2] )); 
14226   }
14227   arg3 = (long *)(argp3);
14228   lmrcImageAdd(arg1,arg2,arg3);
14229   return Qnil;
14230 fail:
14231   return Qnil;
14232 }
14233
14234
14235 SWIGINTERN VALUE
14236 _wrap_lmrcSQRImageAdd(int argc, VALUE *argv, VALUE self) {
14237   mrcImage *arg1 = (mrcImage *) 0 ;
14238   mrcImage *arg2 = (mrcImage *) 0 ;
14239   long *arg3 = (long *) 0 ;
14240   void *argp1 = 0 ;
14241   int res1 = 0 ;
14242   void *argp2 = 0 ;
14243   int res2 = 0 ;
14244   void *argp3 = 0 ;
14245   int res3 = 0 ;
14246   
14247   if ((argc < 3) || (argc > 3)) {
14248     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
14249   }
14250   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14251   if (!SWIG_IsOK(res1)) {
14252     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcSQRImageAdd", 1, argv[0] )); 
14253   }
14254   arg1 = (mrcImage *)(argp1);
14255   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14256   if (!SWIG_IsOK(res2)) {
14257     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcSQRImageAdd", 2, argv[1] )); 
14258   }
14259   arg2 = (mrcImage *)(argp2);
14260   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_long, 0 |  0 );
14261   if (!SWIG_IsOK(res3)) {
14262     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "long *","lmrcSQRImageAdd", 3, argv[2] )); 
14263   }
14264   arg3 = (long *)(argp3);
14265   lmrcSQRImageAdd(arg1,arg2,arg3);
14266   return Qnil;
14267 fail:
14268   return Qnil;
14269 }
14270
14271
14272 SWIGINTERN VALUE
14273 _wrap_lmrcImageSquare(int argc, VALUE *argv, VALUE self) {
14274   mrcImage *arg1 = (mrcImage *) 0 ;
14275   void *argp1 = 0 ;
14276   int res1 = 0 ;
14277   
14278   if ((argc < 1) || (argc > 1)) {
14279     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14280   }
14281   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14282   if (!SWIG_IsOK(res1)) {
14283     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageSquare", 1, argv[0] )); 
14284   }
14285   arg1 = (mrcImage *)(argp1);
14286   lmrcImageSquare(arg1);
14287   return Qnil;
14288 fail:
14289   return Qnil;
14290 }
14291
14292
14293 SWIGINTERN VALUE
14294 _wrap_lmrcImageRoot(int argc, VALUE *argv, VALUE self) {
14295   mrcImage *arg1 = (mrcImage *) 0 ;
14296   double arg2 ;
14297   void *argp1 = 0 ;
14298   int res1 = 0 ;
14299   double val2 ;
14300   int ecode2 = 0 ;
14301   
14302   if ((argc < 2) || (argc > 2)) {
14303     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
14304   }
14305   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14306   if (!SWIG_IsOK(res1)) {
14307     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRoot", 1, argv[0] )); 
14308   }
14309   arg1 = (mrcImage *)(argp1);
14310   ecode2 = SWIG_AsVal_double(argv[1], &val2);
14311   if (!SWIG_IsOK(ecode2)) {
14312     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","lmrcImageRoot", 2, argv[1] ));
14313   } 
14314   arg2 = (double)(val2);
14315   lmrcImageRoot(arg1,arg2);
14316   return Qnil;
14317 fail:
14318   return Qnil;
14319 }
14320
14321
14322 SWIGINTERN VALUE
14323 _wrap_lmrcImageAbs(int argc, VALUE *argv, VALUE self) {
14324   mrcImage *arg1 = (mrcImage *) 0 ;
14325   mrcImage *arg2 = (mrcImage *) 0 ;
14326   void *argp1 = 0 ;
14327   int res1 = 0 ;
14328   void *argp2 = 0 ;
14329   int res2 = 0 ;
14330   
14331   if ((argc < 2) || (argc > 2)) {
14332     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
14333   }
14334   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14335   if (!SWIG_IsOK(res1)) {
14336     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageAbs", 1, argv[0] )); 
14337   }
14338   arg1 = (mrcImage *)(argp1);
14339   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14340   if (!SWIG_IsOK(res2)) {
14341     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageAbs", 2, argv[1] )); 
14342   }
14343   arg2 = (mrcImage *)(argp2);
14344   lmrcImageAbs(arg1,arg2);
14345   return Qnil;
14346 fail:
14347   return Qnil;
14348 }
14349
14350
14351 SWIGINTERN VALUE
14352 _wrap_lmrcImageToIntImage(int argc, VALUE *argv, VALUE self) {
14353   mrcImage *arg1 = (mrcImage *) 0 ;
14354   mrcImage *arg2 = (mrcImage *) 0 ;
14355   mrcImageParaTypeInteger arg3 ;
14356   void *argp1 = 0 ;
14357   int res1 = 0 ;
14358   void *argp2 = 0 ;
14359   int res2 = 0 ;
14360   int val3 ;
14361   int ecode3 = 0 ;
14362   
14363   if ((argc < 3) || (argc > 3)) {
14364     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
14365   }
14366   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14367   if (!SWIG_IsOK(res1)) {
14368     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageToIntImage", 1, argv[0] )); 
14369   }
14370   arg1 = (mrcImage *)(argp1);
14371   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14372   if (!SWIG_IsOK(res2)) {
14373     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageToIntImage", 2, argv[1] )); 
14374   }
14375   arg2 = (mrcImage *)(argp2);
14376   ecode3 = SWIG_AsVal_int(argv[2], &val3);
14377   if (!SWIG_IsOK(ecode3)) {
14378     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","lmrcImageToIntImage", 3, argv[2] ));
14379   } 
14380   arg3 = (mrcImageParaTypeInteger)(val3);
14381   lmrcImageToIntImage(arg1,arg2,arg3);
14382   return Qnil;
14383 fail:
14384   return Qnil;
14385 }
14386
14387
14388 SWIGINTERN VALUE
14389 _wrap_lfft2d(int argc, VALUE *argv, VALUE self) {
14390   mrcImage *arg1 = (mrcImage *) 0 ;
14391   mrcImage *arg2 = (mrcImage *) 0 ;
14392   void *argp1 = 0 ;
14393   int res1 = 0 ;
14394   void *argp2 = 0 ;
14395   int res2 = 0 ;
14396   
14397   if ((argc < 2) || (argc > 2)) {
14398     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
14399   }
14400   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14401   if (!SWIG_IsOK(res1)) {
14402     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lfft2d", 1, argv[0] )); 
14403   }
14404   arg1 = (mrcImage *)(argp1);
14405   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14406   if (!SWIG_IsOK(res2)) {
14407     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lfft2d", 2, argv[1] )); 
14408   }
14409   arg2 = (mrcImage *)(argp2);
14410   lfft2d(arg1,arg2);
14411   return Qnil;
14412 fail:
14413   return Qnil;
14414 }
14415
14416
14417 SWIGINTERN VALUE
14418 _wrap_lmrcImageFFT(int argc, VALUE *argv, VALUE self) {
14419   mrcImage *arg1 = (mrcImage *) 0 ;
14420   mrcImage *arg2 = (mrcImage *) 0 ;
14421   long arg3 ;
14422   void *argp1 = 0 ;
14423   int res1 = 0 ;
14424   void *argp2 = 0 ;
14425   int res2 = 0 ;
14426   long val3 ;
14427   int ecode3 = 0 ;
14428   
14429   if ((argc < 3) || (argc > 3)) {
14430     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
14431   }
14432   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14433   if (!SWIG_IsOK(res1)) {
14434     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageFFT", 1, argv[0] )); 
14435   }
14436   arg1 = (mrcImage *)(argp1);
14437   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14438   if (!SWIG_IsOK(res2)) {
14439     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageFFT", 2, argv[1] )); 
14440   }
14441   arg2 = (mrcImage *)(argp2);
14442   ecode3 = SWIG_AsVal_long(argv[2], &val3);
14443   if (!SWIG_IsOK(ecode3)) {
14444     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "long","lmrcImageFFT", 3, argv[2] ));
14445   } 
14446   arg3 = (long)(val3);
14447   lmrcImageFFT(arg1,arg2,arg3);
14448   return Qnil;
14449 fail:
14450   return Qnil;
14451 }
14452
14453
14454 SWIGINTERN VALUE
14455 _wrap_lmrcImageFFTFirstDimensionOnly(int argc, VALUE *argv, VALUE self) {
14456   mrcImage *arg1 = (mrcImage *) 0 ;
14457   mrcImage *arg2 = (mrcImage *) 0 ;
14458   long arg3 ;
14459   void *argp1 = 0 ;
14460   int res1 = 0 ;
14461   void *argp2 = 0 ;
14462   int res2 = 0 ;
14463   long val3 ;
14464   int ecode3 = 0 ;
14465   
14466   if ((argc < 3) || (argc > 3)) {
14467     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
14468   }
14469   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14470   if (!SWIG_IsOK(res1)) {
14471     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageFFTFirstDimensionOnly", 1, argv[0] )); 
14472   }
14473   arg1 = (mrcImage *)(argp1);
14474   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14475   if (!SWIG_IsOK(res2)) {
14476     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageFFTFirstDimensionOnly", 2, argv[1] )); 
14477   }
14478   arg2 = (mrcImage *)(argp2);
14479   ecode3 = SWIG_AsVal_long(argv[2], &val3);
14480   if (!SWIG_IsOK(ecode3)) {
14481     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "long","lmrcImageFFTFirstDimensionOnly", 3, argv[2] ));
14482   } 
14483   arg3 = (long)(val3);
14484   lmrcImageFFTFirstDimensionOnly(arg1,arg2,arg3);
14485   return Qnil;
14486 fail:
14487   return Qnil;
14488 }
14489
14490
14491 SWIGINTERN VALUE
14492 _wrap_lmrcFFTFGconj(int argc, VALUE *argv, VALUE self) {
14493   mrcImage *arg1 = (mrcImage *) 0 ;
14494   mrcImage *arg2 = (mrcImage *) 0 ;
14495   mrcImage *arg3 = (mrcImage *) 0 ;
14496   void *argp1 = 0 ;
14497   int res1 = 0 ;
14498   void *argp2 = 0 ;
14499   int res2 = 0 ;
14500   void *argp3 = 0 ;
14501   int res3 = 0 ;
14502   
14503   if ((argc < 3) || (argc > 3)) {
14504     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
14505   }
14506   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14507   if (!SWIG_IsOK(res1)) {
14508     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFFTFGconj", 1, argv[0] )); 
14509   }
14510   arg1 = (mrcImage *)(argp1);
14511   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14512   if (!SWIG_IsOK(res2)) {
14513     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcFFTFGconj", 2, argv[1] )); 
14514   }
14515   arg2 = (mrcImage *)(argp2);
14516   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
14517   if (!SWIG_IsOK(res3)) {
14518     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcFFTFGconj", 3, argv[2] )); 
14519   }
14520   arg3 = (mrcImage *)(argp3);
14521   lmrcFFTFGconj(arg1,arg2,arg3);
14522   return Qnil;
14523 fail:
14524   return Qnil;
14525 }
14526
14527
14528 SWIGINTERN VALUE
14529 _wrap_lmrcFFTFxG(int argc, VALUE *argv, VALUE self) {
14530   mrcImage *arg1 = (mrcImage *) 0 ;
14531   mrcImage *arg2 = (mrcImage *) 0 ;
14532   mrcImage *arg3 = (mrcImage *) 0 ;
14533   void *argp1 = 0 ;
14534   int res1 = 0 ;
14535   void *argp2 = 0 ;
14536   int res2 = 0 ;
14537   void *argp3 = 0 ;
14538   int res3 = 0 ;
14539   
14540   if ((argc < 3) || (argc > 3)) {
14541     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
14542   }
14543   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14544   if (!SWIG_IsOK(res1)) {
14545     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFFTFxG", 1, argv[0] )); 
14546   }
14547   arg1 = (mrcImage *)(argp1);
14548   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14549   if (!SWIG_IsOK(res2)) {
14550     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcFFTFxG", 2, argv[1] )); 
14551   }
14552   arg2 = (mrcImage *)(argp2);
14553   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
14554   if (!SWIG_IsOK(res3)) {
14555     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcFFTFxG", 3, argv[2] )); 
14556   }
14557   arg3 = (mrcImage *)(argp3);
14558   lmrcFFTFxG(arg1,arg2,arg3);
14559   return Qnil;
14560 fail:
14561   return Qnil;
14562 }
14563
14564
14565 SWIGINTERN VALUE
14566 _wrap_lmrcImageCorrelation(int argc, VALUE *argv, VALUE self) {
14567   mrcImage *arg1 = (mrcImage *) 0 ;
14568   mrcImage *arg2 = (mrcImage *) 0 ;
14569   mrcImage *arg3 = (mrcImage *) 0 ;
14570   long arg4 ;
14571   void *argp1 = 0 ;
14572   int res1 = 0 ;
14573   void *argp2 = 0 ;
14574   int res2 = 0 ;
14575   void *argp3 = 0 ;
14576   int res3 = 0 ;
14577   long val4 ;
14578   int ecode4 = 0 ;
14579   
14580   if ((argc < 4) || (argc > 4)) {
14581     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
14582   }
14583   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14584   if (!SWIG_IsOK(res1)) {
14585     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCorrelation", 1, argv[0] )); 
14586   }
14587   arg1 = (mrcImage *)(argp1);
14588   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14589   if (!SWIG_IsOK(res2)) {
14590     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCorrelation", 2, argv[1] )); 
14591   }
14592   arg2 = (mrcImage *)(argp2);
14593   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_mrcImage, 0 |  0 );
14594   if (!SWIG_IsOK(res3)) {
14595     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCorrelation", 3, argv[2] )); 
14596   }
14597   arg3 = (mrcImage *)(argp3);
14598   ecode4 = SWIG_AsVal_long(argv[3], &val4);
14599   if (!SWIG_IsOK(ecode4)) {
14600     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageCorrelation", 4, argv[3] ));
14601   } 
14602   arg4 = (long)(val4);
14603   lmrcImageCorrelation(arg1,arg2,arg3,arg4);
14604   return Qnil;
14605 fail:
14606   return Qnil;
14607 }
14608
14609
14610 SWIGINTERN VALUE
14611 _wrap_lmrcImageCorrelationModePrint(int argc, VALUE *argv, VALUE self) {
14612   FILE *arg1 = (FILE *) 0 ;
14613   void *argp1 = 0 ;
14614   int res1 = 0 ;
14615   
14616   if ((argc < 1) || (argc > 1)) {
14617     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14618   }
14619   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
14620   if (!SWIG_IsOK(res1)) {
14621     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","lmrcImageCorrelationModePrint", 1, argv[0] )); 
14622   }
14623   arg1 = (FILE *)(argp1);
14624   lmrcImageCorrelationModePrint(arg1);
14625   return Qnil;
14626 fail:
14627   return Qnil;
14628 }
14629
14630
14631 SWIGINTERN VALUE
14632 _wrap_lmrcImageCorrelationWithCTFCompensation(int argc, VALUE *argv, VALUE self) {
14633   mrcImage *arg1 = (mrcImage *) 0 ;
14634   mrcImage *arg2 = (mrcImage *) 0 ;
14635   ctfInfo *arg3 = (ctfInfo *) 0 ;
14636   mrcImage *arg4 = (mrcImage *) 0 ;
14637   ctfInfo *arg5 = (ctfInfo *) 0 ;
14638   long arg6 ;
14639   void *argp1 = 0 ;
14640   int res1 = 0 ;
14641   void *argp2 = 0 ;
14642   int res2 = 0 ;
14643   void *argp3 = 0 ;
14644   int res3 = 0 ;
14645   void *argp4 = 0 ;
14646   int res4 = 0 ;
14647   void *argp5 = 0 ;
14648   int res5 = 0 ;
14649   long val6 ;
14650   int ecode6 = 0 ;
14651   
14652   if ((argc < 6) || (argc > 6)) {
14653     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
14654   }
14655   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14656   if (!SWIG_IsOK(res1)) {
14657     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCorrelationWithCTFCompensation", 1, argv[0] )); 
14658   }
14659   arg1 = (mrcImage *)(argp1);
14660   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
14661   if (!SWIG_IsOK(res2)) {
14662     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCorrelationWithCTFCompensation", 2, argv[1] )); 
14663   }
14664   arg2 = (mrcImage *)(argp2);
14665   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_ctfInfo, 0 |  0 );
14666   if (!SWIG_IsOK(res3)) {
14667     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "ctfInfo *","lmrcImageCorrelationWithCTFCompensation", 3, argv[2] )); 
14668   }
14669   arg3 = (ctfInfo *)(argp3);
14670   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_mrcImage, 0 |  0 );
14671   if (!SWIG_IsOK(res4)) {
14672     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCorrelationWithCTFCompensation", 4, argv[3] )); 
14673   }
14674   arg4 = (mrcImage *)(argp4);
14675   res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_ctfInfo, 0 |  0 );
14676   if (!SWIG_IsOK(res5)) {
14677     SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "ctfInfo *","lmrcImageCorrelationWithCTFCompensation", 5, argv[4] )); 
14678   }
14679   arg5 = (ctfInfo *)(argp5);
14680   ecode6 = SWIG_AsVal_long(argv[5], &val6);
14681   if (!SWIG_IsOK(ecode6)) {
14682     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "long","lmrcImageCorrelationWithCTFCompensation", 6, argv[5] ));
14683   } 
14684   arg6 = (long)(val6);
14685   lmrcImageCorrelationWithCTFCompensation(arg1,arg2,arg3,arg4,arg5,arg6);
14686   return Qnil;
14687 fail:
14688   return Qnil;
14689 }
14690
14691
14692 SWIGINTERN VALUE
14693 _wrap_mrcError(int argc, VALUE *argv, VALUE self) {
14694   char *arg1 = (char *) 0 ;
14695   char *arg2 = (char *) 0 ;
14696   char *arg3 = (char *) 0 ;
14697   mrcStatusType arg4 ;
14698   int res1 ;
14699   char *buf1 = 0 ;
14700   int alloc1 = 0 ;
14701   int res2 ;
14702   char *buf2 = 0 ;
14703   int alloc2 = 0 ;
14704   int res3 ;
14705   char *buf3 = 0 ;
14706   int alloc3 = 0 ;
14707   unsigned int val4 ;
14708   int ecode4 = 0 ;
14709   mrcStatusType result;
14710   VALUE vresult = Qnil;
14711   
14712   if ((argc < 4) || (argc > 4)) {
14713     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
14714   }
14715   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
14716   if (!SWIG_IsOK(res1)) {
14717     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char *","mrcError", 1, argv[0] ));
14718   }
14719   arg1 = (char *)(buf1);
14720   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
14721   if (!SWIG_IsOK(res2)) {
14722     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcError", 2, argv[1] ));
14723   }
14724   arg2 = (char *)(buf2);
14725   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
14726   if (!SWIG_IsOK(res3)) {
14727     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcError", 3, argv[2] ));
14728   }
14729   arg3 = (char *)(buf3);
14730   ecode4 = SWIG_AsVal_unsigned_SS_int(argv[3], &val4);
14731   if (!SWIG_IsOK(ecode4)) {
14732     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcStatusType","mrcError", 4, argv[3] ));
14733   } 
14734   arg4 = (mrcStatusType)(val4);
14735   result = (mrcStatusType)mrcError(arg1,arg2,arg3,arg4);
14736   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
14737   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14738   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14739   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14740   return vresult;
14741 fail:
14742   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14743   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14744   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14745   return Qnil;
14746 }
14747
14748
14749 SWIGINTERN VALUE
14750 _wrap_mrcErrorMsg(int argc, VALUE *argv, VALUE self) {
14751   FILE *arg1 = (FILE *) 0 ;
14752   char *arg2 = (char *) 0 ;
14753   char *arg3 = (char *) 0 ;
14754   char *arg4 = (char *) 0 ;
14755   mrcStatusType arg5 ;
14756   void *argp1 = 0 ;
14757   int res1 = 0 ;
14758   int res2 ;
14759   char *buf2 = 0 ;
14760   int alloc2 = 0 ;
14761   int res3 ;
14762   char *buf3 = 0 ;
14763   int alloc3 = 0 ;
14764   int res4 ;
14765   char *buf4 = 0 ;
14766   int alloc4 = 0 ;
14767   unsigned int val5 ;
14768   int ecode5 = 0 ;
14769   mrcStatusType result;
14770   VALUE vresult = Qnil;
14771   
14772   if ((argc < 5) || (argc > 5)) {
14773     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
14774   }
14775   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
14776   if (!SWIG_IsOK(res1)) {
14777     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","mrcErrorMsg", 1, argv[0] )); 
14778   }
14779   arg1 = (FILE *)(argp1);
14780   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
14781   if (!SWIG_IsOK(res2)) {
14782     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","mrcErrorMsg", 2, argv[1] ));
14783   }
14784   arg2 = (char *)(buf2);
14785   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
14786   if (!SWIG_IsOK(res3)) {
14787     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","mrcErrorMsg", 3, argv[2] ));
14788   }
14789   arg3 = (char *)(buf3);
14790   res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
14791   if (!SWIG_IsOK(res4)) {
14792     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","mrcErrorMsg", 4, argv[3] ));
14793   }
14794   arg4 = (char *)(buf4);
14795   ecode5 = SWIG_AsVal_unsigned_SS_int(argv[4], &val5);
14796   if (!SWIG_IsOK(ecode5)) {
14797     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "mrcStatusType","mrcErrorMsg", 5, argv[4] ));
14798   } 
14799   arg5 = (mrcStatusType)(val5);
14800   result = (mrcStatusType)mrcErrorMsg(arg1,arg2,arg3,arg4,arg5);
14801   vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
14802   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14803   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14804   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14805   return vresult;
14806 fail:
14807   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14808   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14809   if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14810   return Qnil;
14811 }
14812
14813
14814 SWIGINTERN VALUE
14815 _wrap_lmrcFSInfoXAxisMag(int argc, VALUE *argv, VALUE self) {
14816   mrcImage *arg1 = (mrcImage *) 0 ;
14817   void *argp1 = 0 ;
14818   int res1 = 0 ;
14819   floatVector *result = 0 ;
14820   VALUE vresult = Qnil;
14821   
14822   if ((argc < 1) || (argc > 1)) {
14823     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14824   }
14825   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14826   if (!SWIG_IsOK(res1)) {
14827     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFSInfoXAxisMag", 1, argv[0] )); 
14828   }
14829   arg1 = (mrcImage *)(argp1);
14830   result = (floatVector *)lmrcFSInfoXAxisMag(arg1);
14831   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 |  0 );
14832   return vresult;
14833 fail:
14834   return Qnil;
14835 }
14836
14837
14838 SWIGINTERN VALUE
14839 _wrap_lmrcFSInfoXAxisPhase(int argc, VALUE *argv, VALUE self) {
14840   mrcImage *arg1 = (mrcImage *) 0 ;
14841   void *argp1 = 0 ;
14842   int res1 = 0 ;
14843   floatVector *result = 0 ;
14844   VALUE vresult = Qnil;
14845   
14846   if ((argc < 1) || (argc > 1)) {
14847     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14848   }
14849   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14850   if (!SWIG_IsOK(res1)) {
14851     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFSInfoXAxisPhase", 1, argv[0] )); 
14852   }
14853   arg1 = (mrcImage *)(argp1);
14854   result = (floatVector *)lmrcFSInfoXAxisPhase(arg1);
14855   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 |  0 );
14856   return vresult;
14857 fail:
14858   return Qnil;
14859 }
14860
14861
14862 SWIGINTERN VALUE
14863 _wrap_lmrcFSInfoYAxisMag(int argc, VALUE *argv, VALUE self) {
14864   mrcImage *arg1 = (mrcImage *) 0 ;
14865   void *argp1 = 0 ;
14866   int res1 = 0 ;
14867   floatVector *result = 0 ;
14868   VALUE vresult = Qnil;
14869   
14870   if ((argc < 1) || (argc > 1)) {
14871     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14872   }
14873   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14874   if (!SWIG_IsOK(res1)) {
14875     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFSInfoYAxisMag", 1, argv[0] )); 
14876   }
14877   arg1 = (mrcImage *)(argp1);
14878   result = (floatVector *)lmrcFSInfoYAxisMag(arg1);
14879   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 |  0 );
14880   return vresult;
14881 fail:
14882   return Qnil;
14883 }
14884
14885
14886 SWIGINTERN VALUE
14887 _wrap_lmrcFSInfoYAxisPhase(int argc, VALUE *argv, VALUE self) {
14888   mrcImage *arg1 = (mrcImage *) 0 ;
14889   void *argp1 = 0 ;
14890   int res1 = 0 ;
14891   floatVector *result = 0 ;
14892   VALUE vresult = Qnil;
14893   
14894   if ((argc < 1) || (argc > 1)) {
14895     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14896   }
14897   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14898   if (!SWIG_IsOK(res1)) {
14899     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFSInfoYAxisPhase", 1, argv[0] )); 
14900   }
14901   arg1 = (mrcImage *)(argp1);
14902   result = (floatVector *)lmrcFSInfoYAxisPhase(arg1);
14903   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 |  0 );
14904   return vresult;
14905 fail:
14906   return Qnil;
14907 }
14908
14909
14910 SWIGINTERN VALUE
14911 _wrap_lmrcFSInfoScatteringAngularDistribution(int argc, VALUE *argv, VALUE self) {
14912   mrcImage *arg1 = (mrcImage *) 0 ;
14913   void *argp1 = 0 ;
14914   int res1 = 0 ;
14915   floatVector *result = 0 ;
14916   VALUE vresult = Qnil;
14917   
14918   if ((argc < 1) || (argc > 1)) {
14919     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14920   }
14921   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14922   if (!SWIG_IsOK(res1)) {
14923     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFSInfoScatteringAngularDistribution", 1, argv[0] )); 
14924   }
14925   arg1 = (mrcImage *)(argp1);
14926   result = (floatVector *)lmrcFSInfoScatteringAngularDistribution(arg1);
14927   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 |  0 );
14928   return vresult;
14929 fail:
14930   return Qnil;
14931 }
14932
14933
14934 SWIGINTERN VALUE
14935 _wrap_lmrcFSInfoScatteringAngularDistributionAverage(int argc, VALUE *argv, VALUE self) {
14936   mrcImage *arg1 = (mrcImage *) 0 ;
14937   void *argp1 = 0 ;
14938   int res1 = 0 ;
14939   floatVector *result = 0 ;
14940   VALUE vresult = Qnil;
14941   
14942   if ((argc < 1) || (argc > 1)) {
14943     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14944   }
14945   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14946   if (!SWIG_IsOK(res1)) {
14947     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFSInfoScatteringAngularDistributionAverage", 1, argv[0] )); 
14948   }
14949   arg1 = (mrcImage *)(argp1);
14950   result = (floatVector *)lmrcFSInfoScatteringAngularDistributionAverage(arg1);
14951   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 |  0 );
14952   return vresult;
14953 fail:
14954   return Qnil;
14955 }
14956
14957
14958 SWIGINTERN VALUE
14959 _wrap_lmrcFSInfoScatteringAngularDistributionSD(int argc, VALUE *argv, VALUE self) {
14960   mrcImage *arg1 = (mrcImage *) 0 ;
14961   void *argp1 = 0 ;
14962   int res1 = 0 ;
14963   floatVector *result = 0 ;
14964   VALUE vresult = Qnil;
14965   
14966   if ((argc < 1) || (argc > 1)) {
14967     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14968   }
14969   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14970   if (!SWIG_IsOK(res1)) {
14971     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFSInfoScatteringAngularDistributionSD", 1, argv[0] )); 
14972   }
14973   arg1 = (mrcImage *)(argp1);
14974   result = (floatVector *)lmrcFSInfoScatteringAngularDistributionSD(arg1);
14975   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 |  0 );
14976   return vresult;
14977 fail:
14978   return Qnil;
14979 }
14980
14981
14982 SWIGINTERN VALUE
14983 _wrap_lmrcFSInfoSpacing(int argc, VALUE *argv, VALUE self) {
14984   mrcImage *arg1 = (mrcImage *) 0 ;
14985   void *argp1 = 0 ;
14986   int res1 = 0 ;
14987   floatVector *result = 0 ;
14988   VALUE vresult = Qnil;
14989   
14990   if ((argc < 1) || (argc > 1)) {
14991     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
14992   }
14993   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
14994   if (!SWIG_IsOK(res1)) {
14995     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcFSInfoSpacing", 1, argv[0] )); 
14996   }
14997   arg1 = (mrcImage *)(argp1);
14998   result = (floatVector *)lmrcFSInfoSpacing(arg1);
14999   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 |  0 );
15000   return vresult;
15001 fail:
15002   return Qnil;
15003 }
15004
15005
15006 SWIGINTERN VALUE
15007 _wrap_lmrcImageCheckSameSize(int argc, VALUE *argv, VALUE self) {
15008   mrcImage *arg1 = (mrcImage *) 0 ;
15009   mrcImage *arg2 = (mrcImage *) 0 ;
15010   void *argp1 = 0 ;
15011   int res1 = 0 ;
15012   void *argp2 = 0 ;
15013   int res2 = 0 ;
15014   
15015   if ((argc < 2) || (argc > 2)) {
15016     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
15017   }
15018   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15019   if (!SWIG_IsOK(res1)) {
15020     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCheckSameSize", 1, argv[0] )); 
15021   }
15022   arg1 = (mrcImage *)(argp1);
15023   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15024   if (!SWIG_IsOK(res2)) {
15025     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCheckSameSize", 2, argv[1] )); 
15026   }
15027   arg2 = (mrcImage *)(argp2);
15028   lmrcImageCheckSameSize(arg1,arg2);
15029   return Qnil;
15030 fail:
15031   return Qnil;
15032 }
15033
15034
15035 SWIGINTERN VALUE
15036 _wrap_lmrcImageCheckFFT(int argc, VALUE *argv, VALUE self) {
15037   mrcImage *arg1 = (mrcImage *) 0 ;
15038   mrcImage *arg2 = (mrcImage *) 0 ;
15039   void *argp1 = 0 ;
15040   int res1 = 0 ;
15041   void *argp2 = 0 ;
15042   int res2 = 0 ;
15043   
15044   if ((argc < 2) || (argc > 2)) {
15045     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
15046   }
15047   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15048   if (!SWIG_IsOK(res1)) {
15049     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCheckFFT", 1, argv[0] )); 
15050   }
15051   arg1 = (mrcImage *)(argp1);
15052   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15053   if (!SWIG_IsOK(res2)) {
15054     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCheckFFT", 2, argv[1] )); 
15055   }
15056   arg2 = (mrcImage *)(argp2);
15057   lmrcImageCheckFFT(arg1,arg2);
15058   return Qnil;
15059 fail:
15060   return Qnil;
15061 }
15062
15063
15064 SWIGINTERN VALUE
15065 _wrap_lmrcImageSmoothing(int argc, VALUE *argv, VALUE self) {
15066   mrcImage *arg1 = (mrcImage *) 0 ;
15067   mrcImage *arg2 = (mrcImage *) 0 ;
15068   lmrcImageSmoothingInfo *arg3 = (lmrcImageSmoothingInfo *) 0 ;
15069   long arg4 ;
15070   void *argp1 = 0 ;
15071   int res1 = 0 ;
15072   void *argp2 = 0 ;
15073   int res2 = 0 ;
15074   void *argp3 = 0 ;
15075   int res3 = 0 ;
15076   long val4 ;
15077   int ecode4 = 0 ;
15078   
15079   if ((argc < 4) || (argc > 4)) {
15080     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15081   }
15082   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15083   if (!SWIG_IsOK(res1)) {
15084     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageSmoothing", 1, argv[0] )); 
15085   }
15086   arg1 = (mrcImage *)(argp1);
15087   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15088   if (!SWIG_IsOK(res2)) {
15089     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageSmoothing", 2, argv[1] )); 
15090   }
15091   arg2 = (mrcImage *)(argp2);
15092   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 |  0 );
15093   if (!SWIG_IsOK(res3)) {
15094     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","lmrcImageSmoothing", 3, argv[2] )); 
15095   }
15096   arg3 = (lmrcImageSmoothingInfo *)(argp3);
15097   ecode4 = SWIG_AsVal_long(argv[3], &val4);
15098   if (!SWIG_IsOK(ecode4)) {
15099     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageSmoothing", 4, argv[3] ));
15100   } 
15101   arg4 = (long)(val4);
15102   lmrcImageSmoothing(arg1,arg2,arg3,arg4);
15103   return Qnil;
15104 fail:
15105   return Qnil;
15106 }
15107
15108
15109 SWIGINTERN VALUE
15110 _wrap_lmrcImageCVE(int argc, VALUE *argv, VALUE self) {
15111   mrcImage *arg1 = (mrcImage *) 0 ;
15112   mrcImage *arg2 = (mrcImage *) 0 ;
15113   lmrcImageCVEInfo *arg3 = (lmrcImageCVEInfo *) 0 ;
15114   void *argp1 = 0 ;
15115   int res1 = 0 ;
15116   void *argp2 = 0 ;
15117   int res2 = 0 ;
15118   void *argp3 = 0 ;
15119   int res3 = 0 ;
15120   
15121   if ((argc < 3) || (argc > 3)) {
15122     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
15123   }
15124   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15125   if (!SWIG_IsOK(res1)) {
15126     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCVE", 1, argv[0] )); 
15127   }
15128   arg1 = (mrcImage *)(argp1);
15129   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15130   if (!SWIG_IsOK(res2)) {
15131     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCVE", 2, argv[1] )); 
15132   }
15133   arg2 = (mrcImage *)(argp2);
15134   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_lmrcImageCVEInfo, 0 |  0 );
15135   if (!SWIG_IsOK(res3)) {
15136     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","lmrcImageCVE", 3, argv[2] )); 
15137   }
15138   arg3 = (lmrcImageCVEInfo *)(argp3);
15139   lmrcImageCVE(arg1,arg2,arg3);
15140   return Qnil;
15141 fail:
15142   return Qnil;
15143 }
15144
15145
15146 SWIGINTERN VALUE
15147 _wrap_lmrcImageTfunction(int argc, VALUE *argv, VALUE self) {
15148   mrcImage *arg1 = (mrcImage *) 0 ;
15149   mrcImage *arg2 = (mrcImage *) 0 ;
15150   lmrcImageTfunctionInfo *arg3 = (lmrcImageTfunctionInfo *) 0 ;
15151   long arg4 ;
15152   void *argp1 = 0 ;
15153   int res1 = 0 ;
15154   void *argp2 = 0 ;
15155   int res2 = 0 ;
15156   void *argp3 = 0 ;
15157   int res3 = 0 ;
15158   long val4 ;
15159   int ecode4 = 0 ;
15160   
15161   if ((argc < 4) || (argc > 4)) {
15162     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15163   }
15164   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15165   if (!SWIG_IsOK(res1)) {
15166     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageTfunction", 1, argv[0] )); 
15167   }
15168   arg1 = (mrcImage *)(argp1);
15169   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15170   if (!SWIG_IsOK(res2)) {
15171     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageTfunction", 2, argv[1] )); 
15172   }
15173   arg2 = (mrcImage *)(argp2);
15174   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 |  0 );
15175   if (!SWIG_IsOK(res3)) {
15176     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","lmrcImageTfunction", 3, argv[2] )); 
15177   }
15178   arg3 = (lmrcImageTfunctionInfo *)(argp3);
15179   ecode4 = SWIG_AsVal_long(argv[3], &val4);
15180   if (!SWIG_IsOK(ecode4)) {
15181     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageTfunction", 4, argv[3] ));
15182   } 
15183   arg4 = (long)(val4);
15184   lmrcImageTfunction(arg1,arg2,arg3,arg4);
15185   return Qnil;
15186 fail:
15187   return Qnil;
15188 }
15189
15190
15191 SWIGINTERN VALUE
15192 _wrap_lmrcImageHighlightingInfoPrint(int argc, VALUE *argv, VALUE self) {
15193   FILE *arg1 = (FILE *) 0 ;
15194   void *argp1 = 0 ;
15195   int res1 = 0 ;
15196   
15197   if ((argc < 1) || (argc > 1)) {
15198     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15199   }
15200   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
15201   if (!SWIG_IsOK(res1)) {
15202     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","lmrcImageHighlightingInfoPrint", 1, argv[0] )); 
15203   }
15204   arg1 = (FILE *)(argp1);
15205   lmrcImageHighlightingInfoPrint(arg1);
15206   return Qnil;
15207 fail:
15208   return Qnil;
15209 }
15210
15211
15212 SWIGINTERN VALUE
15213 _wrap_lmrcImageHighlighting(int argc, VALUE *argv, VALUE self) {
15214   mrcImage *arg1 = (mrcImage *) 0 ;
15215   mrcImage *arg2 = (mrcImage *) 0 ;
15216   lmrcImageHighlightInfo *arg3 = (lmrcImageHighlightInfo *) 0 ;
15217   void *argp1 = 0 ;
15218   int res1 = 0 ;
15219   void *argp2 = 0 ;
15220   int res2 = 0 ;
15221   void *argp3 = 0 ;
15222   int res3 = 0 ;
15223   
15224   if ((argc < 3) || (argc > 3)) {
15225     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
15226   }
15227   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15228   if (!SWIG_IsOK(res1)) {
15229     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHighlighting", 1, argv[0] )); 
15230   }
15231   arg1 = (mrcImage *)(argp1);
15232   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15233   if (!SWIG_IsOK(res2)) {
15234     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHighlighting", 2, argv[1] )); 
15235   }
15236   arg2 = (mrcImage *)(argp2);
15237   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_lmrcImageHighlightInfo, 0 |  0 );
15238   if (!SWIG_IsOK(res3)) {
15239     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","lmrcImageHighlighting", 3, argv[2] )); 
15240   }
15241   arg3 = (lmrcImageHighlightInfo *)(argp3);
15242   lmrcImageHighlighting(arg1,arg2,arg3);
15243   return Qnil;
15244 fail:
15245   return Qnil;
15246 }
15247
15248
15249 SWIGINTERN VALUE
15250 _wrap_lmrcImageLowPassFilter(int argc, VALUE *argv, VALUE self) {
15251   mrcImage *arg1 = (mrcImage *) 0 ;
15252   mrcImage *arg2 = (mrcImage *) 0 ;
15253   lmrcImageLowPassFilterInfo *arg3 = (lmrcImageLowPassFilterInfo *) 0 ;
15254   long arg4 ;
15255   void *argp1 = 0 ;
15256   int res1 = 0 ;
15257   void *argp2 = 0 ;
15258   int res2 = 0 ;
15259   void *argp3 = 0 ;
15260   int res3 = 0 ;
15261   long val4 ;
15262   int ecode4 = 0 ;
15263   
15264   if ((argc < 4) || (argc > 4)) {
15265     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15266   }
15267   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15268   if (!SWIG_IsOK(res1)) {
15269     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageLowPassFilter", 1, argv[0] )); 
15270   }
15271   arg1 = (mrcImage *)(argp1);
15272   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15273   if (!SWIG_IsOK(res2)) {
15274     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageLowPassFilter", 2, argv[1] )); 
15275   }
15276   arg2 = (mrcImage *)(argp2);
15277   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 |  0 );
15278   if (!SWIG_IsOK(res3)) {
15279     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","lmrcImageLowPassFilter", 3, argv[2] )); 
15280   }
15281   arg3 = (lmrcImageLowPassFilterInfo *)(argp3);
15282   ecode4 = SWIG_AsVal_long(argv[3], &val4);
15283   if (!SWIG_IsOK(ecode4)) {
15284     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageLowPassFilter", 4, argv[3] ));
15285   } 
15286   arg4 = (long)(val4);
15287   lmrcImageLowPassFilter(arg1,arg2,arg3,arg4);
15288   return Qnil;
15289 fail:
15290   return Qnil;
15291 }
15292
15293
15294 SWIGINTERN VALUE
15295 _wrap_lmrcImageHighPassFilter(int argc, VALUE *argv, VALUE self) {
15296   mrcImage *arg1 = (mrcImage *) 0 ;
15297   mrcImage *arg2 = (mrcImage *) 0 ;
15298   lmrcImageHighPassFilterInfo *arg3 = (lmrcImageHighPassFilterInfo *) 0 ;
15299   long arg4 ;
15300   void *argp1 = 0 ;
15301   int res1 = 0 ;
15302   void *argp2 = 0 ;
15303   int res2 = 0 ;
15304   void *argp3 = 0 ;
15305   int res3 = 0 ;
15306   long val4 ;
15307   int ecode4 = 0 ;
15308   
15309   if ((argc < 4) || (argc > 4)) {
15310     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15311   }
15312   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15313   if (!SWIG_IsOK(res1)) {
15314     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHighPassFilter", 1, argv[0] )); 
15315   }
15316   arg1 = (mrcImage *)(argp1);
15317   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15318   if (!SWIG_IsOK(res2)) {
15319     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageHighPassFilter", 2, argv[1] )); 
15320   }
15321   arg2 = (mrcImage *)(argp2);
15322   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 |  0 );
15323   if (!SWIG_IsOK(res3)) {
15324     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","lmrcImageHighPassFilter", 3, argv[2] )); 
15325   }
15326   arg3 = (lmrcImageHighPassFilterInfo *)(argp3);
15327   ecode4 = SWIG_AsVal_long(argv[3], &val4);
15328   if (!SWIG_IsOK(ecode4)) {
15329     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageHighPassFilter", 4, argv[3] ));
15330   } 
15331   arg4 = (long)(val4);
15332   lmrcImageHighPassFilter(arg1,arg2,arg3,arg4);
15333   return Qnil;
15334 fail:
15335   return Qnil;
15336 }
15337
15338
15339 SWIGINTERN VALUE
15340 _wrap_lmrcImageBandPassFilter(int argc, VALUE *argv, VALUE self) {
15341   mrcImage *arg1 = (mrcImage *) 0 ;
15342   mrcImage *arg2 = (mrcImage *) 0 ;
15343   lmrcImageBandPassFilterInfo *arg3 = (lmrcImageBandPassFilterInfo *) 0 ;
15344   long arg4 ;
15345   void *argp1 = 0 ;
15346   int res1 = 0 ;
15347   void *argp2 = 0 ;
15348   int res2 = 0 ;
15349   void *argp3 = 0 ;
15350   int res3 = 0 ;
15351   long val4 ;
15352   int ecode4 = 0 ;
15353   
15354   if ((argc < 4) || (argc > 4)) {
15355     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15356   }
15357   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15358   if (!SWIG_IsOK(res1)) {
15359     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageBandPassFilter", 1, argv[0] )); 
15360   }
15361   arg1 = (mrcImage *)(argp1);
15362   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15363   if (!SWIG_IsOK(res2)) {
15364     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageBandPassFilter", 2, argv[1] )); 
15365   }
15366   arg2 = (mrcImage *)(argp2);
15367   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 |  0 );
15368   if (!SWIG_IsOK(res3)) {
15369     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","lmrcImageBandPassFilter", 3, argv[2] )); 
15370   }
15371   arg3 = (lmrcImageBandPassFilterInfo *)(argp3);
15372   ecode4 = SWIG_AsVal_long(argv[3], &val4);
15373   if (!SWIG_IsOK(ecode4)) {
15374     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageBandPassFilter", 4, argv[3] ));
15375   } 
15376   arg4 = (long)(val4);
15377   lmrcImageBandPassFilter(arg1,arg2,arg3,arg4);
15378   return Qnil;
15379 fail:
15380   return Qnil;
15381 }
15382
15383
15384 SWIGINTERN VALUE
15385 _wrap_lmrcImageShrink(int argc, VALUE *argv, VALUE self) {
15386   mrcImage *arg1 = (mrcImage *) 0 ;
15387   mrcImage *arg2 = (mrcImage *) 0 ;
15388   mrcImageParaTypeIntegerCoord arg3 ;
15389   long arg4 ;
15390   void *argp1 = 0 ;
15391   int res1 = 0 ;
15392   void *argp2 = 0 ;
15393   int res2 = 0 ;
15394   void *argp3 ;
15395   int res3 = 0 ;
15396   long val4 ;
15397   int ecode4 = 0 ;
15398   
15399   if ((argc < 4) || (argc > 4)) {
15400     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15401   }
15402   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15403   if (!SWIG_IsOK(res1)) {
15404     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageShrink", 1, argv[0] )); 
15405   }
15406   arg1 = (mrcImage *)(argp1);
15407   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15408   if (!SWIG_IsOK(res2)) {
15409     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageShrink", 2, argv[1] )); 
15410   }
15411   arg2 = (mrcImage *)(argp2);
15412   {
15413     res3 = SWIG_ConvertPtr(argv[2], &argp3, SWIGTYPE_p_mrcImageParaTypeIntegerCoord,  0 );
15414     if (!SWIG_IsOK(res3)) {
15415       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord","lmrcImageShrink", 3, argv[2] )); 
15416     }  
15417     if (!argp3) {
15418       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "mrcImageParaTypeIntegerCoord","lmrcImageShrink", 3, argv[2]));
15419     } else {
15420       arg3 = *((mrcImageParaTypeIntegerCoord *)(argp3));
15421     }
15422   }
15423   ecode4 = SWIG_AsVal_long(argv[3], &val4);
15424   if (!SWIG_IsOK(ecode4)) {
15425     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageShrink", 4, argv[3] ));
15426   } 
15427   arg4 = (long)(val4);
15428   lmrcImageShrink(arg1,arg2,arg3,arg4);
15429   return Qnil;
15430 fail:
15431   return Qnil;
15432 }
15433
15434
15435 SWIGINTERN VALUE
15436 _wrap_lmrcImageShift(int argc, VALUE *argv, VALUE self) {
15437   mrcImage *arg1 = (mrcImage *) 0 ;
15438   mrcImage *arg2 = (mrcImage *) 0 ;
15439   mrcImageParaTypeRealCoord arg3 ;
15440   mrcPixelDataHowToGet arg4 ;
15441   void *argp1 = 0 ;
15442   int res1 = 0 ;
15443   void *argp2 = 0 ;
15444   int res2 = 0 ;
15445   void *argp3 ;
15446   int res3 = 0 ;
15447   int val4 ;
15448   int ecode4 = 0 ;
15449   
15450   if ((argc < 4) || (argc > 4)) {
15451     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
15452   }
15453   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15454   if (!SWIG_IsOK(res1)) {
15455     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageShift", 1, argv[0] )); 
15456   }
15457   arg1 = (mrcImage *)(argp1);
15458   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15459   if (!SWIG_IsOK(res2)) {
15460     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageShift", 2, argv[1] )); 
15461   }
15462   arg2 = (mrcImage *)(argp2);
15463   {
15464     res3 = SWIG_ConvertPtr(argv[2], &argp3, SWIGTYPE_p_mrcImageParaTypeRealCoord,  0 );
15465     if (!SWIG_IsOK(res3)) {
15466       SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord","lmrcImageShift", 3, argv[2] )); 
15467     }  
15468     if (!argp3) {
15469       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "mrcImageParaTypeRealCoord","lmrcImageShift", 3, argv[2]));
15470     } else {
15471       arg3 = *((mrcImageParaTypeRealCoord *)(argp3));
15472     }
15473   }
15474   ecode4 = SWIG_AsVal_int(argv[3], &val4);
15475   if (!SWIG_IsOK(ecode4)) {
15476     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcPixelDataHowToGet","lmrcImageShift", 4, argv[3] ));
15477   } 
15478   arg4 = (mrcPixelDataHowToGet)(val4);
15479   lmrcImageShift(arg1,arg2,arg3,arg4);
15480   return Qnil;
15481 fail:
15482   return Qnil;
15483 }
15484
15485
15486 SWIGINTERN VALUE
15487 _wrap_lmrcImageShiftFollowingGC(int argc, VALUE *argv, VALUE self) {
15488   mrcImage *arg1 = (mrcImage *) 0 ;
15489   mrcImage *arg2 = (mrcImage *) 0 ;
15490   int arg3 ;
15491   void *argp1 = 0 ;
15492   int res1 = 0 ;
15493   void *argp2 = 0 ;
15494   int res2 = 0 ;
15495   int val3 ;
15496   int ecode3 = 0 ;
15497   
15498   if ((argc < 3) || (argc > 3)) {
15499     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
15500   }
15501   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
15502   if (!SWIG_IsOK(res1)) {
15503     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageShiftFollowingGC", 1, argv[0] )); 
15504   }
15505   arg1 = (mrcImage *)(argp1);
15506   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15507   if (!SWIG_IsOK(res2)) {
15508     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageShiftFollowingGC", 2, argv[1] )); 
15509   }
15510   arg2 = (mrcImage *)(argp2);
15511   ecode3 = SWIG_AsVal_int(argv[2], &val3);
15512   if (!SWIG_IsOK(ecode3)) {
15513     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmrcImageShiftFollowingGC", 3, argv[2] ));
15514   } 
15515   arg3 = (int)(val3);
15516   lmrcImageShiftFollowingGC(arg1,arg2,arg3);
15517   return Qnil;
15518 fail:
15519   return Qnil;
15520 }
15521
15522
15523 SWIGINTERN VALUE
15524 _wrap_mrcInfoPrint(int argc, VALUE *argv, VALUE self) {
15525   FILE *arg1 = (FILE *) 0 ;
15526   mrcImage *arg2 = (mrcImage *) 0 ;
15527   mrcImageParaTypeInteger arg3 ;
15528   void *argp1 = 0 ;
15529   int res1 = 0 ;
15530   void *argp2 = 0 ;
15531   int res2 = 0 ;
15532   int val3 ;
15533   int ecode3 = 0 ;
15534   
15535   if ((argc < 3) || (argc > 3)) {
15536     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
15537   }
15538   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
15539   if (!SWIG_IsOK(res1)) {
15540     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","mrcInfoPrint", 1, argv[0] )); 
15541   }
15542   arg1 = (FILE *)(argp1);
15543   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
15544   if (!SWIG_IsOK(res2)) {
15545     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","mrcInfoPrint", 2, argv[1] )); 
15546   }
15547   arg2 = (mrcImage *)(argp2);
15548   ecode3 = SWIG_AsVal_int(argv[2], &val3);
15549   if (!SWIG_IsOK(ecode3)) {
15550     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","mrcInfoPrint", 3, argv[2] ));
15551   } 
15552   arg3 = (mrcImageParaTypeInteger)(val3);
15553   mrcInfoPrint(arg1,arg2,arg3);
15554   return Qnil;
15555 fail:
15556   return Qnil;
15557 }
15558
15559
15560 swig_class cLmrcImageMultiCTFCompensationInfo;
15561
15562 SWIGINTERN VALUE
15563 _wrap_lmrcImageMultiCTFCompensationInfo_maxiteration_set(int argc, VALUE *argv, VALUE self) {
15564   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15565   long arg2 ;
15566   void *argp1 = 0 ;
15567   int res1 = 0 ;
15568   long val2 ;
15569   int ecode2 = 0 ;
15570   
15571   if ((argc < 1) || (argc > 1)) {
15572     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15573   }
15574   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15575   if (!SWIG_IsOK(res1)) {
15576     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","maxiteration", 1, self )); 
15577   }
15578   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15579   ecode2 = SWIG_AsVal_long(argv[0], &val2);
15580   if (!SWIG_IsOK(ecode2)) {
15581     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","maxiteration", 2, argv[0] ));
15582   } 
15583   arg2 = (long)(val2);
15584   if (arg1) (arg1)->maxiteration = arg2;
15585   return Qnil;
15586 fail:
15587   return Qnil;
15588 }
15589
15590
15591 SWIGINTERN VALUE
15592 _wrap_lmrcImageMultiCTFCompensationInfo_maxiteration_get(int argc, VALUE *argv, VALUE self) {
15593   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15594   void *argp1 = 0 ;
15595   int res1 = 0 ;
15596   long result;
15597   VALUE vresult = Qnil;
15598   
15599   if ((argc < 0) || (argc > 0)) {
15600     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
15601   }
15602   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15603   if (!SWIG_IsOK(res1)) {
15604     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","maxiteration", 1, self )); 
15605   }
15606   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15607   result = (long) ((arg1)->maxiteration);
15608   vresult = SWIG_From_long((long)(result));
15609   return vresult;
15610 fail:
15611   return Qnil;
15612 }
15613
15614
15615 SWIGINTERN VALUE
15616 _wrap_lmrcImageMultiCTFCompensationInfo_okrms_set(int argc, VALUE *argv, VALUE self) {
15617   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15618   double arg2 ;
15619   void *argp1 = 0 ;
15620   int res1 = 0 ;
15621   double val2 ;
15622   int ecode2 = 0 ;
15623   
15624   if ((argc < 1) || (argc > 1)) {
15625     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15626   }
15627   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15628   if (!SWIG_IsOK(res1)) {
15629     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","okrms", 1, self )); 
15630   }
15631   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15632   ecode2 = SWIG_AsVal_double(argv[0], &val2);
15633   if (!SWIG_IsOK(ecode2)) {
15634     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","okrms", 2, argv[0] ));
15635   } 
15636   arg2 = (double)(val2);
15637   if (arg1) (arg1)->okrms = arg2;
15638   return Qnil;
15639 fail:
15640   return Qnil;
15641 }
15642
15643
15644 SWIGINTERN VALUE
15645 _wrap_lmrcImageMultiCTFCompensationInfo_okrms_get(int argc, VALUE *argv, VALUE self) {
15646   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15647   void *argp1 = 0 ;
15648   int res1 = 0 ;
15649   double result;
15650   VALUE vresult = Qnil;
15651   
15652   if ((argc < 0) || (argc > 0)) {
15653     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
15654   }
15655   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15656   if (!SWIG_IsOK(res1)) {
15657     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","okrms", 1, self )); 
15658   }
15659   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15660   result = (double) ((arg1)->okrms);
15661   vresult = SWIG_From_double((double)(result));
15662   return vresult;
15663 fail:
15664   return Qnil;
15665 }
15666
15667
15668 SWIGINTERN VALUE
15669 _wrap_lmrcImageMultiCTFCompensationInfo_diversefactor_set(int argc, VALUE *argv, VALUE self) {
15670   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15671   long arg2 ;
15672   void *argp1 = 0 ;
15673   int res1 = 0 ;
15674   long val2 ;
15675   int ecode2 = 0 ;
15676   
15677   if ((argc < 1) || (argc > 1)) {
15678     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15679   }
15680   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15681   if (!SWIG_IsOK(res1)) {
15682     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","diversefactor", 1, self )); 
15683   }
15684   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15685   ecode2 = SWIG_AsVal_long(argv[0], &val2);
15686   if (!SWIG_IsOK(ecode2)) {
15687     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","diversefactor", 2, argv[0] ));
15688   } 
15689   arg2 = (long)(val2);
15690   if (arg1) (arg1)->diversefactor = arg2;
15691   return Qnil;
15692 fail:
15693   return Qnil;
15694 }
15695
15696
15697 SWIGINTERN VALUE
15698 _wrap_lmrcImageMultiCTFCompensationInfo_diversefactor_get(int argc, VALUE *argv, VALUE self) {
15699   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15700   void *argp1 = 0 ;
15701   int res1 = 0 ;
15702   long result;
15703   VALUE vresult = Qnil;
15704   
15705   if ((argc < 0) || (argc > 0)) {
15706     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
15707   }
15708   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15709   if (!SWIG_IsOK(res1)) {
15710     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","diversefactor", 1, self )); 
15711   }
15712   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15713   result = (long) ((arg1)->diversefactor);
15714   vresult = SWIG_From_long((long)(result));
15715   return vresult;
15716 fail:
15717   return Qnil;
15718 }
15719
15720
15721 SWIGINTERN VALUE
15722 _wrap_lmrcImageMultiCTFCompensationInfo_z_set(int argc, VALUE *argv, VALUE self) {
15723   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15724   double arg2 ;
15725   void *argp1 = 0 ;
15726   int res1 = 0 ;
15727   double val2 ;
15728   int ecode2 = 0 ;
15729   
15730   if ((argc < 1) || (argc > 1)) {
15731     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15732   }
15733   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15734   if (!SWIG_IsOK(res1)) {
15735     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","z", 1, self )); 
15736   }
15737   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15738   ecode2 = SWIG_AsVal_double(argv[0], &val2);
15739   if (!SWIG_IsOK(ecode2)) {
15740     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","z", 2, argv[0] ));
15741   } 
15742   arg2 = (double)(val2);
15743   if (arg1) (arg1)->z = arg2;
15744   return Qnil;
15745 fail:
15746   return Qnil;
15747 }
15748
15749
15750 SWIGINTERN VALUE
15751 _wrap_lmrcImageMultiCTFCompensationInfo_z_get(int argc, VALUE *argv, VALUE self) {
15752   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15753   void *argp1 = 0 ;
15754   int res1 = 0 ;
15755   double result;
15756   VALUE vresult = Qnil;
15757   
15758   if ((argc < 0) || (argc > 0)) {
15759     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
15760   }
15761   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15762   if (!SWIG_IsOK(res1)) {
15763     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","z", 1, self )); 
15764   }
15765   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15766   result = (double) ((arg1)->z);
15767   vresult = SWIG_From_double((double)(result));
15768   return vresult;
15769 fail:
15770   return Qnil;
15771 }
15772
15773
15774 SWIGINTERN VALUE
15775 _wrap_lmrcImageMultiCTFCompensationInfo_nhist_set(int argc, VALUE *argv, VALUE self) {
15776   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15777   long arg2 ;
15778   void *argp1 = 0 ;
15779   int res1 = 0 ;
15780   long val2 ;
15781   int ecode2 = 0 ;
15782   
15783   if ((argc < 1) || (argc > 1)) {
15784     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15785   }
15786   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15787   if (!SWIG_IsOK(res1)) {
15788     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","nhist", 1, self )); 
15789   }
15790   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15791   ecode2 = SWIG_AsVal_long(argv[0], &val2);
15792   if (!SWIG_IsOK(ecode2)) {
15793     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","nhist", 2, argv[0] ));
15794   } 
15795   arg2 = (long)(val2);
15796   if (arg1) (arg1)->nhist = arg2;
15797   return Qnil;
15798 fail:
15799   return Qnil;
15800 }
15801
15802
15803 SWIGINTERN VALUE
15804 _wrap_lmrcImageMultiCTFCompensationInfo_nhist_get(int argc, VALUE *argv, VALUE self) {
15805   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15806   void *argp1 = 0 ;
15807   int res1 = 0 ;
15808   long result;
15809   VALUE vresult = Qnil;
15810   
15811   if ((argc < 0) || (argc > 0)) {
15812     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
15813   }
15814   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15815   if (!SWIG_IsOK(res1)) {
15816     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","nhist", 1, self )); 
15817   }
15818   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15819   result = (long) ((arg1)->nhist);
15820   vresult = SWIG_From_long((long)(result));
15821   return vresult;
15822 fail:
15823   return Qnil;
15824 }
15825
15826
15827 SWIGINTERN VALUE
15828 _wrap_lmrcImageMultiCTFCompensationInfo_logfile_set(int argc, VALUE *argv, VALUE self) {
15829   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15830   FILE *arg2 = (FILE *) 0 ;
15831   void *argp1 = 0 ;
15832   int res1 = 0 ;
15833   void *argp2 = 0 ;
15834   int res2 = 0 ;
15835   
15836   if ((argc < 1) || (argc > 1)) {
15837     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15838   }
15839   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15840   if (!SWIG_IsOK(res1)) {
15841     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","logfile", 1, self )); 
15842   }
15843   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15844   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FILE, SWIG_POINTER_DISOWN |  0 );
15845   if (!SWIG_IsOK(res2)) {
15846     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","logfile", 2, argv[0] )); 
15847   }
15848   arg2 = (FILE *)(argp2);
15849   if (arg1) (arg1)->logfile = arg2;
15850   return Qnil;
15851 fail:
15852   return Qnil;
15853 }
15854
15855
15856 SWIGINTERN VALUE
15857 _wrap_lmrcImageMultiCTFCompensationInfo_logfile_get(int argc, VALUE *argv, VALUE self) {
15858   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15859   void *argp1 = 0 ;
15860   int res1 = 0 ;
15861   FILE *result = 0 ;
15862   VALUE vresult = Qnil;
15863   
15864   if ((argc < 0) || (argc > 0)) {
15865     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
15866   }
15867   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15868   if (!SWIG_IsOK(res1)) {
15869     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","logfile", 1, self )); 
15870   }
15871   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15872   result = (FILE *) ((arg1)->logfile);
15873   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 |  0 );
15874   return vresult;
15875 fail:
15876   return Qnil;
15877 }
15878
15879
15880 SWIGINTERN VALUE
15881 _wrap_lmrcImageMultiCTFCompensationInfo_solventMode_set(int argc, VALUE *argv, VALUE self) {
15882   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15883   lmrcImageMultiCTFCompensationSolventFlatteningMode arg2 ;
15884   void *argp1 = 0 ;
15885   int res1 = 0 ;
15886   int val2 ;
15887   int ecode2 = 0 ;
15888   
15889   if ((argc < 1) || (argc > 1)) {
15890     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15891   }
15892   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15893   if (!SWIG_IsOK(res1)) {
15894     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","solventMode", 1, self )); 
15895   }
15896   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15897   ecode2 = SWIG_AsVal_int(argv[0], &val2);
15898   if (!SWIG_IsOK(ecode2)) {
15899     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationSolventFlatteningMode","solventMode", 2, argv[0] ));
15900   } 
15901   arg2 = (lmrcImageMultiCTFCompensationSolventFlatteningMode)(val2);
15902   if (arg1) (arg1)->solventMode = arg2;
15903   return Qnil;
15904 fail:
15905   return Qnil;
15906 }
15907
15908
15909 SWIGINTERN VALUE
15910 _wrap_lmrcImageMultiCTFCompensationInfo_solventMode_get(int argc, VALUE *argv, VALUE self) {
15911   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15912   void *argp1 = 0 ;
15913   int res1 = 0 ;
15914   lmrcImageMultiCTFCompensationSolventFlatteningMode result;
15915   VALUE vresult = Qnil;
15916   
15917   if ((argc < 0) || (argc > 0)) {
15918     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
15919   }
15920   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15921   if (!SWIG_IsOK(res1)) {
15922     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","solventMode", 1, self )); 
15923   }
15924   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15925   result = (lmrcImageMultiCTFCompensationSolventFlatteningMode) ((arg1)->solventMode);
15926   vresult = SWIG_From_int((int)(result));
15927   return vresult;
15928 fail:
15929   return Qnil;
15930 }
15931
15932
15933 SWIGINTERN VALUE
15934 _wrap_lmrcImageMultiCTFCompensationInfo_definedSTD_set(int argc, VALUE *argv, VALUE self) {
15935   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15936   float arg2 ;
15937   void *argp1 = 0 ;
15938   int res1 = 0 ;
15939   float val2 ;
15940   int ecode2 = 0 ;
15941   
15942   if ((argc < 1) || (argc > 1)) {
15943     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
15944   }
15945   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15946   if (!SWIG_IsOK(res1)) {
15947     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","definedSTD", 1, self )); 
15948   }
15949   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15950   ecode2 = SWIG_AsVal_float(argv[0], &val2);
15951   if (!SWIG_IsOK(ecode2)) {
15952     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","definedSTD", 2, argv[0] ));
15953   } 
15954   arg2 = (float)(val2);
15955   if (arg1) (arg1)->definedSTD = arg2;
15956   return Qnil;
15957 fail:
15958   return Qnil;
15959 }
15960
15961
15962 SWIGINTERN VALUE
15963 _wrap_lmrcImageMultiCTFCompensationInfo_definedSTD_get(int argc, VALUE *argv, VALUE self) {
15964   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15965   void *argp1 = 0 ;
15966   int res1 = 0 ;
15967   float result;
15968   VALUE vresult = Qnil;
15969   
15970   if ((argc < 0) || (argc > 0)) {
15971     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
15972   }
15973   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
15974   if (!SWIG_IsOK(res1)) {
15975     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","definedSTD", 1, self )); 
15976   }
15977   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15978   result = (float) ((arg1)->definedSTD);
15979   vresult = SWIG_From_float((float)(result));
15980   return vresult;
15981 fail:
15982   return Qnil;
15983 }
15984
15985
15986 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
15987 SWIGINTERN VALUE
15988 _wrap_lmrcImageMultiCTFCompensationInfo_allocate(VALUE self) {
15989 #else
15990   SWIGINTERN VALUE
15991   _wrap_lmrcImageMultiCTFCompensationInfo_allocate(int argc, VALUE *argv, VALUE self) {
15992 #endif
15993     
15994     
15995     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo);
15996 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
15997     rb_obj_call_init(vresult, argc, argv);
15998 #endif
15999     return vresult;
16000   }
16001   
16002
16003 SWIGINTERN VALUE
16004 _wrap_new_lmrcImageMultiCTFCompensationInfo(int argc, VALUE *argv, VALUE self) {
16005   lmrcImageMultiCTFCompensationInfo *result = 0 ;
16006   
16007   if ((argc < 0) || (argc > 0)) {
16008     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16009   }
16010   result = (lmrcImageMultiCTFCompensationInfo *)calloc(1, sizeof(lmrcImageMultiCTFCompensationInfo));
16011   DATA_PTR(self) = result;
16012   return self;
16013 fail:
16014   return Qnil;
16015 }
16016
16017
16018 SWIGINTERN void
16019 free_lmrcImageMultiCTFCompensationInfo(lmrcImageMultiCTFCompensationInfo *arg1) {
16020     free((char *) arg1);
16021 }
16022
16023 SWIGINTERN VALUE
16024 _wrap_lmrcImageMultiCTFCompensationInfoInit(int argc, VALUE *argv, VALUE self) {
16025   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
16026   void *argp1 = 0 ;
16027   int res1 = 0 ;
16028   
16029   if ((argc < 1) || (argc > 1)) {
16030     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16031   }
16032   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
16033   if (!SWIG_IsOK(res1)) {
16034     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","lmrcImageMultiCTFCompensationInfoInit", 1, argv[0] )); 
16035   }
16036   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
16037   lmrcImageMultiCTFCompensationInfoInit(arg1);
16038   return Qnil;
16039 fail:
16040   return Qnil;
16041 }
16042
16043
16044 SWIGINTERN VALUE
16045 _wrap_lmrcImageMultiCTFCompensationInfoSet(int argc, VALUE *argv, VALUE self) {
16046   lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
16047   void *argp1 = 0 ;
16048   int res1 = 0 ;
16049   
16050   if ((argc < 1) || (argc > 1)) {
16051     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16052   }
16053   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 |  0 );
16054   if (!SWIG_IsOK(res1)) {
16055     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","lmrcImageMultiCTFCompensationInfoSet", 1, argv[0] )); 
16056   }
16057   arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
16058   lmrcImageMultiCTFCompensationInfoSet(arg1);
16059   return Qnil;
16060 fail:
16061   return Qnil;
16062 }
16063
16064
16065 SWIGINTERN VALUE
16066 _wrap_lmrcImageMultiCTFCompensation(int argc, VALUE *argv, VALUE self) {
16067   mrcImage *arg1 = (mrcImage *) 0 ;
16068   mrcImage *arg2 = (mrcImage *) 0 ;
16069   ctfInfo *arg3 = (ctfInfo *) 0 ;
16070   long arg4 ;
16071   lmrcImageMultiCTFCompensationInfo arg5 ;
16072   long arg6 ;
16073   void *argp1 = 0 ;
16074   int res1 = 0 ;
16075   void *argp2 = 0 ;
16076   int res2 = 0 ;
16077   void *argp3 = 0 ;
16078   int res3 = 0 ;
16079   long val4 ;
16080   int ecode4 = 0 ;
16081   void *argp5 ;
16082   int res5 = 0 ;
16083   long val6 ;
16084   int ecode6 = 0 ;
16085   
16086   if ((argc < 6) || (argc > 6)) {
16087     rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
16088   }
16089   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
16090   if (!SWIG_IsOK(res1)) {
16091     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageMultiCTFCompensation", 1, argv[0] )); 
16092   }
16093   arg1 = (mrcImage *)(argp1);
16094   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
16095   if (!SWIG_IsOK(res2)) {
16096     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageMultiCTFCompensation", 2, argv[1] )); 
16097   }
16098   arg2 = (mrcImage *)(argp2);
16099   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_ctfInfo, 0 |  0 );
16100   if (!SWIG_IsOK(res3)) {
16101     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "ctfInfo *","lmrcImageMultiCTFCompensation", 3, argv[2] )); 
16102   }
16103   arg3 = (ctfInfo *)(argp3);
16104   ecode4 = SWIG_AsVal_long(argv[3], &val4);
16105   if (!SWIG_IsOK(ecode4)) {
16106     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageMultiCTFCompensation", 4, argv[3] ));
16107   } 
16108   arg4 = (long)(val4);
16109   {
16110     res5 = SWIG_ConvertPtr(argv[4], &argp5, SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo,  0 );
16111     if (!SWIG_IsOK(res5)) {
16112       SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo","lmrcImageMultiCTFCompensation", 5, argv[4] )); 
16113     }  
16114     if (!argp5) {
16115       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "lmrcImageMultiCTFCompensationInfo","lmrcImageMultiCTFCompensation", 5, argv[4]));
16116     } else {
16117       arg5 = *((lmrcImageMultiCTFCompensationInfo *)(argp5));
16118     }
16119   }
16120   ecode6 = SWIG_AsVal_long(argv[5], &val6);
16121   if (!SWIG_IsOK(ecode6)) {
16122     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "long","lmrcImageMultiCTFCompensation", 6, argv[5] ));
16123   } 
16124   arg6 = (long)(val6);
16125   lmrcImageMultiCTFCompensation(arg1,arg2,arg3,arg4,arg5,arg6);
16126   return Qnil;
16127 fail:
16128   return Qnil;
16129 }
16130
16131
16132 SWIGINTERN VALUE
16133 _wrap_lmrcImageCTFObservation(int argc, VALUE *argv, VALUE self) {
16134   mrcImage *arg1 = (mrcImage *) 0 ;
16135   mrcImage *arg2 = (mrcImage *) 0 ;
16136   ctfInfo *arg3 = (ctfInfo *) 0 ;
16137   long arg4 ;
16138   void *argp1 = 0 ;
16139   int res1 = 0 ;
16140   void *argp2 = 0 ;
16141   int res2 = 0 ;
16142   void *argp3 = 0 ;
16143   int res3 = 0 ;
16144   long val4 ;
16145   int ecode4 = 0 ;
16146   
16147   if ((argc < 4) || (argc > 4)) {
16148     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
16149   }
16150   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
16151   if (!SWIG_IsOK(res1)) {
16152     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCTFObservation", 1, argv[0] )); 
16153   }
16154   arg1 = (mrcImage *)(argp1);
16155   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
16156   if (!SWIG_IsOK(res2)) {
16157     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCTFObservation", 2, argv[1] )); 
16158   }
16159   arg2 = (mrcImage *)(argp2);
16160   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_ctfInfo, 0 |  0 );
16161   if (!SWIG_IsOK(res3)) {
16162     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "ctfInfo *","lmrcImageCTFObservation", 3, argv[2] )); 
16163   }
16164   arg3 = (ctfInfo *)(argp3);
16165   ecode4 = SWIG_AsVal_long(argv[3], &val4);
16166   if (!SWIG_IsOK(ecode4)) {
16167     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageCTFObservation", 4, argv[3] ));
16168   } 
16169   arg4 = (long)(val4);
16170   lmrcImageCTFObservation(arg1,arg2,arg3,arg4);
16171   return Qnil;
16172 fail:
16173   return Qnil;
16174 }
16175
16176
16177 SWIGINTERN VALUE
16178 _wrap_lmrcImagesCTFObservation(int argc, VALUE *argv, VALUE self) {
16179   mrcImage *arg1 = (mrcImage *) 0 ;
16180   mrcImage *arg2 = (mrcImage *) 0 ;
16181   ctfInfo *arg3 = (ctfInfo *) 0 ;
16182   long arg4 ;
16183   void *argp1 = 0 ;
16184   int res1 = 0 ;
16185   void *argp2 = 0 ;
16186   int res2 = 0 ;
16187   void *argp3 = 0 ;
16188   int res3 = 0 ;
16189   long val4 ;
16190   int ecode4 = 0 ;
16191   
16192   if ((argc < 4) || (argc > 4)) {
16193     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
16194   }
16195   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
16196   if (!SWIG_IsOK(res1)) {
16197     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImagesCTFObservation", 1, argv[0] )); 
16198   }
16199   arg1 = (mrcImage *)(argp1);
16200   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
16201   if (!SWIG_IsOK(res2)) {
16202     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImagesCTFObservation", 2, argv[1] )); 
16203   }
16204   arg2 = (mrcImage *)(argp2);
16205   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_ctfInfo, 0 |  0 );
16206   if (!SWIG_IsOK(res3)) {
16207     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "ctfInfo *","lmrcImagesCTFObservation", 3, argv[2] )); 
16208   }
16209   arg3 = (ctfInfo *)(argp3);
16210   ecode4 = SWIG_AsVal_long(argv[3], &val4);
16211   if (!SWIG_IsOK(ecode4)) {
16212     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImagesCTFObservation", 4, argv[3] ));
16213   } 
16214   arg4 = (long)(val4);
16215   lmrcImagesCTFObservation(arg1,arg2,arg3,arg4);
16216   return Qnil;
16217 fail:
16218   return Qnil;
16219 }
16220
16221
16222 SWIGINTERN VALUE
16223 _wrap_lmrcImageCTFCompensation(int argc, VALUE *argv, VALUE self) {
16224   mrcImage *arg1 = (mrcImage *) 0 ;
16225   ctfInfo *arg2 = (ctfInfo *) 0 ;
16226   long arg3 ;
16227   void *argp1 = 0 ;
16228   int res1 = 0 ;
16229   void *argp2 = 0 ;
16230   int res2 = 0 ;
16231   long val3 ;
16232   int ecode3 = 0 ;
16233   
16234   if ((argc < 3) || (argc > 3)) {
16235     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
16236   }
16237   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
16238   if (!SWIG_IsOK(res1)) {
16239     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCTFCompensation", 1, argv[0] )); 
16240   }
16241   arg1 = (mrcImage *)(argp1);
16242   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_ctfInfo, 0 |  0 );
16243   if (!SWIG_IsOK(res2)) {
16244     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "ctfInfo *","lmrcImageCTFCompensation", 2, argv[1] )); 
16245   }
16246   arg2 = (ctfInfo *)(argp2);
16247   ecode3 = SWIG_AsVal_long(argv[2], &val3);
16248   if (!SWIG_IsOK(ecode3)) {
16249     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "long","lmrcImageCTFCompensation", 3, argv[2] ));
16250   } 
16251   arg3 = (long)(val3);
16252   lmrcImageCTFCompensation(arg1,arg2,arg3);
16253   return Qnil;
16254 fail:
16255   return Qnil;
16256 }
16257
16258
16259 swig_class cLmrcImageCTFSNInfo;
16260
16261 SWIGINTERN VALUE
16262 _wrap_lmrcImageCTFSNInfo_mode_set(int argc, VALUE *argv, VALUE self) {
16263   lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16264   long arg2 ;
16265   void *argp1 = 0 ;
16266   int res1 = 0 ;
16267   long val2 ;
16268   int ecode2 = 0 ;
16269   
16270   if ((argc < 1) || (argc > 1)) {
16271     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16272   }
16273   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16274   if (!SWIG_IsOK(res1)) {
16275     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","mode", 1, self )); 
16276   }
16277   arg1 = (lmrcImageCTFSNInfo *)(argp1);
16278   ecode2 = SWIG_AsVal_long(argv[0], &val2);
16279   if (!SWIG_IsOK(ecode2)) {
16280     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
16281   } 
16282   arg2 = (long)(val2);
16283   if (arg1) (arg1)->mode = arg2;
16284   return Qnil;
16285 fail:
16286   return Qnil;
16287 }
16288
16289
16290 SWIGINTERN VALUE
16291 _wrap_lmrcImageCTFSNInfo_mode_get(int argc, VALUE *argv, VALUE self) {
16292   lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16293   void *argp1 = 0 ;
16294   int res1 = 0 ;
16295   long result;
16296   VALUE vresult = Qnil;
16297   
16298   if ((argc < 0) || (argc > 0)) {
16299     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16300   }
16301   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16302   if (!SWIG_IsOK(res1)) {
16303     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","mode", 1, self )); 
16304   }
16305   arg1 = (lmrcImageCTFSNInfo *)(argp1);
16306   result = (long) ((arg1)->mode);
16307   vresult = SWIG_From_long((long)(result));
16308   return vresult;
16309 fail:
16310   return Qnil;
16311 }
16312
16313
16314 SWIGINTERN VALUE
16315 _wrap_lmrcImageCTFSNInfo_deg1_set(int argc, VALUE *argv, VALUE self) {
16316   lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16317   long arg2 ;
16318   void *argp1 = 0 ;
16319   int res1 = 0 ;
16320   long val2 ;
16321   int ecode2 = 0 ;
16322   
16323   if ((argc < 1) || (argc > 1)) {
16324     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16325   }
16326   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16327   if (!SWIG_IsOK(res1)) {
16328     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","deg1", 1, self )); 
16329   }
16330   arg1 = (lmrcImageCTFSNInfo *)(argp1);
16331   ecode2 = SWIG_AsVal_long(argv[0], &val2);
16332   if (!SWIG_IsOK(ecode2)) {
16333     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","deg1", 2, argv[0] ));
16334   } 
16335   arg2 = (long)(val2);
16336   if (arg1) (arg1)->deg1 = arg2;
16337   return Qnil;
16338 fail:
16339   return Qnil;
16340 }
16341
16342
16343 SWIGINTERN VALUE
16344 _wrap_lmrcImageCTFSNInfo_deg1_get(int argc, VALUE *argv, VALUE self) {
16345   lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16346   void *argp1 = 0 ;
16347   int res1 = 0 ;
16348   long result;
16349   VALUE vresult = Qnil;
16350   
16351   if ((argc < 0) || (argc > 0)) {
16352     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16353   }
16354   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16355   if (!SWIG_IsOK(res1)) {
16356     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","deg1", 1, self )); 
16357   }
16358   arg1 = (lmrcImageCTFSNInfo *)(argp1);
16359   result = (long) ((arg1)->deg1);
16360   vresult = SWIG_From_long((long)(result));
16361   return vresult;
16362 fail:
16363   return Qnil;
16364 }
16365
16366
16367 SWIGINTERN VALUE
16368 _wrap_lmrcImageCTFSNInfo_deg2_set(int argc, VALUE *argv, VALUE self) {
16369   lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16370   long arg2 ;
16371   void *argp1 = 0 ;
16372   int res1 = 0 ;
16373   long val2 ;
16374   int ecode2 = 0 ;
16375   
16376   if ((argc < 1) || (argc > 1)) {
16377     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16378   }
16379   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16380   if (!SWIG_IsOK(res1)) {
16381     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","deg2", 1, self )); 
16382   }
16383   arg1 = (lmrcImageCTFSNInfo *)(argp1);
16384   ecode2 = SWIG_AsVal_long(argv[0], &val2);
16385   if (!SWIG_IsOK(ecode2)) {
16386     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","deg2", 2, argv[0] ));
16387   } 
16388   arg2 = (long)(val2);
16389   if (arg1) (arg1)->deg2 = arg2;
16390   return Qnil;
16391 fail:
16392   return Qnil;
16393 }
16394
16395
16396 SWIGINTERN VALUE
16397 _wrap_lmrcImageCTFSNInfo_deg2_get(int argc, VALUE *argv, VALUE self) {
16398   lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16399   void *argp1 = 0 ;
16400   int res1 = 0 ;
16401   long result;
16402   VALUE vresult = Qnil;
16403   
16404   if ((argc < 0) || (argc > 0)) {
16405     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16406   }
16407   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16408   if (!SWIG_IsOK(res1)) {
16409     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","deg2", 1, self )); 
16410   }
16411   arg1 = (lmrcImageCTFSNInfo *)(argp1);
16412   result = (long) ((arg1)->deg2);
16413   vresult = SWIG_From_long((long)(result));
16414   return vresult;
16415 fail:
16416   return Qnil;
16417 }
16418
16419
16420 SWIGINTERN VALUE
16421 _wrap_lmrcImageCTFSNInfo_ctf_set(int argc, VALUE *argv, VALUE self) {
16422   lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16423   ctfInfo arg2 ;
16424   void *argp1 = 0 ;
16425   int res1 = 0 ;
16426   void *argp2 ;
16427   int res2 = 0 ;
16428   
16429   if ((argc < 1) || (argc > 1)) {
16430     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16431   }
16432   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16433   if (!SWIG_IsOK(res1)) {
16434     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","ctf", 1, self )); 
16435   }
16436   arg1 = (lmrcImageCTFSNInfo *)(argp1);
16437   {
16438     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_ctfInfo,  0 );
16439     if (!SWIG_IsOK(res2)) {
16440       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "ctfInfo","ctf", 2, argv[0] )); 
16441     }  
16442     if (!argp2) {
16443       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "ctfInfo","ctf", 2, argv[0]));
16444     } else {
16445       arg2 = *((ctfInfo *)(argp2));
16446     }
16447   }
16448   if (arg1) (arg1)->ctf = arg2;
16449   return Qnil;
16450 fail:
16451   return Qnil;
16452 }
16453
16454
16455 SWIGINTERN VALUE
16456 _wrap_lmrcImageCTFSNInfo_ctf_get(int argc, VALUE *argv, VALUE self) {
16457   lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16458   void *argp1 = 0 ;
16459   int res1 = 0 ;
16460   ctfInfo result;
16461   VALUE vresult = Qnil;
16462   
16463   if ((argc < 0) || (argc > 0)) {
16464     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16465   }
16466   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16467   if (!SWIG_IsOK(res1)) {
16468     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","ctf", 1, self )); 
16469   }
16470   arg1 = (lmrcImageCTFSNInfo *)(argp1);
16471   result =  ((arg1)->ctf);
16472   vresult = SWIG_NewPointerObj((ctfInfo *)memcpy((ctfInfo *)malloc(sizeof(ctfInfo)),&result,sizeof(ctfInfo)), SWIGTYPE_p_ctfInfo, SWIG_POINTER_OWN |  0 );
16473   return vresult;
16474 fail:
16475   return Qnil;
16476 }
16477
16478
16479 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
16480 SWIGINTERN VALUE
16481 _wrap_lmrcImageCTFSNInfo_allocate(VALUE self) {
16482 #else
16483   SWIGINTERN VALUE
16484   _wrap_lmrcImageCTFSNInfo_allocate(int argc, VALUE *argv, VALUE self) {
16485 #endif
16486     
16487     
16488     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageCTFSNInfo);
16489 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
16490     rb_obj_call_init(vresult, argc, argv);
16491 #endif
16492     return vresult;
16493   }
16494   
16495
16496 SWIGINTERN VALUE
16497 _wrap_new_lmrcImageCTFSNInfo(int argc, VALUE *argv, VALUE self) {
16498   lmrcImageCTFSNInfo *result = 0 ;
16499   
16500   if ((argc < 0) || (argc > 0)) {
16501     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16502   }
16503   result = (lmrcImageCTFSNInfo *)calloc(1, sizeof(lmrcImageCTFSNInfo));
16504   DATA_PTR(self) = result;
16505   return self;
16506 fail:
16507   return Qnil;
16508 }
16509
16510
16511 SWIGINTERN void
16512 free_lmrcImageCTFSNInfo(lmrcImageCTFSNInfo *arg1) {
16513     free((char *) arg1);
16514 }
16515
16516 SWIGINTERN VALUE
16517 _wrap_lmrcImageCTFSN(int argc, VALUE *argv, VALUE self) {
16518   mrcImage *arg1 = (mrcImage *) 0 ;
16519   mrcImage *arg2 = (mrcImage *) 0 ;
16520   lmrcImageCTFSNInfo *arg3 = (lmrcImageCTFSNInfo *) 0 ;
16521   long arg4 ;
16522   void *argp1 = 0 ;
16523   int res1 = 0 ;
16524   void *argp2 = 0 ;
16525   int res2 = 0 ;
16526   void *argp3 = 0 ;
16527   int res3 = 0 ;
16528   long val4 ;
16529   int ecode4 = 0 ;
16530   
16531   if ((argc < 4) || (argc > 4)) {
16532     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
16533   }
16534   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
16535   if (!SWIG_IsOK(res1)) {
16536     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageCTFSN", 1, argv[0] )); 
16537   }
16538   arg1 = (mrcImage *)(argp1);
16539   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
16540   if (!SWIG_IsOK(res2)) {
16541     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage const *","lmrcImageCTFSN", 2, argv[1] )); 
16542   }
16543   arg2 = (mrcImage *)(argp2);
16544   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 |  0 );
16545   if (!SWIG_IsOK(res3)) {
16546     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","lmrcImageCTFSN", 3, argv[2] )); 
16547   }
16548   arg3 = (lmrcImageCTFSNInfo *)(argp3);
16549   ecode4 = SWIG_AsVal_long(argv[3], &val4);
16550   if (!SWIG_IsOK(ecode4)) {
16551     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","lmrcImageCTFSN", 4, argv[3] ));
16552   } 
16553   arg4 = (long)(val4);
16554   lmrcImageCTFSN(arg1,(struct mrcImage const *)arg2,arg3,arg4);
16555   return Qnil;
16556 fail:
16557   return Qnil;
16558 }
16559
16560
16561 swig_class cMrcImageFourierPowerSpectrum;
16562
16563 SWIGINTERN VALUE
16564 _wrap_mrcImageFourierPowerSpectrum_n_set(int argc, VALUE *argv, VALUE self) {
16565   mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16566   long arg2 ;
16567   void *argp1 = 0 ;
16568   int res1 = 0 ;
16569   long val2 ;
16570   int ecode2 = 0 ;
16571   
16572   if ((argc < 1) || (argc > 1)) {
16573     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16574   }
16575   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 |  0 );
16576   if (!SWIG_IsOK(res1)) {
16577     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","n", 1, self )); 
16578   }
16579   arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16580   ecode2 = SWIG_AsVal_long(argv[0], &val2);
16581   if (!SWIG_IsOK(ecode2)) {
16582     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","n", 2, argv[0] ));
16583   } 
16584   arg2 = (long)(val2);
16585   if (arg1) (arg1)->n = arg2;
16586   return Qnil;
16587 fail:
16588   return Qnil;
16589 }
16590
16591
16592 SWIGINTERN VALUE
16593 _wrap_mrcImageFourierPowerSpectrum_n_get(int argc, VALUE *argv, VALUE self) {
16594   mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16595   void *argp1 = 0 ;
16596   int res1 = 0 ;
16597   long result;
16598   VALUE vresult = Qnil;
16599   
16600   if ((argc < 0) || (argc > 0)) {
16601     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16602   }
16603   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 |  0 );
16604   if (!SWIG_IsOK(res1)) {
16605     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","n", 1, self )); 
16606   }
16607   arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16608   result = (long) ((arg1)->n);
16609   vresult = SWIG_From_long((long)(result));
16610   return vresult;
16611 fail:
16612   return Qnil;
16613 }
16614
16615
16616 SWIGINTERN VALUE
16617 _wrap_mrcImageFourierPowerSpectrum_d_set(int argc, VALUE *argv, VALUE self) {
16618   mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16619   double arg2 ;
16620   void *argp1 = 0 ;
16621   int res1 = 0 ;
16622   double val2 ;
16623   int ecode2 = 0 ;
16624   
16625   if ((argc < 1) || (argc > 1)) {
16626     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16627   }
16628   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 |  0 );
16629   if (!SWIG_IsOK(res1)) {
16630     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","d", 1, self )); 
16631   }
16632   arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16633   ecode2 = SWIG_AsVal_double(argv[0], &val2);
16634   if (!SWIG_IsOK(ecode2)) {
16635     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","d", 2, argv[0] ));
16636   } 
16637   arg2 = (double)(val2);
16638   if (arg1) (arg1)->d = arg2;
16639   return Qnil;
16640 fail:
16641   return Qnil;
16642 }
16643
16644
16645 SWIGINTERN VALUE
16646 _wrap_mrcImageFourierPowerSpectrum_d_get(int argc, VALUE *argv, VALUE self) {
16647   mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16648   void *argp1 = 0 ;
16649   int res1 = 0 ;
16650   double result;
16651   VALUE vresult = Qnil;
16652   
16653   if ((argc < 0) || (argc > 0)) {
16654     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16655   }
16656   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 |  0 );
16657   if (!SWIG_IsOK(res1)) {
16658     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","d", 1, self )); 
16659   }
16660   arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16661   result = (double) ((arg1)->d);
16662   vresult = SWIG_From_double((double)(result));
16663   return vresult;
16664 fail:
16665   return Qnil;
16666 }
16667
16668
16669 SWIGINTERN VALUE
16670 _wrap_mrcImageFourierPowerSpectrum_h_set(int argc, VALUE *argv, VALUE self) {
16671   mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16672   double *arg2 = (double *) 0 ;
16673   void *argp1 = 0 ;
16674   int res1 = 0 ;
16675   void *argp2 = 0 ;
16676   int res2 = 0 ;
16677   
16678   if ((argc < 1) || (argc > 1)) {
16679     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16680   }
16681   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 |  0 );
16682   if (!SWIG_IsOK(res1)) {
16683     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","h", 1, self )); 
16684   }
16685   arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16686   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN |  0 );
16687   if (!SWIG_IsOK(res2)) {
16688     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","h", 2, argv[0] )); 
16689   }
16690   arg2 = (double *)(argp2);
16691   if (arg1) (arg1)->h = arg2;
16692   return Qnil;
16693 fail:
16694   return Qnil;
16695 }
16696
16697
16698 SWIGINTERN VALUE
16699 _wrap_mrcImageFourierPowerSpectrum_h_get(int argc, VALUE *argv, VALUE self) {
16700   mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16701   void *argp1 = 0 ;
16702   int res1 = 0 ;
16703   double *result = 0 ;
16704   VALUE vresult = Qnil;
16705   
16706   if ((argc < 0) || (argc > 0)) {
16707     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16708   }
16709   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 |  0 );
16710   if (!SWIG_IsOK(res1)) {
16711     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","h", 1, self )); 
16712   }
16713   arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16714   result = (double *) ((arg1)->h);
16715   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 |  0 );
16716   return vresult;
16717 fail:
16718   return Qnil;
16719 }
16720
16721
16722 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
16723 SWIGINTERN VALUE
16724 _wrap_mrcImageFourierPowerSpectrum_allocate(VALUE self) {
16725 #else
16726   SWIGINTERN VALUE
16727   _wrap_mrcImageFourierPowerSpectrum_allocate(int argc, VALUE *argv, VALUE self) {
16728 #endif
16729     
16730     
16731     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageFourierPowerSpectrum);
16732 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
16733     rb_obj_call_init(vresult, argc, argv);
16734 #endif
16735     return vresult;
16736   }
16737   
16738
16739 SWIGINTERN VALUE
16740 _wrap_new_mrcImageFourierPowerSpectrum(int argc, VALUE *argv, VALUE self) {
16741   mrcImageFourierPowerSpectrum *result = 0 ;
16742   
16743   if ((argc < 0) || (argc > 0)) {
16744     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16745   }
16746   result = (mrcImageFourierPowerSpectrum *)calloc(1, sizeof(mrcImageFourierPowerSpectrum));
16747   DATA_PTR(self) = result;
16748   return self;
16749 fail:
16750   return Qnil;
16751 }
16752
16753
16754 SWIGINTERN void
16755 free_mrcImageFourierPowerSpectrum(mrcImageFourierPowerSpectrum *arg1) {
16756     free((char *) arg1);
16757 }
16758
16759 swig_class cLmrcImageFourierPowerSpectrumInfo;
16760
16761 SWIGINTERN VALUE
16762 _wrap_lmrcImageFourierPowerSpectrumInfo_dX_set(int argc, VALUE *argv, VALUE self) {
16763   lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16764   double arg2 ;
16765   void *argp1 = 0 ;
16766   int res1 = 0 ;
16767   double val2 ;
16768   int ecode2 = 0 ;
16769   
16770   if ((argc < 1) || (argc > 1)) {
16771     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16772   }
16773   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 |  0 );
16774   if (!SWIG_IsOK(res1)) {
16775     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dX", 1, self )); 
16776   }
16777   arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16778   ecode2 = SWIG_AsVal_double(argv[0], &val2);
16779   if (!SWIG_IsOK(ecode2)) {
16780     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","dX", 2, argv[0] ));
16781   } 
16782   arg2 = (double)(val2);
16783   if (arg1) (arg1)->dX = arg2;
16784   return Qnil;
16785 fail:
16786   return Qnil;
16787 }
16788
16789
16790 SWIGINTERN VALUE
16791 _wrap_lmrcImageFourierPowerSpectrumInfo_dX_get(int argc, VALUE *argv, VALUE self) {
16792   lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16793   void *argp1 = 0 ;
16794   int res1 = 0 ;
16795   double result;
16796   VALUE vresult = Qnil;
16797   
16798   if ((argc < 0) || (argc > 0)) {
16799     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16800   }
16801   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 |  0 );
16802   if (!SWIG_IsOK(res1)) {
16803     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dX", 1, self )); 
16804   }
16805   arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16806   result = (double) ((arg1)->dX);
16807   vresult = SWIG_From_double((double)(result));
16808   return vresult;
16809 fail:
16810   return Qnil;
16811 }
16812
16813
16814 SWIGINTERN VALUE
16815 _wrap_lmrcImageFourierPowerSpectrumInfo_dY_set(int argc, VALUE *argv, VALUE self) {
16816   lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16817   double arg2 ;
16818   void *argp1 = 0 ;
16819   int res1 = 0 ;
16820   double val2 ;
16821   int ecode2 = 0 ;
16822   
16823   if ((argc < 1) || (argc > 1)) {
16824     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16825   }
16826   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 |  0 );
16827   if (!SWIG_IsOK(res1)) {
16828     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dY", 1, self )); 
16829   }
16830   arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16831   ecode2 = SWIG_AsVal_double(argv[0], &val2);
16832   if (!SWIG_IsOK(ecode2)) {
16833     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","dY", 2, argv[0] ));
16834   } 
16835   arg2 = (double)(val2);
16836   if (arg1) (arg1)->dY = arg2;
16837   return Qnil;
16838 fail:
16839   return Qnil;
16840 }
16841
16842
16843 SWIGINTERN VALUE
16844 _wrap_lmrcImageFourierPowerSpectrumInfo_dY_get(int argc, VALUE *argv, VALUE self) {
16845   lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16846   void *argp1 = 0 ;
16847   int res1 = 0 ;
16848   double result;
16849   VALUE vresult = Qnil;
16850   
16851   if ((argc < 0) || (argc > 0)) {
16852     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16853   }
16854   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 |  0 );
16855   if (!SWIG_IsOK(res1)) {
16856     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dY", 1, self )); 
16857   }
16858   arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16859   result = (double) ((arg1)->dY);
16860   vresult = SWIG_From_double((double)(result));
16861   return vresult;
16862 fail:
16863   return Qnil;
16864 }
16865
16866
16867 SWIGINTERN VALUE
16868 _wrap_lmrcImageFourierPowerSpectrumInfo_dZ_set(int argc, VALUE *argv, VALUE self) {
16869   lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16870   double arg2 ;
16871   void *argp1 = 0 ;
16872   int res1 = 0 ;
16873   double val2 ;
16874   int ecode2 = 0 ;
16875   
16876   if ((argc < 1) || (argc > 1)) {
16877     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16878   }
16879   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 |  0 );
16880   if (!SWIG_IsOK(res1)) {
16881     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dZ", 1, self )); 
16882   }
16883   arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16884   ecode2 = SWIG_AsVal_double(argv[0], &val2);
16885   if (!SWIG_IsOK(ecode2)) {
16886     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","dZ", 2, argv[0] ));
16887   } 
16888   arg2 = (double)(val2);
16889   if (arg1) (arg1)->dZ = arg2;
16890   return Qnil;
16891 fail:
16892   return Qnil;
16893 }
16894
16895
16896 SWIGINTERN VALUE
16897 _wrap_lmrcImageFourierPowerSpectrumInfo_dZ_get(int argc, VALUE *argv, VALUE self) {
16898   lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16899   void *argp1 = 0 ;
16900   int res1 = 0 ;
16901   double result;
16902   VALUE vresult = Qnil;
16903   
16904   if ((argc < 0) || (argc > 0)) {
16905     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16906   }
16907   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 |  0 );
16908   if (!SWIG_IsOK(res1)) {
16909     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dZ", 1, self )); 
16910   }
16911   arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16912   result = (double) ((arg1)->dZ);
16913   vresult = SWIG_From_double((double)(result));
16914   return vresult;
16915 fail:
16916   return Qnil;
16917 }
16918
16919
16920 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
16921 SWIGINTERN VALUE
16922 _wrap_lmrcImageFourierPowerSpectrumInfo_allocate(VALUE self) {
16923 #else
16924   SWIGINTERN VALUE
16925   _wrap_lmrcImageFourierPowerSpectrumInfo_allocate(int argc, VALUE *argv, VALUE self) {
16926 #endif
16927     
16928     
16929     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo);
16930 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
16931     rb_obj_call_init(vresult, argc, argv);
16932 #endif
16933     return vresult;
16934   }
16935   
16936
16937 SWIGINTERN VALUE
16938 _wrap_new_lmrcImageFourierPowerSpectrumInfo(int argc, VALUE *argv, VALUE self) {
16939   lmrcImageFourierPowerSpectrumInfo *result = 0 ;
16940   
16941   if ((argc < 0) || (argc > 0)) {
16942     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16943   }
16944   result = (lmrcImageFourierPowerSpectrumInfo *)calloc(1, sizeof(lmrcImageFourierPowerSpectrumInfo));
16945   DATA_PTR(self) = result;
16946   return self;
16947 fail:
16948   return Qnil;
16949 }
16950
16951
16952 SWIGINTERN void
16953 free_lmrcImageFourierPowerSpectrumInfo(lmrcImageFourierPowerSpectrumInfo *arg1) {
16954     free((char *) arg1);
16955 }
16956
16957 SWIGINTERN VALUE
16958 _wrap_lmrcImageFourierPowerSpectrumMakeSpectrum(int argc, VALUE *argv, VALUE self) {
16959   mrcImage *arg1 = (mrcImage *) 0 ;
16960   lmrcImageFourierPowerSpectrumInfo *arg2 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16961   void *argp1 = 0 ;
16962   int res1 = 0 ;
16963   void *argp2 = 0 ;
16964   int res2 = 0 ;
16965   mrcImageFourierPowerSpectrum result;
16966   VALUE vresult = Qnil;
16967   
16968   if ((argc < 2) || (argc > 2)) {
16969     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
16970   }
16971   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
16972   if (!SWIG_IsOK(res1)) {
16973     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage const *","lmrcImageFourierPowerSpectrumMakeSpectrum", 1, argv[0] )); 
16974   }
16975   arg1 = (mrcImage *)(argp1);
16976   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 |  0 );
16977   if (!SWIG_IsOK(res2)) {
16978     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","lmrcImageFourierPowerSpectrumMakeSpectrum", 2, argv[1] )); 
16979   }
16980   arg2 = (lmrcImageFourierPowerSpectrumInfo *)(argp2);
16981   result = lmrcImageFourierPowerSpectrumMakeSpectrum((struct mrcImage const *)arg1,arg2);
16982   vresult = SWIG_NewPointerObj((mrcImageFourierPowerSpectrum *)memcpy((mrcImageFourierPowerSpectrum *)malloc(sizeof(mrcImageFourierPowerSpectrum)),&result,sizeof(mrcImageFourierPowerSpectrum)), SWIGTYPE_p_mrcImageFourierPowerSpectrum, SWIG_POINTER_OWN |  0 );
16983   return vresult;
16984 fail:
16985   return Qnil;
16986 }
16987
16988
16989 SWIGINTERN VALUE
16990 _wrap_lmrcImageFourierPowerSpectrumDeleteSpectrum(int argc, VALUE *argv, VALUE self) {
16991   mrcImageFourierPowerSpectrum arg1 ;
16992   void *argp1 ;
16993   int res1 = 0 ;
16994   
16995   if ((argc < 1) || (argc > 1)) {
16996     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16997   }
16998   {
16999     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_mrcImageFourierPowerSpectrum,  0 );
17000     if (!SWIG_IsOK(res1)) {
17001       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum","lmrcImageFourierPowerSpectrumDeleteSpectrum", 1, argv[0] )); 
17002     }  
17003     if (!argp1) {
17004       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "mrcImageFourierPowerSpectrum","lmrcImageFourierPowerSpectrumDeleteSpectrum", 1, argv[0]));
17005     } else {
17006       arg1 = *((mrcImageFourierPowerSpectrum *)(argp1));
17007     }
17008   }
17009   lmrcImageFourierPowerSpectrumDeleteSpectrum(arg1);
17010   return Qnil;
17011 fail:
17012   return Qnil;
17013 }
17014
17015
17016 SWIGINTERN VALUE
17017 _wrap_lmrcImageFourierPowerSpectrum(int argc, VALUE *argv, VALUE self) {
17018   mrcImage *arg1 = (mrcImage *) 0 ;
17019   lmrcImageFourierPowerSpectrumInfo *arg2 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
17020   long arg3 ;
17021   void *argp1 = 0 ;
17022   int res1 = 0 ;
17023   void *argp2 = 0 ;
17024   int res2 = 0 ;
17025   long val3 ;
17026   int ecode3 = 0 ;
17027   mrcImageFourierPowerSpectrum result;
17028   VALUE vresult = Qnil;
17029   
17030   if ((argc < 3) || (argc > 3)) {
17031     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
17032   }
17033   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17034   if (!SWIG_IsOK(res1)) {
17035     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage const *","lmrcImageFourierPowerSpectrum", 1, argv[0] )); 
17036   }
17037   arg1 = (mrcImage *)(argp1);
17038   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 |  0 );
17039   if (!SWIG_IsOK(res2)) {
17040     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","lmrcImageFourierPowerSpectrum", 2, argv[1] )); 
17041   }
17042   arg2 = (lmrcImageFourierPowerSpectrumInfo *)(argp2);
17043   ecode3 = SWIG_AsVal_long(argv[2], &val3);
17044   if (!SWIG_IsOK(ecode3)) {
17045     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "long","lmrcImageFourierPowerSpectrum", 3, argv[2] ));
17046   } 
17047   arg3 = (long)(val3);
17048   result = lmrcImageFourierPowerSpectrum((struct mrcImage const *)arg1,arg2,arg3);
17049   vresult = SWIG_NewPointerObj((mrcImageFourierPowerSpectrum *)memcpy((mrcImageFourierPowerSpectrum *)malloc(sizeof(mrcImageFourierPowerSpectrum)),&result,sizeof(mrcImageFourierPowerSpectrum)), SWIGTYPE_p_mrcImageFourierPowerSpectrum, SWIG_POINTER_OWN |  0 );
17050   return vresult;
17051 fail:
17052   return Qnil;
17053 }
17054
17055
17056 SWIGINTERN VALUE
17057 _wrap_lmrcImageRotation3DFollowingEulerAngle(int argc, VALUE *argv, VALUE self) {
17058   mrcImage *arg1 = (mrcImage *) 0 ;
17059   mrcImage *arg2 = (mrcImage *) 0 ;
17060   char *arg3 = (char *) 0 ;
17061   mrcImageParaTypeReal arg4 ;
17062   mrcImageParaTypeReal arg5 ;
17063   mrcImageParaTypeReal arg6 ;
17064   mrcPixelDataHowToGet arg7 ;
17065   int arg8 ;
17066   void *argp1 = 0 ;
17067   int res1 = 0 ;
17068   void *argp2 = 0 ;
17069   int res2 = 0 ;
17070   int res3 ;
17071   char *buf3 = 0 ;
17072   int alloc3 = 0 ;
17073   float val4 ;
17074   int ecode4 = 0 ;
17075   float val5 ;
17076   int ecode5 = 0 ;
17077   float val6 ;
17078   int ecode6 = 0 ;
17079   int val7 ;
17080   int ecode7 = 0 ;
17081   int val8 ;
17082   int ecode8 = 0 ;
17083   
17084   if ((argc < 8) || (argc > 8)) {
17085     rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
17086   }
17087   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17088   if (!SWIG_IsOK(res1)) {
17089     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation3DFollowingEulerAngle", 1, argv[0] )); 
17090   }
17091   arg1 = (mrcImage *)(argp1);
17092   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
17093   if (!SWIG_IsOK(res2)) {
17094     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation3DFollowingEulerAngle", 2, argv[1] )); 
17095   }
17096   arg2 = (mrcImage *)(argp2);
17097   res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
17098   if (!SWIG_IsOK(res3)) {
17099     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","lmrcImageRotation3DFollowingEulerAngle", 3, argv[2] ));
17100   }
17101   arg3 = (char *)(buf3);
17102   ecode4 = SWIG_AsVal_float(argv[3], &val4);
17103   if (!SWIG_IsOK(ecode4)) {
17104     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","lmrcImageRotation3DFollowingEulerAngle", 4, argv[3] ));
17105   } 
17106   arg4 = (mrcImageParaTypeReal)(val4);
17107   ecode5 = SWIG_AsVal_float(argv[4], &val5);
17108   if (!SWIG_IsOK(ecode5)) {
17109     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","lmrcImageRotation3DFollowingEulerAngle", 5, argv[4] ));
17110   } 
17111   arg5 = (mrcImageParaTypeReal)(val5);
17112   ecode6 = SWIG_AsVal_float(argv[5], &val6);
17113   if (!SWIG_IsOK(ecode6)) {
17114     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","lmrcImageRotation3DFollowingEulerAngle", 6, argv[5] ));
17115   } 
17116   arg6 = (mrcImageParaTypeReal)(val6);
17117   ecode7 = SWIG_AsVal_int(argv[6], &val7);
17118   if (!SWIG_IsOK(ecode7)) {
17119     SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "mrcPixelDataHowToGet","lmrcImageRotation3DFollowingEulerAngle", 7, argv[6] ));
17120   } 
17121   arg7 = (mrcPixelDataHowToGet)(val7);
17122   ecode8 = SWIG_AsVal_int(argv[7], &val8);
17123   if (!SWIG_IsOK(ecode8)) {
17124     SWIG_exception_fail(SWIG_ArgError(ecode8), Ruby_Format_TypeError( "", "int","lmrcImageRotation3DFollowingEulerAngle", 8, argv[7] ));
17125   } 
17126   arg8 = (int)(val8);
17127   lmrcImageRotation3DFollowingEulerAngle(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);
17128   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17129   return Qnil;
17130 fail:
17131   if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17132   return Qnil;
17133 }
17134
17135
17136 SWIGINTERN VALUE
17137 _wrap_lmrcImageRotation3DFollowingMatrix3D(int argc, VALUE *argv, VALUE self) {
17138   mrcImage *arg1 = (mrcImage *) 0 ;
17139   mrcImage *arg2 = (mrcImage *) 0 ;
17140   matrix3DParaTypeReal (*arg3)[4] ;
17141   mrcPixelDataHowToGet arg4 ;
17142   int arg5 ;
17143   void *argp1 = 0 ;
17144   int res1 = 0 ;
17145   void *argp2 = 0 ;
17146   int res2 = 0 ;
17147   void *argp3 = 0 ;
17148   int res3 = 0 ;
17149   int val4 ;
17150   int ecode4 = 0 ;
17151   int val5 ;
17152   int ecode5 = 0 ;
17153   
17154   if ((argc < 5) || (argc > 5)) {
17155     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
17156   }
17157   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17158   if (!SWIG_IsOK(res1)) {
17159     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation3DFollowingMatrix3D", 1, argv[0] )); 
17160   }
17161   arg1 = (mrcImage *)(argp1);
17162   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
17163   if (!SWIG_IsOK(res2)) {
17164     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation3DFollowingMatrix3D", 2, argv[1] )); 
17165   }
17166   arg2 = (mrcImage *)(argp2);
17167   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_a_4__float, 0 |  0 );
17168   if (!SWIG_IsOK(res3)) {
17169     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "float [4][4]","lmrcImageRotation3DFollowingMatrix3D", 3, argv[2] )); 
17170   } 
17171   arg3 = (float (*)[4])(argp3);
17172   ecode4 = SWIG_AsVal_int(argv[3], &val4);
17173   if (!SWIG_IsOK(ecode4)) {
17174     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcPixelDataHowToGet","lmrcImageRotation3DFollowingMatrix3D", 4, argv[3] ));
17175   } 
17176   arg4 = (mrcPixelDataHowToGet)(val4);
17177   ecode5 = SWIG_AsVal_int(argv[4], &val5);
17178   if (!SWIG_IsOK(ecode5)) {
17179     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","lmrcImageRotation3DFollowingMatrix3D", 5, argv[4] ));
17180   } 
17181   arg5 = (int)(val5);
17182   lmrcImageRotation3DFollowingMatrix3D(arg1,arg2,(float (*)[4])arg3,arg4,arg5);
17183   return Qnil;
17184 fail:
17185   return Qnil;
17186 }
17187
17188
17189 SWIGINTERN VALUE
17190 _wrap_lmrcImageRotation3DZXY(int argc, VALUE *argv, VALUE self) {
17191   mrcImage *arg1 = (mrcImage *) 0 ;
17192   mrcImage *arg2 = (mrcImage *) 0 ;
17193   mrcImageParaTypeReal arg3 ;
17194   mrcImageParaTypeReal arg4 ;
17195   mrcImageParaTypeReal arg5 ;
17196   mrcPixelDataHowToGet arg6 ;
17197   int arg7 ;
17198   void *argp1 = 0 ;
17199   int res1 = 0 ;
17200   void *argp2 = 0 ;
17201   int res2 = 0 ;
17202   float val3 ;
17203   int ecode3 = 0 ;
17204   float val4 ;
17205   int ecode4 = 0 ;
17206   float val5 ;
17207   int ecode5 = 0 ;
17208   int val6 ;
17209   int ecode6 = 0 ;
17210   int val7 ;
17211   int ecode7 = 0 ;
17212   
17213   if ((argc < 7) || (argc > 7)) {
17214     rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
17215   }
17216   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17217   if (!SWIG_IsOK(res1)) {
17218     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation3DZXY", 1, argv[0] )); 
17219   }
17220   arg1 = (mrcImage *)(argp1);
17221   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
17222   if (!SWIG_IsOK(res2)) {
17223     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation3DZXY", 2, argv[1] )); 
17224   }
17225   arg2 = (mrcImage *)(argp2);
17226   ecode3 = SWIG_AsVal_float(argv[2], &val3);
17227   if (!SWIG_IsOK(ecode3)) {
17228     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","lmrcImageRotation3DZXY", 3, argv[2] ));
17229   } 
17230   arg3 = (mrcImageParaTypeReal)(val3);
17231   ecode4 = SWIG_AsVal_float(argv[3], &val4);
17232   if (!SWIG_IsOK(ecode4)) {
17233     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","lmrcImageRotation3DZXY", 4, argv[3] ));
17234   } 
17235   arg4 = (mrcImageParaTypeReal)(val4);
17236   ecode5 = SWIG_AsVal_float(argv[4], &val5);
17237   if (!SWIG_IsOK(ecode5)) {
17238     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","lmrcImageRotation3DZXY", 5, argv[4] ));
17239   } 
17240   arg5 = (mrcImageParaTypeReal)(val5);
17241   ecode6 = SWIG_AsVal_int(argv[5], &val6);
17242   if (!SWIG_IsOK(ecode6)) {
17243     SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "mrcPixelDataHowToGet","lmrcImageRotation3DZXY", 6, argv[5] ));
17244   } 
17245   arg6 = (mrcPixelDataHowToGet)(val6);
17246   ecode7 = SWIG_AsVal_int(argv[6], &val7);
17247   if (!SWIG_IsOK(ecode7)) {
17248     SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "int","lmrcImageRotation3DZXY", 7, argv[6] ));
17249   } 
17250   arg7 = (int)(val7);
17251   lmrcImageRotation3DZXY(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
17252   return Qnil;
17253 fail:
17254   return Qnil;
17255 }
17256
17257
17258 SWIGINTERN VALUE
17259 _wrap_lmrcImageRotation2D(int argc, VALUE *argv, VALUE self) {
17260   mrcImage *arg1 = (mrcImage *) 0 ;
17261   mrcImage *arg2 = (mrcImage *) 0 ;
17262   double arg3 ;
17263   mrcPixelDataHowToGet arg4 ;
17264   void *argp1 = 0 ;
17265   int res1 = 0 ;
17266   void *argp2 = 0 ;
17267   int res2 = 0 ;
17268   double val3 ;
17269   int ecode3 = 0 ;
17270   int val4 ;
17271   int ecode4 = 0 ;
17272   
17273   if ((argc < 4) || (argc > 4)) {
17274     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
17275   }
17276   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17277   if (!SWIG_IsOK(res1)) {
17278     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation2D", 1, argv[0] )); 
17279   }
17280   arg1 = (mrcImage *)(argp1);
17281   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
17282   if (!SWIG_IsOK(res2)) {
17283     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation2D", 2, argv[1] )); 
17284   }
17285   arg2 = (mrcImage *)(argp2);
17286   ecode3 = SWIG_AsVal_double(argv[2], &val3);
17287   if (!SWIG_IsOK(ecode3)) {
17288     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","lmrcImageRotation2D", 3, argv[2] ));
17289   } 
17290   arg3 = (double)(val3);
17291   ecode4 = SWIG_AsVal_int(argv[3], &val4);
17292   if (!SWIG_IsOK(ecode4)) {
17293     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcPixelDataHowToGet","lmrcImageRotation2D", 4, argv[3] ));
17294   } 
17295   arg4 = (mrcPixelDataHowToGet)(val4);
17296   lmrcImageRotation2D(arg1,arg2,arg3,arg4);
17297   return Qnil;
17298 fail:
17299   return Qnil;
17300 }
17301
17302
17303 SWIGINTERN VALUE
17304 _wrap_lmrcImageRotation2DPeriodicBoundary(int argc, VALUE *argv, VALUE self) {
17305   mrcImage *arg1 = (mrcImage *) 0 ;
17306   mrcImage *arg2 = (mrcImage *) 0 ;
17307   double arg3 ;
17308   mrcPixelDataHowToGet arg4 ;
17309   void *argp1 = 0 ;
17310   int res1 = 0 ;
17311   void *argp2 = 0 ;
17312   int res2 = 0 ;
17313   double val3 ;
17314   int ecode3 = 0 ;
17315   int val4 ;
17316   int ecode4 = 0 ;
17317   
17318   if ((argc < 4) || (argc > 4)) {
17319     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
17320   }
17321   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17322   if (!SWIG_IsOK(res1)) {
17323     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation2DPeriodicBoundary", 1, argv[0] )); 
17324   }
17325   arg1 = (mrcImage *)(argp1);
17326   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
17327   if (!SWIG_IsOK(res2)) {
17328     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageRotation2DPeriodicBoundary", 2, argv[1] )); 
17329   }
17330   arg2 = (mrcImage *)(argp2);
17331   ecode3 = SWIG_AsVal_double(argv[2], &val3);
17332   if (!SWIG_IsOK(ecode3)) {
17333     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","lmrcImageRotation2DPeriodicBoundary", 3, argv[2] ));
17334   } 
17335   arg3 = (double)(val3);
17336   ecode4 = SWIG_AsVal_int(argv[3], &val4);
17337   if (!SWIG_IsOK(ecode4)) {
17338     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "mrcPixelDataHowToGet","lmrcImageRotation2DPeriodicBoundary", 4, argv[3] ));
17339   } 
17340   arg4 = (mrcPixelDataHowToGet)(val4);
17341   lmrcImageRotation2DPeriodicBoundary(arg1,arg2,arg3,arg4);
17342   return Qnil;
17343 fail:
17344   return Qnil;
17345 }
17346
17347
17348 SWIGINTERN VALUE
17349 _wrap_mrcImageSectionGetModeDescription(int argc, VALUE *argv, VALUE self) {
17350   long arg1 ;
17351   long val1 ;
17352   int ecode1 = 0 ;
17353   char *result = 0 ;
17354   VALUE vresult = Qnil;
17355   
17356   if ((argc < 1) || (argc > 1)) {
17357     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17358   }
17359   ecode1 = SWIG_AsVal_long(argv[0], &val1);
17360   if (!SWIG_IsOK(ecode1)) {
17361     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "long","mrcImageSectionGetModeDescription", 1, argv[0] ));
17362   } 
17363   arg1 = (long)(val1);
17364   result = (char *)mrcImageSectionGetModeDescription(arg1);
17365   vresult = SWIG_FromCharPtr((const char *)result);
17366   return vresult;
17367 fail:
17368   return Qnil;
17369 }
17370
17371
17372 SWIGINTERN VALUE
17373 _wrap_mrcImageSectionGet(int argc, VALUE *argv, VALUE self) {
17374   mrcImage *arg1 = (mrcImage *) 0 ;
17375   mrcImage *arg2 = (mrcImage *) 0 ;
17376   mrcImageParaTypeReal arg3 ;
17377   long arg4 ;
17378   void *argp1 = 0 ;
17379   int res1 = 0 ;
17380   void *argp2 = 0 ;
17381   int res2 = 0 ;
17382   float val3 ;
17383   int ecode3 = 0 ;
17384   long val4 ;
17385   int ecode4 = 0 ;
17386   
17387   if ((argc < 4) || (argc > 4)) {
17388     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
17389   }
17390   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17391   if (!SWIG_IsOK(res1)) {
17392     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageSectionGet", 1, argv[0] )); 
17393   }
17394   arg1 = (mrcImage *)(argp1);
17395   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
17396   if (!SWIG_IsOK(res2)) {
17397     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","mrcImageSectionGet", 2, argv[1] )); 
17398   }
17399   arg2 = (mrcImage *)(argp2);
17400   ecode3 = SWIG_AsVal_float(argv[2], &val3);
17401   if (!SWIG_IsOK(ecode3)) {
17402     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageSectionGet", 3, argv[2] ));
17403   } 
17404   arg3 = (mrcImageParaTypeReal)(val3);
17405   ecode4 = SWIG_AsVal_long(argv[3], &val4);
17406   if (!SWIG_IsOK(ecode4)) {
17407     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcImageSectionGet", 4, argv[3] ));
17408   } 
17409   arg4 = (long)(val4);
17410   mrcImageSectionGet(arg1,arg2,arg3,arg4);
17411   return Qnil;
17412 fail:
17413   return Qnil;
17414 }
17415
17416
17417 SWIGINTERN VALUE
17418 _wrap_mrcImageSectionSet(int argc, VALUE *argv, VALUE self) {
17419   mrcImage *arg1 = (mrcImage *) 0 ;
17420   mrcImage *arg2 = (mrcImage *) 0 ;
17421   mrcImageParaTypeReal arg3 ;
17422   long arg4 ;
17423   void *argp1 = 0 ;
17424   int res1 = 0 ;
17425   void *argp2 = 0 ;
17426   int res2 = 0 ;
17427   float val3 ;
17428   int ecode3 = 0 ;
17429   long val4 ;
17430   int ecode4 = 0 ;
17431   
17432   if ((argc < 4) || (argc > 4)) {
17433     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
17434   }
17435   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17436   if (!SWIG_IsOK(res1)) {
17437     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","mrcImageSectionSet", 1, argv[0] )); 
17438   }
17439   arg1 = (mrcImage *)(argp1);
17440   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_mrcImage, 0 |  0 );
17441   if (!SWIG_IsOK(res2)) {
17442     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImage *","mrcImageSectionSet", 2, argv[1] )); 
17443   }
17444   arg2 = (mrcImage *)(argp2);
17445   ecode3 = SWIG_AsVal_float(argv[2], &val3);
17446   if (!SWIG_IsOK(ecode3)) {
17447     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mrcImageSectionSet", 3, argv[2] ));
17448   } 
17449   arg3 = (mrcImageParaTypeReal)(val3);
17450   ecode4 = SWIG_AsVal_long(argv[3], &val4);
17451   if (!SWIG_IsOK(ecode4)) {
17452     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "long","mrcImageSectionSet", 4, argv[3] ));
17453   } 
17454   arg4 = (long)(val4);
17455   mrcImageSectionSet(arg1,arg2,arg3,arg4);
17456   return Qnil;
17457 fail:
17458   return Qnil;
17459 }
17460
17461
17462 SWIGINTERN VALUE
17463 _wrap_lmrcImageMaxDataGet(int argc, VALUE *argv, VALUE self) {
17464   mrcImage *arg1 = (mrcImage *) 0 ;
17465   long arg2 ;
17466   void *argp1 = 0 ;
17467   int res1 = 0 ;
17468   long val2 ;
17469   int ecode2 = 0 ;
17470   double result;
17471   VALUE vresult = Qnil;
17472   
17473   if ((argc < 2) || (argc > 2)) {
17474     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
17475   }
17476   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_mrcImage, 0 |  0 );
17477   if (!SWIG_IsOK(res1)) {
17478     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","lmrcImageMaxDataGet", 1, argv[0] )); 
17479   }
17480   arg1 = (mrcImage *)(argp1);
17481   ecode2 = SWIG_AsVal_long(argv[1], &val2);
17482   if (!SWIG_IsOK(ecode2)) {
17483     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","lmrcImageMaxDataGet", 2, argv[1] ));
17484   } 
17485   arg2 = (long)(val2);
17486   result = (double)lmrcImageMaxDataGet(arg1,arg2);
17487   vresult = SWIG_From_double((double)(result));
17488   return vresult;
17489 fail:
17490   return Qnil;
17491 }
17492
17493
17494 swig_class cResidueName;
17495
17496 SWIGINTERN VALUE
17497 _wrap_residueName_residueName3_set(int argc, VALUE *argv, VALUE self) {
17498   residueName *arg1 = (residueName *) 0 ;
17499   char *arg2 ;
17500   void *argp1 = 0 ;
17501   int res1 = 0 ;
17502   char temp2[4] ;
17503   int res2 ;
17504   
17505   if ((argc < 1) || (argc > 1)) {
17506     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17507   }
17508   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_residueName, 0 |  0 );
17509   if (!SWIG_IsOK(res1)) {
17510     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "residueName *","residueName3", 1, self )); 
17511   }
17512   arg1 = (residueName *)(argp1);
17513   res2 = SWIG_AsCharArray(argv[0], temp2, 4);
17514   if (!SWIG_IsOK(res2)) {
17515     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","residueName3", 2, argv[0] ));
17516   }
17517   arg2 = (char *)(temp2);
17518   if (arg2) memcpy(arg1->residueName3,arg2,4*sizeof(char));
17519   else memset(arg1->residueName3,0,4*sizeof(char));
17520   return Qnil;
17521 fail:
17522   return Qnil;
17523 }
17524
17525
17526 SWIGINTERN VALUE
17527 _wrap_residueName_residueName3_get(int argc, VALUE *argv, VALUE self) {
17528   residueName *arg1 = (residueName *) 0 ;
17529   void *argp1 = 0 ;
17530   int res1 = 0 ;
17531   char *result = 0 ;
17532   VALUE vresult = Qnil;
17533   
17534   if ((argc < 0) || (argc > 0)) {
17535     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17536   }
17537   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_residueName, 0 |  0 );
17538   if (!SWIG_IsOK(res1)) {
17539     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "residueName *","residueName3", 1, self )); 
17540   }
17541   arg1 = (residueName *)(argp1);
17542   result = (char *)(char *) ((arg1)->residueName3);
17543   {
17544     size_t size = 4;
17545     
17546     while (size && (result[size - 1] == '\0')) --size;
17547     
17548     vresult = SWIG_FromCharPtrAndSize(result, size);
17549   }
17550   return vresult;
17551 fail:
17552   return Qnil;
17553 }
17554
17555
17556 SWIGINTERN VALUE
17557 _wrap_residueName_residueName1_set(int argc, VALUE *argv, VALUE self) {
17558   residueName *arg1 = (residueName *) 0 ;
17559   char *arg2 ;
17560   void *argp1 = 0 ;
17561   int res1 = 0 ;
17562   char temp2[2] ;
17563   int res2 ;
17564   
17565   if ((argc < 1) || (argc > 1)) {
17566     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17567   }
17568   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_residueName, 0 |  0 );
17569   if (!SWIG_IsOK(res1)) {
17570     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "residueName *","residueName1", 1, self )); 
17571   }
17572   arg1 = (residueName *)(argp1);
17573   res2 = SWIG_AsCharArray(argv[0], temp2, 2);
17574   if (!SWIG_IsOK(res2)) {
17575     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [2]","residueName1", 2, argv[0] ));
17576   }
17577   arg2 = (char *)(temp2);
17578   if (arg2) memcpy(arg1->residueName1,arg2,2*sizeof(char));
17579   else memset(arg1->residueName1,0,2*sizeof(char));
17580   return Qnil;
17581 fail:
17582   return Qnil;
17583 }
17584
17585
17586 SWIGINTERN VALUE
17587 _wrap_residueName_residueName1_get(int argc, VALUE *argv, VALUE self) {
17588   residueName *arg1 = (residueName *) 0 ;
17589   void *argp1 = 0 ;
17590   int res1 = 0 ;
17591   char *result = 0 ;
17592   VALUE vresult = Qnil;
17593   
17594   if ((argc < 0) || (argc > 0)) {
17595     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17596   }
17597   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_residueName, 0 |  0 );
17598   if (!SWIG_IsOK(res1)) {
17599     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "residueName *","residueName1", 1, self )); 
17600   }
17601   arg1 = (residueName *)(argp1);
17602   result = (char *)(char *) ((arg1)->residueName1);
17603   {
17604     size_t size = 2;
17605     
17606     while (size && (result[size - 1] == '\0')) --size;
17607     
17608     vresult = SWIG_FromCharPtrAndSize(result, size);
17609   }
17610   return vresult;
17611 fail:
17612   return Qnil;
17613 }
17614
17615
17616 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
17617 SWIGINTERN VALUE
17618 _wrap_residueName_allocate(VALUE self) {
17619 #else
17620   SWIGINTERN VALUE
17621   _wrap_residueName_allocate(int argc, VALUE *argv, VALUE self) {
17622 #endif
17623     
17624     
17625     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_residueName);
17626 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
17627     rb_obj_call_init(vresult, argc, argv);
17628 #endif
17629     return vresult;
17630   }
17631   
17632
17633 SWIGINTERN VALUE
17634 _wrap_new_residueName(int argc, VALUE *argv, VALUE self) {
17635   residueName *result = 0 ;
17636   
17637   if ((argc < 0) || (argc > 0)) {
17638     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17639   }
17640   result = (residueName *)calloc(1, sizeof(residueName));
17641   DATA_PTR(self) = result;
17642   return self;
17643 fail:
17644   return Qnil;
17645 }
17646
17647
17648 SWIGINTERN void
17649 free_residueName(residueName *arg1) {
17650     free((char *) arg1);
17651 }
17652
17653 swig_class cPdbCoord;
17654
17655 SWIGINTERN VALUE
17656 _wrap_pdbCoord_x_set(int argc, VALUE *argv, VALUE self) {
17657   pdbCoord *arg1 = (pdbCoord *) 0 ;
17658   pdbFileParaTypeReal arg2 ;
17659   void *argp1 = 0 ;
17660   int res1 = 0 ;
17661   float val2 ;
17662   int ecode2 = 0 ;
17663   
17664   if ((argc < 1) || (argc > 1)) {
17665     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17666   }
17667   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 |  0 );
17668   if (!SWIG_IsOK(res1)) {
17669     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","x", 1, self )); 
17670   }
17671   arg1 = (pdbCoord *)(argp1);
17672   ecode2 = SWIG_AsVal_float(argv[0], &val2);
17673   if (!SWIG_IsOK(ecode2)) {
17674     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","x", 2, argv[0] ));
17675   } 
17676   arg2 = (pdbFileParaTypeReal)(val2);
17677   if (arg1) (arg1)->x = arg2;
17678   return Qnil;
17679 fail:
17680   return Qnil;
17681 }
17682
17683
17684 SWIGINTERN VALUE
17685 _wrap_pdbCoord_x_get(int argc, VALUE *argv, VALUE self) {
17686   pdbCoord *arg1 = (pdbCoord *) 0 ;
17687   void *argp1 = 0 ;
17688   int res1 = 0 ;
17689   pdbFileParaTypeReal result;
17690   VALUE vresult = Qnil;
17691   
17692   if ((argc < 0) || (argc > 0)) {
17693     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17694   }
17695   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 |  0 );
17696   if (!SWIG_IsOK(res1)) {
17697     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","x", 1, self )); 
17698   }
17699   arg1 = (pdbCoord *)(argp1);
17700   result = (pdbFileParaTypeReal) ((arg1)->x);
17701   vresult = SWIG_From_float((float)(result));
17702   return vresult;
17703 fail:
17704   return Qnil;
17705 }
17706
17707
17708 SWIGINTERN VALUE
17709 _wrap_pdbCoord_y_set(int argc, VALUE *argv, VALUE self) {
17710   pdbCoord *arg1 = (pdbCoord *) 0 ;
17711   pdbFileParaTypeReal arg2 ;
17712   void *argp1 = 0 ;
17713   int res1 = 0 ;
17714   float val2 ;
17715   int ecode2 = 0 ;
17716   
17717   if ((argc < 1) || (argc > 1)) {
17718     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17719   }
17720   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 |  0 );
17721   if (!SWIG_IsOK(res1)) {
17722     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","y", 1, self )); 
17723   }
17724   arg1 = (pdbCoord *)(argp1);
17725   ecode2 = SWIG_AsVal_float(argv[0], &val2);
17726   if (!SWIG_IsOK(ecode2)) {
17727     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","y", 2, argv[0] ));
17728   } 
17729   arg2 = (pdbFileParaTypeReal)(val2);
17730   if (arg1) (arg1)->y = arg2;
17731   return Qnil;
17732 fail:
17733   return Qnil;
17734 }
17735
17736
17737 SWIGINTERN VALUE
17738 _wrap_pdbCoord_y_get(int argc, VALUE *argv, VALUE self) {
17739   pdbCoord *arg1 = (pdbCoord *) 0 ;
17740   void *argp1 = 0 ;
17741   int res1 = 0 ;
17742   pdbFileParaTypeReal result;
17743   VALUE vresult = Qnil;
17744   
17745   if ((argc < 0) || (argc > 0)) {
17746     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17747   }
17748   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 |  0 );
17749   if (!SWIG_IsOK(res1)) {
17750     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","y", 1, self )); 
17751   }
17752   arg1 = (pdbCoord *)(argp1);
17753   result = (pdbFileParaTypeReal) ((arg1)->y);
17754   vresult = SWIG_From_float((float)(result));
17755   return vresult;
17756 fail:
17757   return Qnil;
17758 }
17759
17760
17761 SWIGINTERN VALUE
17762 _wrap_pdbCoord_z_set(int argc, VALUE *argv, VALUE self) {
17763   pdbCoord *arg1 = (pdbCoord *) 0 ;
17764   pdbFileParaTypeReal arg2 ;
17765   void *argp1 = 0 ;
17766   int res1 = 0 ;
17767   float val2 ;
17768   int ecode2 = 0 ;
17769   
17770   if ((argc < 1) || (argc > 1)) {
17771     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17772   }
17773   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 |  0 );
17774   if (!SWIG_IsOK(res1)) {
17775     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","z", 1, self )); 
17776   }
17777   arg1 = (pdbCoord *)(argp1);
17778   ecode2 = SWIG_AsVal_float(argv[0], &val2);
17779   if (!SWIG_IsOK(ecode2)) {
17780     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","z", 2, argv[0] ));
17781   } 
17782   arg2 = (pdbFileParaTypeReal)(val2);
17783   if (arg1) (arg1)->z = arg2;
17784   return Qnil;
17785 fail:
17786   return Qnil;
17787 }
17788
17789
17790 SWIGINTERN VALUE
17791 _wrap_pdbCoord_z_get(int argc, VALUE *argv, VALUE self) {
17792   pdbCoord *arg1 = (pdbCoord *) 0 ;
17793   void *argp1 = 0 ;
17794   int res1 = 0 ;
17795   pdbFileParaTypeReal result;
17796   VALUE vresult = Qnil;
17797   
17798   if ((argc < 0) || (argc > 0)) {
17799     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17800   }
17801   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 |  0 );
17802   if (!SWIG_IsOK(res1)) {
17803     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","z", 1, self )); 
17804   }
17805   arg1 = (pdbCoord *)(argp1);
17806   result = (pdbFileParaTypeReal) ((arg1)->z);
17807   vresult = SWIG_From_float((float)(result));
17808   return vresult;
17809 fail:
17810   return Qnil;
17811 }
17812
17813
17814 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
17815 SWIGINTERN VALUE
17816 _wrap_pdbCoord_allocate(VALUE self) {
17817 #else
17818   SWIGINTERN VALUE
17819   _wrap_pdbCoord_allocate(int argc, VALUE *argv, VALUE self) {
17820 #endif
17821     
17822     
17823     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbCoord);
17824 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
17825     rb_obj_call_init(vresult, argc, argv);
17826 #endif
17827     return vresult;
17828   }
17829   
17830
17831 SWIGINTERN VALUE
17832 _wrap_new_pdbCoord(int argc, VALUE *argv, VALUE self) {
17833   pdbCoord *result = 0 ;
17834   
17835   if ((argc < 0) || (argc > 0)) {
17836     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17837   }
17838   result = (pdbCoord *)calloc(1, sizeof(pdbCoord));
17839   DATA_PTR(self) = result;
17840   return self;
17841 fail:
17842   return Qnil;
17843 }
17844
17845
17846 SWIGINTERN void
17847 free_pdbCoord(pdbCoord *arg1) {
17848     free((char *) arg1);
17849 }
17850
17851 swig_class cPdbSecondaryStructureHelix;
17852
17853 SWIGINTERN VALUE
17854 _wrap_pdbSecondaryStructureHelix_serNum_set(int argc, VALUE *argv, VALUE self) {
17855   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17856   int arg2 ;
17857   void *argp1 = 0 ;
17858   int res1 = 0 ;
17859   int val2 ;
17860   int ecode2 = 0 ;
17861   
17862   if ((argc < 1) || (argc > 1)) {
17863     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17864   }
17865   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
17866   if (!SWIG_IsOK(res1)) {
17867     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","serNum", 1, self )); 
17868   }
17869   arg1 = (pdbSecondaryStructureHelix *)(argp1);
17870   ecode2 = SWIG_AsVal_int(argv[0], &val2);
17871   if (!SWIG_IsOK(ecode2)) {
17872     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","serNum", 2, argv[0] ));
17873   } 
17874   arg2 = (int)(val2);
17875   if (arg1) (arg1)->serNum = arg2;
17876   return Qnil;
17877 fail:
17878   return Qnil;
17879 }
17880
17881
17882 SWIGINTERN VALUE
17883 _wrap_pdbSecondaryStructureHelix_serNum_get(int argc, VALUE *argv, VALUE self) {
17884   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17885   void *argp1 = 0 ;
17886   int res1 = 0 ;
17887   int result;
17888   VALUE vresult = Qnil;
17889   
17890   if ((argc < 0) || (argc > 0)) {
17891     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17892   }
17893   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
17894   if (!SWIG_IsOK(res1)) {
17895     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","serNum", 1, self )); 
17896   }
17897   arg1 = (pdbSecondaryStructureHelix *)(argp1);
17898   result = (int) ((arg1)->serNum);
17899   vresult = SWIG_From_int((int)(result));
17900   return vresult;
17901 fail:
17902   return Qnil;
17903 }
17904
17905
17906 SWIGINTERN VALUE
17907 _wrap_pdbSecondaryStructureHelix_helixID_set(int argc, VALUE *argv, VALUE self) {
17908   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17909   char *arg2 = (char *) 0 ;
17910   void *argp1 = 0 ;
17911   int res1 = 0 ;
17912   int res2 ;
17913   char *buf2 = 0 ;
17914   int alloc2 = 0 ;
17915   
17916   if ((argc < 1) || (argc > 1)) {
17917     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17918   }
17919   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
17920   if (!SWIG_IsOK(res1)) {
17921     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helixID", 1, self )); 
17922   }
17923   arg1 = (pdbSecondaryStructureHelix *)(argp1);
17924   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
17925   if (!SWIG_IsOK(res2)) {
17926     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","helixID", 2, argv[0] ));
17927   }
17928   arg2 = (char *)(buf2);
17929   if (arg1->helixID) free((char*)arg1->helixID);
17930   if (arg2) {
17931     size_t size = strlen((const char *)(arg2)) + 1;
17932     arg1->helixID = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
17933   } else {
17934     arg1->helixID = 0;
17935   }
17936   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17937   return Qnil;
17938 fail:
17939   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17940   return Qnil;
17941 }
17942
17943
17944 SWIGINTERN VALUE
17945 _wrap_pdbSecondaryStructureHelix_helixID_get(int argc, VALUE *argv, VALUE self) {
17946   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17947   void *argp1 = 0 ;
17948   int res1 = 0 ;
17949   char *result = 0 ;
17950   VALUE vresult = Qnil;
17951   
17952   if ((argc < 0) || (argc > 0)) {
17953     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17954   }
17955   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
17956   if (!SWIG_IsOK(res1)) {
17957     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helixID", 1, self )); 
17958   }
17959   arg1 = (pdbSecondaryStructureHelix *)(argp1);
17960   result = (char *) ((arg1)->helixID);
17961   vresult = SWIG_FromCharPtr((const char *)result);
17962   return vresult;
17963 fail:
17964   return Qnil;
17965 }
17966
17967
17968 SWIGINTERN VALUE
17969 _wrap_pdbSecondaryStructureHelix_initResName_set(int argc, VALUE *argv, VALUE self) {
17970   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17971   char *arg2 = (char *) 0 ;
17972   void *argp1 = 0 ;
17973   int res1 = 0 ;
17974   int res2 ;
17975   char *buf2 = 0 ;
17976   int alloc2 = 0 ;
17977   
17978   if ((argc < 1) || (argc > 1)) {
17979     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17980   }
17981   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
17982   if (!SWIG_IsOK(res1)) {
17983     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initResName", 1, self )); 
17984   }
17985   arg1 = (pdbSecondaryStructureHelix *)(argp1);
17986   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
17987   if (!SWIG_IsOK(res2)) {
17988     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","initResName", 2, argv[0] ));
17989   }
17990   arg2 = (char *)(buf2);
17991   if (arg1->initResName) free((char*)arg1->initResName);
17992   if (arg2) {
17993     size_t size = strlen((const char *)(arg2)) + 1;
17994     arg1->initResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
17995   } else {
17996     arg1->initResName = 0;
17997   }
17998   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17999   return Qnil;
18000 fail:
18001   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18002   return Qnil;
18003 }
18004
18005
18006 SWIGINTERN VALUE
18007 _wrap_pdbSecondaryStructureHelix_initResName_get(int argc, VALUE *argv, VALUE self) {
18008   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18009   void *argp1 = 0 ;
18010   int res1 = 0 ;
18011   char *result = 0 ;
18012   VALUE vresult = Qnil;
18013   
18014   if ((argc < 0) || (argc > 0)) {
18015     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18016   }
18017   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18018   if (!SWIG_IsOK(res1)) {
18019     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initResName", 1, self )); 
18020   }
18021   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18022   result = (char *) ((arg1)->initResName);
18023   vresult = SWIG_FromCharPtr((const char *)result);
18024   return vresult;
18025 fail:
18026   return Qnil;
18027 }
18028
18029
18030 SWIGINTERN VALUE
18031 _wrap_pdbSecondaryStructureHelix_initChainID_set(int argc, VALUE *argv, VALUE self) {
18032   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18033   char arg2 ;
18034   void *argp1 = 0 ;
18035   int res1 = 0 ;
18036   char val2 ;
18037   int ecode2 = 0 ;
18038   
18039   if ((argc < 1) || (argc > 1)) {
18040     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18041   }
18042   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18043   if (!SWIG_IsOK(res1)) {
18044     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initChainID", 1, self )); 
18045   }
18046   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18047   ecode2 = SWIG_AsVal_char(argv[0], &val2);
18048   if (!SWIG_IsOK(ecode2)) {
18049     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initChainID", 2, argv[0] ));
18050   } 
18051   arg2 = (char)(val2);
18052   if (arg1) (arg1)->initChainID = arg2;
18053   return Qnil;
18054 fail:
18055   return Qnil;
18056 }
18057
18058
18059 SWIGINTERN VALUE
18060 _wrap_pdbSecondaryStructureHelix_initChainID_get(int argc, VALUE *argv, VALUE self) {
18061   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18062   void *argp1 = 0 ;
18063   int res1 = 0 ;
18064   char result;
18065   VALUE vresult = Qnil;
18066   
18067   if ((argc < 0) || (argc > 0)) {
18068     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18069   }
18070   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18071   if (!SWIG_IsOK(res1)) {
18072     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initChainID", 1, self )); 
18073   }
18074   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18075   result = (char) ((arg1)->initChainID);
18076   vresult = SWIG_From_char((char)(result));
18077   return vresult;
18078 fail:
18079   return Qnil;
18080 }
18081
18082
18083 SWIGINTERN VALUE
18084 _wrap_pdbSecondaryStructureHelix_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
18085   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18086   int arg2 ;
18087   void *argp1 = 0 ;
18088   int res1 = 0 ;
18089   int val2 ;
18090   int ecode2 = 0 ;
18091   
18092   if ((argc < 1) || (argc > 1)) {
18093     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18094   }
18095   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18096   if (!SWIG_IsOK(res1)) {
18097     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initSeqNum", 1, self )); 
18098   }
18099   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18100   ecode2 = SWIG_AsVal_int(argv[0], &val2);
18101   if (!SWIG_IsOK(ecode2)) {
18102     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","initSeqNum", 2, argv[0] ));
18103   } 
18104   arg2 = (int)(val2);
18105   if (arg1) (arg1)->initSeqNum = arg2;
18106   return Qnil;
18107 fail:
18108   return Qnil;
18109 }
18110
18111
18112 SWIGINTERN VALUE
18113 _wrap_pdbSecondaryStructureHelix_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
18114   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18115   void *argp1 = 0 ;
18116   int res1 = 0 ;
18117   int result;
18118   VALUE vresult = Qnil;
18119   
18120   if ((argc < 0) || (argc > 0)) {
18121     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18122   }
18123   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18124   if (!SWIG_IsOK(res1)) {
18125     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initSeqNum", 1, self )); 
18126   }
18127   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18128   result = (int) ((arg1)->initSeqNum);
18129   vresult = SWIG_From_int((int)(result));
18130   return vresult;
18131 fail:
18132   return Qnil;
18133 }
18134
18135
18136 SWIGINTERN VALUE
18137 _wrap_pdbSecondaryStructureHelix_initICode_set(int argc, VALUE *argv, VALUE self) {
18138   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18139   char arg2 ;
18140   void *argp1 = 0 ;
18141   int res1 = 0 ;
18142   char val2 ;
18143   int ecode2 = 0 ;
18144   
18145   if ((argc < 1) || (argc > 1)) {
18146     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18147   }
18148   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18149   if (!SWIG_IsOK(res1)) {
18150     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initICode", 1, self )); 
18151   }
18152   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18153   ecode2 = SWIG_AsVal_char(argv[0], &val2);
18154   if (!SWIG_IsOK(ecode2)) {
18155     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initICode", 2, argv[0] ));
18156   } 
18157   arg2 = (char)(val2);
18158   if (arg1) (arg1)->initICode = arg2;
18159   return Qnil;
18160 fail:
18161   return Qnil;
18162 }
18163
18164
18165 SWIGINTERN VALUE
18166 _wrap_pdbSecondaryStructureHelix_initICode_get(int argc, VALUE *argv, VALUE self) {
18167   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18168   void *argp1 = 0 ;
18169   int res1 = 0 ;
18170   char result;
18171   VALUE vresult = Qnil;
18172   
18173   if ((argc < 0) || (argc > 0)) {
18174     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18175   }
18176   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18177   if (!SWIG_IsOK(res1)) {
18178     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initICode", 1, self )); 
18179   }
18180   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18181   result = (char) ((arg1)->initICode);
18182   vresult = SWIG_From_char((char)(result));
18183   return vresult;
18184 fail:
18185   return Qnil;
18186 }
18187
18188
18189 SWIGINTERN VALUE
18190 _wrap_pdbSecondaryStructureHelix_endResName_set(int argc, VALUE *argv, VALUE self) {
18191   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18192   char *arg2 = (char *) 0 ;
18193   void *argp1 = 0 ;
18194   int res1 = 0 ;
18195   int res2 ;
18196   char *buf2 = 0 ;
18197   int alloc2 = 0 ;
18198   
18199   if ((argc < 1) || (argc > 1)) {
18200     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18201   }
18202   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18203   if (!SWIG_IsOK(res1)) {
18204     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endResName", 1, self )); 
18205   }
18206   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18207   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
18208   if (!SWIG_IsOK(res2)) {
18209     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","endResName", 2, argv[0] ));
18210   }
18211   arg2 = (char *)(buf2);
18212   if (arg1->endResName) free((char*)arg1->endResName);
18213   if (arg2) {
18214     size_t size = strlen((const char *)(arg2)) + 1;
18215     arg1->endResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
18216   } else {
18217     arg1->endResName = 0;
18218   }
18219   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18220   return Qnil;
18221 fail:
18222   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18223   return Qnil;
18224 }
18225
18226
18227 SWIGINTERN VALUE
18228 _wrap_pdbSecondaryStructureHelix_endResName_get(int argc, VALUE *argv, VALUE self) {
18229   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18230   void *argp1 = 0 ;
18231   int res1 = 0 ;
18232   char *result = 0 ;
18233   VALUE vresult = Qnil;
18234   
18235   if ((argc < 0) || (argc > 0)) {
18236     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18237   }
18238   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18239   if (!SWIG_IsOK(res1)) {
18240     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endResName", 1, self )); 
18241   }
18242   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18243   result = (char *) ((arg1)->endResName);
18244   vresult = SWIG_FromCharPtr((const char *)result);
18245   return vresult;
18246 fail:
18247   return Qnil;
18248 }
18249
18250
18251 SWIGINTERN VALUE
18252 _wrap_pdbSecondaryStructureHelix_endChainID_set(int argc, VALUE *argv, VALUE self) {
18253   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18254   char arg2 ;
18255   void *argp1 = 0 ;
18256   int res1 = 0 ;
18257   char val2 ;
18258   int ecode2 = 0 ;
18259   
18260   if ((argc < 1) || (argc > 1)) {
18261     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18262   }
18263   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18264   if (!SWIG_IsOK(res1)) {
18265     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endChainID", 1, self )); 
18266   }
18267   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18268   ecode2 = SWIG_AsVal_char(argv[0], &val2);
18269   if (!SWIG_IsOK(ecode2)) {
18270     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endChainID", 2, argv[0] ));
18271   } 
18272   arg2 = (char)(val2);
18273   if (arg1) (arg1)->endChainID = arg2;
18274   return Qnil;
18275 fail:
18276   return Qnil;
18277 }
18278
18279
18280 SWIGINTERN VALUE
18281 _wrap_pdbSecondaryStructureHelix_endChainID_get(int argc, VALUE *argv, VALUE self) {
18282   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18283   void *argp1 = 0 ;
18284   int res1 = 0 ;
18285   char result;
18286   VALUE vresult = Qnil;
18287   
18288   if ((argc < 0) || (argc > 0)) {
18289     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18290   }
18291   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18292   if (!SWIG_IsOK(res1)) {
18293     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endChainID", 1, self )); 
18294   }
18295   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18296   result = (char) ((arg1)->endChainID);
18297   vresult = SWIG_From_char((char)(result));
18298   return vresult;
18299 fail:
18300   return Qnil;
18301 }
18302
18303
18304 SWIGINTERN VALUE
18305 _wrap_pdbSecondaryStructureHelix_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
18306   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18307   int arg2 ;
18308   void *argp1 = 0 ;
18309   int res1 = 0 ;
18310   int val2 ;
18311   int ecode2 = 0 ;
18312   
18313   if ((argc < 1) || (argc > 1)) {
18314     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18315   }
18316   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18317   if (!SWIG_IsOK(res1)) {
18318     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endSeqNum", 1, self )); 
18319   }
18320   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18321   ecode2 = SWIG_AsVal_int(argv[0], &val2);
18322   if (!SWIG_IsOK(ecode2)) {
18323     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","endSeqNum", 2, argv[0] ));
18324   } 
18325   arg2 = (int)(val2);
18326   if (arg1) (arg1)->endSeqNum = arg2;
18327   return Qnil;
18328 fail:
18329   return Qnil;
18330 }
18331
18332
18333 SWIGINTERN VALUE
18334 _wrap_pdbSecondaryStructureHelix_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
18335   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18336   void *argp1 = 0 ;
18337   int res1 = 0 ;
18338   int result;
18339   VALUE vresult = Qnil;
18340   
18341   if ((argc < 0) || (argc > 0)) {
18342     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18343   }
18344   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18345   if (!SWIG_IsOK(res1)) {
18346     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endSeqNum", 1, self )); 
18347   }
18348   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18349   result = (int) ((arg1)->endSeqNum);
18350   vresult = SWIG_From_int((int)(result));
18351   return vresult;
18352 fail:
18353   return Qnil;
18354 }
18355
18356
18357 SWIGINTERN VALUE
18358 _wrap_pdbSecondaryStructureHelix_endICode_set(int argc, VALUE *argv, VALUE self) {
18359   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18360   char arg2 ;
18361   void *argp1 = 0 ;
18362   int res1 = 0 ;
18363   char val2 ;
18364   int ecode2 = 0 ;
18365   
18366   if ((argc < 1) || (argc > 1)) {
18367     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18368   }
18369   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18370   if (!SWIG_IsOK(res1)) {
18371     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endICode", 1, self )); 
18372   }
18373   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18374   ecode2 = SWIG_AsVal_char(argv[0], &val2);
18375   if (!SWIG_IsOK(ecode2)) {
18376     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endICode", 2, argv[0] ));
18377   } 
18378   arg2 = (char)(val2);
18379   if (arg1) (arg1)->endICode = arg2;
18380   return Qnil;
18381 fail:
18382   return Qnil;
18383 }
18384
18385
18386 SWIGINTERN VALUE
18387 _wrap_pdbSecondaryStructureHelix_endICode_get(int argc, VALUE *argv, VALUE self) {
18388   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18389   void *argp1 = 0 ;
18390   int res1 = 0 ;
18391   char result;
18392   VALUE vresult = Qnil;
18393   
18394   if ((argc < 0) || (argc > 0)) {
18395     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18396   }
18397   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18398   if (!SWIG_IsOK(res1)) {
18399     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endICode", 1, self )); 
18400   }
18401   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18402   result = (char) ((arg1)->endICode);
18403   vresult = SWIG_From_char((char)(result));
18404   return vresult;
18405 fail:
18406   return Qnil;
18407 }
18408
18409
18410 SWIGINTERN VALUE
18411 _wrap_pdbSecondaryStructureHelix_helixClass_set(int argc, VALUE *argv, VALUE self) {
18412   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18413   pdbSecondaryStructureHelixClass arg2 ;
18414   void *argp1 = 0 ;
18415   int res1 = 0 ;
18416   int val2 ;
18417   int ecode2 = 0 ;
18418   
18419   if ((argc < 1) || (argc > 1)) {
18420     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18421   }
18422   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18423   if (!SWIG_IsOK(res1)) {
18424     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helixClass", 1, self )); 
18425   }
18426   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18427   ecode2 = SWIG_AsVal_int(argv[0], &val2);
18428   if (!SWIG_IsOK(ecode2)) {
18429     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelixClass","helixClass", 2, argv[0] ));
18430   } 
18431   arg2 = (pdbSecondaryStructureHelixClass)(val2);
18432   if (arg1) (arg1)->helixClass = arg2;
18433   return Qnil;
18434 fail:
18435   return Qnil;
18436 }
18437
18438
18439 SWIGINTERN VALUE
18440 _wrap_pdbSecondaryStructureHelix_helixClass_get(int argc, VALUE *argv, VALUE self) {
18441   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18442   void *argp1 = 0 ;
18443   int res1 = 0 ;
18444   pdbSecondaryStructureHelixClass result;
18445   VALUE vresult = Qnil;
18446   
18447   if ((argc < 0) || (argc > 0)) {
18448     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18449   }
18450   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18451   if (!SWIG_IsOK(res1)) {
18452     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helixClass", 1, self )); 
18453   }
18454   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18455   result = (pdbSecondaryStructureHelixClass) ((arg1)->helixClass);
18456   vresult = SWIG_From_int((int)(result));
18457   return vresult;
18458 fail:
18459   return Qnil;
18460 }
18461
18462
18463 SWIGINTERN VALUE
18464 _wrap_pdbSecondaryStructureHelix_comment_set(int argc, VALUE *argv, VALUE self) {
18465   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18466   char *arg2 = (char *) 0 ;
18467   void *argp1 = 0 ;
18468   int res1 = 0 ;
18469   int res2 ;
18470   char *buf2 = 0 ;
18471   int alloc2 = 0 ;
18472   
18473   if ((argc < 1) || (argc > 1)) {
18474     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18475   }
18476   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18477   if (!SWIG_IsOK(res1)) {
18478     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","comment", 1, self )); 
18479   }
18480   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18481   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
18482   if (!SWIG_IsOK(res2)) {
18483     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","comment", 2, argv[0] ));
18484   }
18485   arg2 = (char *)(buf2);
18486   if (arg1->comment) free((char*)arg1->comment);
18487   if (arg2) {
18488     size_t size = strlen((const char *)(arg2)) + 1;
18489     arg1->comment = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
18490   } else {
18491     arg1->comment = 0;
18492   }
18493   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18494   return Qnil;
18495 fail:
18496   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18497   return Qnil;
18498 }
18499
18500
18501 SWIGINTERN VALUE
18502 _wrap_pdbSecondaryStructureHelix_comment_get(int argc, VALUE *argv, VALUE self) {
18503   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18504   void *argp1 = 0 ;
18505   int res1 = 0 ;
18506   char *result = 0 ;
18507   VALUE vresult = Qnil;
18508   
18509   if ((argc < 0) || (argc > 0)) {
18510     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18511   }
18512   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18513   if (!SWIG_IsOK(res1)) {
18514     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","comment", 1, self )); 
18515   }
18516   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18517   result = (char *) ((arg1)->comment);
18518   vresult = SWIG_FromCharPtr((const char *)result);
18519   return vresult;
18520 fail:
18521   return Qnil;
18522 }
18523
18524
18525 SWIGINTERN VALUE
18526 _wrap_pdbSecondaryStructureHelix_length_set(int argc, VALUE *argv, VALUE self) {
18527   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18528   int arg2 ;
18529   void *argp1 = 0 ;
18530   int res1 = 0 ;
18531   int val2 ;
18532   int ecode2 = 0 ;
18533   
18534   if ((argc < 1) || (argc > 1)) {
18535     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18536   }
18537   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18538   if (!SWIG_IsOK(res1)) {
18539     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","length", 1, self )); 
18540   }
18541   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18542   ecode2 = SWIG_AsVal_int(argv[0], &val2);
18543   if (!SWIG_IsOK(ecode2)) {
18544     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","length", 2, argv[0] ));
18545   } 
18546   arg2 = (int)(val2);
18547   if (arg1) (arg1)->length = arg2;
18548   return Qnil;
18549 fail:
18550   return Qnil;
18551 }
18552
18553
18554 SWIGINTERN VALUE
18555 _wrap_pdbSecondaryStructureHelix_length_get(int argc, VALUE *argv, VALUE self) {
18556   pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18557   void *argp1 = 0 ;
18558   int res1 = 0 ;
18559   int result;
18560   VALUE vresult = Qnil;
18561   
18562   if ((argc < 0) || (argc > 0)) {
18563     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18564   }
18565   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
18566   if (!SWIG_IsOK(res1)) {
18567     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","length", 1, self )); 
18568   }
18569   arg1 = (pdbSecondaryStructureHelix *)(argp1);
18570   result = (int) ((arg1)->length);
18571   vresult = SWIG_From_int((int)(result));
18572   return vresult;
18573 fail:
18574   return Qnil;
18575 }
18576
18577
18578 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
18579 SWIGINTERN VALUE
18580 _wrap_pdbSecondaryStructureHelix_allocate(VALUE self) {
18581 #else
18582   SWIGINTERN VALUE
18583   _wrap_pdbSecondaryStructureHelix_allocate(int argc, VALUE *argv, VALUE self) {
18584 #endif
18585     
18586     
18587     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbSecondaryStructureHelix);
18588 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
18589     rb_obj_call_init(vresult, argc, argv);
18590 #endif
18591     return vresult;
18592   }
18593   
18594
18595 SWIGINTERN VALUE
18596 _wrap_new_pdbSecondaryStructureHelix(int argc, VALUE *argv, VALUE self) {
18597   pdbSecondaryStructureHelix *result = 0 ;
18598   
18599   if ((argc < 0) || (argc > 0)) {
18600     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18601   }
18602   result = (pdbSecondaryStructureHelix *)calloc(1, sizeof(pdbSecondaryStructureHelix));
18603   DATA_PTR(self) = result;
18604   return self;
18605 fail:
18606   return Qnil;
18607 }
18608
18609
18610 SWIGINTERN void
18611 free_pdbSecondaryStructureHelix(pdbSecondaryStructureHelix *arg1) {
18612     free((char *) arg1);
18613 }
18614
18615 swig_class cPdbSecondaryStructureSheet;
18616
18617 SWIGINTERN VALUE
18618 _wrap_pdbSecondaryStructureSheet_strand_set(int argc, VALUE *argv, VALUE self) {
18619   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18620   int arg2 ;
18621   void *argp1 = 0 ;
18622   int res1 = 0 ;
18623   int val2 ;
18624   int ecode2 = 0 ;
18625   
18626   if ((argc < 1) || (argc > 1)) {
18627     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18628   }
18629   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18630   if (!SWIG_IsOK(res1)) {
18631     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","strand", 1, self )); 
18632   }
18633   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18634   ecode2 = SWIG_AsVal_int(argv[0], &val2);
18635   if (!SWIG_IsOK(ecode2)) {
18636     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","strand", 2, argv[0] ));
18637   } 
18638   arg2 = (int)(val2);
18639   if (arg1) (arg1)->strand = arg2;
18640   return Qnil;
18641 fail:
18642   return Qnil;
18643 }
18644
18645
18646 SWIGINTERN VALUE
18647 _wrap_pdbSecondaryStructureSheet_strand_get(int argc, VALUE *argv, VALUE self) {
18648   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18649   void *argp1 = 0 ;
18650   int res1 = 0 ;
18651   int result;
18652   VALUE vresult = Qnil;
18653   
18654   if ((argc < 0) || (argc > 0)) {
18655     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18656   }
18657   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18658   if (!SWIG_IsOK(res1)) {
18659     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","strand", 1, self )); 
18660   }
18661   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18662   result = (int) ((arg1)->strand);
18663   vresult = SWIG_From_int((int)(result));
18664   return vresult;
18665 fail:
18666   return Qnil;
18667 }
18668
18669
18670 SWIGINTERN VALUE
18671 _wrap_pdbSecondaryStructureSheet_sheetID_set(int argc, VALUE *argv, VALUE self) {
18672   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18673   char *arg2 = (char *) 0 ;
18674   void *argp1 = 0 ;
18675   int res1 = 0 ;
18676   int res2 ;
18677   char *buf2 = 0 ;
18678   int alloc2 = 0 ;
18679   
18680   if ((argc < 1) || (argc > 1)) {
18681     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18682   }
18683   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18684   if (!SWIG_IsOK(res1)) {
18685     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sheetID", 1, self )); 
18686   }
18687   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18688   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
18689   if (!SWIG_IsOK(res2)) {
18690     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","sheetID", 2, argv[0] ));
18691   }
18692   arg2 = (char *)(buf2);
18693   if (arg1->sheetID) free((char*)arg1->sheetID);
18694   if (arg2) {
18695     size_t size = strlen((const char *)(arg2)) + 1;
18696     arg1->sheetID = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
18697   } else {
18698     arg1->sheetID = 0;
18699   }
18700   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18701   return Qnil;
18702 fail:
18703   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18704   return Qnil;
18705 }
18706
18707
18708 SWIGINTERN VALUE
18709 _wrap_pdbSecondaryStructureSheet_sheetID_get(int argc, VALUE *argv, VALUE self) {
18710   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18711   void *argp1 = 0 ;
18712   int res1 = 0 ;
18713   char *result = 0 ;
18714   VALUE vresult = Qnil;
18715   
18716   if ((argc < 0) || (argc > 0)) {
18717     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18718   }
18719   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18720   if (!SWIG_IsOK(res1)) {
18721     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sheetID", 1, self )); 
18722   }
18723   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18724   result = (char *) ((arg1)->sheetID);
18725   vresult = SWIG_FromCharPtr((const char *)result);
18726   return vresult;
18727 fail:
18728   return Qnil;
18729 }
18730
18731
18732 SWIGINTERN VALUE
18733 _wrap_pdbSecondaryStructureSheet_numStrands_set(int argc, VALUE *argv, VALUE self) {
18734   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18735   int arg2 ;
18736   void *argp1 = 0 ;
18737   int res1 = 0 ;
18738   int val2 ;
18739   int ecode2 = 0 ;
18740   
18741   if ((argc < 1) || (argc > 1)) {
18742     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18743   }
18744   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18745   if (!SWIG_IsOK(res1)) {
18746     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","numStrands", 1, self )); 
18747   }
18748   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18749   ecode2 = SWIG_AsVal_int(argv[0], &val2);
18750   if (!SWIG_IsOK(ecode2)) {
18751     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","numStrands", 2, argv[0] ));
18752   } 
18753   arg2 = (int)(val2);
18754   if (arg1) (arg1)->numStrands = arg2;
18755   return Qnil;
18756 fail:
18757   return Qnil;
18758 }
18759
18760
18761 SWIGINTERN VALUE
18762 _wrap_pdbSecondaryStructureSheet_numStrands_get(int argc, VALUE *argv, VALUE self) {
18763   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18764   void *argp1 = 0 ;
18765   int res1 = 0 ;
18766   int result;
18767   VALUE vresult = Qnil;
18768   
18769   if ((argc < 0) || (argc > 0)) {
18770     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18771   }
18772   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18773   if (!SWIG_IsOK(res1)) {
18774     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","numStrands", 1, self )); 
18775   }
18776   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18777   result = (int) ((arg1)->numStrands);
18778   vresult = SWIG_From_int((int)(result));
18779   return vresult;
18780 fail:
18781   return Qnil;
18782 }
18783
18784
18785 SWIGINTERN VALUE
18786 _wrap_pdbSecondaryStructureSheet_initResName_set(int argc, VALUE *argv, VALUE self) {
18787   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18788   char *arg2 = (char *) 0 ;
18789   void *argp1 = 0 ;
18790   int res1 = 0 ;
18791   int res2 ;
18792   char *buf2 = 0 ;
18793   int alloc2 = 0 ;
18794   
18795   if ((argc < 1) || (argc > 1)) {
18796     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18797   }
18798   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18799   if (!SWIG_IsOK(res1)) {
18800     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initResName", 1, self )); 
18801   }
18802   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18803   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
18804   if (!SWIG_IsOK(res2)) {
18805     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","initResName", 2, argv[0] ));
18806   }
18807   arg2 = (char *)(buf2);
18808   if (arg1->initResName) free((char*)arg1->initResName);
18809   if (arg2) {
18810     size_t size = strlen((const char *)(arg2)) + 1;
18811     arg1->initResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
18812   } else {
18813     arg1->initResName = 0;
18814   }
18815   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18816   return Qnil;
18817 fail:
18818   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18819   return Qnil;
18820 }
18821
18822
18823 SWIGINTERN VALUE
18824 _wrap_pdbSecondaryStructureSheet_initResName_get(int argc, VALUE *argv, VALUE self) {
18825   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18826   void *argp1 = 0 ;
18827   int res1 = 0 ;
18828   char *result = 0 ;
18829   VALUE vresult = Qnil;
18830   
18831   if ((argc < 0) || (argc > 0)) {
18832     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18833   }
18834   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18835   if (!SWIG_IsOK(res1)) {
18836     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initResName", 1, self )); 
18837   }
18838   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18839   result = (char *) ((arg1)->initResName);
18840   vresult = SWIG_FromCharPtr((const char *)result);
18841   return vresult;
18842 fail:
18843   return Qnil;
18844 }
18845
18846
18847 SWIGINTERN VALUE
18848 _wrap_pdbSecondaryStructureSheet_initChainID_set(int argc, VALUE *argv, VALUE self) {
18849   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18850   char arg2 ;
18851   void *argp1 = 0 ;
18852   int res1 = 0 ;
18853   char val2 ;
18854   int ecode2 = 0 ;
18855   
18856   if ((argc < 1) || (argc > 1)) {
18857     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18858   }
18859   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18860   if (!SWIG_IsOK(res1)) {
18861     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initChainID", 1, self )); 
18862   }
18863   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18864   ecode2 = SWIG_AsVal_char(argv[0], &val2);
18865   if (!SWIG_IsOK(ecode2)) {
18866     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initChainID", 2, argv[0] ));
18867   } 
18868   arg2 = (char)(val2);
18869   if (arg1) (arg1)->initChainID = arg2;
18870   return Qnil;
18871 fail:
18872   return Qnil;
18873 }
18874
18875
18876 SWIGINTERN VALUE
18877 _wrap_pdbSecondaryStructureSheet_initChainID_get(int argc, VALUE *argv, VALUE self) {
18878   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18879   void *argp1 = 0 ;
18880   int res1 = 0 ;
18881   char result;
18882   VALUE vresult = Qnil;
18883   
18884   if ((argc < 0) || (argc > 0)) {
18885     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18886   }
18887   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18888   if (!SWIG_IsOK(res1)) {
18889     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initChainID", 1, self )); 
18890   }
18891   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18892   result = (char) ((arg1)->initChainID);
18893   vresult = SWIG_From_char((char)(result));
18894   return vresult;
18895 fail:
18896   return Qnil;
18897 }
18898
18899
18900 SWIGINTERN VALUE
18901 _wrap_pdbSecondaryStructureSheet_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
18902   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18903   int arg2 ;
18904   void *argp1 = 0 ;
18905   int res1 = 0 ;
18906   int val2 ;
18907   int ecode2 = 0 ;
18908   
18909   if ((argc < 1) || (argc > 1)) {
18910     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18911   }
18912   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18913   if (!SWIG_IsOK(res1)) {
18914     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initSeqNum", 1, self )); 
18915   }
18916   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18917   ecode2 = SWIG_AsVal_int(argv[0], &val2);
18918   if (!SWIG_IsOK(ecode2)) {
18919     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","initSeqNum", 2, argv[0] ));
18920   } 
18921   arg2 = (int)(val2);
18922   if (arg1) (arg1)->initSeqNum = arg2;
18923   return Qnil;
18924 fail:
18925   return Qnil;
18926 }
18927
18928
18929 SWIGINTERN VALUE
18930 _wrap_pdbSecondaryStructureSheet_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
18931   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18932   void *argp1 = 0 ;
18933   int res1 = 0 ;
18934   int result;
18935   VALUE vresult = Qnil;
18936   
18937   if ((argc < 0) || (argc > 0)) {
18938     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18939   }
18940   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18941   if (!SWIG_IsOK(res1)) {
18942     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initSeqNum", 1, self )); 
18943   }
18944   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18945   result = (int) ((arg1)->initSeqNum);
18946   vresult = SWIG_From_int((int)(result));
18947   return vresult;
18948 fail:
18949   return Qnil;
18950 }
18951
18952
18953 SWIGINTERN VALUE
18954 _wrap_pdbSecondaryStructureSheet_initICode_set(int argc, VALUE *argv, VALUE self) {
18955   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18956   char arg2 ;
18957   void *argp1 = 0 ;
18958   int res1 = 0 ;
18959   char val2 ;
18960   int ecode2 = 0 ;
18961   
18962   if ((argc < 1) || (argc > 1)) {
18963     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18964   }
18965   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18966   if (!SWIG_IsOK(res1)) {
18967     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initICode", 1, self )); 
18968   }
18969   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18970   ecode2 = SWIG_AsVal_char(argv[0], &val2);
18971   if (!SWIG_IsOK(ecode2)) {
18972     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initICode", 2, argv[0] ));
18973   } 
18974   arg2 = (char)(val2);
18975   if (arg1) (arg1)->initICode = arg2;
18976   return Qnil;
18977 fail:
18978   return Qnil;
18979 }
18980
18981
18982 SWIGINTERN VALUE
18983 _wrap_pdbSecondaryStructureSheet_initICode_get(int argc, VALUE *argv, VALUE self) {
18984   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18985   void *argp1 = 0 ;
18986   int res1 = 0 ;
18987   char result;
18988   VALUE vresult = Qnil;
18989   
18990   if ((argc < 0) || (argc > 0)) {
18991     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18992   }
18993   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
18994   if (!SWIG_IsOK(res1)) {
18995     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initICode", 1, self )); 
18996   }
18997   arg1 = (pdbSecondaryStructureSheet *)(argp1);
18998   result = (char) ((arg1)->initICode);
18999   vresult = SWIG_From_char((char)(result));
19000   return vresult;
19001 fail:
19002   return Qnil;
19003 }
19004
19005
19006 SWIGINTERN VALUE
19007 _wrap_pdbSecondaryStructureSheet_endResName_set(int argc, VALUE *argv, VALUE self) {
19008   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19009   char *arg2 = (char *) 0 ;
19010   void *argp1 = 0 ;
19011   int res1 = 0 ;
19012   int res2 ;
19013   char *buf2 = 0 ;
19014   int alloc2 = 0 ;
19015   
19016   if ((argc < 1) || (argc > 1)) {
19017     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19018   }
19019   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19020   if (!SWIG_IsOK(res1)) {
19021     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endResName", 1, self )); 
19022   }
19023   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19024   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
19025   if (!SWIG_IsOK(res2)) {
19026     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","endResName", 2, argv[0] ));
19027   }
19028   arg2 = (char *)(buf2);
19029   if (arg1->endResName) free((char*)arg1->endResName);
19030   if (arg2) {
19031     size_t size = strlen((const char *)(arg2)) + 1;
19032     arg1->endResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
19033   } else {
19034     arg1->endResName = 0;
19035   }
19036   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19037   return Qnil;
19038 fail:
19039   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19040   return Qnil;
19041 }
19042
19043
19044 SWIGINTERN VALUE
19045 _wrap_pdbSecondaryStructureSheet_endResName_get(int argc, VALUE *argv, VALUE self) {
19046   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19047   void *argp1 = 0 ;
19048   int res1 = 0 ;
19049   char *result = 0 ;
19050   VALUE vresult = Qnil;
19051   
19052   if ((argc < 0) || (argc > 0)) {
19053     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19054   }
19055   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19056   if (!SWIG_IsOK(res1)) {
19057     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endResName", 1, self )); 
19058   }
19059   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19060   result = (char *) ((arg1)->endResName);
19061   vresult = SWIG_FromCharPtr((const char *)result);
19062   return vresult;
19063 fail:
19064   return Qnil;
19065 }
19066
19067
19068 SWIGINTERN VALUE
19069 _wrap_pdbSecondaryStructureSheet_endChainID_set(int argc, VALUE *argv, VALUE self) {
19070   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19071   char arg2 ;
19072   void *argp1 = 0 ;
19073   int res1 = 0 ;
19074   char val2 ;
19075   int ecode2 = 0 ;
19076   
19077   if ((argc < 1) || (argc > 1)) {
19078     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19079   }
19080   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19081   if (!SWIG_IsOK(res1)) {
19082     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endChainID", 1, self )); 
19083   }
19084   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19085   ecode2 = SWIG_AsVal_char(argv[0], &val2);
19086   if (!SWIG_IsOK(ecode2)) {
19087     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endChainID", 2, argv[0] ));
19088   } 
19089   arg2 = (char)(val2);
19090   if (arg1) (arg1)->endChainID = arg2;
19091   return Qnil;
19092 fail:
19093   return Qnil;
19094 }
19095
19096
19097 SWIGINTERN VALUE
19098 _wrap_pdbSecondaryStructureSheet_endChainID_get(int argc, VALUE *argv, VALUE self) {
19099   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19100   void *argp1 = 0 ;
19101   int res1 = 0 ;
19102   char result;
19103   VALUE vresult = Qnil;
19104   
19105   if ((argc < 0) || (argc > 0)) {
19106     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19107   }
19108   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19109   if (!SWIG_IsOK(res1)) {
19110     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endChainID", 1, self )); 
19111   }
19112   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19113   result = (char) ((arg1)->endChainID);
19114   vresult = SWIG_From_char((char)(result));
19115   return vresult;
19116 fail:
19117   return Qnil;
19118 }
19119
19120
19121 SWIGINTERN VALUE
19122 _wrap_pdbSecondaryStructureSheet_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
19123   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19124   int arg2 ;
19125   void *argp1 = 0 ;
19126   int res1 = 0 ;
19127   int val2 ;
19128   int ecode2 = 0 ;
19129   
19130   if ((argc < 1) || (argc > 1)) {
19131     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19132   }
19133   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19134   if (!SWIG_IsOK(res1)) {
19135     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endSeqNum", 1, self )); 
19136   }
19137   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19138   ecode2 = SWIG_AsVal_int(argv[0], &val2);
19139   if (!SWIG_IsOK(ecode2)) {
19140     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","endSeqNum", 2, argv[0] ));
19141   } 
19142   arg2 = (int)(val2);
19143   if (arg1) (arg1)->endSeqNum = arg2;
19144   return Qnil;
19145 fail:
19146   return Qnil;
19147 }
19148
19149
19150 SWIGINTERN VALUE
19151 _wrap_pdbSecondaryStructureSheet_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
19152   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19153   void *argp1 = 0 ;
19154   int res1 = 0 ;
19155   int result;
19156   VALUE vresult = Qnil;
19157   
19158   if ((argc < 0) || (argc > 0)) {
19159     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19160   }
19161   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19162   if (!SWIG_IsOK(res1)) {
19163     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endSeqNum", 1, self )); 
19164   }
19165   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19166   result = (int) ((arg1)->endSeqNum);
19167   vresult = SWIG_From_int((int)(result));
19168   return vresult;
19169 fail:
19170   return Qnil;
19171 }
19172
19173
19174 SWIGINTERN VALUE
19175 _wrap_pdbSecondaryStructureSheet_endICode_set(int argc, VALUE *argv, VALUE self) {
19176   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19177   char arg2 ;
19178   void *argp1 = 0 ;
19179   int res1 = 0 ;
19180   char val2 ;
19181   int ecode2 = 0 ;
19182   
19183   if ((argc < 1) || (argc > 1)) {
19184     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19185   }
19186   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19187   if (!SWIG_IsOK(res1)) {
19188     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endICode", 1, self )); 
19189   }
19190   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19191   ecode2 = SWIG_AsVal_char(argv[0], &val2);
19192   if (!SWIG_IsOK(ecode2)) {
19193     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endICode", 2, argv[0] ));
19194   } 
19195   arg2 = (char)(val2);
19196   if (arg1) (arg1)->endICode = arg2;
19197   return Qnil;
19198 fail:
19199   return Qnil;
19200 }
19201
19202
19203 SWIGINTERN VALUE
19204 _wrap_pdbSecondaryStructureSheet_endICode_get(int argc, VALUE *argv, VALUE self) {
19205   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19206   void *argp1 = 0 ;
19207   int res1 = 0 ;
19208   char result;
19209   VALUE vresult = Qnil;
19210   
19211   if ((argc < 0) || (argc > 0)) {
19212     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19213   }
19214   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19215   if (!SWIG_IsOK(res1)) {
19216     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endICode", 1, self )); 
19217   }
19218   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19219   result = (char) ((arg1)->endICode);
19220   vresult = SWIG_From_char((char)(result));
19221   return vresult;
19222 fail:
19223   return Qnil;
19224 }
19225
19226
19227 SWIGINTERN VALUE
19228 _wrap_pdbSecondaryStructureSheet_sense_set(int argc, VALUE *argv, VALUE self) {
19229   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19230   int arg2 ;
19231   void *argp1 = 0 ;
19232   int res1 = 0 ;
19233   int val2 ;
19234   int ecode2 = 0 ;
19235   
19236   if ((argc < 1) || (argc > 1)) {
19237     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19238   }
19239   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19240   if (!SWIG_IsOK(res1)) {
19241     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sense", 1, self )); 
19242   }
19243   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19244   ecode2 = SWIG_AsVal_int(argv[0], &val2);
19245   if (!SWIG_IsOK(ecode2)) {
19246     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","sense", 2, argv[0] ));
19247   } 
19248   arg2 = (int)(val2);
19249   if (arg1) (arg1)->sense = arg2;
19250   return Qnil;
19251 fail:
19252   return Qnil;
19253 }
19254
19255
19256 SWIGINTERN VALUE
19257 _wrap_pdbSecondaryStructureSheet_sense_get(int argc, VALUE *argv, VALUE self) {
19258   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19259   void *argp1 = 0 ;
19260   int res1 = 0 ;
19261   int result;
19262   VALUE vresult = Qnil;
19263   
19264   if ((argc < 0) || (argc > 0)) {
19265     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19266   }
19267   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19268   if (!SWIG_IsOK(res1)) {
19269     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sense", 1, self )); 
19270   }
19271   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19272   result = (int) ((arg1)->sense);
19273   vresult = SWIG_From_int((int)(result));
19274   return vresult;
19275 fail:
19276   return Qnil;
19277 }
19278
19279
19280 SWIGINTERN VALUE
19281 _wrap_pdbSecondaryStructureSheet_curAtom_set(int argc, VALUE *argv, VALUE self) {
19282   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19283   char *arg2 = (char *) 0 ;
19284   void *argp1 = 0 ;
19285   int res1 = 0 ;
19286   int res2 ;
19287   char *buf2 = 0 ;
19288   int alloc2 = 0 ;
19289   
19290   if ((argc < 1) || (argc > 1)) {
19291     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19292   }
19293   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19294   if (!SWIG_IsOK(res1)) {
19295     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curAtom", 1, self )); 
19296   }
19297   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19298   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
19299   if (!SWIG_IsOK(res2)) {
19300     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","curAtom", 2, argv[0] ));
19301   }
19302   arg2 = (char *)(buf2);
19303   if (arg1->curAtom) free((char*)arg1->curAtom);
19304   if (arg2) {
19305     size_t size = strlen((const char *)(arg2)) + 1;
19306     arg1->curAtom = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
19307   } else {
19308     arg1->curAtom = 0;
19309   }
19310   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19311   return Qnil;
19312 fail:
19313   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19314   return Qnil;
19315 }
19316
19317
19318 SWIGINTERN VALUE
19319 _wrap_pdbSecondaryStructureSheet_curAtom_get(int argc, VALUE *argv, VALUE self) {
19320   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19321   void *argp1 = 0 ;
19322   int res1 = 0 ;
19323   char *result = 0 ;
19324   VALUE vresult = Qnil;
19325   
19326   if ((argc < 0) || (argc > 0)) {
19327     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19328   }
19329   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19330   if (!SWIG_IsOK(res1)) {
19331     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curAtom", 1, self )); 
19332   }
19333   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19334   result = (char *) ((arg1)->curAtom);
19335   vresult = SWIG_FromCharPtr((const char *)result);
19336   return vresult;
19337 fail:
19338   return Qnil;
19339 }
19340
19341
19342 SWIGINTERN VALUE
19343 _wrap_pdbSecondaryStructureSheet_curResName_set(int argc, VALUE *argv, VALUE self) {
19344   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19345   char *arg2 = (char *) 0 ;
19346   void *argp1 = 0 ;
19347   int res1 = 0 ;
19348   int res2 ;
19349   char *buf2 = 0 ;
19350   int alloc2 = 0 ;
19351   
19352   if ((argc < 1) || (argc > 1)) {
19353     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19354   }
19355   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19356   if (!SWIG_IsOK(res1)) {
19357     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curResName", 1, self )); 
19358   }
19359   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19360   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
19361   if (!SWIG_IsOK(res2)) {
19362     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","curResName", 2, argv[0] ));
19363   }
19364   arg2 = (char *)(buf2);
19365   if (arg1->curResName) free((char*)arg1->curResName);
19366   if (arg2) {
19367     size_t size = strlen((const char *)(arg2)) + 1;
19368     arg1->curResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
19369   } else {
19370     arg1->curResName = 0;
19371   }
19372   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19373   return Qnil;
19374 fail:
19375   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19376   return Qnil;
19377 }
19378
19379
19380 SWIGINTERN VALUE
19381 _wrap_pdbSecondaryStructureSheet_curResName_get(int argc, VALUE *argv, VALUE self) {
19382   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19383   void *argp1 = 0 ;
19384   int res1 = 0 ;
19385   char *result = 0 ;
19386   VALUE vresult = Qnil;
19387   
19388   if ((argc < 0) || (argc > 0)) {
19389     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19390   }
19391   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19392   if (!SWIG_IsOK(res1)) {
19393     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curResName", 1, self )); 
19394   }
19395   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19396   result = (char *) ((arg1)->curResName);
19397   vresult = SWIG_FromCharPtr((const char *)result);
19398   return vresult;
19399 fail:
19400   return Qnil;
19401 }
19402
19403
19404 SWIGINTERN VALUE
19405 _wrap_pdbSecondaryStructureSheet_curChainID_set(int argc, VALUE *argv, VALUE self) {
19406   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19407   char arg2 ;
19408   void *argp1 = 0 ;
19409   int res1 = 0 ;
19410   char val2 ;
19411   int ecode2 = 0 ;
19412   
19413   if ((argc < 1) || (argc > 1)) {
19414     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19415   }
19416   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19417   if (!SWIG_IsOK(res1)) {
19418     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curChainID", 1, self )); 
19419   }
19420   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19421   ecode2 = SWIG_AsVal_char(argv[0], &val2);
19422   if (!SWIG_IsOK(ecode2)) {
19423     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","curChainID", 2, argv[0] ));
19424   } 
19425   arg2 = (char)(val2);
19426   if (arg1) (arg1)->curChainID = arg2;
19427   return Qnil;
19428 fail:
19429   return Qnil;
19430 }
19431
19432
19433 SWIGINTERN VALUE
19434 _wrap_pdbSecondaryStructureSheet_curChainID_get(int argc, VALUE *argv, VALUE self) {
19435   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19436   void *argp1 = 0 ;
19437   int res1 = 0 ;
19438   char result;
19439   VALUE vresult = Qnil;
19440   
19441   if ((argc < 0) || (argc > 0)) {
19442     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19443   }
19444   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19445   if (!SWIG_IsOK(res1)) {
19446     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curChainID", 1, self )); 
19447   }
19448   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19449   result = (char) ((arg1)->curChainID);
19450   vresult = SWIG_From_char((char)(result));
19451   return vresult;
19452 fail:
19453   return Qnil;
19454 }
19455
19456
19457 SWIGINTERN VALUE
19458 _wrap_pdbSecondaryStructureSheet_curResSeq_set(int argc, VALUE *argv, VALUE self) {
19459   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19460   int arg2 ;
19461   void *argp1 = 0 ;
19462   int res1 = 0 ;
19463   int val2 ;
19464   int ecode2 = 0 ;
19465   
19466   if ((argc < 1) || (argc > 1)) {
19467     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19468   }
19469   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19470   if (!SWIG_IsOK(res1)) {
19471     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curResSeq", 1, self )); 
19472   }
19473   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19474   ecode2 = SWIG_AsVal_int(argv[0], &val2);
19475   if (!SWIG_IsOK(ecode2)) {
19476     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","curResSeq", 2, argv[0] ));
19477   } 
19478   arg2 = (int)(val2);
19479   if (arg1) (arg1)->curResSeq = arg2;
19480   return Qnil;
19481 fail:
19482   return Qnil;
19483 }
19484
19485
19486 SWIGINTERN VALUE
19487 _wrap_pdbSecondaryStructureSheet_curResSeq_get(int argc, VALUE *argv, VALUE self) {
19488   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19489   void *argp1 = 0 ;
19490   int res1 = 0 ;
19491   int result;
19492   VALUE vresult = Qnil;
19493   
19494   if ((argc < 0) || (argc > 0)) {
19495     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19496   }
19497   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19498   if (!SWIG_IsOK(res1)) {
19499     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curResSeq", 1, self )); 
19500   }
19501   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19502   result = (int) ((arg1)->curResSeq);
19503   vresult = SWIG_From_int((int)(result));
19504   return vresult;
19505 fail:
19506   return Qnil;
19507 }
19508
19509
19510 SWIGINTERN VALUE
19511 _wrap_pdbSecondaryStructureSheet_curICode_set(int argc, VALUE *argv, VALUE self) {
19512   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19513   char arg2 ;
19514   void *argp1 = 0 ;
19515   int res1 = 0 ;
19516   char val2 ;
19517   int ecode2 = 0 ;
19518   
19519   if ((argc < 1) || (argc > 1)) {
19520     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19521   }
19522   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19523   if (!SWIG_IsOK(res1)) {
19524     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curICode", 1, self )); 
19525   }
19526   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19527   ecode2 = SWIG_AsVal_char(argv[0], &val2);
19528   if (!SWIG_IsOK(ecode2)) {
19529     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","curICode", 2, argv[0] ));
19530   } 
19531   arg2 = (char)(val2);
19532   if (arg1) (arg1)->curICode = arg2;
19533   return Qnil;
19534 fail:
19535   return Qnil;
19536 }
19537
19538
19539 SWIGINTERN VALUE
19540 _wrap_pdbSecondaryStructureSheet_curICode_get(int argc, VALUE *argv, VALUE self) {
19541   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19542   void *argp1 = 0 ;
19543   int res1 = 0 ;
19544   char result;
19545   VALUE vresult = Qnil;
19546   
19547   if ((argc < 0) || (argc > 0)) {
19548     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19549   }
19550   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19551   if (!SWIG_IsOK(res1)) {
19552     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curICode", 1, self )); 
19553   }
19554   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19555   result = (char) ((arg1)->curICode);
19556   vresult = SWIG_From_char((char)(result));
19557   return vresult;
19558 fail:
19559   return Qnil;
19560 }
19561
19562
19563 SWIGINTERN VALUE
19564 _wrap_pdbSecondaryStructureSheet_prevAtom_set(int argc, VALUE *argv, VALUE self) {
19565   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19566   char *arg2 = (char *) 0 ;
19567   void *argp1 = 0 ;
19568   int res1 = 0 ;
19569   int res2 ;
19570   char *buf2 = 0 ;
19571   int alloc2 = 0 ;
19572   
19573   if ((argc < 1) || (argc > 1)) {
19574     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19575   }
19576   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19577   if (!SWIG_IsOK(res1)) {
19578     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevAtom", 1, self )); 
19579   }
19580   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19581   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
19582   if (!SWIG_IsOK(res2)) {
19583     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","prevAtom", 2, argv[0] ));
19584   }
19585   arg2 = (char *)(buf2);
19586   if (arg1->prevAtom) free((char*)arg1->prevAtom);
19587   if (arg2) {
19588     size_t size = strlen((const char *)(arg2)) + 1;
19589     arg1->prevAtom = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
19590   } else {
19591     arg1->prevAtom = 0;
19592   }
19593   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19594   return Qnil;
19595 fail:
19596   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19597   return Qnil;
19598 }
19599
19600
19601 SWIGINTERN VALUE
19602 _wrap_pdbSecondaryStructureSheet_prevAtom_get(int argc, VALUE *argv, VALUE self) {
19603   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19604   void *argp1 = 0 ;
19605   int res1 = 0 ;
19606   char *result = 0 ;
19607   VALUE vresult = Qnil;
19608   
19609   if ((argc < 0) || (argc > 0)) {
19610     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19611   }
19612   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19613   if (!SWIG_IsOK(res1)) {
19614     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevAtom", 1, self )); 
19615   }
19616   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19617   result = (char *) ((arg1)->prevAtom);
19618   vresult = SWIG_FromCharPtr((const char *)result);
19619   return vresult;
19620 fail:
19621   return Qnil;
19622 }
19623
19624
19625 SWIGINTERN VALUE
19626 _wrap_pdbSecondaryStructureSheet_prevResName_set(int argc, VALUE *argv, VALUE self) {
19627   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19628   char *arg2 = (char *) 0 ;
19629   void *argp1 = 0 ;
19630   int res1 = 0 ;
19631   int res2 ;
19632   char *buf2 = 0 ;
19633   int alloc2 = 0 ;
19634   
19635   if ((argc < 1) || (argc > 1)) {
19636     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19637   }
19638   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19639   if (!SWIG_IsOK(res1)) {
19640     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevResName", 1, self )); 
19641   }
19642   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19643   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
19644   if (!SWIG_IsOK(res2)) {
19645     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","prevResName", 2, argv[0] ));
19646   }
19647   arg2 = (char *)(buf2);
19648   if (arg1->prevResName) free((char*)arg1->prevResName);
19649   if (arg2) {
19650     size_t size = strlen((const char *)(arg2)) + 1;
19651     arg1->prevResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
19652   } else {
19653     arg1->prevResName = 0;
19654   }
19655   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19656   return Qnil;
19657 fail:
19658   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19659   return Qnil;
19660 }
19661
19662
19663 SWIGINTERN VALUE
19664 _wrap_pdbSecondaryStructureSheet_prevResName_get(int argc, VALUE *argv, VALUE self) {
19665   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19666   void *argp1 = 0 ;
19667   int res1 = 0 ;
19668   char *result = 0 ;
19669   VALUE vresult = Qnil;
19670   
19671   if ((argc < 0) || (argc > 0)) {
19672     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19673   }
19674   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19675   if (!SWIG_IsOK(res1)) {
19676     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevResName", 1, self )); 
19677   }
19678   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19679   result = (char *) ((arg1)->prevResName);
19680   vresult = SWIG_FromCharPtr((const char *)result);
19681   return vresult;
19682 fail:
19683   return Qnil;
19684 }
19685
19686
19687 SWIGINTERN VALUE
19688 _wrap_pdbSecondaryStructureSheet_prevChainID_set(int argc, VALUE *argv, VALUE self) {
19689   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19690   char arg2 ;
19691   void *argp1 = 0 ;
19692   int res1 = 0 ;
19693   char val2 ;
19694   int ecode2 = 0 ;
19695   
19696   if ((argc < 1) || (argc > 1)) {
19697     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19698   }
19699   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19700   if (!SWIG_IsOK(res1)) {
19701     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevChainID", 1, self )); 
19702   }
19703   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19704   ecode2 = SWIG_AsVal_char(argv[0], &val2);
19705   if (!SWIG_IsOK(ecode2)) {
19706     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","prevChainID", 2, argv[0] ));
19707   } 
19708   arg2 = (char)(val2);
19709   if (arg1) (arg1)->prevChainID = arg2;
19710   return Qnil;
19711 fail:
19712   return Qnil;
19713 }
19714
19715
19716 SWIGINTERN VALUE
19717 _wrap_pdbSecondaryStructureSheet_prevChainID_get(int argc, VALUE *argv, VALUE self) {
19718   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19719   void *argp1 = 0 ;
19720   int res1 = 0 ;
19721   char result;
19722   VALUE vresult = Qnil;
19723   
19724   if ((argc < 0) || (argc > 0)) {
19725     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19726   }
19727   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19728   if (!SWIG_IsOK(res1)) {
19729     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevChainID", 1, self )); 
19730   }
19731   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19732   result = (char) ((arg1)->prevChainID);
19733   vresult = SWIG_From_char((char)(result));
19734   return vresult;
19735 fail:
19736   return Qnil;
19737 }
19738
19739
19740 SWIGINTERN VALUE
19741 _wrap_pdbSecondaryStructureSheet_prevResSeq_set(int argc, VALUE *argv, VALUE self) {
19742   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19743   int arg2 ;
19744   void *argp1 = 0 ;
19745   int res1 = 0 ;
19746   int val2 ;
19747   int ecode2 = 0 ;
19748   
19749   if ((argc < 1) || (argc > 1)) {
19750     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19751   }
19752   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19753   if (!SWIG_IsOK(res1)) {
19754     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevResSeq", 1, self )); 
19755   }
19756   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19757   ecode2 = SWIG_AsVal_int(argv[0], &val2);
19758   if (!SWIG_IsOK(ecode2)) {
19759     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","prevResSeq", 2, argv[0] ));
19760   } 
19761   arg2 = (int)(val2);
19762   if (arg1) (arg1)->prevResSeq = arg2;
19763   return Qnil;
19764 fail:
19765   return Qnil;
19766 }
19767
19768
19769 SWIGINTERN VALUE
19770 _wrap_pdbSecondaryStructureSheet_prevResSeq_get(int argc, VALUE *argv, VALUE self) {
19771   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19772   void *argp1 = 0 ;
19773   int res1 = 0 ;
19774   int result;
19775   VALUE vresult = Qnil;
19776   
19777   if ((argc < 0) || (argc > 0)) {
19778     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19779   }
19780   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19781   if (!SWIG_IsOK(res1)) {
19782     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevResSeq", 1, self )); 
19783   }
19784   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19785   result = (int) ((arg1)->prevResSeq);
19786   vresult = SWIG_From_int((int)(result));
19787   return vresult;
19788 fail:
19789   return Qnil;
19790 }
19791
19792
19793 SWIGINTERN VALUE
19794 _wrap_pdbSecondaryStructureSheet_prevICode_set(int argc, VALUE *argv, VALUE self) {
19795   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19796   char arg2 ;
19797   void *argp1 = 0 ;
19798   int res1 = 0 ;
19799   char val2 ;
19800   int ecode2 = 0 ;
19801   
19802   if ((argc < 1) || (argc > 1)) {
19803     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19804   }
19805   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19806   if (!SWIG_IsOK(res1)) {
19807     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevICode", 1, self )); 
19808   }
19809   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19810   ecode2 = SWIG_AsVal_char(argv[0], &val2);
19811   if (!SWIG_IsOK(ecode2)) {
19812     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","prevICode", 2, argv[0] ));
19813   } 
19814   arg2 = (char)(val2);
19815   if (arg1) (arg1)->prevICode = arg2;
19816   return Qnil;
19817 fail:
19818   return Qnil;
19819 }
19820
19821
19822 SWIGINTERN VALUE
19823 _wrap_pdbSecondaryStructureSheet_prevICode_get(int argc, VALUE *argv, VALUE self) {
19824   pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19825   void *argp1 = 0 ;
19826   int res1 = 0 ;
19827   char result;
19828   VALUE vresult = Qnil;
19829   
19830   if ((argc < 0) || (argc > 0)) {
19831     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19832   }
19833   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
19834   if (!SWIG_IsOK(res1)) {
19835     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevICode", 1, self )); 
19836   }
19837   arg1 = (pdbSecondaryStructureSheet *)(argp1);
19838   result = (char) ((arg1)->prevICode);
19839   vresult = SWIG_From_char((char)(result));
19840   return vresult;
19841 fail:
19842   return Qnil;
19843 }
19844
19845
19846 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
19847 SWIGINTERN VALUE
19848 _wrap_pdbSecondaryStructureSheet_allocate(VALUE self) {
19849 #else
19850   SWIGINTERN VALUE
19851   _wrap_pdbSecondaryStructureSheet_allocate(int argc, VALUE *argv, VALUE self) {
19852 #endif
19853     
19854     
19855     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbSecondaryStructureSheet);
19856 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
19857     rb_obj_call_init(vresult, argc, argv);
19858 #endif
19859     return vresult;
19860   }
19861   
19862
19863 SWIGINTERN VALUE
19864 _wrap_new_pdbSecondaryStructureSheet(int argc, VALUE *argv, VALUE self) {
19865   pdbSecondaryStructureSheet *result = 0 ;
19866   
19867   if ((argc < 0) || (argc > 0)) {
19868     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19869   }
19870   result = (pdbSecondaryStructureSheet *)calloc(1, sizeof(pdbSecondaryStructureSheet));
19871   DATA_PTR(self) = result;
19872   return self;
19873 fail:
19874   return Qnil;
19875 }
19876
19877
19878 SWIGINTERN void
19879 free_pdbSecondaryStructureSheet(pdbSecondaryStructureSheet *arg1) {
19880     free((char *) arg1);
19881 }
19882
19883 swig_class cPdbSecondaryStructureTurn;
19884
19885 SWIGINTERN VALUE
19886 _wrap_pdbSecondaryStructureTurn_serNum_set(int argc, VALUE *argv, VALUE self) {
19887   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
19888   int arg2 ;
19889   void *argp1 = 0 ;
19890   int res1 = 0 ;
19891   int val2 ;
19892   int ecode2 = 0 ;
19893   
19894   if ((argc < 1) || (argc > 1)) {
19895     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19896   }
19897   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
19898   if (!SWIG_IsOK(res1)) {
19899     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","serNum", 1, self )); 
19900   }
19901   arg1 = (pdbSecondaryStructureTurn *)(argp1);
19902   ecode2 = SWIG_AsVal_int(argv[0], &val2);
19903   if (!SWIG_IsOK(ecode2)) {
19904     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","serNum", 2, argv[0] ));
19905   } 
19906   arg2 = (int)(val2);
19907   if (arg1) (arg1)->serNum = arg2;
19908   return Qnil;
19909 fail:
19910   return Qnil;
19911 }
19912
19913
19914 SWIGINTERN VALUE
19915 _wrap_pdbSecondaryStructureTurn_serNum_get(int argc, VALUE *argv, VALUE self) {
19916   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
19917   void *argp1 = 0 ;
19918   int res1 = 0 ;
19919   int result;
19920   VALUE vresult = Qnil;
19921   
19922   if ((argc < 0) || (argc > 0)) {
19923     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19924   }
19925   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
19926   if (!SWIG_IsOK(res1)) {
19927     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","serNum", 1, self )); 
19928   }
19929   arg1 = (pdbSecondaryStructureTurn *)(argp1);
19930   result = (int) ((arg1)->serNum);
19931   vresult = SWIG_From_int((int)(result));
19932   return vresult;
19933 fail:
19934   return Qnil;
19935 }
19936
19937
19938 SWIGINTERN VALUE
19939 _wrap_pdbSecondaryStructureTurn_turnID_set(int argc, VALUE *argv, VALUE self) {
19940   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
19941   char *arg2 = (char *) 0 ;
19942   void *argp1 = 0 ;
19943   int res1 = 0 ;
19944   int res2 ;
19945   char *buf2 = 0 ;
19946   int alloc2 = 0 ;
19947   
19948   if ((argc < 1) || (argc > 1)) {
19949     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
19950   }
19951   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
19952   if (!SWIG_IsOK(res1)) {
19953     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","turnID", 1, self )); 
19954   }
19955   arg1 = (pdbSecondaryStructureTurn *)(argp1);
19956   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
19957   if (!SWIG_IsOK(res2)) {
19958     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","turnID", 2, argv[0] ));
19959   }
19960   arg2 = (char *)(buf2);
19961   if (arg1->turnID) free((char*)arg1->turnID);
19962   if (arg2) {
19963     size_t size = strlen((const char *)(arg2)) + 1;
19964     arg1->turnID = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
19965   } else {
19966     arg1->turnID = 0;
19967   }
19968   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19969   return Qnil;
19970 fail:
19971   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19972   return Qnil;
19973 }
19974
19975
19976 SWIGINTERN VALUE
19977 _wrap_pdbSecondaryStructureTurn_turnID_get(int argc, VALUE *argv, VALUE self) {
19978   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
19979   void *argp1 = 0 ;
19980   int res1 = 0 ;
19981   char *result = 0 ;
19982   VALUE vresult = Qnil;
19983   
19984   if ((argc < 0) || (argc > 0)) {
19985     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19986   }
19987   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
19988   if (!SWIG_IsOK(res1)) {
19989     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","turnID", 1, self )); 
19990   }
19991   arg1 = (pdbSecondaryStructureTurn *)(argp1);
19992   result = (char *) ((arg1)->turnID);
19993   vresult = SWIG_FromCharPtr((const char *)result);
19994   return vresult;
19995 fail:
19996   return Qnil;
19997 }
19998
19999
20000 SWIGINTERN VALUE
20001 _wrap_pdbSecondaryStructureTurn_initResName_set(int argc, VALUE *argv, VALUE self) {
20002   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20003   char *arg2 = (char *) 0 ;
20004   void *argp1 = 0 ;
20005   int res1 = 0 ;
20006   int res2 ;
20007   char *buf2 = 0 ;
20008   int alloc2 = 0 ;
20009   
20010   if ((argc < 1) || (argc > 1)) {
20011     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20012   }
20013   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20014   if (!SWIG_IsOK(res1)) {
20015     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initResName", 1, self )); 
20016   }
20017   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20018   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
20019   if (!SWIG_IsOK(res2)) {
20020     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","initResName", 2, argv[0] ));
20021   }
20022   arg2 = (char *)(buf2);
20023   if (arg1->initResName) free((char*)arg1->initResName);
20024   if (arg2) {
20025     size_t size = strlen((const char *)(arg2)) + 1;
20026     arg1->initResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
20027   } else {
20028     arg1->initResName = 0;
20029   }
20030   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20031   return Qnil;
20032 fail:
20033   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20034   return Qnil;
20035 }
20036
20037
20038 SWIGINTERN VALUE
20039 _wrap_pdbSecondaryStructureTurn_initResName_get(int argc, VALUE *argv, VALUE self) {
20040   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20041   void *argp1 = 0 ;
20042   int res1 = 0 ;
20043   char *result = 0 ;
20044   VALUE vresult = Qnil;
20045   
20046   if ((argc < 0) || (argc > 0)) {
20047     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20048   }
20049   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20050   if (!SWIG_IsOK(res1)) {
20051     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initResName", 1, self )); 
20052   }
20053   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20054   result = (char *) ((arg1)->initResName);
20055   vresult = SWIG_FromCharPtr((const char *)result);
20056   return vresult;
20057 fail:
20058   return Qnil;
20059 }
20060
20061
20062 SWIGINTERN VALUE
20063 _wrap_pdbSecondaryStructureTurn_initChainID_set(int argc, VALUE *argv, VALUE self) {
20064   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20065   char arg2 ;
20066   void *argp1 = 0 ;
20067   int res1 = 0 ;
20068   char val2 ;
20069   int ecode2 = 0 ;
20070   
20071   if ((argc < 1) || (argc > 1)) {
20072     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20073   }
20074   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20075   if (!SWIG_IsOK(res1)) {
20076     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initChainID", 1, self )); 
20077   }
20078   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20079   ecode2 = SWIG_AsVal_char(argv[0], &val2);
20080   if (!SWIG_IsOK(ecode2)) {
20081     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initChainID", 2, argv[0] ));
20082   } 
20083   arg2 = (char)(val2);
20084   if (arg1) (arg1)->initChainID = arg2;
20085   return Qnil;
20086 fail:
20087   return Qnil;
20088 }
20089
20090
20091 SWIGINTERN VALUE
20092 _wrap_pdbSecondaryStructureTurn_initChainID_get(int argc, VALUE *argv, VALUE self) {
20093   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20094   void *argp1 = 0 ;
20095   int res1 = 0 ;
20096   char result;
20097   VALUE vresult = Qnil;
20098   
20099   if ((argc < 0) || (argc > 0)) {
20100     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20101   }
20102   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20103   if (!SWIG_IsOK(res1)) {
20104     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initChainID", 1, self )); 
20105   }
20106   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20107   result = (char) ((arg1)->initChainID);
20108   vresult = SWIG_From_char((char)(result));
20109   return vresult;
20110 fail:
20111   return Qnil;
20112 }
20113
20114
20115 SWIGINTERN VALUE
20116 _wrap_pdbSecondaryStructureTurn_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
20117   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20118   int arg2 ;
20119   void *argp1 = 0 ;
20120   int res1 = 0 ;
20121   int val2 ;
20122   int ecode2 = 0 ;
20123   
20124   if ((argc < 1) || (argc > 1)) {
20125     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20126   }
20127   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20128   if (!SWIG_IsOK(res1)) {
20129     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initSeqNum", 1, self )); 
20130   }
20131   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20132   ecode2 = SWIG_AsVal_int(argv[0], &val2);
20133   if (!SWIG_IsOK(ecode2)) {
20134     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","initSeqNum", 2, argv[0] ));
20135   } 
20136   arg2 = (int)(val2);
20137   if (arg1) (arg1)->initSeqNum = arg2;
20138   return Qnil;
20139 fail:
20140   return Qnil;
20141 }
20142
20143
20144 SWIGINTERN VALUE
20145 _wrap_pdbSecondaryStructureTurn_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
20146   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20147   void *argp1 = 0 ;
20148   int res1 = 0 ;
20149   int result;
20150   VALUE vresult = Qnil;
20151   
20152   if ((argc < 0) || (argc > 0)) {
20153     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20154   }
20155   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20156   if (!SWIG_IsOK(res1)) {
20157     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initSeqNum", 1, self )); 
20158   }
20159   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20160   result = (int) ((arg1)->initSeqNum);
20161   vresult = SWIG_From_int((int)(result));
20162   return vresult;
20163 fail:
20164   return Qnil;
20165 }
20166
20167
20168 SWIGINTERN VALUE
20169 _wrap_pdbSecondaryStructureTurn_initICode_set(int argc, VALUE *argv, VALUE self) {
20170   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20171   char arg2 ;
20172   void *argp1 = 0 ;
20173   int res1 = 0 ;
20174   char val2 ;
20175   int ecode2 = 0 ;
20176   
20177   if ((argc < 1) || (argc > 1)) {
20178     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20179   }
20180   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20181   if (!SWIG_IsOK(res1)) {
20182     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initICode", 1, self )); 
20183   }
20184   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20185   ecode2 = SWIG_AsVal_char(argv[0], &val2);
20186   if (!SWIG_IsOK(ecode2)) {
20187     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initICode", 2, argv[0] ));
20188   } 
20189   arg2 = (char)(val2);
20190   if (arg1) (arg1)->initICode = arg2;
20191   return Qnil;
20192 fail:
20193   return Qnil;
20194 }
20195
20196
20197 SWIGINTERN VALUE
20198 _wrap_pdbSecondaryStructureTurn_initICode_get(int argc, VALUE *argv, VALUE self) {
20199   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20200   void *argp1 = 0 ;
20201   int res1 = 0 ;
20202   char result;
20203   VALUE vresult = Qnil;
20204   
20205   if ((argc < 0) || (argc > 0)) {
20206     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20207   }
20208   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20209   if (!SWIG_IsOK(res1)) {
20210     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initICode", 1, self )); 
20211   }
20212   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20213   result = (char) ((arg1)->initICode);
20214   vresult = SWIG_From_char((char)(result));
20215   return vresult;
20216 fail:
20217   return Qnil;
20218 }
20219
20220
20221 SWIGINTERN VALUE
20222 _wrap_pdbSecondaryStructureTurn_endResName_set(int argc, VALUE *argv, VALUE self) {
20223   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20224   char *arg2 = (char *) 0 ;
20225   void *argp1 = 0 ;
20226   int res1 = 0 ;
20227   int res2 ;
20228   char *buf2 = 0 ;
20229   int alloc2 = 0 ;
20230   
20231   if ((argc < 1) || (argc > 1)) {
20232     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20233   }
20234   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20235   if (!SWIG_IsOK(res1)) {
20236     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endResName", 1, self )); 
20237   }
20238   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20239   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
20240   if (!SWIG_IsOK(res2)) {
20241     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","endResName", 2, argv[0] ));
20242   }
20243   arg2 = (char *)(buf2);
20244   if (arg1->endResName) free((char*)arg1->endResName);
20245   if (arg2) {
20246     size_t size = strlen((const char *)(arg2)) + 1;
20247     arg1->endResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
20248   } else {
20249     arg1->endResName = 0;
20250   }
20251   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20252   return Qnil;
20253 fail:
20254   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20255   return Qnil;
20256 }
20257
20258
20259 SWIGINTERN VALUE
20260 _wrap_pdbSecondaryStructureTurn_endResName_get(int argc, VALUE *argv, VALUE self) {
20261   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20262   void *argp1 = 0 ;
20263   int res1 = 0 ;
20264   char *result = 0 ;
20265   VALUE vresult = Qnil;
20266   
20267   if ((argc < 0) || (argc > 0)) {
20268     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20269   }
20270   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20271   if (!SWIG_IsOK(res1)) {
20272     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endResName", 1, self )); 
20273   }
20274   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20275   result = (char *) ((arg1)->endResName);
20276   vresult = SWIG_FromCharPtr((const char *)result);
20277   return vresult;
20278 fail:
20279   return Qnil;
20280 }
20281
20282
20283 SWIGINTERN VALUE
20284 _wrap_pdbSecondaryStructureTurn_endChainID_set(int argc, VALUE *argv, VALUE self) {
20285   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20286   char arg2 ;
20287   void *argp1 = 0 ;
20288   int res1 = 0 ;
20289   char val2 ;
20290   int ecode2 = 0 ;
20291   
20292   if ((argc < 1) || (argc > 1)) {
20293     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20294   }
20295   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20296   if (!SWIG_IsOK(res1)) {
20297     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endChainID", 1, self )); 
20298   }
20299   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20300   ecode2 = SWIG_AsVal_char(argv[0], &val2);
20301   if (!SWIG_IsOK(ecode2)) {
20302     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endChainID", 2, argv[0] ));
20303   } 
20304   arg2 = (char)(val2);
20305   if (arg1) (arg1)->endChainID = arg2;
20306   return Qnil;
20307 fail:
20308   return Qnil;
20309 }
20310
20311
20312 SWIGINTERN VALUE
20313 _wrap_pdbSecondaryStructureTurn_endChainID_get(int argc, VALUE *argv, VALUE self) {
20314   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20315   void *argp1 = 0 ;
20316   int res1 = 0 ;
20317   char result;
20318   VALUE vresult = Qnil;
20319   
20320   if ((argc < 0) || (argc > 0)) {
20321     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20322   }
20323   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20324   if (!SWIG_IsOK(res1)) {
20325     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endChainID", 1, self )); 
20326   }
20327   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20328   result = (char) ((arg1)->endChainID);
20329   vresult = SWIG_From_char((char)(result));
20330   return vresult;
20331 fail:
20332   return Qnil;
20333 }
20334
20335
20336 SWIGINTERN VALUE
20337 _wrap_pdbSecondaryStructureTurn_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
20338   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20339   int arg2 ;
20340   void *argp1 = 0 ;
20341   int res1 = 0 ;
20342   int val2 ;
20343   int ecode2 = 0 ;
20344   
20345   if ((argc < 1) || (argc > 1)) {
20346     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20347   }
20348   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20349   if (!SWIG_IsOK(res1)) {
20350     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endSeqNum", 1, self )); 
20351   }
20352   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20353   ecode2 = SWIG_AsVal_int(argv[0], &val2);
20354   if (!SWIG_IsOK(ecode2)) {
20355     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","endSeqNum", 2, argv[0] ));
20356   } 
20357   arg2 = (int)(val2);
20358   if (arg1) (arg1)->endSeqNum = arg2;
20359   return Qnil;
20360 fail:
20361   return Qnil;
20362 }
20363
20364
20365 SWIGINTERN VALUE
20366 _wrap_pdbSecondaryStructureTurn_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
20367   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20368   void *argp1 = 0 ;
20369   int res1 = 0 ;
20370   int result;
20371   VALUE vresult = Qnil;
20372   
20373   if ((argc < 0) || (argc > 0)) {
20374     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20375   }
20376   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20377   if (!SWIG_IsOK(res1)) {
20378     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endSeqNum", 1, self )); 
20379   }
20380   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20381   result = (int) ((arg1)->endSeqNum);
20382   vresult = SWIG_From_int((int)(result));
20383   return vresult;
20384 fail:
20385   return Qnil;
20386 }
20387
20388
20389 SWIGINTERN VALUE
20390 _wrap_pdbSecondaryStructureTurn_endICode_set(int argc, VALUE *argv, VALUE self) {
20391   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20392   char arg2 ;
20393   void *argp1 = 0 ;
20394   int res1 = 0 ;
20395   char val2 ;
20396   int ecode2 = 0 ;
20397   
20398   if ((argc < 1) || (argc > 1)) {
20399     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20400   }
20401   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20402   if (!SWIG_IsOK(res1)) {
20403     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endICode", 1, self )); 
20404   }
20405   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20406   ecode2 = SWIG_AsVal_char(argv[0], &val2);
20407   if (!SWIG_IsOK(ecode2)) {
20408     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endICode", 2, argv[0] ));
20409   } 
20410   arg2 = (char)(val2);
20411   if (arg1) (arg1)->endICode = arg2;
20412   return Qnil;
20413 fail:
20414   return Qnil;
20415 }
20416
20417
20418 SWIGINTERN VALUE
20419 _wrap_pdbSecondaryStructureTurn_endICode_get(int argc, VALUE *argv, VALUE self) {
20420   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20421   void *argp1 = 0 ;
20422   int res1 = 0 ;
20423   char result;
20424   VALUE vresult = Qnil;
20425   
20426   if ((argc < 0) || (argc > 0)) {
20427     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20428   }
20429   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20430   if (!SWIG_IsOK(res1)) {
20431     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endICode", 1, self )); 
20432   }
20433   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20434   result = (char) ((arg1)->endICode);
20435   vresult = SWIG_From_char((char)(result));
20436   return vresult;
20437 fail:
20438   return Qnil;
20439 }
20440
20441
20442 SWIGINTERN VALUE
20443 _wrap_pdbSecondaryStructureTurn_comment_set(int argc, VALUE *argv, VALUE self) {
20444   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20445   char *arg2 = (char *) 0 ;
20446   void *argp1 = 0 ;
20447   int res1 = 0 ;
20448   int res2 ;
20449   char *buf2 = 0 ;
20450   int alloc2 = 0 ;
20451   
20452   if ((argc < 1) || (argc > 1)) {
20453     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20454   }
20455   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20456   if (!SWIG_IsOK(res1)) {
20457     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","comment", 1, self )); 
20458   }
20459   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20460   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
20461   if (!SWIG_IsOK(res2)) {
20462     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","comment", 2, argv[0] ));
20463   }
20464   arg2 = (char *)(buf2);
20465   if (arg1->comment) free((char*)arg1->comment);
20466   if (arg2) {
20467     size_t size = strlen((const char *)(arg2)) + 1;
20468     arg1->comment = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
20469   } else {
20470     arg1->comment = 0;
20471   }
20472   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20473   return Qnil;
20474 fail:
20475   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20476   return Qnil;
20477 }
20478
20479
20480 SWIGINTERN VALUE
20481 _wrap_pdbSecondaryStructureTurn_comment_get(int argc, VALUE *argv, VALUE self) {
20482   pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20483   void *argp1 = 0 ;
20484   int res1 = 0 ;
20485   char *result = 0 ;
20486   VALUE vresult = Qnil;
20487   
20488   if ((argc < 0) || (argc > 0)) {
20489     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20490   }
20491   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
20492   if (!SWIG_IsOK(res1)) {
20493     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","comment", 1, self )); 
20494   }
20495   arg1 = (pdbSecondaryStructureTurn *)(argp1);
20496   result = (char *) ((arg1)->comment);
20497   vresult = SWIG_FromCharPtr((const char *)result);
20498   return vresult;
20499 fail:
20500   return Qnil;
20501 }
20502
20503
20504 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
20505 SWIGINTERN VALUE
20506 _wrap_pdbSecondaryStructureTurn_allocate(VALUE self) {
20507 #else
20508   SWIGINTERN VALUE
20509   _wrap_pdbSecondaryStructureTurn_allocate(int argc, VALUE *argv, VALUE self) {
20510 #endif
20511     
20512     
20513     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbSecondaryStructureTurn);
20514 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
20515     rb_obj_call_init(vresult, argc, argv);
20516 #endif
20517     return vresult;
20518   }
20519   
20520
20521 SWIGINTERN VALUE
20522 _wrap_new_pdbSecondaryStructureTurn(int argc, VALUE *argv, VALUE self) {
20523   pdbSecondaryStructureTurn *result = 0 ;
20524   
20525   if ((argc < 0) || (argc > 0)) {
20526     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20527   }
20528   result = (pdbSecondaryStructureTurn *)calloc(1, sizeof(pdbSecondaryStructureTurn));
20529   DATA_PTR(self) = result;
20530   return self;
20531 fail:
20532   return Qnil;
20533 }
20534
20535
20536 SWIGINTERN void
20537 free_pdbSecondaryStructureTurn(pdbSecondaryStructureTurn *arg1) {
20538     free((char *) arg1);
20539 }
20540
20541 swig_class cPdbSecondaryStructureNo;
20542
20543 SWIGINTERN VALUE
20544 _wrap_pdbSecondaryStructureNo_serNum_set(int argc, VALUE *argv, VALUE self) {
20545   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20546   int arg2 ;
20547   void *argp1 = 0 ;
20548   int res1 = 0 ;
20549   int val2 ;
20550   int ecode2 = 0 ;
20551   
20552   if ((argc < 1) || (argc > 1)) {
20553     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20554   }
20555   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20556   if (!SWIG_IsOK(res1)) {
20557     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","serNum", 1, self )); 
20558   }
20559   arg1 = (pdbSecondaryStructureNo *)(argp1);
20560   ecode2 = SWIG_AsVal_int(argv[0], &val2);
20561   if (!SWIG_IsOK(ecode2)) {
20562     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","serNum", 2, argv[0] ));
20563   } 
20564   arg2 = (int)(val2);
20565   if (arg1) (arg1)->serNum = arg2;
20566   return Qnil;
20567 fail:
20568   return Qnil;
20569 }
20570
20571
20572 SWIGINTERN VALUE
20573 _wrap_pdbSecondaryStructureNo_serNum_get(int argc, VALUE *argv, VALUE self) {
20574   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20575   void *argp1 = 0 ;
20576   int res1 = 0 ;
20577   int result;
20578   VALUE vresult = Qnil;
20579   
20580   if ((argc < 0) || (argc > 0)) {
20581     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20582   }
20583   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20584   if (!SWIG_IsOK(res1)) {
20585     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","serNum", 1, self )); 
20586   }
20587   arg1 = (pdbSecondaryStructureNo *)(argp1);
20588   result = (int) ((arg1)->serNum);
20589   vresult = SWIG_From_int((int)(result));
20590   return vresult;
20591 fail:
20592   return Qnil;
20593 }
20594
20595
20596 SWIGINTERN VALUE
20597 _wrap_pdbSecondaryStructureNo_noID_set(int argc, VALUE *argv, VALUE self) {
20598   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20599   char *arg2 = (char *) 0 ;
20600   void *argp1 = 0 ;
20601   int res1 = 0 ;
20602   int res2 ;
20603   char *buf2 = 0 ;
20604   int alloc2 = 0 ;
20605   
20606   if ((argc < 1) || (argc > 1)) {
20607     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20608   }
20609   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20610   if (!SWIG_IsOK(res1)) {
20611     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","noID", 1, self )); 
20612   }
20613   arg1 = (pdbSecondaryStructureNo *)(argp1);
20614   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
20615   if (!SWIG_IsOK(res2)) {
20616     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","noID", 2, argv[0] ));
20617   }
20618   arg2 = (char *)(buf2);
20619   if (arg1->noID) free((char*)arg1->noID);
20620   if (arg2) {
20621     size_t size = strlen((const char *)(arg2)) + 1;
20622     arg1->noID = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
20623   } else {
20624     arg1->noID = 0;
20625   }
20626   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20627   return Qnil;
20628 fail:
20629   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20630   return Qnil;
20631 }
20632
20633
20634 SWIGINTERN VALUE
20635 _wrap_pdbSecondaryStructureNo_noID_get(int argc, VALUE *argv, VALUE self) {
20636   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20637   void *argp1 = 0 ;
20638   int res1 = 0 ;
20639   char *result = 0 ;
20640   VALUE vresult = Qnil;
20641   
20642   if ((argc < 0) || (argc > 0)) {
20643     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20644   }
20645   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20646   if (!SWIG_IsOK(res1)) {
20647     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","noID", 1, self )); 
20648   }
20649   arg1 = (pdbSecondaryStructureNo *)(argp1);
20650   result = (char *) ((arg1)->noID);
20651   vresult = SWIG_FromCharPtr((const char *)result);
20652   return vresult;
20653 fail:
20654   return Qnil;
20655 }
20656
20657
20658 SWIGINTERN VALUE
20659 _wrap_pdbSecondaryStructureNo_initResName_set(int argc, VALUE *argv, VALUE self) {
20660   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20661   char *arg2 = (char *) 0 ;
20662   void *argp1 = 0 ;
20663   int res1 = 0 ;
20664   int res2 ;
20665   char *buf2 = 0 ;
20666   int alloc2 = 0 ;
20667   
20668   if ((argc < 1) || (argc > 1)) {
20669     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20670   }
20671   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20672   if (!SWIG_IsOK(res1)) {
20673     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initResName", 1, self )); 
20674   }
20675   arg1 = (pdbSecondaryStructureNo *)(argp1);
20676   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
20677   if (!SWIG_IsOK(res2)) {
20678     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","initResName", 2, argv[0] ));
20679   }
20680   arg2 = (char *)(buf2);
20681   if (arg1->initResName) free((char*)arg1->initResName);
20682   if (arg2) {
20683     size_t size = strlen((const char *)(arg2)) + 1;
20684     arg1->initResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
20685   } else {
20686     arg1->initResName = 0;
20687   }
20688   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20689   return Qnil;
20690 fail:
20691   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20692   return Qnil;
20693 }
20694
20695
20696 SWIGINTERN VALUE
20697 _wrap_pdbSecondaryStructureNo_initResName_get(int argc, VALUE *argv, VALUE self) {
20698   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20699   void *argp1 = 0 ;
20700   int res1 = 0 ;
20701   char *result = 0 ;
20702   VALUE vresult = Qnil;
20703   
20704   if ((argc < 0) || (argc > 0)) {
20705     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20706   }
20707   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20708   if (!SWIG_IsOK(res1)) {
20709     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initResName", 1, self )); 
20710   }
20711   arg1 = (pdbSecondaryStructureNo *)(argp1);
20712   result = (char *) ((arg1)->initResName);
20713   vresult = SWIG_FromCharPtr((const char *)result);
20714   return vresult;
20715 fail:
20716   return Qnil;
20717 }
20718
20719
20720 SWIGINTERN VALUE
20721 _wrap_pdbSecondaryStructureNo_initChainID_set(int argc, VALUE *argv, VALUE self) {
20722   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20723   char arg2 ;
20724   void *argp1 = 0 ;
20725   int res1 = 0 ;
20726   char val2 ;
20727   int ecode2 = 0 ;
20728   
20729   if ((argc < 1) || (argc > 1)) {
20730     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20731   }
20732   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20733   if (!SWIG_IsOK(res1)) {
20734     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initChainID", 1, self )); 
20735   }
20736   arg1 = (pdbSecondaryStructureNo *)(argp1);
20737   ecode2 = SWIG_AsVal_char(argv[0], &val2);
20738   if (!SWIG_IsOK(ecode2)) {
20739     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initChainID", 2, argv[0] ));
20740   } 
20741   arg2 = (char)(val2);
20742   if (arg1) (arg1)->initChainID = arg2;
20743   return Qnil;
20744 fail:
20745   return Qnil;
20746 }
20747
20748
20749 SWIGINTERN VALUE
20750 _wrap_pdbSecondaryStructureNo_initChainID_get(int argc, VALUE *argv, VALUE self) {
20751   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20752   void *argp1 = 0 ;
20753   int res1 = 0 ;
20754   char result;
20755   VALUE vresult = Qnil;
20756   
20757   if ((argc < 0) || (argc > 0)) {
20758     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20759   }
20760   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20761   if (!SWIG_IsOK(res1)) {
20762     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initChainID", 1, self )); 
20763   }
20764   arg1 = (pdbSecondaryStructureNo *)(argp1);
20765   result = (char) ((arg1)->initChainID);
20766   vresult = SWIG_From_char((char)(result));
20767   return vresult;
20768 fail:
20769   return Qnil;
20770 }
20771
20772
20773 SWIGINTERN VALUE
20774 _wrap_pdbSecondaryStructureNo_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
20775   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20776   int arg2 ;
20777   void *argp1 = 0 ;
20778   int res1 = 0 ;
20779   int val2 ;
20780   int ecode2 = 0 ;
20781   
20782   if ((argc < 1) || (argc > 1)) {
20783     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20784   }
20785   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20786   if (!SWIG_IsOK(res1)) {
20787     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initSeqNum", 1, self )); 
20788   }
20789   arg1 = (pdbSecondaryStructureNo *)(argp1);
20790   ecode2 = SWIG_AsVal_int(argv[0], &val2);
20791   if (!SWIG_IsOK(ecode2)) {
20792     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","initSeqNum", 2, argv[0] ));
20793   } 
20794   arg2 = (int)(val2);
20795   if (arg1) (arg1)->initSeqNum = arg2;
20796   return Qnil;
20797 fail:
20798   return Qnil;
20799 }
20800
20801
20802 SWIGINTERN VALUE
20803 _wrap_pdbSecondaryStructureNo_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
20804   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20805   void *argp1 = 0 ;
20806   int res1 = 0 ;
20807   int result;
20808   VALUE vresult = Qnil;
20809   
20810   if ((argc < 0) || (argc > 0)) {
20811     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20812   }
20813   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20814   if (!SWIG_IsOK(res1)) {
20815     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initSeqNum", 1, self )); 
20816   }
20817   arg1 = (pdbSecondaryStructureNo *)(argp1);
20818   result = (int) ((arg1)->initSeqNum);
20819   vresult = SWIG_From_int((int)(result));
20820   return vresult;
20821 fail:
20822   return Qnil;
20823 }
20824
20825
20826 SWIGINTERN VALUE
20827 _wrap_pdbSecondaryStructureNo_initICode_set(int argc, VALUE *argv, VALUE self) {
20828   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20829   char arg2 ;
20830   void *argp1 = 0 ;
20831   int res1 = 0 ;
20832   char val2 ;
20833   int ecode2 = 0 ;
20834   
20835   if ((argc < 1) || (argc > 1)) {
20836     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20837   }
20838   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20839   if (!SWIG_IsOK(res1)) {
20840     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initICode", 1, self )); 
20841   }
20842   arg1 = (pdbSecondaryStructureNo *)(argp1);
20843   ecode2 = SWIG_AsVal_char(argv[0], &val2);
20844   if (!SWIG_IsOK(ecode2)) {
20845     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initICode", 2, argv[0] ));
20846   } 
20847   arg2 = (char)(val2);
20848   if (arg1) (arg1)->initICode = arg2;
20849   return Qnil;
20850 fail:
20851   return Qnil;
20852 }
20853
20854
20855 SWIGINTERN VALUE
20856 _wrap_pdbSecondaryStructureNo_initICode_get(int argc, VALUE *argv, VALUE self) {
20857   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20858   void *argp1 = 0 ;
20859   int res1 = 0 ;
20860   char result;
20861   VALUE vresult = Qnil;
20862   
20863   if ((argc < 0) || (argc > 0)) {
20864     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20865   }
20866   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20867   if (!SWIG_IsOK(res1)) {
20868     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initICode", 1, self )); 
20869   }
20870   arg1 = (pdbSecondaryStructureNo *)(argp1);
20871   result = (char) ((arg1)->initICode);
20872   vresult = SWIG_From_char((char)(result));
20873   return vresult;
20874 fail:
20875   return Qnil;
20876 }
20877
20878
20879 SWIGINTERN VALUE
20880 _wrap_pdbSecondaryStructureNo_endResName_set(int argc, VALUE *argv, VALUE self) {
20881   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20882   char *arg2 = (char *) 0 ;
20883   void *argp1 = 0 ;
20884   int res1 = 0 ;
20885   int res2 ;
20886   char *buf2 = 0 ;
20887   int alloc2 = 0 ;
20888   
20889   if ((argc < 1) || (argc > 1)) {
20890     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20891   }
20892   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20893   if (!SWIG_IsOK(res1)) {
20894     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endResName", 1, self )); 
20895   }
20896   arg1 = (pdbSecondaryStructureNo *)(argp1);
20897   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
20898   if (!SWIG_IsOK(res2)) {
20899     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","endResName", 2, argv[0] ));
20900   }
20901   arg2 = (char *)(buf2);
20902   if (arg1->endResName) free((char*)arg1->endResName);
20903   if (arg2) {
20904     size_t size = strlen((const char *)(arg2)) + 1;
20905     arg1->endResName = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
20906   } else {
20907     arg1->endResName = 0;
20908   }
20909   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20910   return Qnil;
20911 fail:
20912   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20913   return Qnil;
20914 }
20915
20916
20917 SWIGINTERN VALUE
20918 _wrap_pdbSecondaryStructureNo_endResName_get(int argc, VALUE *argv, VALUE self) {
20919   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20920   void *argp1 = 0 ;
20921   int res1 = 0 ;
20922   char *result = 0 ;
20923   VALUE vresult = Qnil;
20924   
20925   if ((argc < 0) || (argc > 0)) {
20926     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20927   }
20928   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20929   if (!SWIG_IsOK(res1)) {
20930     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endResName", 1, self )); 
20931   }
20932   arg1 = (pdbSecondaryStructureNo *)(argp1);
20933   result = (char *) ((arg1)->endResName);
20934   vresult = SWIG_FromCharPtr((const char *)result);
20935   return vresult;
20936 fail:
20937   return Qnil;
20938 }
20939
20940
20941 SWIGINTERN VALUE
20942 _wrap_pdbSecondaryStructureNo_endChainID_set(int argc, VALUE *argv, VALUE self) {
20943   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20944   char arg2 ;
20945   void *argp1 = 0 ;
20946   int res1 = 0 ;
20947   char val2 ;
20948   int ecode2 = 0 ;
20949   
20950   if ((argc < 1) || (argc > 1)) {
20951     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
20952   }
20953   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20954   if (!SWIG_IsOK(res1)) {
20955     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endChainID", 1, self )); 
20956   }
20957   arg1 = (pdbSecondaryStructureNo *)(argp1);
20958   ecode2 = SWIG_AsVal_char(argv[0], &val2);
20959   if (!SWIG_IsOK(ecode2)) {
20960     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endChainID", 2, argv[0] ));
20961   } 
20962   arg2 = (char)(val2);
20963   if (arg1) (arg1)->endChainID = arg2;
20964   return Qnil;
20965 fail:
20966   return Qnil;
20967 }
20968
20969
20970 SWIGINTERN VALUE
20971 _wrap_pdbSecondaryStructureNo_endChainID_get(int argc, VALUE *argv, VALUE self) {
20972   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20973   void *argp1 = 0 ;
20974   int res1 = 0 ;
20975   char result;
20976   VALUE vresult = Qnil;
20977   
20978   if ((argc < 0) || (argc > 0)) {
20979     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20980   }
20981   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
20982   if (!SWIG_IsOK(res1)) {
20983     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endChainID", 1, self )); 
20984   }
20985   arg1 = (pdbSecondaryStructureNo *)(argp1);
20986   result = (char) ((arg1)->endChainID);
20987   vresult = SWIG_From_char((char)(result));
20988   return vresult;
20989 fail:
20990   return Qnil;
20991 }
20992
20993
20994 SWIGINTERN VALUE
20995 _wrap_pdbSecondaryStructureNo_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
20996   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20997   int arg2 ;
20998   void *argp1 = 0 ;
20999   int res1 = 0 ;
21000   int val2 ;
21001   int ecode2 = 0 ;
21002   
21003   if ((argc < 1) || (argc > 1)) {
21004     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21005   }
21006   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
21007   if (!SWIG_IsOK(res1)) {
21008     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endSeqNum", 1, self )); 
21009   }
21010   arg1 = (pdbSecondaryStructureNo *)(argp1);
21011   ecode2 = SWIG_AsVal_int(argv[0], &val2);
21012   if (!SWIG_IsOK(ecode2)) {
21013     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","endSeqNum", 2, argv[0] ));
21014   } 
21015   arg2 = (int)(val2);
21016   if (arg1) (arg1)->endSeqNum = arg2;
21017   return Qnil;
21018 fail:
21019   return Qnil;
21020 }
21021
21022
21023 SWIGINTERN VALUE
21024 _wrap_pdbSecondaryStructureNo_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
21025   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21026   void *argp1 = 0 ;
21027   int res1 = 0 ;
21028   int result;
21029   VALUE vresult = Qnil;
21030   
21031   if ((argc < 0) || (argc > 0)) {
21032     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21033   }
21034   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
21035   if (!SWIG_IsOK(res1)) {
21036     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endSeqNum", 1, self )); 
21037   }
21038   arg1 = (pdbSecondaryStructureNo *)(argp1);
21039   result = (int) ((arg1)->endSeqNum);
21040   vresult = SWIG_From_int((int)(result));
21041   return vresult;
21042 fail:
21043   return Qnil;
21044 }
21045
21046
21047 SWIGINTERN VALUE
21048 _wrap_pdbSecondaryStructureNo_endICode_set(int argc, VALUE *argv, VALUE self) {
21049   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21050   char arg2 ;
21051   void *argp1 = 0 ;
21052   int res1 = 0 ;
21053   char val2 ;
21054   int ecode2 = 0 ;
21055   
21056   if ((argc < 1) || (argc > 1)) {
21057     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21058   }
21059   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
21060   if (!SWIG_IsOK(res1)) {
21061     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endICode", 1, self )); 
21062   }
21063   arg1 = (pdbSecondaryStructureNo *)(argp1);
21064   ecode2 = SWIG_AsVal_char(argv[0], &val2);
21065   if (!SWIG_IsOK(ecode2)) {
21066     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endICode", 2, argv[0] ));
21067   } 
21068   arg2 = (char)(val2);
21069   if (arg1) (arg1)->endICode = arg2;
21070   return Qnil;
21071 fail:
21072   return Qnil;
21073 }
21074
21075
21076 SWIGINTERN VALUE
21077 _wrap_pdbSecondaryStructureNo_endICode_get(int argc, VALUE *argv, VALUE self) {
21078   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21079   void *argp1 = 0 ;
21080   int res1 = 0 ;
21081   char result;
21082   VALUE vresult = Qnil;
21083   
21084   if ((argc < 0) || (argc > 0)) {
21085     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21086   }
21087   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
21088   if (!SWIG_IsOK(res1)) {
21089     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endICode", 1, self )); 
21090   }
21091   arg1 = (pdbSecondaryStructureNo *)(argp1);
21092   result = (char) ((arg1)->endICode);
21093   vresult = SWIG_From_char((char)(result));
21094   return vresult;
21095 fail:
21096   return Qnil;
21097 }
21098
21099
21100 SWIGINTERN VALUE
21101 _wrap_pdbSecondaryStructureNo_comment_set(int argc, VALUE *argv, VALUE self) {
21102   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21103   char *arg2 = (char *) 0 ;
21104   void *argp1 = 0 ;
21105   int res1 = 0 ;
21106   int res2 ;
21107   char *buf2 = 0 ;
21108   int alloc2 = 0 ;
21109   
21110   if ((argc < 1) || (argc > 1)) {
21111     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21112   }
21113   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
21114   if (!SWIG_IsOK(res1)) {
21115     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","comment", 1, self )); 
21116   }
21117   arg1 = (pdbSecondaryStructureNo *)(argp1);
21118   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
21119   if (!SWIG_IsOK(res2)) {
21120     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","comment", 2, argv[0] ));
21121   }
21122   arg2 = (char *)(buf2);
21123   if (arg1->comment) free((char*)arg1->comment);
21124   if (arg2) {
21125     size_t size = strlen((const char *)(arg2)) + 1;
21126     arg1->comment = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
21127   } else {
21128     arg1->comment = 0;
21129   }
21130   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21131   return Qnil;
21132 fail:
21133   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21134   return Qnil;
21135 }
21136
21137
21138 SWIGINTERN VALUE
21139 _wrap_pdbSecondaryStructureNo_comment_get(int argc, VALUE *argv, VALUE self) {
21140   pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21141   void *argp1 = 0 ;
21142   int res1 = 0 ;
21143   char *result = 0 ;
21144   VALUE vresult = Qnil;
21145   
21146   if ((argc < 0) || (argc > 0)) {
21147     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21148   }
21149   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
21150   if (!SWIG_IsOK(res1)) {
21151     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","comment", 1, self )); 
21152   }
21153   arg1 = (pdbSecondaryStructureNo *)(argp1);
21154   result = (char *) ((arg1)->comment);
21155   vresult = SWIG_FromCharPtr((const char *)result);
21156   return vresult;
21157 fail:
21158   return Qnil;
21159 }
21160
21161
21162 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
21163 SWIGINTERN VALUE
21164 _wrap_pdbSecondaryStructureNo_allocate(VALUE self) {
21165 #else
21166   SWIGINTERN VALUE
21167   _wrap_pdbSecondaryStructureNo_allocate(int argc, VALUE *argv, VALUE self) {
21168 #endif
21169     
21170     
21171     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbSecondaryStructureNo);
21172 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
21173     rb_obj_call_init(vresult, argc, argv);
21174 #endif
21175     return vresult;
21176   }
21177   
21178
21179 SWIGINTERN VALUE
21180 _wrap_new_pdbSecondaryStructureNo(int argc, VALUE *argv, VALUE self) {
21181   pdbSecondaryStructureNo *result = 0 ;
21182   
21183   if ((argc < 0) || (argc > 0)) {
21184     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21185   }
21186   result = (pdbSecondaryStructureNo *)calloc(1, sizeof(pdbSecondaryStructureNo));
21187   DATA_PTR(self) = result;
21188   return self;
21189 fail:
21190   return Qnil;
21191 }
21192
21193
21194 SWIGINTERN void
21195 free_pdbSecondaryStructureNo(pdbSecondaryStructureNo *arg1) {
21196     free((char *) arg1);
21197 }
21198
21199 swig_class cPdbFileSecondaryStructureRecord;
21200
21201 SWIGINTERN VALUE
21202 _wrap_pdbFileSecondaryStructureRecord_mode_set(int argc, VALUE *argv, VALUE self) {
21203   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21204   pdbFileSecondaryStructureMode arg2 ;
21205   void *argp1 = 0 ;
21206   int res1 = 0 ;
21207   int val2 ;
21208   int ecode2 = 0 ;
21209   
21210   if ((argc < 1) || (argc > 1)) {
21211     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21212   }
21213   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21214   if (!SWIG_IsOK(res1)) {
21215     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","mode", 1, self )); 
21216   }
21217   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21218   ecode2 = SWIG_AsVal_int(argv[0], &val2);
21219   if (!SWIG_IsOK(ecode2)) {
21220     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructureMode","mode", 2, argv[0] ));
21221   } 
21222   arg2 = (pdbFileSecondaryStructureMode)(val2);
21223   if (arg1) (arg1)->mode = arg2;
21224   return Qnil;
21225 fail:
21226   return Qnil;
21227 }
21228
21229
21230 SWIGINTERN VALUE
21231 _wrap_pdbFileSecondaryStructureRecord_mode_get(int argc, VALUE *argv, VALUE self) {
21232   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21233   void *argp1 = 0 ;
21234   int res1 = 0 ;
21235   pdbFileSecondaryStructureMode result;
21236   VALUE vresult = Qnil;
21237   
21238   if ((argc < 0) || (argc > 0)) {
21239     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21240   }
21241   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21242   if (!SWIG_IsOK(res1)) {
21243     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","mode", 1, self )); 
21244   }
21245   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21246   result = (pdbFileSecondaryStructureMode) ((arg1)->mode);
21247   vresult = SWIG_From_int((int)(result));
21248   return vresult;
21249 fail:
21250   return Qnil;
21251 }
21252
21253
21254 SWIGINTERN VALUE
21255 _wrap_pdbFileSecondaryStructureRecord_helix_set(int argc, VALUE *argv, VALUE self) {
21256   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21257   pdbSecondaryStructureHelix *arg2 = (pdbSecondaryStructureHelix *) 0 ;
21258   void *argp1 = 0 ;
21259   int res1 = 0 ;
21260   void *argp2 = 0 ;
21261   int res2 = 0 ;
21262   
21263   if ((argc < 1) || (argc > 1)) {
21264     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21265   }
21266   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21267   if (!SWIG_IsOK(res1)) {
21268     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","helix", 1, self )); 
21269   }
21270   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21271   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbSecondaryStructureHelix, SWIG_POINTER_DISOWN |  0 );
21272   if (!SWIG_IsOK(res2)) {
21273     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helix", 2, argv[0] )); 
21274   }
21275   arg2 = (pdbSecondaryStructureHelix *)(argp2);
21276   if (arg1) (arg1)->helix = arg2;
21277   return Qnil;
21278 fail:
21279   return Qnil;
21280 }
21281
21282
21283 SWIGINTERN VALUE
21284 _wrap_pdbFileSecondaryStructureRecord_helix_get(int argc, VALUE *argv, VALUE self) {
21285   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21286   void *argp1 = 0 ;
21287   int res1 = 0 ;
21288   pdbSecondaryStructureHelix *result = 0 ;
21289   VALUE vresult = Qnil;
21290   
21291   if ((argc < 0) || (argc > 0)) {
21292     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21293   }
21294   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21295   if (!SWIG_IsOK(res1)) {
21296     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","helix", 1, self )); 
21297   }
21298   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21299   result = (pdbSecondaryStructureHelix *) ((arg1)->helix);
21300   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbSecondaryStructureHelix, 0 |  0 );
21301   return vresult;
21302 fail:
21303   return Qnil;
21304 }
21305
21306
21307 SWIGINTERN VALUE
21308 _wrap_pdbFileSecondaryStructureRecord_sheet_set(int argc, VALUE *argv, VALUE self) {
21309   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21310   pdbSecondaryStructureSheet *arg2 = (pdbSecondaryStructureSheet *) 0 ;
21311   void *argp1 = 0 ;
21312   int res1 = 0 ;
21313   void *argp2 = 0 ;
21314   int res2 = 0 ;
21315   
21316   if ((argc < 1) || (argc > 1)) {
21317     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21318   }
21319   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21320   if (!SWIG_IsOK(res1)) {
21321     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","sheet", 1, self )); 
21322   }
21323   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21324   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbSecondaryStructureSheet, SWIG_POINTER_DISOWN |  0 );
21325   if (!SWIG_IsOK(res2)) {
21326     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sheet", 2, argv[0] )); 
21327   }
21328   arg2 = (pdbSecondaryStructureSheet *)(argp2);
21329   if (arg1) (arg1)->sheet = arg2;
21330   return Qnil;
21331 fail:
21332   return Qnil;
21333 }
21334
21335
21336 SWIGINTERN VALUE
21337 _wrap_pdbFileSecondaryStructureRecord_sheet_get(int argc, VALUE *argv, VALUE self) {
21338   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21339   void *argp1 = 0 ;
21340   int res1 = 0 ;
21341   pdbSecondaryStructureSheet *result = 0 ;
21342   VALUE vresult = Qnil;
21343   
21344   if ((argc < 0) || (argc > 0)) {
21345     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21346   }
21347   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21348   if (!SWIG_IsOK(res1)) {
21349     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","sheet", 1, self )); 
21350   }
21351   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21352   result = (pdbSecondaryStructureSheet *) ((arg1)->sheet);
21353   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbSecondaryStructureSheet, 0 |  0 );
21354   return vresult;
21355 fail:
21356   return Qnil;
21357 }
21358
21359
21360 SWIGINTERN VALUE
21361 _wrap_pdbFileSecondaryStructureRecord_turn_set(int argc, VALUE *argv, VALUE self) {
21362   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21363   pdbSecondaryStructureTurn *arg2 = (pdbSecondaryStructureTurn *) 0 ;
21364   void *argp1 = 0 ;
21365   int res1 = 0 ;
21366   void *argp2 = 0 ;
21367   int res2 = 0 ;
21368   
21369   if ((argc < 1) || (argc > 1)) {
21370     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21371   }
21372   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21373   if (!SWIG_IsOK(res1)) {
21374     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","turn", 1, self )); 
21375   }
21376   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21377   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbSecondaryStructureTurn, SWIG_POINTER_DISOWN |  0 );
21378   if (!SWIG_IsOK(res2)) {
21379     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","turn", 2, argv[0] )); 
21380   }
21381   arg2 = (pdbSecondaryStructureTurn *)(argp2);
21382   if (arg1) (arg1)->turn = arg2;
21383   return Qnil;
21384 fail:
21385   return Qnil;
21386 }
21387
21388
21389 SWIGINTERN VALUE
21390 _wrap_pdbFileSecondaryStructureRecord_turn_get(int argc, VALUE *argv, VALUE self) {
21391   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21392   void *argp1 = 0 ;
21393   int res1 = 0 ;
21394   pdbSecondaryStructureTurn *result = 0 ;
21395   VALUE vresult = Qnil;
21396   
21397   if ((argc < 0) || (argc > 0)) {
21398     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21399   }
21400   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21401   if (!SWIG_IsOK(res1)) {
21402     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","turn", 1, self )); 
21403   }
21404   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21405   result = (pdbSecondaryStructureTurn *) ((arg1)->turn);
21406   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbSecondaryStructureTurn, 0 |  0 );
21407   return vresult;
21408 fail:
21409   return Qnil;
21410 }
21411
21412
21413 SWIGINTERN VALUE
21414 _wrap_pdbFileSecondaryStructureRecord_no_set(int argc, VALUE *argv, VALUE self) {
21415   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21416   pdbSecondaryStructureNo *arg2 = (pdbSecondaryStructureNo *) 0 ;
21417   void *argp1 = 0 ;
21418   int res1 = 0 ;
21419   void *argp2 = 0 ;
21420   int res2 = 0 ;
21421   
21422   if ((argc < 1) || (argc > 1)) {
21423     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21424   }
21425   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21426   if (!SWIG_IsOK(res1)) {
21427     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","no", 1, self )); 
21428   }
21429   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21430   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbSecondaryStructureNo, SWIG_POINTER_DISOWN |  0 );
21431   if (!SWIG_IsOK(res2)) {
21432     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","no", 2, argv[0] )); 
21433   }
21434   arg2 = (pdbSecondaryStructureNo *)(argp2);
21435   if (arg1) (arg1)->no = arg2;
21436   return Qnil;
21437 fail:
21438   return Qnil;
21439 }
21440
21441
21442 SWIGINTERN VALUE
21443 _wrap_pdbFileSecondaryStructureRecord_no_get(int argc, VALUE *argv, VALUE self) {
21444   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21445   void *argp1 = 0 ;
21446   int res1 = 0 ;
21447   pdbSecondaryStructureNo *result = 0 ;
21448   VALUE vresult = Qnil;
21449   
21450   if ((argc < 0) || (argc > 0)) {
21451     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21452   }
21453   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21454   if (!SWIG_IsOK(res1)) {
21455     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","no", 1, self )); 
21456   }
21457   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21458   result = (pdbSecondaryStructureNo *) ((arg1)->no);
21459   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbSecondaryStructureNo, 0 |  0 );
21460   return vresult;
21461 fail:
21462   return Qnil;
21463 }
21464
21465
21466 SWIGINTERN VALUE
21467 _wrap_pdbFileSecondaryStructureRecord_prev_set(int argc, VALUE *argv, VALUE self) {
21468   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21469   pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
21470   void *argp1 = 0 ;
21471   int res1 = 0 ;
21472   void *argp2 = 0 ;
21473   int res2 = 0 ;
21474   
21475   if ((argc < 1) || (argc > 1)) {
21476     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21477   }
21478   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21479   if (!SWIG_IsOK(res1)) {
21480     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","prev", 1, self )); 
21481   }
21482   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21483   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbFileSecondaryStructureRecord, SWIG_POINTER_DISOWN |  0 );
21484   if (!SWIG_IsOK(res2)) {
21485     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructureRecord *","prev", 2, argv[0] )); 
21486   }
21487   arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
21488   if (arg1) (arg1)->prev = arg2;
21489   return Qnil;
21490 fail:
21491   return Qnil;
21492 }
21493
21494
21495 SWIGINTERN VALUE
21496 _wrap_pdbFileSecondaryStructureRecord_prev_get(int argc, VALUE *argv, VALUE self) {
21497   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21498   void *argp1 = 0 ;
21499   int res1 = 0 ;
21500   pdbFileSecondaryStructureRecord *result = 0 ;
21501   VALUE vresult = Qnil;
21502   
21503   if ((argc < 0) || (argc > 0)) {
21504     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21505   }
21506   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21507   if (!SWIG_IsOK(res1)) {
21508     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","prev", 1, self )); 
21509   }
21510   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21511   result = (pdbFileSecondaryStructureRecord *) ((arg1)->prev);
21512   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21513   return vresult;
21514 fail:
21515   return Qnil;
21516 }
21517
21518
21519 SWIGINTERN VALUE
21520 _wrap_pdbFileSecondaryStructureRecord_next_set(int argc, VALUE *argv, VALUE self) {
21521   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21522   pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
21523   void *argp1 = 0 ;
21524   int res1 = 0 ;
21525   void *argp2 = 0 ;
21526   int res2 = 0 ;
21527   
21528   if ((argc < 1) || (argc > 1)) {
21529     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21530   }
21531   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21532   if (!SWIG_IsOK(res1)) {
21533     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","next", 1, self )); 
21534   }
21535   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21536   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbFileSecondaryStructureRecord, SWIG_POINTER_DISOWN |  0 );
21537   if (!SWIG_IsOK(res2)) {
21538     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructureRecord *","next", 2, argv[0] )); 
21539   }
21540   arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
21541   if (arg1) (arg1)->next = arg2;
21542   return Qnil;
21543 fail:
21544   return Qnil;
21545 }
21546
21547
21548 SWIGINTERN VALUE
21549 _wrap_pdbFileSecondaryStructureRecord_next_get(int argc, VALUE *argv, VALUE self) {
21550   struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21551   void *argp1 = 0 ;
21552   int res1 = 0 ;
21553   pdbFileSecondaryStructureRecord *result = 0 ;
21554   VALUE vresult = Qnil;
21555   
21556   if ((argc < 0) || (argc > 0)) {
21557     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21558   }
21559   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21560   if (!SWIG_IsOK(res1)) {
21561     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructureRecord *","next", 1, self )); 
21562   }
21563   arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21564   result = (pdbFileSecondaryStructureRecord *) ((arg1)->next);
21565   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21566   return vresult;
21567 fail:
21568   return Qnil;
21569 }
21570
21571
21572 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
21573 SWIGINTERN VALUE
21574 _wrap_pdbFileSecondaryStructureRecord_allocate(VALUE self) {
21575 #else
21576   SWIGINTERN VALUE
21577   _wrap_pdbFileSecondaryStructureRecord_allocate(int argc, VALUE *argv, VALUE self) {
21578 #endif
21579     
21580     
21581     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbFileSecondaryStructureRecord);
21582 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
21583     rb_obj_call_init(vresult, argc, argv);
21584 #endif
21585     return vresult;
21586   }
21587   
21588
21589 SWIGINTERN VALUE
21590 _wrap_new_pdbFileSecondaryStructureRecord(int argc, VALUE *argv, VALUE self) {
21591   struct pdbFileSecondaryStructureRecord *result = 0 ;
21592   
21593   if ((argc < 0) || (argc > 0)) {
21594     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21595   }
21596   result = (struct pdbFileSecondaryStructureRecord *)calloc(1, sizeof(struct pdbFileSecondaryStructureRecord));
21597   DATA_PTR(self) = result;
21598   return self;
21599 fail:
21600   return Qnil;
21601 }
21602
21603
21604 SWIGINTERN void
21605 free_pdbFileSecondaryStructureRecord(struct pdbFileSecondaryStructureRecord *arg1) {
21606     free((char *) arg1);
21607 }
21608
21609 swig_class cPdbFileSecondaryStructure;
21610
21611 SWIGINTERN VALUE
21612 _wrap_pdbFileSecondaryStructure_nSecondaryStructure_set(int argc, VALUE *argv, VALUE self) {
21613   pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21614   int arg2 ;
21615   void *argp1 = 0 ;
21616   int res1 = 0 ;
21617   int val2 ;
21618   int ecode2 = 0 ;
21619   
21620   if ((argc < 1) || (argc > 1)) {
21621     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21622   }
21623   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
21624   if (!SWIG_IsOK(res1)) {
21625     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","nSecondaryStructure", 1, self )); 
21626   }
21627   arg1 = (pdbFileSecondaryStructure *)(argp1);
21628   ecode2 = SWIG_AsVal_int(argv[0], &val2);
21629   if (!SWIG_IsOK(ecode2)) {
21630     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","nSecondaryStructure", 2, argv[0] ));
21631   } 
21632   arg2 = (int)(val2);
21633   if (arg1) (arg1)->nSecondaryStructure = arg2;
21634   return Qnil;
21635 fail:
21636   return Qnil;
21637 }
21638
21639
21640 SWIGINTERN VALUE
21641 _wrap_pdbFileSecondaryStructure_nSecondaryStructure_get(int argc, VALUE *argv, VALUE self) {
21642   pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21643   void *argp1 = 0 ;
21644   int res1 = 0 ;
21645   int result;
21646   VALUE vresult = Qnil;
21647   
21648   if ((argc < 0) || (argc > 0)) {
21649     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21650   }
21651   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
21652   if (!SWIG_IsOK(res1)) {
21653     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","nSecondaryStructure", 1, self )); 
21654   }
21655   arg1 = (pdbFileSecondaryStructure *)(argp1);
21656   result = (int) ((arg1)->nSecondaryStructure);
21657   vresult = SWIG_From_int((int)(result));
21658   return vresult;
21659 fail:
21660   return Qnil;
21661 }
21662
21663
21664 SWIGINTERN VALUE
21665 _wrap_pdbFileSecondaryStructure_top_set(int argc, VALUE *argv, VALUE self) {
21666   pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21667   pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
21668   void *argp1 = 0 ;
21669   int res1 = 0 ;
21670   void *argp2 = 0 ;
21671   int res2 = 0 ;
21672   
21673   if ((argc < 1) || (argc > 1)) {
21674     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21675   }
21676   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
21677   if (!SWIG_IsOK(res1)) {
21678     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","top", 1, self )); 
21679   }
21680   arg1 = (pdbFileSecondaryStructure *)(argp1);
21681   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbFileSecondaryStructureRecord, SWIG_POINTER_DISOWN |  0 );
21682   if (!SWIG_IsOK(res2)) {
21683     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructureRecord *","top", 2, argv[0] )); 
21684   }
21685   arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
21686   if (arg1) (arg1)->top = arg2;
21687   return Qnil;
21688 fail:
21689   return Qnil;
21690 }
21691
21692
21693 SWIGINTERN VALUE
21694 _wrap_pdbFileSecondaryStructure_top_get(int argc, VALUE *argv, VALUE self) {
21695   pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21696   void *argp1 = 0 ;
21697   int res1 = 0 ;
21698   pdbFileSecondaryStructureRecord *result = 0 ;
21699   VALUE vresult = Qnil;
21700   
21701   if ((argc < 0) || (argc > 0)) {
21702     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21703   }
21704   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
21705   if (!SWIG_IsOK(res1)) {
21706     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","top", 1, self )); 
21707   }
21708   arg1 = (pdbFileSecondaryStructure *)(argp1);
21709   result = (pdbFileSecondaryStructureRecord *) ((arg1)->top);
21710   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21711   return vresult;
21712 fail:
21713   return Qnil;
21714 }
21715
21716
21717 SWIGINTERN VALUE
21718 _wrap_pdbFileSecondaryStructure_SecondaryStructure_set(int argc, VALUE *argv, VALUE self) {
21719   pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21720   pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
21721   void *argp1 = 0 ;
21722   int res1 = 0 ;
21723   void *argp2 = 0 ;
21724   int res2 = 0 ;
21725   
21726   if ((argc < 1) || (argc > 1)) {
21727     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21728   }
21729   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
21730   if (!SWIG_IsOK(res1)) {
21731     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","SecondaryStructure", 1, self )); 
21732   }
21733   arg1 = (pdbFileSecondaryStructure *)(argp1);
21734   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbFileSecondaryStructureRecord, SWIG_POINTER_DISOWN |  0 );
21735   if (!SWIG_IsOK(res2)) {
21736     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructureRecord *","SecondaryStructure", 2, argv[0] )); 
21737   }
21738   arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
21739   if (arg1) (arg1)->SecondaryStructure = arg2;
21740   return Qnil;
21741 fail:
21742   return Qnil;
21743 }
21744
21745
21746 SWIGINTERN VALUE
21747 _wrap_pdbFileSecondaryStructure_SecondaryStructure_get(int argc, VALUE *argv, VALUE self) {
21748   pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21749   void *argp1 = 0 ;
21750   int res1 = 0 ;
21751   pdbFileSecondaryStructureRecord *result = 0 ;
21752   VALUE vresult = Qnil;
21753   
21754   if ((argc < 0) || (argc > 0)) {
21755     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21756   }
21757   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
21758   if (!SWIG_IsOK(res1)) {
21759     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","SecondaryStructure", 1, self )); 
21760   }
21761   arg1 = (pdbFileSecondaryStructure *)(argp1);
21762   result = (pdbFileSecondaryStructureRecord *) ((arg1)->SecondaryStructure);
21763   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
21764   return vresult;
21765 fail:
21766   return Qnil;
21767 }
21768
21769
21770 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
21771 SWIGINTERN VALUE
21772 _wrap_pdbFileSecondaryStructure_allocate(VALUE self) {
21773 #else
21774   SWIGINTERN VALUE
21775   _wrap_pdbFileSecondaryStructure_allocate(int argc, VALUE *argv, VALUE self) {
21776 #endif
21777     
21778     
21779     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbFileSecondaryStructure);
21780 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
21781     rb_obj_call_init(vresult, argc, argv);
21782 #endif
21783     return vresult;
21784   }
21785   
21786
21787 SWIGINTERN VALUE
21788 _wrap_new_pdbFileSecondaryStructure(int argc, VALUE *argv, VALUE self) {
21789   pdbFileSecondaryStructure *result = 0 ;
21790   
21791   if ((argc < 0) || (argc > 0)) {
21792     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21793   }
21794   result = (pdbFileSecondaryStructure *)calloc(1, sizeof(pdbFileSecondaryStructure));
21795   DATA_PTR(self) = result;
21796   return self;
21797 fail:
21798   return Qnil;
21799 }
21800
21801
21802 SWIGINTERN void
21803 free_pdbFileSecondaryStructure(pdbFileSecondaryStructure *arg1) {
21804     free((char *) arg1);
21805 }
21806
21807 swig_class cPdbRecord;
21808
21809 SWIGINTERN VALUE
21810 _wrap_pdbRecord_FullRecord_set(int argc, VALUE *argv, VALUE self) {
21811   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21812   pdbFileParaTypeCharacter *arg2 ;
21813   void *argp1 = 0 ;
21814   int res1 = 0 ;
21815   char temp2[(80) +1] ;
21816   int res2 ;
21817   
21818   if ((argc < 1) || (argc > 1)) {
21819     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21820   }
21821   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
21822   if (!SWIG_IsOK(res1)) {
21823     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","FullRecord", 1, self )); 
21824   }
21825   arg1 = (struct pdbRecord *)(argp1);
21826   res2 = SWIG_AsCharArray(argv[0], temp2, (80) +1);
21827   if (!SWIG_IsOK(res2)) {
21828     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(80) +1]","FullRecord", 2, argv[0] ));
21829   }
21830   arg2 = (char *)(temp2);
21831   if (arg2) memcpy(arg1->FullRecord,arg2,(80) +1*sizeof(char));
21832   else memset(arg1->FullRecord,0,(80) +1*sizeof(char));
21833   return Qnil;
21834 fail:
21835   return Qnil;
21836 }
21837
21838
21839 SWIGINTERN VALUE
21840 _wrap_pdbRecord_FullRecord_get(int argc, VALUE *argv, VALUE self) {
21841   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21842   void *argp1 = 0 ;
21843   int res1 = 0 ;
21844   pdbFileParaTypeCharacter *result = 0 ;
21845   VALUE vresult = Qnil;
21846   
21847   if ((argc < 0) || (argc > 0)) {
21848     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21849   }
21850   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
21851   if (!SWIG_IsOK(res1)) {
21852     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","FullRecord", 1, self )); 
21853   }
21854   arg1 = (struct pdbRecord *)(argp1);
21855   result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->FullRecord);
21856   {
21857     size_t size = (80) +1;
21858     
21859     while (size && (result[size - 1] == '\0')) --size;
21860     
21861     vresult = SWIG_FromCharPtrAndSize(result, size);
21862   }
21863   return vresult;
21864 fail:
21865   return Qnil;
21866 }
21867
21868
21869 SWIGINTERN VALUE
21870 _wrap_pdbRecord_Record_set(int argc, VALUE *argv, VALUE self) {
21871   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21872   pdbFileParaTypeCharacter *arg2 ;
21873   void *argp1 = 0 ;
21874   int res1 = 0 ;
21875   char temp2[(6) +1] ;
21876   int res2 ;
21877   
21878   if ((argc < 1) || (argc > 1)) {
21879     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21880   }
21881   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
21882   if (!SWIG_IsOK(res1)) {
21883     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","Record", 1, self )); 
21884   }
21885   arg1 = (struct pdbRecord *)(argp1);
21886   res2 = SWIG_AsCharArray(argv[0], temp2, (6) +1);
21887   if (!SWIG_IsOK(res2)) {
21888     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(6) +1]","Record", 2, argv[0] ));
21889   }
21890   arg2 = (char *)(temp2);
21891   if (arg2) memcpy(arg1->Record,arg2,(6) +1*sizeof(char));
21892   else memset(arg1->Record,0,(6) +1*sizeof(char));
21893   return Qnil;
21894 fail:
21895   return Qnil;
21896 }
21897
21898
21899 SWIGINTERN VALUE
21900 _wrap_pdbRecord_Record_get(int argc, VALUE *argv, VALUE self) {
21901   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21902   void *argp1 = 0 ;
21903   int res1 = 0 ;
21904   pdbFileParaTypeCharacter *result = 0 ;
21905   VALUE vresult = Qnil;
21906   
21907   if ((argc < 0) || (argc > 0)) {
21908     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21909   }
21910   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
21911   if (!SWIG_IsOK(res1)) {
21912     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","Record", 1, self )); 
21913   }
21914   arg1 = (struct pdbRecord *)(argp1);
21915   result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->Record);
21916   {
21917     size_t size = (6) +1;
21918     
21919     while (size && (result[size - 1] == '\0')) --size;
21920     
21921     vresult = SWIG_FromCharPtrAndSize(result, size);
21922   }
21923   return vresult;
21924 fail:
21925   return Qnil;
21926 }
21927
21928
21929 SWIGINTERN VALUE
21930 _wrap_pdbRecord_AtomSerialNumber_set(int argc, VALUE *argv, VALUE self) {
21931   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21932   pdbFileParaTypeInteger arg2 ;
21933   void *argp1 = 0 ;
21934   int res1 = 0 ;
21935   long val2 ;
21936   int ecode2 = 0 ;
21937   
21938   if ((argc < 1) || (argc > 1)) {
21939     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21940   }
21941   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
21942   if (!SWIG_IsOK(res1)) {
21943     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","AtomSerialNumber", 1, self )); 
21944   }
21945   arg1 = (struct pdbRecord *)(argp1);
21946   ecode2 = SWIG_AsVal_long(argv[0], &val2);
21947   if (!SWIG_IsOK(ecode2)) {
21948     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeInteger","AtomSerialNumber", 2, argv[0] ));
21949   } 
21950   arg2 = (pdbFileParaTypeInteger)(val2);
21951   if (arg1) (arg1)->AtomSerialNumber = arg2;
21952   return Qnil;
21953 fail:
21954   return Qnil;
21955 }
21956
21957
21958 SWIGINTERN VALUE
21959 _wrap_pdbRecord_AtomSerialNumber_get(int argc, VALUE *argv, VALUE self) {
21960   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21961   void *argp1 = 0 ;
21962   int res1 = 0 ;
21963   pdbFileParaTypeInteger result;
21964   VALUE vresult = Qnil;
21965   
21966   if ((argc < 0) || (argc > 0)) {
21967     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21968   }
21969   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
21970   if (!SWIG_IsOK(res1)) {
21971     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","AtomSerialNumber", 1, self )); 
21972   }
21973   arg1 = (struct pdbRecord *)(argp1);
21974   result = (pdbFileParaTypeInteger) ((arg1)->AtomSerialNumber);
21975   vresult = SWIG_From_long((long)(result));
21976   return vresult;
21977 fail:
21978   return Qnil;
21979 }
21980
21981
21982 SWIGINTERN VALUE
21983 _wrap_pdbRecord_AtomName_set(int argc, VALUE *argv, VALUE self) {
21984   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21985   pdbFileParaTypeCharacter *arg2 ;
21986   void *argp1 = 0 ;
21987   int res1 = 0 ;
21988   char temp2[(4) +1] ;
21989   int res2 ;
21990   
21991   if ((argc < 1) || (argc > 1)) {
21992     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
21993   }
21994   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
21995   if (!SWIG_IsOK(res1)) {
21996     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","AtomName", 1, self )); 
21997   }
21998   arg1 = (struct pdbRecord *)(argp1);
21999   res2 = SWIG_AsCharArray(argv[0], temp2, (4) +1);
22000   if (!SWIG_IsOK(res2)) {
22001     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(4) +1]","AtomName", 2, argv[0] ));
22002   }
22003   arg2 = (char *)(temp2);
22004   if (arg2) memcpy(arg1->AtomName,arg2,(4) +1*sizeof(char));
22005   else memset(arg1->AtomName,0,(4) +1*sizeof(char));
22006   return Qnil;
22007 fail:
22008   return Qnil;
22009 }
22010
22011
22012 SWIGINTERN VALUE
22013 _wrap_pdbRecord_AtomName_get(int argc, VALUE *argv, VALUE self) {
22014   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22015   void *argp1 = 0 ;
22016   int res1 = 0 ;
22017   pdbFileParaTypeCharacter *result = 0 ;
22018   VALUE vresult = Qnil;
22019   
22020   if ((argc < 0) || (argc > 0)) {
22021     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22022   }
22023   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22024   if (!SWIG_IsOK(res1)) {
22025     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","AtomName", 1, self )); 
22026   }
22027   arg1 = (struct pdbRecord *)(argp1);
22028   result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->AtomName);
22029   {
22030     size_t size = (4) +1;
22031     
22032     while (size && (result[size - 1] == '\0')) --size;
22033     
22034     vresult = SWIG_FromCharPtrAndSize(result, size);
22035   }
22036   return vresult;
22037 fail:
22038   return Qnil;
22039 }
22040
22041
22042 SWIGINTERN VALUE
22043 _wrap_pdbRecord_LocationIndicator_set(int argc, VALUE *argv, VALUE self) {
22044   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22045   pdbFileParaTypeCharacter arg2 ;
22046   void *argp1 = 0 ;
22047   int res1 = 0 ;
22048   char val2 ;
22049   int ecode2 = 0 ;
22050   
22051   if ((argc < 1) || (argc > 1)) {
22052     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22053   }
22054   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22055   if (!SWIG_IsOK(res1)) {
22056     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","LocationIndicator", 1, self )); 
22057   }
22058   arg1 = (struct pdbRecord *)(argp1);
22059   ecode2 = SWIG_AsVal_char(argv[0], &val2);
22060   if (!SWIG_IsOK(ecode2)) {
22061     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeCharacter","LocationIndicator", 2, argv[0] ));
22062   } 
22063   arg2 = (pdbFileParaTypeCharacter)(val2);
22064   if (arg1) (arg1)->LocationIndicator = arg2;
22065   return Qnil;
22066 fail:
22067   return Qnil;
22068 }
22069
22070
22071 SWIGINTERN VALUE
22072 _wrap_pdbRecord_LocationIndicator_get(int argc, VALUE *argv, VALUE self) {
22073   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22074   void *argp1 = 0 ;
22075   int res1 = 0 ;
22076   pdbFileParaTypeCharacter result;
22077   VALUE vresult = Qnil;
22078   
22079   if ((argc < 0) || (argc > 0)) {
22080     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22081   }
22082   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22083   if (!SWIG_IsOK(res1)) {
22084     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","LocationIndicator", 1, self )); 
22085   }
22086   arg1 = (struct pdbRecord *)(argp1);
22087   result = (pdbFileParaTypeCharacter) ((arg1)->LocationIndicator);
22088   vresult = SWIG_From_char((char)(result));
22089   return vresult;
22090 fail:
22091   return Qnil;
22092 }
22093
22094
22095 SWIGINTERN VALUE
22096 _wrap_pdbRecord_ResidueName_set(int argc, VALUE *argv, VALUE self) {
22097   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22098   pdbFileParaTypeCharacter *arg2 ;
22099   void *argp1 = 0 ;
22100   int res1 = 0 ;
22101   char temp2[(3) +1] ;
22102   int res2 ;
22103   
22104   if ((argc < 1) || (argc > 1)) {
22105     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22106   }
22107   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22108   if (!SWIG_IsOK(res1)) {
22109     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","ResidueName", 1, self )); 
22110   }
22111   arg1 = (struct pdbRecord *)(argp1);
22112   res2 = SWIG_AsCharArray(argv[0], temp2, (3) +1);
22113   if (!SWIG_IsOK(res2)) {
22114     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(3) +1]","ResidueName", 2, argv[0] ));
22115   }
22116   arg2 = (char *)(temp2);
22117   if (arg2) memcpy(arg1->ResidueName,arg2,(3) +1*sizeof(char));
22118   else memset(arg1->ResidueName,0,(3) +1*sizeof(char));
22119   return Qnil;
22120 fail:
22121   return Qnil;
22122 }
22123
22124
22125 SWIGINTERN VALUE
22126 _wrap_pdbRecord_ResidueName_get(int argc, VALUE *argv, VALUE self) {
22127   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22128   void *argp1 = 0 ;
22129   int res1 = 0 ;
22130   pdbFileParaTypeCharacter *result = 0 ;
22131   VALUE vresult = Qnil;
22132   
22133   if ((argc < 0) || (argc > 0)) {
22134     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22135   }
22136   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22137   if (!SWIG_IsOK(res1)) {
22138     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","ResidueName", 1, self )); 
22139   }
22140   arg1 = (struct pdbRecord *)(argp1);
22141   result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->ResidueName);
22142   {
22143     size_t size = (3) +1;
22144     
22145     while (size && (result[size - 1] == '\0')) --size;
22146     
22147     vresult = SWIG_FromCharPtrAndSize(result, size);
22148   }
22149   return vresult;
22150 fail:
22151   return Qnil;
22152 }
22153
22154
22155 SWIGINTERN VALUE
22156 _wrap_pdbRecord_ChainIdentifier_set(int argc, VALUE *argv, VALUE self) {
22157   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22158   pdbFileParaTypeCharacter arg2 ;
22159   void *argp1 = 0 ;
22160   int res1 = 0 ;
22161   char val2 ;
22162   int ecode2 = 0 ;
22163   
22164   if ((argc < 1) || (argc > 1)) {
22165     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22166   }
22167   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22168   if (!SWIG_IsOK(res1)) {
22169     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","ChainIdentifier", 1, self )); 
22170   }
22171   arg1 = (struct pdbRecord *)(argp1);
22172   ecode2 = SWIG_AsVal_char(argv[0], &val2);
22173   if (!SWIG_IsOK(ecode2)) {
22174     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeCharacter","ChainIdentifier", 2, argv[0] ));
22175   } 
22176   arg2 = (pdbFileParaTypeCharacter)(val2);
22177   if (arg1) (arg1)->ChainIdentifier = arg2;
22178   return Qnil;
22179 fail:
22180   return Qnil;
22181 }
22182
22183
22184 SWIGINTERN VALUE
22185 _wrap_pdbRecord_ChainIdentifier_get(int argc, VALUE *argv, VALUE self) {
22186   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22187   void *argp1 = 0 ;
22188   int res1 = 0 ;
22189   pdbFileParaTypeCharacter result;
22190   VALUE vresult = Qnil;
22191   
22192   if ((argc < 0) || (argc > 0)) {
22193     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22194   }
22195   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22196   if (!SWIG_IsOK(res1)) {
22197     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","ChainIdentifier", 1, self )); 
22198   }
22199   arg1 = (struct pdbRecord *)(argp1);
22200   result = (pdbFileParaTypeCharacter) ((arg1)->ChainIdentifier);
22201   vresult = SWIG_From_char((char)(result));
22202   return vresult;
22203 fail:
22204   return Qnil;
22205 }
22206
22207
22208 SWIGINTERN VALUE
22209 _wrap_pdbRecord_ResidueSequenceNumber_set(int argc, VALUE *argv, VALUE self) {
22210   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22211   pdbFileParaTypeInteger arg2 ;
22212   void *argp1 = 0 ;
22213   int res1 = 0 ;
22214   long val2 ;
22215   int ecode2 = 0 ;
22216   
22217   if ((argc < 1) || (argc > 1)) {
22218     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22219   }
22220   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22221   if (!SWIG_IsOK(res1)) {
22222     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","ResidueSequenceNumber", 1, self )); 
22223   }
22224   arg1 = (struct pdbRecord *)(argp1);
22225   ecode2 = SWIG_AsVal_long(argv[0], &val2);
22226   if (!SWIG_IsOK(ecode2)) {
22227     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeInteger","ResidueSequenceNumber", 2, argv[0] ));
22228   } 
22229   arg2 = (pdbFileParaTypeInteger)(val2);
22230   if (arg1) (arg1)->ResidueSequenceNumber = arg2;
22231   return Qnil;
22232 fail:
22233   return Qnil;
22234 }
22235
22236
22237 SWIGINTERN VALUE
22238 _wrap_pdbRecord_ResidueSequenceNumber_get(int argc, VALUE *argv, VALUE self) {
22239   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22240   void *argp1 = 0 ;
22241   int res1 = 0 ;
22242   pdbFileParaTypeInteger result;
22243   VALUE vresult = Qnil;
22244   
22245   if ((argc < 0) || (argc > 0)) {
22246     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22247   }
22248   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22249   if (!SWIG_IsOK(res1)) {
22250     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","ResidueSequenceNumber", 1, self )); 
22251   }
22252   arg1 = (struct pdbRecord *)(argp1);
22253   result = (pdbFileParaTypeInteger) ((arg1)->ResidueSequenceNumber);
22254   vresult = SWIG_From_long((long)(result));
22255   return vresult;
22256 fail:
22257   return Qnil;
22258 }
22259
22260
22261 SWIGINTERN VALUE
22262 _wrap_pdbRecord_InsertionCode_set(int argc, VALUE *argv, VALUE self) {
22263   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22264   pdbFileParaTypeCharacter arg2 ;
22265   void *argp1 = 0 ;
22266   int res1 = 0 ;
22267   char val2 ;
22268   int ecode2 = 0 ;
22269   
22270   if ((argc < 1) || (argc > 1)) {
22271     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22272   }
22273   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22274   if (!SWIG_IsOK(res1)) {
22275     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","InsertionCode", 1, self )); 
22276   }
22277   arg1 = (struct pdbRecord *)(argp1);
22278   ecode2 = SWIG_AsVal_char(argv[0], &val2);
22279   if (!SWIG_IsOK(ecode2)) {
22280     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeCharacter","InsertionCode", 2, argv[0] ));
22281   } 
22282   arg2 = (pdbFileParaTypeCharacter)(val2);
22283   if (arg1) (arg1)->InsertionCode = arg2;
22284   return Qnil;
22285 fail:
22286   return Qnil;
22287 }
22288
22289
22290 SWIGINTERN VALUE
22291 _wrap_pdbRecord_InsertionCode_get(int argc, VALUE *argv, VALUE self) {
22292   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22293   void *argp1 = 0 ;
22294   int res1 = 0 ;
22295   pdbFileParaTypeCharacter result;
22296   VALUE vresult = Qnil;
22297   
22298   if ((argc < 0) || (argc > 0)) {
22299     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22300   }
22301   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22302   if (!SWIG_IsOK(res1)) {
22303     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","InsertionCode", 1, self )); 
22304   }
22305   arg1 = (struct pdbRecord *)(argp1);
22306   result = (pdbFileParaTypeCharacter) ((arg1)->InsertionCode);
22307   vresult = SWIG_From_char((char)(result));
22308   return vresult;
22309 fail:
22310   return Qnil;
22311 }
22312
22313
22314 SWIGINTERN VALUE
22315 _wrap_pdbRecord_Coord_set(int argc, VALUE *argv, VALUE self) {
22316   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22317   pdbCoord *arg2 = (pdbCoord *) 0 ;
22318   void *argp1 = 0 ;
22319   int res1 = 0 ;
22320   void *argp2 = 0 ;
22321   int res2 = 0 ;
22322   
22323   if ((argc < 1) || (argc > 1)) {
22324     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22325   }
22326   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22327   if (!SWIG_IsOK(res1)) {
22328     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","Coord", 1, self )); 
22329   }
22330   arg1 = (struct pdbRecord *)(argp1);
22331   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbCoord, 0 |  0 );
22332   if (!SWIG_IsOK(res2)) {
22333     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbCoord *","Coord", 2, argv[0] )); 
22334   }
22335   arg2 = (pdbCoord *)(argp2);
22336   if (arg1) (arg1)->Coord = *arg2;
22337   return Qnil;
22338 fail:
22339   return Qnil;
22340 }
22341
22342
22343 SWIGINTERN VALUE
22344 _wrap_pdbRecord_Coord_get(int argc, VALUE *argv, VALUE self) {
22345   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22346   void *argp1 = 0 ;
22347   int res1 = 0 ;
22348   pdbCoord *result = 0 ;
22349   VALUE vresult = Qnil;
22350   
22351   if ((argc < 0) || (argc > 0)) {
22352     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22353   }
22354   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22355   if (!SWIG_IsOK(res1)) {
22356     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","Coord", 1, self )); 
22357   }
22358   arg1 = (struct pdbRecord *)(argp1);
22359   result = (pdbCoord *)& ((arg1)->Coord);
22360   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbCoord, 0 |  0 );
22361   return vresult;
22362 fail:
22363   return Qnil;
22364 }
22365
22366
22367 SWIGINTERN VALUE
22368 _wrap_pdbRecord_Occupancy_set(int argc, VALUE *argv, VALUE self) {
22369   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22370   pdbFileParaTypeReal arg2 ;
22371   void *argp1 = 0 ;
22372   int res1 = 0 ;
22373   float val2 ;
22374   int ecode2 = 0 ;
22375   
22376   if ((argc < 1) || (argc > 1)) {
22377     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22378   }
22379   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22380   if (!SWIG_IsOK(res1)) {
22381     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","Occupancy", 1, self )); 
22382   }
22383   arg1 = (struct pdbRecord *)(argp1);
22384   ecode2 = SWIG_AsVal_float(argv[0], &val2);
22385   if (!SWIG_IsOK(ecode2)) {
22386     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","Occupancy", 2, argv[0] ));
22387   } 
22388   arg2 = (pdbFileParaTypeReal)(val2);
22389   if (arg1) (arg1)->Occupancy = arg2;
22390   return Qnil;
22391 fail:
22392   return Qnil;
22393 }
22394
22395
22396 SWIGINTERN VALUE
22397 _wrap_pdbRecord_Occupancy_get(int argc, VALUE *argv, VALUE self) {
22398   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22399   void *argp1 = 0 ;
22400   int res1 = 0 ;
22401   pdbFileParaTypeReal result;
22402   VALUE vresult = Qnil;
22403   
22404   if ((argc < 0) || (argc > 0)) {
22405     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22406   }
22407   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22408   if (!SWIG_IsOK(res1)) {
22409     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","Occupancy", 1, self )); 
22410   }
22411   arg1 = (struct pdbRecord *)(argp1);
22412   result = (pdbFileParaTypeReal) ((arg1)->Occupancy);
22413   vresult = SWIG_From_float((float)(result));
22414   return vresult;
22415 fail:
22416   return Qnil;
22417 }
22418
22419
22420 SWIGINTERN VALUE
22421 _wrap_pdbRecord_TemperatureFactor_set(int argc, VALUE *argv, VALUE self) {
22422   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22423   pdbFileParaTypeReal arg2 ;
22424   void *argp1 = 0 ;
22425   int res1 = 0 ;
22426   float val2 ;
22427   int ecode2 = 0 ;
22428   
22429   if ((argc < 1) || (argc > 1)) {
22430     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22431   }
22432   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22433   if (!SWIG_IsOK(res1)) {
22434     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","TemperatureFactor", 1, self )); 
22435   }
22436   arg1 = (struct pdbRecord *)(argp1);
22437   ecode2 = SWIG_AsVal_float(argv[0], &val2);
22438   if (!SWIG_IsOK(ecode2)) {
22439     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","TemperatureFactor", 2, argv[0] ));
22440   } 
22441   arg2 = (pdbFileParaTypeReal)(val2);
22442   if (arg1) (arg1)->TemperatureFactor = arg2;
22443   return Qnil;
22444 fail:
22445   return Qnil;
22446 }
22447
22448
22449 SWIGINTERN VALUE
22450 _wrap_pdbRecord_TemperatureFactor_get(int argc, VALUE *argv, VALUE self) {
22451   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22452   void *argp1 = 0 ;
22453   int res1 = 0 ;
22454   pdbFileParaTypeReal result;
22455   VALUE vresult = Qnil;
22456   
22457   if ((argc < 0) || (argc > 0)) {
22458     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22459   }
22460   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22461   if (!SWIG_IsOK(res1)) {
22462     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","TemperatureFactor", 1, self )); 
22463   }
22464   arg1 = (struct pdbRecord *)(argp1);
22465   result = (pdbFileParaTypeReal) ((arg1)->TemperatureFactor);
22466   vresult = SWIG_From_float((float)(result));
22467   return vresult;
22468 fail:
22469   return Qnil;
22470 }
22471
22472
22473 SWIGINTERN VALUE
22474 _wrap_pdbRecord_FootnoteNumber_set(int argc, VALUE *argv, VALUE self) {
22475   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22476   pdbFileParaTypeInteger arg2 ;
22477   void *argp1 = 0 ;
22478   int res1 = 0 ;
22479   long val2 ;
22480   int ecode2 = 0 ;
22481   
22482   if ((argc < 1) || (argc > 1)) {
22483     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22484   }
22485   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22486   if (!SWIG_IsOK(res1)) {
22487     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","FootnoteNumber", 1, self )); 
22488   }
22489   arg1 = (struct pdbRecord *)(argp1);
22490   ecode2 = SWIG_AsVal_long(argv[0], &val2);
22491   if (!SWIG_IsOK(ecode2)) {
22492     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeInteger","FootnoteNumber", 2, argv[0] ));
22493   } 
22494   arg2 = (pdbFileParaTypeInteger)(val2);
22495   if (arg1) (arg1)->FootnoteNumber = arg2;
22496   return Qnil;
22497 fail:
22498   return Qnil;
22499 }
22500
22501
22502 SWIGINTERN VALUE
22503 _wrap_pdbRecord_FootnoteNumber_get(int argc, VALUE *argv, VALUE self) {
22504   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22505   void *argp1 = 0 ;
22506   int res1 = 0 ;
22507   pdbFileParaTypeInteger result;
22508   VALUE vresult = Qnil;
22509   
22510   if ((argc < 0) || (argc > 0)) {
22511     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22512   }
22513   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22514   if (!SWIG_IsOK(res1)) {
22515     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","FootnoteNumber", 1, self )); 
22516   }
22517   arg1 = (struct pdbRecord *)(argp1);
22518   result = (pdbFileParaTypeInteger) ((arg1)->FootnoteNumber);
22519   vresult = SWIG_From_long((long)(result));
22520   return vresult;
22521 fail:
22522   return Qnil;
22523 }
22524
22525
22526 SWIGINTERN VALUE
22527 _wrap_pdbRecord_Footnote_set(int argc, VALUE *argv, VALUE self) {
22528   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22529   pdbFileParaTypeCharacter *arg2 ;
22530   void *argp1 = 0 ;
22531   int res1 = 0 ;
22532   char temp2[(10) +1] ;
22533   int res2 ;
22534   
22535   if ((argc < 1) || (argc > 1)) {
22536     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22537   }
22538   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22539   if (!SWIG_IsOK(res1)) {
22540     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","Footnote", 1, self )); 
22541   }
22542   arg1 = (struct pdbRecord *)(argp1);
22543   res2 = SWIG_AsCharArray(argv[0], temp2, (10) +1);
22544   if (!SWIG_IsOK(res2)) {
22545     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(10) +1]","Footnote", 2, argv[0] ));
22546   }
22547   arg2 = (char *)(temp2);
22548   if (arg2) memcpy(arg1->Footnote,arg2,(10) +1*sizeof(char));
22549   else memset(arg1->Footnote,0,(10) +1*sizeof(char));
22550   return Qnil;
22551 fail:
22552   return Qnil;
22553 }
22554
22555
22556 SWIGINTERN VALUE
22557 _wrap_pdbRecord_Footnote_get(int argc, VALUE *argv, VALUE self) {
22558   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22559   void *argp1 = 0 ;
22560   int res1 = 0 ;
22561   pdbFileParaTypeCharacter *result = 0 ;
22562   VALUE vresult = Qnil;
22563   
22564   if ((argc < 0) || (argc > 0)) {
22565     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22566   }
22567   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22568   if (!SWIG_IsOK(res1)) {
22569     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","Footnote", 1, self )); 
22570   }
22571   arg1 = (struct pdbRecord *)(argp1);
22572   result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->Footnote);
22573   {
22574     size_t size = (10) +1;
22575     
22576     while (size && (result[size - 1] == '\0')) --size;
22577     
22578     vresult = SWIG_FromCharPtrAndSize(result, size);
22579   }
22580   return vresult;
22581 fail:
22582   return Qnil;
22583 }
22584
22585
22586 SWIGINTERN VALUE
22587 _wrap_pdbRecord_prev_set(int argc, VALUE *argv, VALUE self) {
22588   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22589   pdbRecord *arg2 = (pdbRecord *) 0 ;
22590   void *argp1 = 0 ;
22591   int res1 = 0 ;
22592   void *argp2 = 0 ;
22593   int res2 = 0 ;
22594   
22595   if ((argc < 1) || (argc > 1)) {
22596     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22597   }
22598   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22599   if (!SWIG_IsOK(res1)) {
22600     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","prev", 1, self )); 
22601   }
22602   arg1 = (struct pdbRecord *)(argp1);
22603   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbRecord, SWIG_POINTER_DISOWN |  0 );
22604   if (!SWIG_IsOK(res2)) {
22605     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbRecord *","prev", 2, argv[0] )); 
22606   }
22607   arg2 = (pdbRecord *)(argp2);
22608   if (arg1) (arg1)->prev = arg2;
22609   return Qnil;
22610 fail:
22611   return Qnil;
22612 }
22613
22614
22615 SWIGINTERN VALUE
22616 _wrap_pdbRecord_prev_get(int argc, VALUE *argv, VALUE self) {
22617   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22618   void *argp1 = 0 ;
22619   int res1 = 0 ;
22620   pdbRecord *result = 0 ;
22621   VALUE vresult = Qnil;
22622   
22623   if ((argc < 0) || (argc > 0)) {
22624     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22625   }
22626   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22627   if (!SWIG_IsOK(res1)) {
22628     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","prev", 1, self )); 
22629   }
22630   arg1 = (struct pdbRecord *)(argp1);
22631   result = (pdbRecord *) ((arg1)->prev);
22632   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
22633   return vresult;
22634 fail:
22635   return Qnil;
22636 }
22637
22638
22639 SWIGINTERN VALUE
22640 _wrap_pdbRecord_next_set(int argc, VALUE *argv, VALUE self) {
22641   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22642   pdbRecord *arg2 = (pdbRecord *) 0 ;
22643   void *argp1 = 0 ;
22644   int res1 = 0 ;
22645   void *argp2 = 0 ;
22646   int res2 = 0 ;
22647   
22648   if ((argc < 1) || (argc > 1)) {
22649     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22650   }
22651   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22652   if (!SWIG_IsOK(res1)) {
22653     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","next", 1, self )); 
22654   }
22655   arg1 = (struct pdbRecord *)(argp1);
22656   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbRecord, SWIG_POINTER_DISOWN |  0 );
22657   if (!SWIG_IsOK(res2)) {
22658     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbRecord *","next", 2, argv[0] )); 
22659   }
22660   arg2 = (pdbRecord *)(argp2);
22661   if (arg1) (arg1)->next = arg2;
22662   return Qnil;
22663 fail:
22664   return Qnil;
22665 }
22666
22667
22668 SWIGINTERN VALUE
22669 _wrap_pdbRecord_next_get(int argc, VALUE *argv, VALUE self) {
22670   struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22671   void *argp1 = 0 ;
22672   int res1 = 0 ;
22673   pdbRecord *result = 0 ;
22674   VALUE vresult = Qnil;
22675   
22676   if ((argc < 0) || (argc > 0)) {
22677     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22678   }
22679   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbRecord, 0 |  0 );
22680   if (!SWIG_IsOK(res1)) {
22681     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbRecord *","next", 1, self )); 
22682   }
22683   arg1 = (struct pdbRecord *)(argp1);
22684   result = (pdbRecord *) ((arg1)->next);
22685   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
22686   return vresult;
22687 fail:
22688   return Qnil;
22689 }
22690
22691
22692 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
22693 SWIGINTERN VALUE
22694 _wrap_pdbRecord_allocate(VALUE self) {
22695 #else
22696   SWIGINTERN VALUE
22697   _wrap_pdbRecord_allocate(int argc, VALUE *argv, VALUE self) {
22698 #endif
22699     
22700     
22701     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbRecord);
22702 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
22703     rb_obj_call_init(vresult, argc, argv);
22704 #endif
22705     return vresult;
22706   }
22707   
22708
22709 SWIGINTERN VALUE
22710 _wrap_new_pdbRecord(int argc, VALUE *argv, VALUE self) {
22711   struct pdbRecord *result = 0 ;
22712   
22713   if ((argc < 0) || (argc > 0)) {
22714     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22715   }
22716   result = (struct pdbRecord *)calloc(1, sizeof(struct pdbRecord));
22717   DATA_PTR(self) = result;
22718   return self;
22719 fail:
22720   return Qnil;
22721 }
22722
22723
22724 SWIGINTERN void
22725 free_pdbRecord(struct pdbRecord *arg1) {
22726     free((char *) arg1);
22727 }
22728
22729 swig_class cPdbFile;
22730
22731 SWIGINTERN VALUE
22732 _wrap_pdbFile_top_set(int argc, VALUE *argv, VALUE self) {
22733   pdbFile *arg1 = (pdbFile *) 0 ;
22734   pdbRecord *arg2 = (pdbRecord *) 0 ;
22735   void *argp1 = 0 ;
22736   int res1 = 0 ;
22737   void *argp2 = 0 ;
22738   int res2 = 0 ;
22739   
22740   if ((argc < 1) || (argc > 1)) {
22741     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22742   }
22743   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
22744   if (!SWIG_IsOK(res1)) {
22745     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","top", 1, self )); 
22746   }
22747   arg1 = (pdbFile *)(argp1);
22748   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbRecord, SWIG_POINTER_DISOWN |  0 );
22749   if (!SWIG_IsOK(res2)) {
22750     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbRecord *","top", 2, argv[0] )); 
22751   }
22752   arg2 = (pdbRecord *)(argp2);
22753   if (arg1) (arg1)->top = arg2;
22754   return Qnil;
22755 fail:
22756   return Qnil;
22757 }
22758
22759
22760 SWIGINTERN VALUE
22761 _wrap_pdbFile_top_get(int argc, VALUE *argv, VALUE self) {
22762   pdbFile *arg1 = (pdbFile *) 0 ;
22763   void *argp1 = 0 ;
22764   int res1 = 0 ;
22765   pdbRecord *result = 0 ;
22766   VALUE vresult = Qnil;
22767   
22768   if ((argc < 0) || (argc > 0)) {
22769     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22770   }
22771   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
22772   if (!SWIG_IsOK(res1)) {
22773     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","top", 1, self )); 
22774   }
22775   arg1 = (pdbFile *)(argp1);
22776   result = (pdbRecord *) ((arg1)->top);
22777   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
22778   return vresult;
22779 fail:
22780   return Qnil;
22781 }
22782
22783
22784 SWIGINTERN VALUE
22785 _wrap_pdbFile_PDB_set(int argc, VALUE *argv, VALUE self) {
22786   pdbFile *arg1 = (pdbFile *) 0 ;
22787   pdbRecord *arg2 = (pdbRecord *) 0 ;
22788   void *argp1 = 0 ;
22789   int res1 = 0 ;
22790   void *argp2 = 0 ;
22791   int res2 = 0 ;
22792   
22793   if ((argc < 1) || (argc > 1)) {
22794     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22795   }
22796   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
22797   if (!SWIG_IsOK(res1)) {
22798     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","PDB", 1, self )); 
22799   }
22800   arg1 = (pdbFile *)(argp1);
22801   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbRecord, SWIG_POINTER_DISOWN |  0 );
22802   if (!SWIG_IsOK(res2)) {
22803     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbRecord *","PDB", 2, argv[0] )); 
22804   }
22805   arg2 = (pdbRecord *)(argp2);
22806   if (arg1) (arg1)->PDB = arg2;
22807   return Qnil;
22808 fail:
22809   return Qnil;
22810 }
22811
22812
22813 SWIGINTERN VALUE
22814 _wrap_pdbFile_PDB_get(int argc, VALUE *argv, VALUE self) {
22815   pdbFile *arg1 = (pdbFile *) 0 ;
22816   void *argp1 = 0 ;
22817   int res1 = 0 ;
22818   pdbRecord *result = 0 ;
22819   VALUE vresult = Qnil;
22820   
22821   if ((argc < 0) || (argc > 0)) {
22822     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22823   }
22824   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
22825   if (!SWIG_IsOK(res1)) {
22826     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","PDB", 1, self )); 
22827   }
22828   arg1 = (pdbFile *)(argp1);
22829   result = (pdbRecord *) ((arg1)->PDB);
22830   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
22831   return vresult;
22832 fail:
22833   return Qnil;
22834 }
22835
22836
22837 SWIGINTERN VALUE
22838 _wrap_pdbFile_nAtom_set(int argc, VALUE *argv, VALUE self) {
22839   pdbFile *arg1 = (pdbFile *) 0 ;
22840   pdbFileParaTypeInteger arg2 ;
22841   void *argp1 = 0 ;
22842   int res1 = 0 ;
22843   long val2 ;
22844   int ecode2 = 0 ;
22845   
22846   if ((argc < 1) || (argc > 1)) {
22847     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22848   }
22849   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
22850   if (!SWIG_IsOK(res1)) {
22851     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","nAtom", 1, self )); 
22852   }
22853   arg1 = (pdbFile *)(argp1);
22854   ecode2 = SWIG_AsVal_long(argv[0], &val2);
22855   if (!SWIG_IsOK(ecode2)) {
22856     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeInteger","nAtom", 2, argv[0] ));
22857   } 
22858   arg2 = (pdbFileParaTypeInteger)(val2);
22859   if (arg1) (arg1)->nAtom = arg2;
22860   return Qnil;
22861 fail:
22862   return Qnil;
22863 }
22864
22865
22866 SWIGINTERN VALUE
22867 _wrap_pdbFile_nAtom_get(int argc, VALUE *argv, VALUE self) {
22868   pdbFile *arg1 = (pdbFile *) 0 ;
22869   void *argp1 = 0 ;
22870   int res1 = 0 ;
22871   pdbFileParaTypeInteger result;
22872   VALUE vresult = Qnil;
22873   
22874   if ((argc < 0) || (argc > 0)) {
22875     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22876   }
22877   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
22878   if (!SWIG_IsOK(res1)) {
22879     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","nAtom", 1, self )); 
22880   }
22881   arg1 = (pdbFile *)(argp1);
22882   result = (pdbFileParaTypeInteger) ((arg1)->nAtom);
22883   vresult = SWIG_From_long((long)(result));
22884   return vresult;
22885 fail:
22886   return Qnil;
22887 }
22888
22889
22890 SWIGINTERN VALUE
22891 _wrap_pdbFile_second_set(int argc, VALUE *argv, VALUE self) {
22892   pdbFile *arg1 = (pdbFile *) 0 ;
22893   pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
22894   void *argp1 = 0 ;
22895   int res1 = 0 ;
22896   void *argp2 = 0 ;
22897   int res2 = 0 ;
22898   
22899   if ((argc < 1) || (argc > 1)) {
22900     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
22901   }
22902   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
22903   if (!SWIG_IsOK(res1)) {
22904     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","second", 1, self )); 
22905   }
22906   arg1 = (pdbFile *)(argp1);
22907   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
22908   if (!SWIG_IsOK(res2)) {
22909     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","second", 2, argv[0] )); 
22910   }
22911   arg2 = (pdbFileSecondaryStructure *)(argp2);
22912   if (arg1) (arg1)->second = *arg2;
22913   return Qnil;
22914 fail:
22915   return Qnil;
22916 }
22917
22918
22919 SWIGINTERN VALUE
22920 _wrap_pdbFile_second_get(int argc, VALUE *argv, VALUE self) {
22921   pdbFile *arg1 = (pdbFile *) 0 ;
22922   void *argp1 = 0 ;
22923   int res1 = 0 ;
22924   pdbFileSecondaryStructure *result = 0 ;
22925   VALUE vresult = Qnil;
22926   
22927   if ((argc < 0) || (argc > 0)) {
22928     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22929   }
22930   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
22931   if (!SWIG_IsOK(res1)) {
22932     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","second", 1, self )); 
22933   }
22934   arg1 = (pdbFile *)(argp1);
22935   result = (pdbFileSecondaryStructure *)& ((arg1)->second);
22936   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
22937   return vresult;
22938 fail:
22939   return Qnil;
22940 }
22941
22942
22943 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
22944 SWIGINTERN VALUE
22945 _wrap_pdbFile_allocate(VALUE self) {
22946 #else
22947   SWIGINTERN VALUE
22948   _wrap_pdbFile_allocate(int argc, VALUE *argv, VALUE self) {
22949 #endif
22950     
22951     
22952     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbFile);
22953 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
22954     rb_obj_call_init(vresult, argc, argv);
22955 #endif
22956     return vresult;
22957   }
22958   
22959
22960 SWIGINTERN VALUE
22961 _wrap_new_pdbFile(int argc, VALUE *argv, VALUE self) {
22962   pdbFile *result = 0 ;
22963   
22964   if ((argc < 0) || (argc > 0)) {
22965     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22966   }
22967   result = (pdbFile *)calloc(1, sizeof(pdbFile));
22968   DATA_PTR(self) = result;
22969   return self;
22970 fail:
22971   return Qnil;
22972 }
22973
22974
22975 SWIGINTERN void
22976 free_pdbFile(pdbFile *arg1) {
22977     free((char *) arg1);
22978 }
22979
22980 SWIGINTERN VALUE
22981 _wrap_pdbFileRead(int argc, VALUE *argv, VALUE self) {
22982   FILE *arg1 = (FILE *) 0 ;
22983   pdbFile *arg2 = (pdbFile *) 0 ;
22984   void *argp1 = 0 ;
22985   int res1 = 0 ;
22986   void *argp2 = 0 ;
22987   int res2 = 0 ;
22988   
22989   if ((argc < 2) || (argc > 2)) {
22990     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
22991   }
22992   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
22993   if (!SWIG_IsOK(res1)) {
22994     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbFileRead", 1, argv[0] )); 
22995   }
22996   arg1 = (FILE *)(argp1);
22997   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
22998   if (!SWIG_IsOK(res2)) {
22999     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileRead", 2, argv[1] )); 
23000   }
23001   arg2 = (pdbFile *)(argp2);
23002   pdbFileRead(arg1,arg2);
23003   return Qnil;
23004 fail:
23005   return Qnil;
23006 }
23007
23008
23009 SWIGINTERN VALUE
23010 _wrap_pdbFileWrite(int argc, VALUE *argv, VALUE self) {
23011   FILE *arg1 = (FILE *) 0 ;
23012   pdbFile *arg2 = (pdbFile *) 0 ;
23013   void *argp1 = 0 ;
23014   int res1 = 0 ;
23015   void *argp2 = 0 ;
23016   int res2 = 0 ;
23017   
23018   if ((argc < 2) || (argc > 2)) {
23019     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23020   }
23021   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
23022   if (!SWIG_IsOK(res1)) {
23023     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbFileWrite", 1, argv[0] )); 
23024   }
23025   arg1 = (FILE *)(argp1);
23026   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
23027   if (!SWIG_IsOK(res2)) {
23028     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileWrite", 2, argv[1] )); 
23029   }
23030   arg2 = (pdbFile *)(argp2);
23031   pdbFileWrite(arg1,arg2);
23032   return Qnil;
23033 fail:
23034   return Qnil;
23035 }
23036
23037
23038 SWIGINTERN VALUE
23039 _wrap_pdbFileWriteCoord(int argc, VALUE *argv, VALUE self) {
23040   FILE *arg1 = (FILE *) 0 ;
23041   pdbFile *arg2 = (pdbFile *) 0 ;
23042   void *argp1 = 0 ;
23043   int res1 = 0 ;
23044   void *argp2 = 0 ;
23045   int res2 = 0 ;
23046   
23047   if ((argc < 2) || (argc > 2)) {
23048     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23049   }
23050   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
23051   if (!SWIG_IsOK(res1)) {
23052     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbFileWriteCoord", 1, argv[0] )); 
23053   }
23054   arg1 = (FILE *)(argp1);
23055   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
23056   if (!SWIG_IsOK(res2)) {
23057     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileWriteCoord", 2, argv[1] )); 
23058   }
23059   arg2 = (pdbFile *)(argp2);
23060   pdbFileWriteCoord(arg1,arg2);
23061   return Qnil;
23062 fail:
23063   return Qnil;
23064 }
23065
23066
23067 SWIGINTERN VALUE
23068 _wrap_pdbFileTableWrite(int argc, VALUE *argv, VALUE self) {
23069   FILE *arg1 = (FILE *) 0 ;
23070   pdbFile *arg2 = (pdbFile *) 0 ;
23071   void *argp1 = 0 ;
23072   int res1 = 0 ;
23073   void *argp2 = 0 ;
23074   int res2 = 0 ;
23075   
23076   if ((argc < 2) || (argc > 2)) {
23077     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23078   }
23079   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
23080   if (!SWIG_IsOK(res1)) {
23081     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbFileTableWrite", 1, argv[0] )); 
23082   }
23083   arg1 = (FILE *)(argp1);
23084   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
23085   if (!SWIG_IsOK(res2)) {
23086     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileTableWrite", 2, argv[1] )); 
23087   }
23088   arg2 = (pdbFile *)(argp2);
23089   pdbFileTableWrite(arg1,arg2);
23090   return Qnil;
23091 fail:
23092   return Qnil;
23093 }
23094
23095
23096 SWIGINTERN VALUE
23097 _wrap_pdbFileWriteSecondaryStructure(int argc, VALUE *argv, VALUE self) {
23098   FILE *arg1 = (FILE *) 0 ;
23099   pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
23100   void *argp1 = 0 ;
23101   int res1 = 0 ;
23102   void *argp2 = 0 ;
23103   int res2 = 0 ;
23104   
23105   if ((argc < 2) || (argc > 2)) {
23106     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23107   }
23108   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
23109   if (!SWIG_IsOK(res1)) {
23110     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbFileWriteSecondaryStructure", 1, argv[0] )); 
23111   }
23112   arg1 = (FILE *)(argp1);
23113   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
23114   if (!SWIG_IsOK(res2)) {
23115     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","pdbFileWriteSecondaryStructure", 2, argv[1] )); 
23116   }
23117   arg2 = (pdbFileSecondaryStructure *)(argp2);
23118   pdbFileWriteSecondaryStructure(arg1,arg2);
23119   return Qnil;
23120 fail:
23121   return Qnil;
23122 }
23123
23124
23125 SWIGINTERN VALUE
23126 _wrap_pdbMatrixFileFormat(int argc, VALUE *argv, VALUE self) {
23127   FILE *arg1 = (FILE *) 0 ;
23128   void *argp1 = 0 ;
23129   int res1 = 0 ;
23130   
23131   if ((argc < 1) || (argc > 1)) {
23132     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23133   }
23134   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
23135   if (!SWIG_IsOK(res1)) {
23136     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbMatrixFileFormat", 1, argv[0] )); 
23137   }
23138   arg1 = (FILE *)(argp1);
23139   pdbMatrixFileFormat(arg1);
23140   return Qnil;
23141 fail:
23142   return Qnil;
23143 }
23144
23145
23146 SWIGINTERN VALUE
23147 _wrap_pdbMatrixFileRead(int argc, VALUE *argv, VALUE self) {
23148   FILE *arg1 = (FILE *) 0 ;
23149   matrix3DParaTypeReal (*arg2)[4] ;
23150   void *argp1 = 0 ;
23151   int res1 = 0 ;
23152   void *argp2 = 0 ;
23153   int res2 = 0 ;
23154   
23155   if ((argc < 2) || (argc > 2)) {
23156     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23157   }
23158   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
23159   if (!SWIG_IsOK(res1)) {
23160     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbMatrixFileRead", 1, argv[0] )); 
23161   }
23162   arg1 = (FILE *)(argp1);
23163   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
23164   if (!SWIG_IsOK(res2)) {
23165     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","pdbMatrixFileRead", 2, argv[1] )); 
23166   } 
23167   arg2 = (float (*)[4])(argp2);
23168   pdbMatrixFileRead(arg1,(float (*)[4])arg2);
23169   return Qnil;
23170 fail:
23171   return Qnil;
23172 }
23173
23174
23175 SWIGINTERN VALUE
23176 _wrap_pdbMatrixFileWrite(int argc, VALUE *argv, VALUE self) {
23177   FILE *arg1 = (FILE *) 0 ;
23178   matrix3DParaTypeReal (*arg2)[4] ;
23179   void *argp1 = 0 ;
23180   int res1 = 0 ;
23181   void *argp2 = 0 ;
23182   int res2 = 0 ;
23183   
23184   if ((argc < 2) || (argc > 2)) {
23185     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23186   }
23187   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
23188   if (!SWIG_IsOK(res1)) {
23189     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbMatrixFileWrite", 1, argv[0] )); 
23190   }
23191   arg1 = (FILE *)(argp1);
23192   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
23193   if (!SWIG_IsOK(res2)) {
23194     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","pdbMatrixFileWrite", 2, argv[1] )); 
23195   } 
23196   arg2 = (float (*)[4])(argp2);
23197   pdbMatrixFileWrite(arg1,(float (*)[4])arg2);
23198   return Qnil;
23199 fail:
23200   return Qnil;
23201 }
23202
23203
23204 SWIGINTERN VALUE
23205 _wrap_pdbTrans(int argc, VALUE *argv, VALUE self) {
23206   pdbFile *arg1 = (pdbFile *) 0 ;
23207   matrix3DParaTypeReal (*arg2)[4] ;
23208   void *argp1 = 0 ;
23209   int res1 = 0 ;
23210   void *argp2 = 0 ;
23211   int res2 = 0 ;
23212   
23213   if ((argc < 2) || (argc > 2)) {
23214     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23215   }
23216   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23217   if (!SWIG_IsOK(res1)) {
23218     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbTrans", 1, argv[0] )); 
23219   }
23220   arg1 = (pdbFile *)(argp1);
23221   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_a_4__float, 0 |  0 );
23222   if (!SWIG_IsOK(res2)) {
23223     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float [4][4]","pdbTrans", 2, argv[1] )); 
23224   } 
23225   arg2 = (float (*)[4])(argp2);
23226   pdbTrans(arg1,(float (*)[4])arg2);
23227   return Qnil;
23228 fail:
23229   return Qnil;
23230 }
23231
23232
23233 SWIGINTERN VALUE
23234 _wrap_pdbFileResidueSequenceNumberIncrementAll(int argc, VALUE *argv, VALUE self) {
23235   pdbFile *arg1 = (pdbFile *) 0 ;
23236   int arg2 ;
23237   void *argp1 = 0 ;
23238   int res1 = 0 ;
23239   int val2 ;
23240   int ecode2 = 0 ;
23241   
23242   if ((argc < 2) || (argc > 2)) {
23243     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23244   }
23245   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23246   if (!SWIG_IsOK(res1)) {
23247     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileResidueSequenceNumberIncrementAll", 1, argv[0] )); 
23248   }
23249   arg1 = (pdbFile *)(argp1);
23250   ecode2 = SWIG_AsVal_int(argv[1], &val2);
23251   if (!SWIG_IsOK(ecode2)) {
23252     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","pdbFileResidueSequenceNumberIncrementAll", 2, argv[1] ));
23253   } 
23254   arg2 = (int)(val2);
23255   pdbFileResidueSequenceNumberIncrementAll(arg1,arg2);
23256   return Qnil;
23257 fail:
23258   return Qnil;
23259 }
23260
23261
23262 SWIGINTERN VALUE
23263 _wrap_pdbFileResidueSequenceNumberIncrement(int argc, VALUE *argv, VALUE self) {
23264   pdbFile *arg1 = (pdbFile *) 0 ;
23265   int arg2 ;
23266   void *argp1 = 0 ;
23267   int res1 = 0 ;
23268   int val2 ;
23269   int ecode2 = 0 ;
23270   
23271   if ((argc < 2) || (argc > 2)) {
23272     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23273   }
23274   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23275   if (!SWIG_IsOK(res1)) {
23276     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileResidueSequenceNumberIncrement", 1, argv[0] )); 
23277   }
23278   arg1 = (pdbFile *)(argp1);
23279   ecode2 = SWIG_AsVal_int(argv[1], &val2);
23280   if (!SWIG_IsOK(ecode2)) {
23281     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","pdbFileResidueSequenceNumberIncrement", 2, argv[1] ));
23282   } 
23283   arg2 = (int)(val2);
23284   pdbFileResidueSequenceNumberIncrement(arg1,arg2);
23285   return Qnil;
23286 fail:
23287   return Qnil;
23288 }
23289
23290
23291 SWIGINTERN VALUE
23292 _wrap_pdbFileChainIdentifierSetAll(int argc, VALUE *argv, VALUE self) {
23293   pdbFile *arg1 = (pdbFile *) 0 ;
23294   unsigned char arg2 ;
23295   void *argp1 = 0 ;
23296   int res1 = 0 ;
23297   unsigned char val2 ;
23298   int ecode2 = 0 ;
23299   
23300   if ((argc < 2) || (argc > 2)) {
23301     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23302   }
23303   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23304   if (!SWIG_IsOK(res1)) {
23305     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileChainIdentifierSetAll", 1, argv[0] )); 
23306   }
23307   arg1 = (pdbFile *)(argp1);
23308   ecode2 = SWIG_AsVal_unsigned_SS_char(argv[1], &val2);
23309   if (!SWIG_IsOK(ecode2)) {
23310     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned char","pdbFileChainIdentifierSetAll", 2, argv[1] ));
23311   } 
23312   arg2 = (unsigned char)(val2);
23313   pdbFileChainIdentifierSetAll(arg1,arg2);
23314   return Qnil;
23315 fail:
23316   return Qnil;
23317 }
23318
23319
23320 SWIGINTERN VALUE
23321 _wrap_pdbFileChainIdentifierSet(int argc, VALUE *argv, VALUE self) {
23322   pdbFile *arg1 = (pdbFile *) 0 ;
23323   unsigned char arg2 ;
23324   void *argp1 = 0 ;
23325   int res1 = 0 ;
23326   unsigned char val2 ;
23327   int ecode2 = 0 ;
23328   
23329   if ((argc < 2) || (argc > 2)) {
23330     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23331   }
23332   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23333   if (!SWIG_IsOK(res1)) {
23334     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileChainIdentifierSet", 1, argv[0] )); 
23335   }
23336   arg1 = (pdbFile *)(argp1);
23337   ecode2 = SWIG_AsVal_unsigned_SS_char(argv[1], &val2);
23338   if (!SWIG_IsOK(ecode2)) {
23339     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned char","pdbFileChainIdentifierSet", 2, argv[1] ));
23340   } 
23341   arg2 = (unsigned char)(val2);
23342   pdbFileChainIdentifierSet(arg1,arg2);
23343   return Qnil;
23344 fail:
23345   return Qnil;
23346 }
23347
23348
23349 SWIGINTERN VALUE
23350 _wrap_pdbFileChainIdentifierGet(int argc, VALUE *argv, VALUE self) {
23351   pdbFile *arg1 = (pdbFile *) 0 ;
23352   void *argp1 = 0 ;
23353   int res1 = 0 ;
23354   unsigned char result;
23355   VALUE vresult = Qnil;
23356   
23357   if ((argc < 1) || (argc > 1)) {
23358     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23359   }
23360   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23361   if (!SWIG_IsOK(res1)) {
23362     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileChainIdentifierGet", 1, argv[0] )); 
23363   }
23364   arg1 = (pdbFile *)(argp1);
23365   result = (unsigned char)pdbFileChainIdentifierGet(arg1);
23366   vresult = SWIG_From_unsigned_SS_char((unsigned char)(result));
23367   return vresult;
23368 fail:
23369   return Qnil;
23370 }
23371
23372
23373 SWIGINTERN VALUE
23374 _wrap_pdbFileTemperatureFactorGet(int argc, VALUE *argv, VALUE self) {
23375   pdbFile *arg1 = (pdbFile *) 0 ;
23376   void *argp1 = 0 ;
23377   int res1 = 0 ;
23378   pdbFileParaTypeReal result;
23379   VALUE vresult = Qnil;
23380   
23381   if ((argc < 1) || (argc > 1)) {
23382     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23383   }
23384   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23385   if (!SWIG_IsOK(res1)) {
23386     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileTemperatureFactorGet", 1, argv[0] )); 
23387   }
23388   arg1 = (pdbFile *)(argp1);
23389   result = (pdbFileParaTypeReal)pdbFileTemperatureFactorGet(arg1);
23390   vresult = SWIG_From_float((float)(result));
23391   return vresult;
23392 fail:
23393   return Qnil;
23394 }
23395
23396
23397 SWIGINTERN VALUE
23398 _wrap_pdbFileTemperatureFactorSet(int argc, VALUE *argv, VALUE self) {
23399   pdbFile *arg1 = (pdbFile *) 0 ;
23400   double arg2 ;
23401   void *argp1 = 0 ;
23402   int res1 = 0 ;
23403   double val2 ;
23404   int ecode2 = 0 ;
23405   
23406   if ((argc < 2) || (argc > 2)) {
23407     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23408   }
23409   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23410   if (!SWIG_IsOK(res1)) {
23411     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileTemperatureFactorSet", 1, argv[0] )); 
23412   }
23413   arg1 = (pdbFile *)(argp1);
23414   ecode2 = SWIG_AsVal_double(argv[1], &val2);
23415   if (!SWIG_IsOK(ecode2)) {
23416     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","pdbFileTemperatureFactorSet", 2, argv[1] ));
23417   } 
23418   arg2 = (double)(val2);
23419   pdbFileTemperatureFactorSet(arg1,arg2);
23420   return Qnil;
23421 fail:
23422   return Qnil;
23423 }
23424
23425
23426 SWIGINTERN VALUE
23427 _wrap_pdbFileOccupancyGet(int argc, VALUE *argv, VALUE self) {
23428   pdbFile *arg1 = (pdbFile *) 0 ;
23429   void *argp1 = 0 ;
23430   int res1 = 0 ;
23431   pdbFileParaTypeReal result;
23432   VALUE vresult = Qnil;
23433   
23434   if ((argc < 1) || (argc > 1)) {
23435     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23436   }
23437   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23438   if (!SWIG_IsOK(res1)) {
23439     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileOccupancyGet", 1, argv[0] )); 
23440   }
23441   arg1 = (pdbFile *)(argp1);
23442   result = (pdbFileParaTypeReal)pdbFileOccupancyGet(arg1);
23443   vresult = SWIG_From_float((float)(result));
23444   return vresult;
23445 fail:
23446   return Qnil;
23447 }
23448
23449
23450 SWIGINTERN VALUE
23451 _wrap_pdbFileOccupancySet(int argc, VALUE *argv, VALUE self) {
23452   pdbFile *arg1 = (pdbFile *) 0 ;
23453   double arg2 ;
23454   void *argp1 = 0 ;
23455   int res1 = 0 ;
23456   double val2 ;
23457   int ecode2 = 0 ;
23458   
23459   if ((argc < 2) || (argc > 2)) {
23460     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23461   }
23462   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23463   if (!SWIG_IsOK(res1)) {
23464     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileOccupancySet", 1, argv[0] )); 
23465   }
23466   arg1 = (pdbFile *)(argp1);
23467   ecode2 = SWIG_AsVal_double(argv[1], &val2);
23468   if (!SWIG_IsOK(ecode2)) {
23469     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","pdbFileOccupancySet", 2, argv[1] ));
23470   } 
23471   arg2 = (double)(val2);
23472   pdbFileOccupancySet(arg1,arg2);
23473   return Qnil;
23474 fail:
23475   return Qnil;
23476 }
23477
23478
23479 SWIGINTERN VALUE
23480 _wrap_pdbFileCoordSet(int argc, VALUE *argv, VALUE self) {
23481   pdbFile *arg1 = (pdbFile *) 0 ;
23482   pdbFileParaTypeReal arg2 ;
23483   pdbFileParaTypeReal arg3 ;
23484   pdbFileParaTypeReal arg4 ;
23485   void *argp1 = 0 ;
23486   int res1 = 0 ;
23487   float val2 ;
23488   int ecode2 = 0 ;
23489   float val3 ;
23490   int ecode3 = 0 ;
23491   float val4 ;
23492   int ecode4 = 0 ;
23493   long result;
23494   VALUE vresult = Qnil;
23495   
23496   if ((argc < 4) || (argc > 4)) {
23497     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
23498   }
23499   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23500   if (!SWIG_IsOK(res1)) {
23501     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileCoordSet", 1, argv[0] )); 
23502   }
23503   arg1 = (pdbFile *)(argp1);
23504   ecode2 = SWIG_AsVal_float(argv[1], &val2);
23505   if (!SWIG_IsOK(ecode2)) {
23506     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbFileCoordSet", 2, argv[1] ));
23507   } 
23508   arg2 = (pdbFileParaTypeReal)(val2);
23509   ecode3 = SWIG_AsVal_float(argv[2], &val3);
23510   if (!SWIG_IsOK(ecode3)) {
23511     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbFileCoordSet", 3, argv[2] ));
23512   } 
23513   arg3 = (pdbFileParaTypeReal)(val3);
23514   ecode4 = SWIG_AsVal_float(argv[3], &val4);
23515   if (!SWIG_IsOK(ecode4)) {
23516     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbFileCoordSet", 4, argv[3] ));
23517   } 
23518   arg4 = (pdbFileParaTypeReal)(val4);
23519   result = (long)pdbFileCoordSet(arg1,arg2,arg3,arg4);
23520   vresult = SWIG_From_long((long)(result));
23521   return vresult;
23522 fail:
23523   return Qnil;
23524 }
23525
23526
23527 SWIGINTERN VALUE
23528 _wrap_pdbFileCoordGet(int argc, VALUE *argv, VALUE self) {
23529   pdbFile *arg1 = (pdbFile *) 0 ;
23530   pdbFileParaTypeReal *arg2 = (pdbFileParaTypeReal *) 0 ;
23531   pdbFileParaTypeReal *arg3 = (pdbFileParaTypeReal *) 0 ;
23532   pdbFileParaTypeReal *arg4 = (pdbFileParaTypeReal *) 0 ;
23533   void *argp1 = 0 ;
23534   int res1 = 0 ;
23535   void *argp2 = 0 ;
23536   int res2 = 0 ;
23537   void *argp3 = 0 ;
23538   int res3 = 0 ;
23539   void *argp4 = 0 ;
23540   int res4 = 0 ;
23541   long result;
23542   VALUE vresult = Qnil;
23543   
23544   if ((argc < 4) || (argc > 4)) {
23545     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
23546   }
23547   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23548   if (!SWIG_IsOK(res1)) {
23549     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileCoordGet", 1, argv[0] )); 
23550   }
23551   arg1 = (pdbFile *)(argp1);
23552   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_float, 0 |  0 );
23553   if (!SWIG_IsOK(res2)) {
23554     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal *","pdbFileCoordGet", 2, argv[1] )); 
23555   }
23556   arg2 = (pdbFileParaTypeReal *)(argp2);
23557   res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_float, 0 |  0 );
23558   if (!SWIG_IsOK(res3)) {
23559     SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "pdbFileParaTypeReal *","pdbFileCoordGet", 3, argv[2] )); 
23560   }
23561   arg3 = (pdbFileParaTypeReal *)(argp3);
23562   res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_float, 0 |  0 );
23563   if (!SWIG_IsOK(res4)) {
23564     SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "pdbFileParaTypeReal *","pdbFileCoordGet", 4, argv[3] )); 
23565   }
23566   arg4 = (pdbFileParaTypeReal *)(argp4);
23567   result = (long)pdbFileCoordGet(arg1,arg2,arg3,arg4);
23568   vresult = SWIG_From_long((long)(result));
23569   return vresult;
23570 fail:
23571   return Qnil;
23572 }
23573
23574
23575 SWIGINTERN VALUE
23576 _wrap_pdbFileResidueSequenceNumberGet(int argc, VALUE *argv, VALUE self) {
23577   pdbFile *arg1 = (pdbFile *) 0 ;
23578   void *argp1 = 0 ;
23579   int res1 = 0 ;
23580   long result;
23581   VALUE vresult = Qnil;
23582   
23583   if ((argc < 1) || (argc > 1)) {
23584     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23585   }
23586   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23587   if (!SWIG_IsOK(res1)) {
23588     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileResidueSequenceNumberGet", 1, argv[0] )); 
23589   }
23590   arg1 = (pdbFile *)(argp1);
23591   result = (long)pdbFileResidueSequenceNumberGet(arg1);
23592   vresult = SWIG_From_long((long)(result));
23593   return vresult;
23594 fail:
23595   return Qnil;
23596 }
23597
23598
23599 SWIGINTERN VALUE
23600 _wrap_pdbFileResidueNameGet(int argc, VALUE *argv, VALUE self) {
23601   pdbFile *arg1 = (pdbFile *) 0 ;
23602   int arg2 ;
23603   void *argp1 = 0 ;
23604   int res1 = 0 ;
23605   int val2 ;
23606   int ecode2 = 0 ;
23607   char *result = 0 ;
23608   VALUE vresult = Qnil;
23609   
23610   if ((argc < 2) || (argc > 2)) {
23611     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23612   }
23613   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23614   if (!SWIG_IsOK(res1)) {
23615     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileResidueNameGet", 1, argv[0] )); 
23616   }
23617   arg1 = (pdbFile *)(argp1);
23618   ecode2 = SWIG_AsVal_int(argv[1], &val2);
23619   if (!SWIG_IsOK(ecode2)) {
23620     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","pdbFileResidueNameGet", 2, argv[1] ));
23621   } 
23622   arg2 = (int)(val2);
23623   result = (char *)pdbFileResidueNameGet(arg1,arg2);
23624   vresult = SWIG_FromCharPtr((const char *)result);
23625   return vresult;
23626 fail:
23627   return Qnil;
23628 }
23629
23630
23631 SWIGINTERN VALUE
23632 _wrap_pdbFileTop(int argc, VALUE *argv, VALUE self) {
23633   pdbFile *arg1 = (pdbFile *) 0 ;
23634   void *argp1 = 0 ;
23635   int res1 = 0 ;
23636   pdbRecord *result = 0 ;
23637   VALUE vresult = Qnil;
23638   
23639   if ((argc < 1) || (argc > 1)) {
23640     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23641   }
23642   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23643   if (!SWIG_IsOK(res1)) {
23644     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileTop", 1, argv[0] )); 
23645   }
23646   arg1 = (pdbFile *)(argp1);
23647   result = (pdbRecord *)pdbFileTop(arg1);
23648   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
23649   return vresult;
23650 fail:
23651   return Qnil;
23652 }
23653
23654
23655 SWIGINTERN VALUE
23656 _wrap_pdbFileTopPointer(int argc, VALUE *argv, VALUE self) {
23657   pdbFile *arg1 = (pdbFile *) 0 ;
23658   void *argp1 = 0 ;
23659   int res1 = 0 ;
23660   pdbRecord *result = 0 ;
23661   VALUE vresult = Qnil;
23662   
23663   if ((argc < 1) || (argc > 1)) {
23664     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23665   }
23666   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23667   if (!SWIG_IsOK(res1)) {
23668     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileTopPointer", 1, argv[0] )); 
23669   }
23670   arg1 = (pdbFile *)(argp1);
23671   result = (pdbRecord *)pdbFileTopPointer(arg1);
23672   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
23673   return vresult;
23674 fail:
23675   return Qnil;
23676 }
23677
23678
23679 SWIGINTERN VALUE
23680 _wrap_pdbFileNext(int argc, VALUE *argv, VALUE self) {
23681   pdbFile *arg1 = (pdbFile *) 0 ;
23682   void *argp1 = 0 ;
23683   int res1 = 0 ;
23684   pdbRecord *result = 0 ;
23685   VALUE vresult = Qnil;
23686   
23687   if ((argc < 1) || (argc > 1)) {
23688     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23689   }
23690   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23691   if (!SWIG_IsOK(res1)) {
23692     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileNext", 1, argv[0] )); 
23693   }
23694   arg1 = (pdbFile *)(argp1);
23695   result = (pdbRecord *)pdbFileNext(arg1);
23696   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
23697   return vresult;
23698 fail:
23699   return Qnil;
23700 }
23701
23702
23703 SWIGINTERN VALUE
23704 _wrap_pdbFileNextAtom(int argc, VALUE *argv, VALUE self) {
23705   pdbFile *arg1 = (pdbFile *) 0 ;
23706   void *argp1 = 0 ;
23707   int res1 = 0 ;
23708   pdbRecord *result = 0 ;
23709   VALUE vresult = Qnil;
23710   
23711   if ((argc < 1) || (argc > 1)) {
23712     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23713   }
23714   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23715   if (!SWIG_IsOK(res1)) {
23716     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileNextAtom", 1, argv[0] )); 
23717   }
23718   arg1 = (pdbFile *)(argp1);
23719   result = (pdbRecord *)pdbFileNextAtom(arg1);
23720   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
23721   return vresult;
23722 fail:
23723   return Qnil;
23724 }
23725
23726
23727 SWIGINTERN VALUE
23728 _wrap_pdbFileNextCA(int argc, VALUE *argv, VALUE self) {
23729   pdbFile *arg1 = (pdbFile *) 0 ;
23730   void *argp1 = 0 ;
23731   int res1 = 0 ;
23732   pdbRecord *result = 0 ;
23733   VALUE vresult = Qnil;
23734   
23735   if ((argc < 1) || (argc > 1)) {
23736     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23737   }
23738   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23739   if (!SWIG_IsOK(res1)) {
23740     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileNextCA", 1, argv[0] )); 
23741   }
23742   arg1 = (pdbFile *)(argp1);
23743   result = (pdbRecord *)pdbFileNextCA(arg1);
23744   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
23745   return vresult;
23746 fail:
23747   return Qnil;
23748 }
23749
23750
23751 SWIGINTERN VALUE
23752 _wrap_pdbFilePrev(int argc, VALUE *argv, VALUE self) {
23753   pdbFile *arg1 = (pdbFile *) 0 ;
23754   void *argp1 = 0 ;
23755   int res1 = 0 ;
23756   pdbRecord *result = 0 ;
23757   VALUE vresult = Qnil;
23758   
23759   if ((argc < 1) || (argc > 1)) {
23760     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23761   }
23762   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23763   if (!SWIG_IsOK(res1)) {
23764     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFilePrev", 1, argv[0] )); 
23765   }
23766   arg1 = (pdbFile *)(argp1);
23767   result = (pdbRecord *)pdbFilePrev(arg1);
23768   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
23769   return vresult;
23770 fail:
23771   return Qnil;
23772 }
23773
23774
23775 SWIGINTERN VALUE
23776 _wrap_pdbFilePrevAtom(int argc, VALUE *argv, VALUE self) {
23777   pdbFile *arg1 = (pdbFile *) 0 ;
23778   void *argp1 = 0 ;
23779   int res1 = 0 ;
23780   pdbRecord *result = 0 ;
23781   VALUE vresult = Qnil;
23782   
23783   if ((argc < 1) || (argc > 1)) {
23784     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23785   }
23786   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23787   if (!SWIG_IsOK(res1)) {
23788     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFilePrevAtom", 1, argv[0] )); 
23789   }
23790   arg1 = (pdbFile *)(argp1);
23791   result = (pdbRecord *)pdbFilePrevAtom(arg1);
23792   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
23793   return vresult;
23794 fail:
23795   return Qnil;
23796 }
23797
23798
23799 SWIGINTERN VALUE
23800 _wrap_pdbFilePrevCA(int argc, VALUE *argv, VALUE self) {
23801   pdbFile *arg1 = (pdbFile *) 0 ;
23802   void *argp1 = 0 ;
23803   int res1 = 0 ;
23804   pdbRecord *result = 0 ;
23805   VALUE vresult = Qnil;
23806   
23807   if ((argc < 1) || (argc > 1)) {
23808     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23809   }
23810   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23811   if (!SWIG_IsOK(res1)) {
23812     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFilePrevCA", 1, argv[0] )); 
23813   }
23814   arg1 = (pdbFile *)(argp1);
23815   result = (pdbRecord *)pdbFilePrevCA(arg1);
23816   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
23817   return vresult;
23818 fail:
23819   return Qnil;
23820 }
23821
23822
23823 SWIGINTERN VALUE
23824 _wrap_pdbFileEnd(int argc, VALUE *argv, VALUE self) {
23825   pdbFile *arg1 = (pdbFile *) 0 ;
23826   void *argp1 = 0 ;
23827   int res1 = 0 ;
23828   long result;
23829   VALUE vresult = Qnil;
23830   
23831   if ((argc < 1) || (argc > 1)) {
23832     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23833   }
23834   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23835   if (!SWIG_IsOK(res1)) {
23836     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileEnd", 1, argv[0] )); 
23837   }
23838   arg1 = (pdbFile *)(argp1);
23839   result = (long)pdbFileEnd(arg1);
23840   vresult = SWIG_From_long((long)(result));
23841   return vresult;
23842 fail:
23843   return Qnil;
23844 }
23845
23846
23847 SWIGINTERN VALUE
23848 _wrap_pdbFileGoToEnd(int argc, VALUE *argv, VALUE self) {
23849   pdbFile *arg1 = (pdbFile *) 0 ;
23850   void *argp1 = 0 ;
23851   int res1 = 0 ;
23852   long result;
23853   VALUE vresult = Qnil;
23854   
23855   if ((argc < 1) || (argc > 1)) {
23856     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23857   }
23858   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23859   if (!SWIG_IsOK(res1)) {
23860     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileGoToEnd", 1, argv[0] )); 
23861   }
23862   arg1 = (pdbFile *)(argp1);
23863   result = (long)pdbFileGoToEnd(arg1);
23864   vresult = SWIG_From_long((long)(result));
23865   return vresult;
23866 fail:
23867   return Qnil;
23868 }
23869
23870
23871 SWIGINTERN VALUE
23872 _wrap_pdbFileIsEndLine(int argc, VALUE *argv, VALUE self) {
23873   pdbFile *arg1 = (pdbFile *) 0 ;
23874   void *argp1 = 0 ;
23875   int res1 = 0 ;
23876   long result;
23877   VALUE vresult = Qnil;
23878   
23879   if ((argc < 1) || (argc > 1)) {
23880     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23881   }
23882   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23883   if (!SWIG_IsOK(res1)) {
23884     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsEndLine", 1, argv[0] )); 
23885   }
23886   arg1 = (pdbFile *)(argp1);
23887   result = (long)pdbFileIsEndLine(arg1);
23888   vresult = SWIG_From_long((long)(result));
23889   return vresult;
23890 fail:
23891   return Qnil;
23892 }
23893
23894
23895 SWIGINTERN VALUE
23896 _wrap_pdbFileIsAtom(int argc, VALUE *argv, VALUE self) {
23897   pdbFile *arg1 = (pdbFile *) 0 ;
23898   void *argp1 = 0 ;
23899   int res1 = 0 ;
23900   long result;
23901   VALUE vresult = Qnil;
23902   
23903   if ((argc < 1) || (argc > 1)) {
23904     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23905   }
23906   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23907   if (!SWIG_IsOK(res1)) {
23908     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsAtom", 1, argv[0] )); 
23909   }
23910   arg1 = (pdbFile *)(argp1);
23911   result = (long)pdbFileIsAtom(arg1);
23912   vresult = SWIG_From_long((long)(result));
23913   return vresult;
23914 fail:
23915   return Qnil;
23916 }
23917
23918
23919 SWIGINTERN VALUE
23920 _wrap_pdbRecordIsNearby(int argc, VALUE *argv, VALUE self) {
23921   pdbRecord arg1 ;
23922   pdbRecord arg2 ;
23923   void *argp1 ;
23924   int res1 = 0 ;
23925   void *argp2 ;
23926   int res2 = 0 ;
23927   long result;
23928   VALUE vresult = Qnil;
23929   
23930   if ((argc < 2) || (argc > 2)) {
23931     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
23932   }
23933   {
23934     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_pdbRecord,  0 );
23935     if (!SWIG_IsOK(res1)) {
23936       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbRecord","pdbRecordIsNearby", 1, argv[0] )); 
23937     }  
23938     if (!argp1) {
23939       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "pdbRecord","pdbRecordIsNearby", 1, argv[0]));
23940     } else {
23941       arg1 = *((pdbRecord *)(argp1));
23942     }
23943   }
23944   {
23945     res2 = SWIG_ConvertPtr(argv[1], &argp2, SWIGTYPE_p_pdbRecord,  0 );
23946     if (!SWIG_IsOK(res2)) {
23947       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbRecord","pdbRecordIsNearby", 2, argv[1] )); 
23948     }  
23949     if (!argp2) {
23950       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "pdbRecord","pdbRecordIsNearby", 2, argv[1]));
23951     } else {
23952       arg2 = *((pdbRecord *)(argp2));
23953     }
23954   }
23955   result = (long)pdbRecordIsNearby(arg1,arg2);
23956   vresult = SWIG_From_long((long)(result));
23957   return vresult;
23958 fail:
23959   return Qnil;
23960 }
23961
23962
23963 SWIGINTERN VALUE
23964 _wrap_pdbFileIsCA(int argc, VALUE *argv, VALUE self) {
23965   pdbFile *arg1 = (pdbFile *) 0 ;
23966   void *argp1 = 0 ;
23967   int res1 = 0 ;
23968   long result;
23969   VALUE vresult = Qnil;
23970   
23971   if ((argc < 1) || (argc > 1)) {
23972     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23973   }
23974   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23975   if (!SWIG_IsOK(res1)) {
23976     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsCA", 1, argv[0] )); 
23977   }
23978   arg1 = (pdbFile *)(argp1);
23979   result = (long)pdbFileIsCA(arg1);
23980   vresult = SWIG_From_long((long)(result));
23981   return vresult;
23982 fail:
23983   return Qnil;
23984 }
23985
23986
23987 SWIGINTERN VALUE
23988 _wrap_pdbFileIsNegative(int argc, VALUE *argv, VALUE self) {
23989   pdbFile *arg1 = (pdbFile *) 0 ;
23990   void *argp1 = 0 ;
23991   int res1 = 0 ;
23992   long result;
23993   VALUE vresult = Qnil;
23994   
23995   if ((argc < 1) || (argc > 1)) {
23996     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
23997   }
23998   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
23999   if (!SWIG_IsOK(res1)) {
24000     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsNegative", 1, argv[0] )); 
24001   }
24002   arg1 = (pdbFile *)(argp1);
24003   result = (long)pdbFileIsNegative(arg1);
24004   vresult = SWIG_From_long((long)(result));
24005   return vresult;
24006 fail:
24007   return Qnil;
24008 }
24009
24010
24011 SWIGINTERN VALUE
24012 _wrap_pdbFileIsPositive(int argc, VALUE *argv, VALUE self) {
24013   pdbFile *arg1 = (pdbFile *) 0 ;
24014   void *argp1 = 0 ;
24015   int res1 = 0 ;
24016   long result;
24017   VALUE vresult = Qnil;
24018   
24019   if ((argc < 1) || (argc > 1)) {
24020     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24021   }
24022   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24023   if (!SWIG_IsOK(res1)) {
24024     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsPositive", 1, argv[0] )); 
24025   }
24026   arg1 = (pdbFile *)(argp1);
24027   result = (long)pdbFileIsPositive(arg1);
24028   vresult = SWIG_From_long((long)(result));
24029   return vresult;
24030 fail:
24031   return Qnil;
24032 }
24033
24034
24035 SWIGINTERN VALUE
24036 _wrap_pdbFileIsCharge(int argc, VALUE *argv, VALUE self) {
24037   pdbFile *arg1 = (pdbFile *) 0 ;
24038   void *argp1 = 0 ;
24039   int res1 = 0 ;
24040   long result;
24041   VALUE vresult = Qnil;
24042   
24043   if ((argc < 1) || (argc > 1)) {
24044     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24045   }
24046   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24047   if (!SWIG_IsOK(res1)) {
24048     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsCharge", 1, argv[0] )); 
24049   }
24050   arg1 = (pdbFile *)(argp1);
24051   result = (long)pdbFileIsCharge(arg1);
24052   vresult = SWIG_From_long((long)(result));
24053   return vresult;
24054 fail:
24055   return Qnil;
24056 }
24057
24058
24059 SWIGINTERN VALUE
24060 _wrap_pdbFileIsSecondaryStructure(int argc, VALUE *argv, VALUE self) {
24061   pdbFile *arg1 = (pdbFile *) 0 ;
24062   void *argp1 = 0 ;
24063   int res1 = 0 ;
24064   long result;
24065   VALUE vresult = Qnil;
24066   
24067   if ((argc < 1) || (argc > 1)) {
24068     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24069   }
24070   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24071   if (!SWIG_IsOK(res1)) {
24072     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsSecondaryStructure", 1, argv[0] )); 
24073   }
24074   arg1 = (pdbFile *)(argp1);
24075   result = (long)pdbFileIsSecondaryStructure(arg1);
24076   vresult = SWIG_From_long((long)(result));
24077   return vresult;
24078 fail:
24079   return Qnil;
24080 }
24081
24082
24083 SWIGINTERN VALUE
24084 _wrap_pdbFileIsHelix(int argc, VALUE *argv, VALUE self) {
24085   pdbFile *arg1 = (pdbFile *) 0 ;
24086   void *argp1 = 0 ;
24087   int res1 = 0 ;
24088   long result;
24089   VALUE vresult = Qnil;
24090   
24091   if ((argc < 1) || (argc > 1)) {
24092     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24093   }
24094   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24095   if (!SWIG_IsOK(res1)) {
24096     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsHelix", 1, argv[0] )); 
24097   }
24098   arg1 = (pdbFile *)(argp1);
24099   result = (long)pdbFileIsHelix(arg1);
24100   vresult = SWIG_From_long((long)(result));
24101   return vresult;
24102 fail:
24103   return Qnil;
24104 }
24105
24106
24107 SWIGINTERN VALUE
24108 _wrap_pdbFileIsSheet(int argc, VALUE *argv, VALUE self) {
24109   pdbFile *arg1 = (pdbFile *) 0 ;
24110   void *argp1 = 0 ;
24111   int res1 = 0 ;
24112   long result;
24113   VALUE vresult = Qnil;
24114   
24115   if ((argc < 1) || (argc > 1)) {
24116     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24117   }
24118   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24119   if (!SWIG_IsOK(res1)) {
24120     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsSheet", 1, argv[0] )); 
24121   }
24122   arg1 = (pdbFile *)(argp1);
24123   result = (long)pdbFileIsSheet(arg1);
24124   vresult = SWIG_From_long((long)(result));
24125   return vresult;
24126 fail:
24127   return Qnil;
24128 }
24129
24130
24131 SWIGINTERN VALUE
24132 _wrap_pdbFileIsTurn(int argc, VALUE *argv, VALUE self) {
24133   pdbFile *arg1 = (pdbFile *) 0 ;
24134   void *argp1 = 0 ;
24135   int res1 = 0 ;
24136   long result;
24137   VALUE vresult = Qnil;
24138   
24139   if ((argc < 1) || (argc > 1)) {
24140     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24141   }
24142   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24143   if (!SWIG_IsOK(res1)) {
24144     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileIsTurn", 1, argv[0] )); 
24145   }
24146   arg1 = (pdbFile *)(argp1);
24147   result = (long)pdbFileIsTurn(arg1);
24148   vresult = SWIG_From_long((long)(result));
24149   return vresult;
24150 fail:
24151   return Qnil;
24152 }
24153
24154
24155 SWIGINTERN VALUE
24156 _wrap_pdbFileNew(int argc, VALUE *argv, VALUE self) {
24157   pdbFile *arg1 = (pdbFile *) 0 ;
24158   void *argp1 = 0 ;
24159   int res1 = 0 ;
24160   pdbRecord *result = 0 ;
24161   VALUE vresult = Qnil;
24162   
24163   if ((argc < 1) || (argc > 1)) {
24164     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24165   }
24166   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24167   if (!SWIG_IsOK(res1)) {
24168     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileNew", 1, argv[0] )); 
24169   }
24170   arg1 = (pdbFile *)(argp1);
24171   result = (pdbRecord *)pdbFileNew(arg1);
24172   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
24173   return vresult;
24174 fail:
24175   return Qnil;
24176 }
24177
24178
24179 SWIGINTERN VALUE
24180 _wrap_pdbFileAppend(int argc, VALUE *argv, VALUE self) {
24181   pdbFile *arg1 = (pdbFile *) 0 ;
24182   void *argp1 = 0 ;
24183   int res1 = 0 ;
24184   pdbRecord *result = 0 ;
24185   VALUE vresult = Qnil;
24186   
24187   if ((argc < 1) || (argc > 1)) {
24188     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24189   }
24190   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24191   if (!SWIG_IsOK(res1)) {
24192     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileAppend", 1, argv[0] )); 
24193   }
24194   arg1 = (pdbFile *)(argp1);
24195   result = (pdbRecord *)pdbFileAppend(arg1);
24196   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
24197   return vresult;
24198 fail:
24199   return Qnil;
24200 }
24201
24202
24203 SWIGINTERN VALUE
24204 _wrap_pdbFileFree(int argc, VALUE *argv, VALUE self) {
24205   pdbFile *arg1 = (pdbFile *) 0 ;
24206   void *argp1 = 0 ;
24207   int res1 = 0 ;
24208   pdbRecord *result = 0 ;
24209   VALUE vresult = Qnil;
24210   
24211   if ((argc < 1) || (argc > 1)) {
24212     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24213   }
24214   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24215   if (!SWIG_IsOK(res1)) {
24216     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileFree", 1, argv[0] )); 
24217   }
24218   arg1 = (pdbFile *)(argp1);
24219   result = (pdbRecord *)pdbFileFree(arg1);
24220   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
24221   return vresult;
24222 fail:
24223   return Qnil;
24224 }
24225
24226
24227 SWIGINTERN VALUE
24228 _wrap_pdbFileRecordPrint(int argc, VALUE *argv, VALUE self) {
24229   FILE *arg1 = (FILE *) 0 ;
24230   pdbFile *arg2 = (pdbFile *) 0 ;
24231   void *argp1 = 0 ;
24232   int res1 = 0 ;
24233   void *argp2 = 0 ;
24234   int res2 = 0 ;
24235   pdbRecord *result = 0 ;
24236   VALUE vresult = Qnil;
24237   
24238   if ((argc < 2) || (argc > 2)) {
24239     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24240   }
24241   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
24242   if (!SWIG_IsOK(res1)) {
24243     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbFileRecordPrint", 1, argv[0] )); 
24244   }
24245   arg1 = (FILE *)(argp1);
24246   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
24247   if (!SWIG_IsOK(res2)) {
24248     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileRecordPrint", 2, argv[1] )); 
24249   }
24250   arg2 = (pdbFile *)(argp2);
24251   result = (pdbRecord *)pdbFileRecordPrint(arg1,arg2);
24252   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
24253   return vresult;
24254 fail:
24255   return Qnil;
24256 }
24257
24258
24259 SWIGINTERN VALUE
24260 _wrap_pdbZValueGet(int argc, VALUE *argv, VALUE self) {
24261   pdbFile *arg1 = (pdbFile *) 0 ;
24262   void *argp1 = 0 ;
24263   int res1 = 0 ;
24264   pdbFileParaTypeInteger result;
24265   VALUE vresult = Qnil;
24266   
24267   if ((argc < 1) || (argc > 1)) {
24268     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24269   }
24270   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24271   if (!SWIG_IsOK(res1)) {
24272     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbZValueGet", 1, argv[0] )); 
24273   }
24274   arg1 = (pdbFile *)(argp1);
24275   result = (pdbFileParaTypeInteger)pdbZValueGet(arg1);
24276   vresult = SWIG_From_long((long)(result));
24277   return vresult;
24278 fail:
24279   return Qnil;
24280 }
24281
24282
24283 SWIGINTERN VALUE
24284 _wrap_pdbFileRecordTablePrint(int argc, VALUE *argv, VALUE self) {
24285   FILE *arg1 = (FILE *) 0 ;
24286   pdbFile *arg2 = (pdbFile *) 0 ;
24287   void *argp1 = 0 ;
24288   int res1 = 0 ;
24289   void *argp2 = 0 ;
24290   int res2 = 0 ;
24291   pdbRecord *result = 0 ;
24292   VALUE vresult = Qnil;
24293   
24294   if ((argc < 2) || (argc > 2)) {
24295     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24296   }
24297   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
24298   if (!SWIG_IsOK(res1)) {
24299     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbFileRecordTablePrint", 1, argv[0] )); 
24300   }
24301   arg1 = (FILE *)(argp1);
24302   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
24303   if (!SWIG_IsOK(res2)) {
24304     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileRecordTablePrint", 2, argv[1] )); 
24305   }
24306   arg2 = (pdbFile *)(argp2);
24307   result = (pdbRecord *)pdbFileRecordTablePrint(arg1,arg2);
24308   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
24309   return vresult;
24310 fail:
24311   return Qnil;
24312 }
24313
24314
24315 SWIGINTERN VALUE
24316 _wrap_pdbFileSecondaryStructureRecordPrint(int argc, VALUE *argv, VALUE self) {
24317   FILE *arg1 = (FILE *) 0 ;
24318   pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
24319   void *argp1 = 0 ;
24320   int res1 = 0 ;
24321   void *argp2 = 0 ;
24322   int res2 = 0 ;
24323   pdbFileSecondaryStructureRecord *result = 0 ;
24324   VALUE vresult = Qnil;
24325   
24326   if ((argc < 2) || (argc > 2)) {
24327     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24328   }
24329   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
24330   if (!SWIG_IsOK(res1)) {
24331     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","pdbFileSecondaryStructureRecordPrint", 1, argv[0] )); 
24332   }
24333   arg1 = (FILE *)(argp1);
24334   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
24335   if (!SWIG_IsOK(res2)) {
24336     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructureRecord *","pdbFileSecondaryStructureRecordPrint", 2, argv[1] )); 
24337   }
24338   arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
24339   result = (pdbFileSecondaryStructureRecord *)pdbFileSecondaryStructureRecordPrint(arg1,arg2);
24340   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 |  0 );
24341   return vresult;
24342 fail:
24343   return Qnil;
24344 }
24345
24346
24347 SWIGINTERN VALUE
24348 _wrap_pdbFileCAOnlyCopy(int argc, VALUE *argv, VALUE self) {
24349   pdbFile *arg1 = (pdbFile *) 0 ;
24350   pdbFile *arg2 = (pdbFile *) 0 ;
24351   void *argp1 = 0 ;
24352   int res1 = 0 ;
24353   void *argp2 = 0 ;
24354   int res2 = 0 ;
24355   pdbRecord *result = 0 ;
24356   VALUE vresult = Qnil;
24357   
24358   if ((argc < 2) || (argc > 2)) {
24359     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24360   }
24361   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24362   if (!SWIG_IsOK(res1)) {
24363     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileCAOnlyCopy", 1, argv[0] )); 
24364   }
24365   arg1 = (pdbFile *)(argp1);
24366   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
24367   if (!SWIG_IsOK(res2)) {
24368     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileCAOnlyCopy", 2, argv[1] )); 
24369   }
24370   arg2 = (pdbFile *)(argp2);
24371   result = (pdbRecord *)pdbFileCAOnlyCopy(arg1,arg2);
24372   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
24373   return vresult;
24374 fail:
24375   return Qnil;
24376 }
24377
24378
24379 SWIGINTERN VALUE
24380 _wrap_pdbFileCAOnlyCopyAll(int argc, VALUE *argv, VALUE self) {
24381   pdbFile *arg1 = (pdbFile *) 0 ;
24382   pdbFile *arg2 = (pdbFile *) 0 ;
24383   void *argp1 = 0 ;
24384   int res1 = 0 ;
24385   void *argp2 = 0 ;
24386   int res2 = 0 ;
24387   
24388   if ((argc < 2) || (argc > 2)) {
24389     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24390   }
24391   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24392   if (!SWIG_IsOK(res1)) {
24393     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileCAOnlyCopyAll", 1, argv[0] )); 
24394   }
24395   arg1 = (pdbFile *)(argp1);
24396   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
24397   if (!SWIG_IsOK(res2)) {
24398     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileCAOnlyCopyAll", 2, argv[1] )); 
24399   }
24400   arg2 = (pdbFile *)(argp2);
24401   pdbFileCAOnlyCopyAll(arg1,arg2);
24402   return Qnil;
24403 fail:
24404   return Qnil;
24405 }
24406
24407
24408 SWIGINTERN VALUE
24409 _wrap_pdbFileCopyAll(int argc, VALUE *argv, VALUE self) {
24410   pdbFile *arg1 = (pdbFile *) 0 ;
24411   pdbFile *arg2 = (pdbFile *) 0 ;
24412   void *argp1 = 0 ;
24413   int res1 = 0 ;
24414   void *argp2 = 0 ;
24415   int res2 = 0 ;
24416   
24417   if ((argc < 2) || (argc > 2)) {
24418     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24419   }
24420   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24421   if (!SWIG_IsOK(res1)) {
24422     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileCopyAll", 1, argv[0] )); 
24423   }
24424   arg1 = (pdbFile *)(argp1);
24425   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
24426   if (!SWIG_IsOK(res2)) {
24427     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileCopyAll", 2, argv[1] )); 
24428   }
24429   arg2 = (pdbFile *)(argp2);
24430   pdbFileCopyAll(arg1,arg2);
24431   return Qnil;
24432 fail:
24433   return Qnil;
24434 }
24435
24436
24437 SWIGINTERN VALUE
24438 _wrap_pdbFileAppendAll(int argc, VALUE *argv, VALUE self) {
24439   pdbFile *arg1 = (pdbFile *) 0 ;
24440   pdbFile *arg2 = (pdbFile *) 0 ;
24441   void *argp1 = 0 ;
24442   int res1 = 0 ;
24443   void *argp2 = 0 ;
24444   int res2 = 0 ;
24445   
24446   if ((argc < 2) || (argc > 2)) {
24447     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24448   }
24449   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24450   if (!SWIG_IsOK(res1)) {
24451     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileAppendAll", 1, argv[0] )); 
24452   }
24453   arg1 = (pdbFile *)(argp1);
24454   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
24455   if (!SWIG_IsOK(res2)) {
24456     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileAppendAll", 2, argv[1] )); 
24457   }
24458   arg2 = (pdbFile *)(argp2);
24459   pdbFileAppendAll(arg1,arg2);
24460   return Qnil;
24461 fail:
24462   return Qnil;
24463 }
24464
24465
24466 SWIGINTERN VALUE
24467 _wrap_pdbFileOneRecordCopy(int argc, VALUE *argv, VALUE self) {
24468   pdbFile *arg1 = (pdbFile *) 0 ;
24469   pdbFile *arg2 = (pdbFile *) 0 ;
24470   void *argp1 = 0 ;
24471   int res1 = 0 ;
24472   void *argp2 = 0 ;
24473   int res2 = 0 ;
24474   pdbRecord *result = 0 ;
24475   VALUE vresult = Qnil;
24476   
24477   if ((argc < 2) || (argc > 2)) {
24478     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24479   }
24480   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24481   if (!SWIG_IsOK(res1)) {
24482     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileOneRecordCopy", 1, argv[0] )); 
24483   }
24484   arg1 = (pdbFile *)(argp1);
24485   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
24486   if (!SWIG_IsOK(res2)) {
24487     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileOneRecordCopy", 2, argv[1] )); 
24488   }
24489   arg2 = (pdbFile *)(argp2);
24490   result = (pdbRecord *)pdbFileOneRecordCopy(arg1,arg2);
24491   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 |  0 );
24492   return vresult;
24493 fail:
24494   return Qnil;
24495 }
24496
24497
24498 SWIGINTERN VALUE
24499 _wrap_pdbFileOneProteinCopy(int argc, VALUE *argv, VALUE self) {
24500   pdbFile *arg1 = (pdbFile *) 0 ;
24501   pdbFile *arg2 = (pdbFile *) 0 ;
24502   long arg3 ;
24503   void *argp1 = 0 ;
24504   int res1 = 0 ;
24505   void *argp2 = 0 ;
24506   int res2 = 0 ;
24507   long val3 ;
24508   int ecode3 = 0 ;
24509   
24510   if ((argc < 3) || (argc > 3)) {
24511     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
24512   }
24513   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24514   if (!SWIG_IsOK(res1)) {
24515     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileOneProteinCopy", 1, argv[0] )); 
24516   }
24517   arg1 = (pdbFile *)(argp1);
24518   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFile, 0 |  0 );
24519   if (!SWIG_IsOK(res2)) {
24520     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFile *","pdbFileOneProteinCopy", 2, argv[1] )); 
24521   }
24522   arg2 = (pdbFile *)(argp2);
24523   ecode3 = SWIG_AsVal_long(argv[2], &val3);
24524   if (!SWIG_IsOK(ecode3)) {
24525     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "long","pdbFileOneProteinCopy", 3, argv[2] ));
24526   } 
24527   arg3 = (long)(val3);
24528   pdbFileOneProteinCopy(arg1,arg2,arg3);
24529   return Qnil;
24530 fail:
24531   return Qnil;
24532 }
24533
24534
24535 SWIGINTERN VALUE
24536 _wrap_pdbRotationFollowingEulerAngle(int argc, VALUE *argv, VALUE self) {
24537   pdbFile *arg1 = (pdbFile *) 0 ;
24538   char *arg2 ;
24539   pdbFileParaTypeReal arg3 ;
24540   pdbFileParaTypeReal arg4 ;
24541   pdbFileParaTypeReal arg5 ;
24542   void *argp1 = 0 ;
24543   int res1 = 0 ;
24544   char temp2[4] ;
24545   int res2 ;
24546   float val3 ;
24547   int ecode3 = 0 ;
24548   float val4 ;
24549   int ecode4 = 0 ;
24550   float val5 ;
24551   int ecode5 = 0 ;
24552   
24553   if ((argc < 5) || (argc > 5)) {
24554     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
24555   }
24556   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24557   if (!SWIG_IsOK(res1)) {
24558     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbRotationFollowingEulerAngle", 1, argv[0] )); 
24559   }
24560   arg1 = (pdbFile *)(argp1);
24561   res2 = SWIG_AsCharArray(argv[1], temp2, 4);
24562   if (!SWIG_IsOK(res2)) {
24563     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","pdbRotationFollowingEulerAngle", 2, argv[1] ));
24564   }
24565   arg2 = (char *)(temp2);
24566   ecode3 = SWIG_AsVal_float(argv[2], &val3);
24567   if (!SWIG_IsOK(ecode3)) {
24568     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationFollowingEulerAngle", 3, argv[2] ));
24569   } 
24570   arg3 = (pdbFileParaTypeReal)(val3);
24571   ecode4 = SWIG_AsVal_float(argv[3], &val4);
24572   if (!SWIG_IsOK(ecode4)) {
24573     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationFollowingEulerAngle", 4, argv[3] ));
24574   } 
24575   arg4 = (pdbFileParaTypeReal)(val4);
24576   ecode5 = SWIG_AsVal_float(argv[4], &val5);
24577   if (!SWIG_IsOK(ecode5)) {
24578     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationFollowingEulerAngle", 5, argv[4] ));
24579   } 
24580   arg5 = (pdbFileParaTypeReal)(val5);
24581   pdbRotationFollowingEulerAngle(arg1,arg2,arg3,arg4,arg5);
24582   return Qnil;
24583 fail:
24584   return Qnil;
24585 }
24586
24587
24588 SWIGINTERN VALUE
24589 _wrap_pdbRotationFollowingEulerAngleInverse(int argc, VALUE *argv, VALUE self) {
24590   pdbFile *arg1 = (pdbFile *) 0 ;
24591   char *arg2 ;
24592   pdbFileParaTypeReal arg3 ;
24593   pdbFileParaTypeReal arg4 ;
24594   pdbFileParaTypeReal arg5 ;
24595   void *argp1 = 0 ;
24596   int res1 = 0 ;
24597   char temp2[4] ;
24598   int res2 ;
24599   float val3 ;
24600   int ecode3 = 0 ;
24601   float val4 ;
24602   int ecode4 = 0 ;
24603   float val5 ;
24604   int ecode5 = 0 ;
24605   
24606   if ((argc < 5) || (argc > 5)) {
24607     rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
24608   }
24609   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24610   if (!SWIG_IsOK(res1)) {
24611     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbRotationFollowingEulerAngleInverse", 1, argv[0] )); 
24612   }
24613   arg1 = (pdbFile *)(argp1);
24614   res2 = SWIG_AsCharArray(argv[1], temp2, 4);
24615   if (!SWIG_IsOK(res2)) {
24616     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","pdbRotationFollowingEulerAngleInverse", 2, argv[1] ));
24617   }
24618   arg2 = (char *)(temp2);
24619   ecode3 = SWIG_AsVal_float(argv[2], &val3);
24620   if (!SWIG_IsOK(ecode3)) {
24621     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationFollowingEulerAngleInverse", 3, argv[2] ));
24622   } 
24623   arg3 = (pdbFileParaTypeReal)(val3);
24624   ecode4 = SWIG_AsVal_float(argv[3], &val4);
24625   if (!SWIG_IsOK(ecode4)) {
24626     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationFollowingEulerAngleInverse", 4, argv[3] ));
24627   } 
24628   arg4 = (pdbFileParaTypeReal)(val4);
24629   ecode5 = SWIG_AsVal_float(argv[4], &val5);
24630   if (!SWIG_IsOK(ecode5)) {
24631     SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationFollowingEulerAngleInverse", 5, argv[4] ));
24632   } 
24633   arg5 = (pdbFileParaTypeReal)(val5);
24634   pdbRotationFollowingEulerAngleInverse(arg1,arg2,arg3,arg4,arg5);
24635   return Qnil;
24636 fail:
24637   return Qnil;
24638 }
24639
24640
24641 SWIGINTERN VALUE
24642 _wrap_pdbRotationXYZ(int argc, VALUE *argv, VALUE self) {
24643   pdbFile *arg1 = (pdbFile *) 0 ;
24644   pdbFileParaTypeReal arg2 ;
24645   pdbFileParaTypeReal arg3 ;
24646   pdbFileParaTypeReal arg4 ;
24647   void *argp1 = 0 ;
24648   int res1 = 0 ;
24649   float val2 ;
24650   int ecode2 = 0 ;
24651   float val3 ;
24652   int ecode3 = 0 ;
24653   float val4 ;
24654   int ecode4 = 0 ;
24655   
24656   if ((argc < 4) || (argc > 4)) {
24657     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
24658   }
24659   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24660   if (!SWIG_IsOK(res1)) {
24661     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbRotationXYZ", 1, argv[0] )); 
24662   }
24663   arg1 = (pdbFile *)(argp1);
24664   ecode2 = SWIG_AsVal_float(argv[1], &val2);
24665   if (!SWIG_IsOK(ecode2)) {
24666     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationXYZ", 2, argv[1] ));
24667   } 
24668   arg2 = (pdbFileParaTypeReal)(val2);
24669   ecode3 = SWIG_AsVal_float(argv[2], &val3);
24670   if (!SWIG_IsOK(ecode3)) {
24671     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationXYZ", 3, argv[2] ));
24672   } 
24673   arg3 = (pdbFileParaTypeReal)(val3);
24674   ecode4 = SWIG_AsVal_float(argv[3], &val4);
24675   if (!SWIG_IsOK(ecode4)) {
24676     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationXYZ", 4, argv[3] ));
24677   } 
24678   arg4 = (pdbFileParaTypeReal)(val4);
24679   pdbRotationXYZ(arg1,arg2,arg3,arg4);
24680   return Qnil;
24681 fail:
24682   return Qnil;
24683 }
24684
24685
24686 SWIGINTERN VALUE
24687 _wrap_pdbRotationZYX(int argc, VALUE *argv, VALUE self) {
24688   pdbFile *arg1 = (pdbFile *) 0 ;
24689   pdbFileParaTypeReal arg2 ;
24690   pdbFileParaTypeReal arg3 ;
24691   pdbFileParaTypeReal arg4 ;
24692   void *argp1 = 0 ;
24693   int res1 = 0 ;
24694   float val2 ;
24695   int ecode2 = 0 ;
24696   float val3 ;
24697   int ecode3 = 0 ;
24698   float val4 ;
24699   int ecode4 = 0 ;
24700   
24701   if ((argc < 4) || (argc > 4)) {
24702     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
24703   }
24704   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24705   if (!SWIG_IsOK(res1)) {
24706     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbRotationZYX", 1, argv[0] )); 
24707   }
24708   arg1 = (pdbFile *)(argp1);
24709   ecode2 = SWIG_AsVal_float(argv[1], &val2);
24710   if (!SWIG_IsOK(ecode2)) {
24711     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationZYX", 2, argv[1] ));
24712   } 
24713   arg2 = (pdbFileParaTypeReal)(val2);
24714   ecode3 = SWIG_AsVal_float(argv[2], &val3);
24715   if (!SWIG_IsOK(ecode3)) {
24716     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationZYX", 3, argv[2] ));
24717   } 
24718   arg3 = (pdbFileParaTypeReal)(val3);
24719   ecode4 = SWIG_AsVal_float(argv[3], &val4);
24720   if (!SWIG_IsOK(ecode4)) {
24721     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationZYX", 4, argv[3] ));
24722   } 
24723   arg4 = (pdbFileParaTypeReal)(val4);
24724   pdbRotationZYX(arg1,arg2,arg3,arg4);
24725   return Qnil;
24726 fail:
24727   return Qnil;
24728 }
24729
24730
24731 SWIGINTERN VALUE
24732 _wrap_pdbRotationZXY(int argc, VALUE *argv, VALUE self) {
24733   pdbFile *arg1 = (pdbFile *) 0 ;
24734   pdbFileParaTypeReal arg2 ;
24735   pdbFileParaTypeReal arg3 ;
24736   pdbFileParaTypeReal arg4 ;
24737   void *argp1 = 0 ;
24738   int res1 = 0 ;
24739   float val2 ;
24740   int ecode2 = 0 ;
24741   float val3 ;
24742   int ecode3 = 0 ;
24743   float val4 ;
24744   int ecode4 = 0 ;
24745   
24746   if ((argc < 4) || (argc > 4)) {
24747     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
24748   }
24749   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24750   if (!SWIG_IsOK(res1)) {
24751     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbRotationZXY", 1, argv[0] )); 
24752   }
24753   arg1 = (pdbFile *)(argp1);
24754   ecode2 = SWIG_AsVal_float(argv[1], &val2);
24755   if (!SWIG_IsOK(ecode2)) {
24756     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationZXY", 2, argv[1] ));
24757   } 
24758   arg2 = (pdbFileParaTypeReal)(val2);
24759   ecode3 = SWIG_AsVal_float(argv[2], &val3);
24760   if (!SWIG_IsOK(ecode3)) {
24761     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationZXY", 3, argv[2] ));
24762   } 
24763   arg3 = (pdbFileParaTypeReal)(val3);
24764   ecode4 = SWIG_AsVal_float(argv[3], &val4);
24765   if (!SWIG_IsOK(ecode4)) {
24766     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationZXY", 4, argv[3] ));
24767   } 
24768   arg4 = (pdbFileParaTypeReal)(val4);
24769   pdbRotationZXY(arg1,arg2,arg3,arg4);
24770   return Qnil;
24771 fail:
24772   return Qnil;
24773 }
24774
24775
24776 SWIGINTERN VALUE
24777 _wrap_pdbRotationYXZ(int argc, VALUE *argv, VALUE self) {
24778   pdbFile *arg1 = (pdbFile *) 0 ;
24779   pdbFileParaTypeReal arg2 ;
24780   pdbFileParaTypeReal arg3 ;
24781   pdbFileParaTypeReal arg4 ;
24782   void *argp1 = 0 ;
24783   int res1 = 0 ;
24784   float val2 ;
24785   int ecode2 = 0 ;
24786   float val3 ;
24787   int ecode3 = 0 ;
24788   float val4 ;
24789   int ecode4 = 0 ;
24790   
24791   if ((argc < 4) || (argc > 4)) {
24792     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
24793   }
24794   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24795   if (!SWIG_IsOK(res1)) {
24796     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbRotationYXZ", 1, argv[0] )); 
24797   }
24798   arg1 = (pdbFile *)(argp1);
24799   ecode2 = SWIG_AsVal_float(argv[1], &val2);
24800   if (!SWIG_IsOK(ecode2)) {
24801     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationYXZ", 2, argv[1] ));
24802   } 
24803   arg2 = (pdbFileParaTypeReal)(val2);
24804   ecode3 = SWIG_AsVal_float(argv[2], &val3);
24805   if (!SWIG_IsOK(ecode3)) {
24806     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationYXZ", 3, argv[2] ));
24807   } 
24808   arg3 = (pdbFileParaTypeReal)(val3);
24809   ecode4 = SWIG_AsVal_float(argv[3], &val4);
24810   if (!SWIG_IsOK(ecode4)) {
24811     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","pdbRotationYXZ", 4, argv[3] ));
24812   } 
24813   arg4 = (pdbFileParaTypeReal)(val4);
24814   pdbRotationYXZ(arg1,arg2,arg3,arg4);
24815   return Qnil;
24816 fail:
24817   return Qnil;
24818 }
24819
24820
24821 SWIGINTERN VALUE
24822 _wrap_pdbSecondaryStructureSetFromPDB(int argc, VALUE *argv, VALUE self) {
24823   pdbFile *arg1 = (pdbFile *) 0 ;
24824   pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
24825   void *argp1 = 0 ;
24826   int res1 = 0 ;
24827   void *argp2 = 0 ;
24828   int res2 = 0 ;
24829   int result;
24830   VALUE vresult = Qnil;
24831   
24832   if ((argc < 2) || (argc > 2)) {
24833     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24834   }
24835   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24836   if (!SWIG_IsOK(res1)) {
24837     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbSecondaryStructureSetFromPDB", 1, argv[0] )); 
24838   }
24839   arg1 = (pdbFile *)(argp1);
24840   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
24841   if (!SWIG_IsOK(res2)) {
24842     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","pdbSecondaryStructureSetFromPDB", 2, argv[1] )); 
24843   }
24844   arg2 = (pdbFileSecondaryStructure *)(argp2);
24845   result = (int)pdbSecondaryStructureSetFromPDB(arg1,arg2);
24846   vresult = SWIG_From_int((int)(result));
24847   return vresult;
24848 fail:
24849   return Qnil;
24850 }
24851
24852
24853 SWIGINTERN VALUE
24854 _wrap_pdbNoSecondaryStructureSetFromPDB(int argc, VALUE *argv, VALUE self) {
24855   pdbFile *arg1 = (pdbFile *) 0 ;
24856   pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
24857   void *argp1 = 0 ;
24858   int res1 = 0 ;
24859   void *argp2 = 0 ;
24860   int res2 = 0 ;
24861   int result;
24862   VALUE vresult = Qnil;
24863   
24864   if ((argc < 2) || (argc > 2)) {
24865     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24866   }
24867   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24868   if (!SWIG_IsOK(res1)) {
24869     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbNoSecondaryStructureSetFromPDB", 1, argv[0] )); 
24870   }
24871   arg1 = (pdbFile *)(argp1);
24872   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
24873   if (!SWIG_IsOK(res2)) {
24874     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","pdbNoSecondaryStructureSetFromPDB", 2, argv[1] )); 
24875   }
24876   arg2 = (pdbFileSecondaryStructure *)(argp2);
24877   result = (int)pdbNoSecondaryStructureSetFromPDB(arg1,arg2);
24878   vresult = SWIG_From_int((int)(result));
24879   return vresult;
24880 fail:
24881   return Qnil;
24882 }
24883
24884
24885 SWIGINTERN VALUE
24886 _wrap_pdbSecondaryStructureAppend(int argc, VALUE *argv, VALUE self) {
24887   pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
24888   void *argp1 = 0 ;
24889   int res1 = 0 ;
24890   int result;
24891   VALUE vresult = Qnil;
24892   
24893   if ((argc < 1) || (argc > 1)) {
24894     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24895   }
24896   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
24897   if (!SWIG_IsOK(res1)) {
24898     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","pdbSecondaryStructureAppend", 1, argv[0] )); 
24899   }
24900   arg1 = (pdbFileSecondaryStructure *)(argp1);
24901   result = (int)pdbSecondaryStructureAppend(arg1);
24902   vresult = SWIG_From_int((int)(result));
24903   return vresult;
24904 fail:
24905   return Qnil;
24906 }
24907
24908
24909 SWIGINTERN VALUE
24910 _wrap_pdbFileWithSecondaryStructure(int argc, VALUE *argv, VALUE self) {
24911   pdbFile *arg1 = (pdbFile *) 0 ;
24912   pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
24913   void *argp1 = 0 ;
24914   int res1 = 0 ;
24915   void *argp2 = 0 ;
24916   int res2 = 0 ;
24917   pdbFileSecondaryStructureMode result;
24918   VALUE vresult = Qnil;
24919   
24920   if ((argc < 2) || (argc > 2)) {
24921     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
24922   }
24923   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
24924   if (!SWIG_IsOK(res1)) {
24925     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","pdbFileWithSecondaryStructure", 1, argv[0] )); 
24926   }
24927   arg1 = (pdbFile *)(argp1);
24928   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_pdbFileSecondaryStructure, 0 |  0 );
24929   if (!SWIG_IsOK(res2)) {
24930     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","pdbFileWithSecondaryStructure", 2, argv[1] )); 
24931   }
24932   arg2 = (pdbFileSecondaryStructure *)(argp2);
24933   result = (pdbFileSecondaryStructureMode)pdbFileWithSecondaryStructure(arg1,arg2);
24934   vresult = SWIG_From_int((int)(result));
24935   return vresult;
24936 fail:
24937   return Qnil;
24938 }
24939
24940
24941 swig_class cMolvieInfo;
24942
24943 SWIGINTERN VALUE
24944 _wrap_molvieInfo_flagRedirect_set(int argc, VALUE *argv, VALUE self) {
24945   molvieInfo *arg1 = (molvieInfo *) 0 ;
24946   long arg2 ;
24947   void *argp1 = 0 ;
24948   int res1 = 0 ;
24949   long val2 ;
24950   int ecode2 = 0 ;
24951   
24952   if ((argc < 1) || (argc > 1)) {
24953     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
24954   }
24955   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
24956   if (!SWIG_IsOK(res1)) {
24957     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagRedirect", 1, self )); 
24958   }
24959   arg1 = (molvieInfo *)(argp1);
24960   ecode2 = SWIG_AsVal_long(argv[0], &val2);
24961   if (!SWIG_IsOK(ecode2)) {
24962     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagRedirect", 2, argv[0] ));
24963   } 
24964   arg2 = (long)(val2);
24965   if (arg1) (arg1)->flagRedirect = arg2;
24966   return Qnil;
24967 fail:
24968   return Qnil;
24969 }
24970
24971
24972 SWIGINTERN VALUE
24973 _wrap_molvieInfo_flagRedirect_get(int argc, VALUE *argv, VALUE self) {
24974   molvieInfo *arg1 = (molvieInfo *) 0 ;
24975   void *argp1 = 0 ;
24976   int res1 = 0 ;
24977   long result;
24978   VALUE vresult = Qnil;
24979   
24980   if ((argc < 0) || (argc > 0)) {
24981     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
24982   }
24983   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
24984   if (!SWIG_IsOK(res1)) {
24985     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagRedirect", 1, self )); 
24986   }
24987   arg1 = (molvieInfo *)(argp1);
24988   result = (long) ((arg1)->flagRedirect);
24989   vresult = SWIG_From_long((long)(result));
24990   return vresult;
24991 fail:
24992   return Qnil;
24993 }
24994
24995
24996 SWIGINTERN VALUE
24997 _wrap_molvieInfo_flagIn_set(int argc, VALUE *argv, VALUE self) {
24998   molvieInfo *arg1 = (molvieInfo *) 0 ;
24999   long arg2 ;
25000   void *argp1 = 0 ;
25001   int res1 = 0 ;
25002   long val2 ;
25003   int ecode2 = 0 ;
25004   
25005   if ((argc < 1) || (argc > 1)) {
25006     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25007   }
25008   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25009   if (!SWIG_IsOK(res1)) {
25010     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagIn", 1, self )); 
25011   }
25012   arg1 = (molvieInfo *)(argp1);
25013   ecode2 = SWIG_AsVal_long(argv[0], &val2);
25014   if (!SWIG_IsOK(ecode2)) {
25015     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagIn", 2, argv[0] ));
25016   } 
25017   arg2 = (long)(val2);
25018   if (arg1) (arg1)->flagIn = arg2;
25019   return Qnil;
25020 fail:
25021   return Qnil;
25022 }
25023
25024
25025 SWIGINTERN VALUE
25026 _wrap_molvieInfo_flagIn_get(int argc, VALUE *argv, VALUE self) {
25027   molvieInfo *arg1 = (molvieInfo *) 0 ;
25028   void *argp1 = 0 ;
25029   int res1 = 0 ;
25030   long result;
25031   VALUE vresult = Qnil;
25032   
25033   if ((argc < 0) || (argc > 0)) {
25034     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25035   }
25036   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25037   if (!SWIG_IsOK(res1)) {
25038     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagIn", 1, self )); 
25039   }
25040   arg1 = (molvieInfo *)(argp1);
25041   result = (long) ((arg1)->flagIn);
25042   vresult = SWIG_From_long((long)(result));
25043   return vresult;
25044 fail:
25045   return Qnil;
25046 }
25047
25048
25049 SWIGINTERN VALUE
25050 _wrap_molvieInfo_In_set(int argc, VALUE *argv, VALUE self) {
25051   molvieInfo *arg1 = (molvieInfo *) 0 ;
25052   char *arg2 = (char *) 0 ;
25053   void *argp1 = 0 ;
25054   int res1 = 0 ;
25055   int res2 ;
25056   char *buf2 = 0 ;
25057   int alloc2 = 0 ;
25058   
25059   if ((argc < 1) || (argc > 1)) {
25060     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25061   }
25062   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25063   if (!SWIG_IsOK(res1)) {
25064     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","In", 1, self )); 
25065   }
25066   arg1 = (molvieInfo *)(argp1);
25067   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25068   if (!SWIG_IsOK(res2)) {
25069     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","In", 2, argv[0] ));
25070   }
25071   arg2 = (char *)(buf2);
25072   if (arg1->In) free((char*)arg1->In);
25073   if (arg2) {
25074     size_t size = strlen((const char *)(arg2)) + 1;
25075     arg1->In = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
25076   } else {
25077     arg1->In = 0;
25078   }
25079   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25080   return Qnil;
25081 fail:
25082   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25083   return Qnil;
25084 }
25085
25086
25087 SWIGINTERN VALUE
25088 _wrap_molvieInfo_In_get(int argc, VALUE *argv, VALUE self) {
25089   molvieInfo *arg1 = (molvieInfo *) 0 ;
25090   void *argp1 = 0 ;
25091   int res1 = 0 ;
25092   char *result = 0 ;
25093   VALUE vresult = Qnil;
25094   
25095   if ((argc < 0) || (argc > 0)) {
25096     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25097   }
25098   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25099   if (!SWIG_IsOK(res1)) {
25100     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","In", 1, self )); 
25101   }
25102   arg1 = (molvieInfo *)(argp1);
25103   result = (char *) ((arg1)->In);
25104   vresult = SWIG_FromCharPtr((const char *)result);
25105   return vresult;
25106 fail:
25107   return Qnil;
25108 }
25109
25110
25111 SWIGINTERN VALUE
25112 _wrap_molvieInfo_fptIn_set(int argc, VALUE *argv, VALUE self) {
25113   molvieInfo *arg1 = (molvieInfo *) 0 ;
25114   FILE *arg2 = (FILE *) 0 ;
25115   void *argp1 = 0 ;
25116   int res1 = 0 ;
25117   void *argp2 = 0 ;
25118   int res2 = 0 ;
25119   
25120   if ((argc < 1) || (argc > 1)) {
25121     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25122   }
25123   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25124   if (!SWIG_IsOK(res1)) {
25125     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptIn", 1, self )); 
25126   }
25127   arg1 = (molvieInfo *)(argp1);
25128   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FILE, SWIG_POINTER_DISOWN |  0 );
25129   if (!SWIG_IsOK(res2)) {
25130     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","fptIn", 2, argv[0] )); 
25131   }
25132   arg2 = (FILE *)(argp2);
25133   if (arg1) (arg1)->fptIn = arg2;
25134   return Qnil;
25135 fail:
25136   return Qnil;
25137 }
25138
25139
25140 SWIGINTERN VALUE
25141 _wrap_molvieInfo_fptIn_get(int argc, VALUE *argv, VALUE self) {
25142   molvieInfo *arg1 = (molvieInfo *) 0 ;
25143   void *argp1 = 0 ;
25144   int res1 = 0 ;
25145   FILE *result = 0 ;
25146   VALUE vresult = Qnil;
25147   
25148   if ((argc < 0) || (argc > 0)) {
25149     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25150   }
25151   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25152   if (!SWIG_IsOK(res1)) {
25153     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptIn", 1, self )); 
25154   }
25155   arg1 = (molvieInfo *)(argp1);
25156   result = (FILE *) ((arg1)->fptIn);
25157   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 |  0 );
25158   return vresult;
25159 fail:
25160   return Qnil;
25161 }
25162
25163
25164 SWIGINTERN VALUE
25165 _wrap_molvieInfo_flagOut_set(int argc, VALUE *argv, VALUE self) {
25166   molvieInfo *arg1 = (molvieInfo *) 0 ;
25167   long arg2 ;
25168   void *argp1 = 0 ;
25169   int res1 = 0 ;
25170   long val2 ;
25171   int ecode2 = 0 ;
25172   
25173   if ((argc < 1) || (argc > 1)) {
25174     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25175   }
25176   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25177   if (!SWIG_IsOK(res1)) {
25178     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagOut", 1, self )); 
25179   }
25180   arg1 = (molvieInfo *)(argp1);
25181   ecode2 = SWIG_AsVal_long(argv[0], &val2);
25182   if (!SWIG_IsOK(ecode2)) {
25183     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagOut", 2, argv[0] ));
25184   } 
25185   arg2 = (long)(val2);
25186   if (arg1) (arg1)->flagOut = arg2;
25187   return Qnil;
25188 fail:
25189   return Qnil;
25190 }
25191
25192
25193 SWIGINTERN VALUE
25194 _wrap_molvieInfo_flagOut_get(int argc, VALUE *argv, VALUE self) {
25195   molvieInfo *arg1 = (molvieInfo *) 0 ;
25196   void *argp1 = 0 ;
25197   int res1 = 0 ;
25198   long result;
25199   VALUE vresult = Qnil;
25200   
25201   if ((argc < 0) || (argc > 0)) {
25202     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25203   }
25204   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25205   if (!SWIG_IsOK(res1)) {
25206     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagOut", 1, self )); 
25207   }
25208   arg1 = (molvieInfo *)(argp1);
25209   result = (long) ((arg1)->flagOut);
25210   vresult = SWIG_From_long((long)(result));
25211   return vresult;
25212 fail:
25213   return Qnil;
25214 }
25215
25216
25217 SWIGINTERN VALUE
25218 _wrap_molvieInfo_Out_set(int argc, VALUE *argv, VALUE self) {
25219   molvieInfo *arg1 = (molvieInfo *) 0 ;
25220   char *arg2 = (char *) 0 ;
25221   void *argp1 = 0 ;
25222   int res1 = 0 ;
25223   int res2 ;
25224   char *buf2 = 0 ;
25225   int alloc2 = 0 ;
25226   
25227   if ((argc < 1) || (argc > 1)) {
25228     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25229   }
25230   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25231   if (!SWIG_IsOK(res1)) {
25232     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","Out", 1, self )); 
25233   }
25234   arg1 = (molvieInfo *)(argp1);
25235   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25236   if (!SWIG_IsOK(res2)) {
25237     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","Out", 2, argv[0] ));
25238   }
25239   arg2 = (char *)(buf2);
25240   if (arg1->Out) free((char*)arg1->Out);
25241   if (arg2) {
25242     size_t size = strlen((const char *)(arg2)) + 1;
25243     arg1->Out = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
25244   } else {
25245     arg1->Out = 0;
25246   }
25247   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25248   return Qnil;
25249 fail:
25250   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25251   return Qnil;
25252 }
25253
25254
25255 SWIGINTERN VALUE
25256 _wrap_molvieInfo_Out_get(int argc, VALUE *argv, VALUE self) {
25257   molvieInfo *arg1 = (molvieInfo *) 0 ;
25258   void *argp1 = 0 ;
25259   int res1 = 0 ;
25260   char *result = 0 ;
25261   VALUE vresult = Qnil;
25262   
25263   if ((argc < 0) || (argc > 0)) {
25264     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25265   }
25266   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25267   if (!SWIG_IsOK(res1)) {
25268     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","Out", 1, self )); 
25269   }
25270   arg1 = (molvieInfo *)(argp1);
25271   result = (char *) ((arg1)->Out);
25272   vresult = SWIG_FromCharPtr((const char *)result);
25273   return vresult;
25274 fail:
25275   return Qnil;
25276 }
25277
25278
25279 SWIGINTERN VALUE
25280 _wrap_molvieInfo_fptOut_set(int argc, VALUE *argv, VALUE self) {
25281   molvieInfo *arg1 = (molvieInfo *) 0 ;
25282   FILE *arg2 = (FILE *) 0 ;
25283   void *argp1 = 0 ;
25284   int res1 = 0 ;
25285   void *argp2 = 0 ;
25286   int res2 = 0 ;
25287   
25288   if ((argc < 1) || (argc > 1)) {
25289     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25290   }
25291   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25292   if (!SWIG_IsOK(res1)) {
25293     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptOut", 1, self )); 
25294   }
25295   arg1 = (molvieInfo *)(argp1);
25296   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FILE, SWIG_POINTER_DISOWN |  0 );
25297   if (!SWIG_IsOK(res2)) {
25298     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","fptOut", 2, argv[0] )); 
25299   }
25300   arg2 = (FILE *)(argp2);
25301   if (arg1) (arg1)->fptOut = arg2;
25302   return Qnil;
25303 fail:
25304   return Qnil;
25305 }
25306
25307
25308 SWIGINTERN VALUE
25309 _wrap_molvieInfo_fptOut_get(int argc, VALUE *argv, VALUE self) {
25310   molvieInfo *arg1 = (molvieInfo *) 0 ;
25311   void *argp1 = 0 ;
25312   int res1 = 0 ;
25313   FILE *result = 0 ;
25314   VALUE vresult = Qnil;
25315   
25316   if ((argc < 0) || (argc > 0)) {
25317     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25318   }
25319   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25320   if (!SWIG_IsOK(res1)) {
25321     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptOut", 1, self )); 
25322   }
25323   arg1 = (molvieInfo *)(argp1);
25324   result = (FILE *) ((arg1)->fptOut);
25325   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 |  0 );
25326   return vresult;
25327 fail:
25328   return Qnil;
25329 }
25330
25331
25332 SWIGINTERN VALUE
25333 _wrap_molvieInfo_flagconfigFile_set(int argc, VALUE *argv, VALUE self) {
25334   molvieInfo *arg1 = (molvieInfo *) 0 ;
25335   long arg2 ;
25336   void *argp1 = 0 ;
25337   int res1 = 0 ;
25338   long val2 ;
25339   int ecode2 = 0 ;
25340   
25341   if ((argc < 1) || (argc > 1)) {
25342     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25343   }
25344   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25345   if (!SWIG_IsOK(res1)) {
25346     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagconfigFile", 1, self )); 
25347   }
25348   arg1 = (molvieInfo *)(argp1);
25349   ecode2 = SWIG_AsVal_long(argv[0], &val2);
25350   if (!SWIG_IsOK(ecode2)) {
25351     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagconfigFile", 2, argv[0] ));
25352   } 
25353   arg2 = (long)(val2);
25354   if (arg1) (arg1)->flagconfigFile = arg2;
25355   return Qnil;
25356 fail:
25357   return Qnil;
25358 }
25359
25360
25361 SWIGINTERN VALUE
25362 _wrap_molvieInfo_flagconfigFile_get(int argc, VALUE *argv, VALUE self) {
25363   molvieInfo *arg1 = (molvieInfo *) 0 ;
25364   void *argp1 = 0 ;
25365   int res1 = 0 ;
25366   long result;
25367   VALUE vresult = Qnil;
25368   
25369   if ((argc < 0) || (argc > 0)) {
25370     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25371   }
25372   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25373   if (!SWIG_IsOK(res1)) {
25374     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagconfigFile", 1, self )); 
25375   }
25376   arg1 = (molvieInfo *)(argp1);
25377   result = (long) ((arg1)->flagconfigFile);
25378   vresult = SWIG_From_long((long)(result));
25379   return vresult;
25380 fail:
25381   return Qnil;
25382 }
25383
25384
25385 SWIGINTERN VALUE
25386 _wrap_molvieInfo_configFile_set(int argc, VALUE *argv, VALUE self) {
25387   molvieInfo *arg1 = (molvieInfo *) 0 ;
25388   char *arg2 = (char *) 0 ;
25389   void *argp1 = 0 ;
25390   int res1 = 0 ;
25391   int res2 ;
25392   char *buf2 = 0 ;
25393   int alloc2 = 0 ;
25394   
25395   if ((argc < 1) || (argc > 1)) {
25396     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25397   }
25398   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25399   if (!SWIG_IsOK(res1)) {
25400     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","configFile", 1, self )); 
25401   }
25402   arg1 = (molvieInfo *)(argp1);
25403   res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25404   if (!SWIG_IsOK(res2)) {
25405     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","configFile", 2, argv[0] ));
25406   }
25407   arg2 = (char *)(buf2);
25408   if (arg1->configFile) free((char*)arg1->configFile);
25409   if (arg2) {
25410     size_t size = strlen((const char *)(arg2)) + 1;
25411     arg1->configFile = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
25412   } else {
25413     arg1->configFile = 0;
25414   }
25415   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25416   return Qnil;
25417 fail:
25418   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25419   return Qnil;
25420 }
25421
25422
25423 SWIGINTERN VALUE
25424 _wrap_molvieInfo_configFile_get(int argc, VALUE *argv, VALUE self) {
25425   molvieInfo *arg1 = (molvieInfo *) 0 ;
25426   void *argp1 = 0 ;
25427   int res1 = 0 ;
25428   char *result = 0 ;
25429   VALUE vresult = Qnil;
25430   
25431   if ((argc < 0) || (argc > 0)) {
25432     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25433   }
25434   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25435   if (!SWIG_IsOK(res1)) {
25436     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","configFile", 1, self )); 
25437   }
25438   arg1 = (molvieInfo *)(argp1);
25439   result = (char *) ((arg1)->configFile);
25440   vresult = SWIG_FromCharPtr((const char *)result);
25441   return vresult;
25442 fail:
25443   return Qnil;
25444 }
25445
25446
25447 SWIGINTERN VALUE
25448 _wrap_molvieInfo_fptconfigFile_set(int argc, VALUE *argv, VALUE self) {
25449   molvieInfo *arg1 = (molvieInfo *) 0 ;
25450   FILE *arg2 = (FILE *) 0 ;
25451   void *argp1 = 0 ;
25452   int res1 = 0 ;
25453   void *argp2 = 0 ;
25454   int res2 = 0 ;
25455   
25456   if ((argc < 1) || (argc > 1)) {
25457     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25458   }
25459   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25460   if (!SWIG_IsOK(res1)) {
25461     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptconfigFile", 1, self )); 
25462   }
25463   arg1 = (molvieInfo *)(argp1);
25464   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FILE, SWIG_POINTER_DISOWN |  0 );
25465   if (!SWIG_IsOK(res2)) {
25466     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","fptconfigFile", 2, argv[0] )); 
25467   }
25468   arg2 = (FILE *)(argp2);
25469   if (arg1) (arg1)->fptconfigFile = arg2;
25470   return Qnil;
25471 fail:
25472   return Qnil;
25473 }
25474
25475
25476 SWIGINTERN VALUE
25477 _wrap_molvieInfo_fptconfigFile_get(int argc, VALUE *argv, VALUE self) {
25478   molvieInfo *arg1 = (molvieInfo *) 0 ;
25479   void *argp1 = 0 ;
25480   int res1 = 0 ;
25481   FILE *result = 0 ;
25482   VALUE vresult = Qnil;
25483   
25484   if ((argc < 0) || (argc > 0)) {
25485     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25486   }
25487   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25488   if (!SWIG_IsOK(res1)) {
25489     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptconfigFile", 1, self )); 
25490   }
25491   arg1 = (molvieInfo *)(argp1);
25492   result = (FILE *) ((arg1)->fptconfigFile);
25493   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 |  0 );
25494   return vresult;
25495 fail:
25496   return Qnil;
25497 }
25498
25499
25500 SWIGINTERN VALUE
25501 _wrap_molvieInfo_flagmode_set(int argc, VALUE *argv, VALUE self) {
25502   molvieInfo *arg1 = (molvieInfo *) 0 ;
25503   long arg2 ;
25504   void *argp1 = 0 ;
25505   int res1 = 0 ;
25506   long val2 ;
25507   int ecode2 = 0 ;
25508   
25509   if ((argc < 1) || (argc > 1)) {
25510     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25511   }
25512   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25513   if (!SWIG_IsOK(res1)) {
25514     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagmode", 1, self )); 
25515   }
25516   arg1 = (molvieInfo *)(argp1);
25517   ecode2 = SWIG_AsVal_long(argv[0], &val2);
25518   if (!SWIG_IsOK(ecode2)) {
25519     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagmode", 2, argv[0] ));
25520   } 
25521   arg2 = (long)(val2);
25522   if (arg1) (arg1)->flagmode = arg2;
25523   return Qnil;
25524 fail:
25525   return Qnil;
25526 }
25527
25528
25529 SWIGINTERN VALUE
25530 _wrap_molvieInfo_flagmode_get(int argc, VALUE *argv, VALUE self) {
25531   molvieInfo *arg1 = (molvieInfo *) 0 ;
25532   void *argp1 = 0 ;
25533   int res1 = 0 ;
25534   long result;
25535   VALUE vresult = Qnil;
25536   
25537   if ((argc < 0) || (argc > 0)) {
25538     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25539   }
25540   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25541   if (!SWIG_IsOK(res1)) {
25542     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagmode", 1, self )); 
25543   }
25544   arg1 = (molvieInfo *)(argp1);
25545   result = (long) ((arg1)->flagmode);
25546   vresult = SWIG_From_long((long)(result));
25547   return vresult;
25548 fail:
25549   return Qnil;
25550 }
25551
25552
25553 SWIGINTERN VALUE
25554 _wrap_molvieInfo_mode_set(int argc, VALUE *argv, VALUE self) {
25555   molvieInfo *arg1 = (molvieInfo *) 0 ;
25556   long arg2 ;
25557   void *argp1 = 0 ;
25558   int res1 = 0 ;
25559   long val2 ;
25560   int ecode2 = 0 ;
25561   
25562   if ((argc < 1) || (argc > 1)) {
25563     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25564   }
25565   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25566   if (!SWIG_IsOK(res1)) {
25567     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","mode", 1, self )); 
25568   }
25569   arg1 = (molvieInfo *)(argp1);
25570   ecode2 = SWIG_AsVal_long(argv[0], &val2);
25571   if (!SWIG_IsOK(ecode2)) {
25572     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
25573   } 
25574   arg2 = (long)(val2);
25575   if (arg1) (arg1)->mode = arg2;
25576   return Qnil;
25577 fail:
25578   return Qnil;
25579 }
25580
25581
25582 SWIGINTERN VALUE
25583 _wrap_molvieInfo_mode_get(int argc, VALUE *argv, VALUE self) {
25584   molvieInfo *arg1 = (molvieInfo *) 0 ;
25585   void *argp1 = 0 ;
25586   int res1 = 0 ;
25587   long result;
25588   VALUE vresult = Qnil;
25589   
25590   if ((argc < 0) || (argc > 0)) {
25591     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25592   }
25593   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 |  0 );
25594   if (!SWIG_IsOK(res1)) {
25595     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","mode", 1, self )); 
25596   }
25597   arg1 = (molvieInfo *)(argp1);
25598   result = (long) ((arg1)->mode);
25599   vresult = SWIG_From_long((long)(result));
25600   return vresult;
25601 fail:
25602   return Qnil;
25603 }
25604
25605
25606 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
25607 SWIGINTERN VALUE
25608 _wrap_molvieInfo_allocate(VALUE self) {
25609 #else
25610   SWIGINTERN VALUE
25611   _wrap_molvieInfo_allocate(int argc, VALUE *argv, VALUE self) {
25612 #endif
25613     
25614     
25615     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_molvieInfo);
25616 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
25617     rb_obj_call_init(vresult, argc, argv);
25618 #endif
25619     return vresult;
25620   }
25621   
25622
25623 SWIGINTERN VALUE
25624 _wrap_new_molvieInfo(int argc, VALUE *argv, VALUE self) {
25625   molvieInfo *result = 0 ;
25626   
25627   if ((argc < 0) || (argc > 0)) {
25628     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25629   }
25630   result = (molvieInfo *)calloc(1, sizeof(molvieInfo));
25631   DATA_PTR(self) = result;
25632   return self;
25633 fail:
25634   return Qnil;
25635 }
25636
25637
25638 SWIGINTERN void
25639 free_molvieInfo(molvieInfo *arg1) {
25640     free((char *) arg1);
25641 }
25642
25643 swig_class cCameraInfo;
25644
25645 SWIGINTERN VALUE
25646 _wrap_cameraInfo_Fovy_set(int argc, VALUE *argv, VALUE self) {
25647   cameraInfo *arg1 = (cameraInfo *) 0 ;
25648   GLdouble arg2 ;
25649   void *argp1 = 0 ;
25650   int res1 = 0 ;
25651   void *argp2 ;
25652   int res2 = 0 ;
25653   
25654   if ((argc < 1) || (argc > 1)) {
25655     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25656   }
25657   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25658   if (!SWIG_IsOK(res1)) {
25659     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Fovy", 1, self )); 
25660   }
25661   arg1 = (cameraInfo *)(argp1);
25662   {
25663     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLdouble,  0 );
25664     if (!SWIG_IsOK(res2)) {
25665       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble","Fovy", 2, argv[0] )); 
25666     }  
25667     if (!argp2) {
25668       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","Fovy", 2, argv[0]));
25669     } else {
25670       arg2 = *((GLdouble *)(argp2));
25671     }
25672   }
25673   if (arg1) (arg1)->Fovy = arg2;
25674   return Qnil;
25675 fail:
25676   return Qnil;
25677 }
25678
25679
25680 SWIGINTERN VALUE
25681 _wrap_cameraInfo_Fovy_get(int argc, VALUE *argv, VALUE self) {
25682   cameraInfo *arg1 = (cameraInfo *) 0 ;
25683   void *argp1 = 0 ;
25684   int res1 = 0 ;
25685   GLdouble result;
25686   VALUE vresult = Qnil;
25687   
25688   if ((argc < 0) || (argc > 0)) {
25689     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25690   }
25691   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25692   if (!SWIG_IsOK(res1)) {
25693     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Fovy", 1, self )); 
25694   }
25695   arg1 = (cameraInfo *)(argp1);
25696   result =  ((arg1)->Fovy);
25697   vresult = SWIG_NewPointerObj((GLdouble *)memcpy((GLdouble *)malloc(sizeof(GLdouble)),&result,sizeof(GLdouble)), SWIGTYPE_p_GLdouble, SWIG_POINTER_OWN |  0 );
25698   return vresult;
25699 fail:
25700   return Qnil;
25701 }
25702
25703
25704 SWIGINTERN VALUE
25705 _wrap_cameraInfo_Aspect_set(int argc, VALUE *argv, VALUE self) {
25706   cameraInfo *arg1 = (cameraInfo *) 0 ;
25707   GLdouble arg2 ;
25708   void *argp1 = 0 ;
25709   int res1 = 0 ;
25710   void *argp2 ;
25711   int res2 = 0 ;
25712   
25713   if ((argc < 1) || (argc > 1)) {
25714     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25715   }
25716   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25717   if (!SWIG_IsOK(res1)) {
25718     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Aspect", 1, self )); 
25719   }
25720   arg1 = (cameraInfo *)(argp1);
25721   {
25722     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLdouble,  0 );
25723     if (!SWIG_IsOK(res2)) {
25724       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble","Aspect", 2, argv[0] )); 
25725     }  
25726     if (!argp2) {
25727       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","Aspect", 2, argv[0]));
25728     } else {
25729       arg2 = *((GLdouble *)(argp2));
25730     }
25731   }
25732   if (arg1) (arg1)->Aspect = arg2;
25733   return Qnil;
25734 fail:
25735   return Qnil;
25736 }
25737
25738
25739 SWIGINTERN VALUE
25740 _wrap_cameraInfo_Aspect_get(int argc, VALUE *argv, VALUE self) {
25741   cameraInfo *arg1 = (cameraInfo *) 0 ;
25742   void *argp1 = 0 ;
25743   int res1 = 0 ;
25744   GLdouble result;
25745   VALUE vresult = Qnil;
25746   
25747   if ((argc < 0) || (argc > 0)) {
25748     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25749   }
25750   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25751   if (!SWIG_IsOK(res1)) {
25752     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Aspect", 1, self )); 
25753   }
25754   arg1 = (cameraInfo *)(argp1);
25755   result =  ((arg1)->Aspect);
25756   vresult = SWIG_NewPointerObj((GLdouble *)memcpy((GLdouble *)malloc(sizeof(GLdouble)),&result,sizeof(GLdouble)), SWIGTYPE_p_GLdouble, SWIG_POINTER_OWN |  0 );
25757   return vresult;
25758 fail:
25759   return Qnil;
25760 }
25761
25762
25763 SWIGINTERN VALUE
25764 _wrap_cameraInfo_ClipNear_set(int argc, VALUE *argv, VALUE self) {
25765   cameraInfo *arg1 = (cameraInfo *) 0 ;
25766   GLdouble arg2 ;
25767   void *argp1 = 0 ;
25768   int res1 = 0 ;
25769   void *argp2 ;
25770   int res2 = 0 ;
25771   
25772   if ((argc < 1) || (argc > 1)) {
25773     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25774   }
25775   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25776   if (!SWIG_IsOK(res1)) {
25777     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","ClipNear", 1, self )); 
25778   }
25779   arg1 = (cameraInfo *)(argp1);
25780   {
25781     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLdouble,  0 );
25782     if (!SWIG_IsOK(res2)) {
25783       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble","ClipNear", 2, argv[0] )); 
25784     }  
25785     if (!argp2) {
25786       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","ClipNear", 2, argv[0]));
25787     } else {
25788       arg2 = *((GLdouble *)(argp2));
25789     }
25790   }
25791   if (arg1) (arg1)->ClipNear = arg2;
25792   return Qnil;
25793 fail:
25794   return Qnil;
25795 }
25796
25797
25798 SWIGINTERN VALUE
25799 _wrap_cameraInfo_ClipNear_get(int argc, VALUE *argv, VALUE self) {
25800   cameraInfo *arg1 = (cameraInfo *) 0 ;
25801   void *argp1 = 0 ;
25802   int res1 = 0 ;
25803   GLdouble result;
25804   VALUE vresult = Qnil;
25805   
25806   if ((argc < 0) || (argc > 0)) {
25807     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25808   }
25809   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25810   if (!SWIG_IsOK(res1)) {
25811     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","ClipNear", 1, self )); 
25812   }
25813   arg1 = (cameraInfo *)(argp1);
25814   result =  ((arg1)->ClipNear);
25815   vresult = SWIG_NewPointerObj((GLdouble *)memcpy((GLdouble *)malloc(sizeof(GLdouble)),&result,sizeof(GLdouble)), SWIGTYPE_p_GLdouble, SWIG_POINTER_OWN |  0 );
25816   return vresult;
25817 fail:
25818   return Qnil;
25819 }
25820
25821
25822 SWIGINTERN VALUE
25823 _wrap_cameraInfo_ClipFar_set(int argc, VALUE *argv, VALUE self) {
25824   cameraInfo *arg1 = (cameraInfo *) 0 ;
25825   GLdouble arg2 ;
25826   void *argp1 = 0 ;
25827   int res1 = 0 ;
25828   void *argp2 ;
25829   int res2 = 0 ;
25830   
25831   if ((argc < 1) || (argc > 1)) {
25832     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25833   }
25834   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25835   if (!SWIG_IsOK(res1)) {
25836     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","ClipFar", 1, self )); 
25837   }
25838   arg1 = (cameraInfo *)(argp1);
25839   {
25840     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLdouble,  0 );
25841     if (!SWIG_IsOK(res2)) {
25842       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble","ClipFar", 2, argv[0] )); 
25843     }  
25844     if (!argp2) {
25845       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","ClipFar", 2, argv[0]));
25846     } else {
25847       arg2 = *((GLdouble *)(argp2));
25848     }
25849   }
25850   if (arg1) (arg1)->ClipFar = arg2;
25851   return Qnil;
25852 fail:
25853   return Qnil;
25854 }
25855
25856
25857 SWIGINTERN VALUE
25858 _wrap_cameraInfo_ClipFar_get(int argc, VALUE *argv, VALUE self) {
25859   cameraInfo *arg1 = (cameraInfo *) 0 ;
25860   void *argp1 = 0 ;
25861   int res1 = 0 ;
25862   GLdouble result;
25863   VALUE vresult = Qnil;
25864   
25865   if ((argc < 0) || (argc > 0)) {
25866     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25867   }
25868   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25869   if (!SWIG_IsOK(res1)) {
25870     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","ClipFar", 1, self )); 
25871   }
25872   arg1 = (cameraInfo *)(argp1);
25873   result =  ((arg1)->ClipFar);
25874   vresult = SWIG_NewPointerObj((GLdouble *)memcpy((GLdouble *)malloc(sizeof(GLdouble)),&result,sizeof(GLdouble)), SWIGTYPE_p_GLdouble, SWIG_POINTER_OWN |  0 );
25875   return vresult;
25876 fail:
25877   return Qnil;
25878 }
25879
25880
25881 SWIGINTERN VALUE
25882 _wrap_cameraInfo_Eye_set(int argc, VALUE *argv, VALUE self) {
25883   cameraInfo *arg1 = (cameraInfo *) 0 ;
25884   GLdouble *arg2 ;
25885   void *argp1 = 0 ;
25886   int res1 = 0 ;
25887   void *argp2 = 0 ;
25888   int res2 = 0 ;
25889   
25890   if ((argc < 1) || (argc > 1)) {
25891     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25892   }
25893   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25894   if (!SWIG_IsOK(res1)) {
25895     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Eye", 1, self )); 
25896   }
25897   arg1 = (cameraInfo *)(argp1);
25898   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_GLdouble, 0 |  0 );
25899   if (!SWIG_IsOK(res2)) {
25900     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble [3]","Eye", 2, argv[0] )); 
25901   } 
25902   arg2 = (GLdouble *)(argp2);
25903   {
25904     if (arg2) {
25905       size_t ii = 0;
25906       for (; ii < (size_t)3; ++ii) arg1->Eye[ii] = arg2[ii];
25907     } else {
25908       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Eye""' of type '""GLdouble [3]""'");
25909     }
25910   }
25911   return Qnil;
25912 fail:
25913   return Qnil;
25914 }
25915
25916
25917 SWIGINTERN VALUE
25918 _wrap_cameraInfo_Eye_get(int argc, VALUE *argv, VALUE self) {
25919   cameraInfo *arg1 = (cameraInfo *) 0 ;
25920   void *argp1 = 0 ;
25921   int res1 = 0 ;
25922   GLdouble *result = 0 ;
25923   VALUE vresult = Qnil;
25924   
25925   if ((argc < 0) || (argc > 0)) {
25926     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25927   }
25928   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25929   if (!SWIG_IsOK(res1)) {
25930     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Eye", 1, self )); 
25931   }
25932   arg1 = (cameraInfo *)(argp1);
25933   result = (GLdouble *)(GLdouble *) ((arg1)->Eye);
25934   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 |  0 );
25935   return vresult;
25936 fail:
25937   return Qnil;
25938 }
25939
25940
25941 SWIGINTERN VALUE
25942 _wrap_cameraInfo_Centre_set(int argc, VALUE *argv, VALUE self) {
25943   cameraInfo *arg1 = (cameraInfo *) 0 ;
25944   GLdouble *arg2 ;
25945   void *argp1 = 0 ;
25946   int res1 = 0 ;
25947   void *argp2 = 0 ;
25948   int res2 = 0 ;
25949   
25950   if ((argc < 1) || (argc > 1)) {
25951     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25952   }
25953   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25954   if (!SWIG_IsOK(res1)) {
25955     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Centre", 1, self )); 
25956   }
25957   arg1 = (cameraInfo *)(argp1);
25958   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_GLdouble, 0 |  0 );
25959   if (!SWIG_IsOK(res2)) {
25960     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble [3]","Centre", 2, argv[0] )); 
25961   } 
25962   arg2 = (GLdouble *)(argp2);
25963   {
25964     if (arg2) {
25965       size_t ii = 0;
25966       for (; ii < (size_t)3; ++ii) arg1->Centre[ii] = arg2[ii];
25967     } else {
25968       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Centre""' of type '""GLdouble [3]""'");
25969     }
25970   }
25971   return Qnil;
25972 fail:
25973   return Qnil;
25974 }
25975
25976
25977 SWIGINTERN VALUE
25978 _wrap_cameraInfo_Centre_get(int argc, VALUE *argv, VALUE self) {
25979   cameraInfo *arg1 = (cameraInfo *) 0 ;
25980   void *argp1 = 0 ;
25981   int res1 = 0 ;
25982   GLdouble *result = 0 ;
25983   VALUE vresult = Qnil;
25984   
25985   if ((argc < 0) || (argc > 0)) {
25986     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25987   }
25988   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
25989   if (!SWIG_IsOK(res1)) {
25990     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Centre", 1, self )); 
25991   }
25992   arg1 = (cameraInfo *)(argp1);
25993   result = (GLdouble *)(GLdouble *) ((arg1)->Centre);
25994   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 |  0 );
25995   return vresult;
25996 fail:
25997   return Qnil;
25998 }
25999
26000
26001 SWIGINTERN VALUE
26002 _wrap_cameraInfo_Up_set(int argc, VALUE *argv, VALUE self) {
26003   cameraInfo *arg1 = (cameraInfo *) 0 ;
26004   GLdouble *arg2 ;
26005   void *argp1 = 0 ;
26006   int res1 = 0 ;
26007   void *argp2 = 0 ;
26008   int res2 = 0 ;
26009   
26010   if ((argc < 1) || (argc > 1)) {
26011     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
26012   }
26013   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
26014   if (!SWIG_IsOK(res1)) {
26015     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Up", 1, self )); 
26016   }
26017   arg1 = (cameraInfo *)(argp1);
26018   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_GLdouble, 0 |  0 );
26019   if (!SWIG_IsOK(res2)) {
26020     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble [3]","Up", 2, argv[0] )); 
26021   } 
26022   arg2 = (GLdouble *)(argp2);
26023   {
26024     if (arg2) {
26025       size_t ii = 0;
26026       for (; ii < (size_t)3; ++ii) arg1->Up[ii] = arg2[ii];
26027     } else {
26028       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Up""' of type '""GLdouble [3]""'");
26029     }
26030   }
26031   return Qnil;
26032 fail:
26033   return Qnil;
26034 }
26035
26036
26037 SWIGINTERN VALUE
26038 _wrap_cameraInfo_Up_get(int argc, VALUE *argv, VALUE self) {
26039   cameraInfo *arg1 = (cameraInfo *) 0 ;
26040   void *argp1 = 0 ;
26041   int res1 = 0 ;
26042   GLdouble *result = 0 ;
26043   VALUE vresult = Qnil;
26044   
26045   if ((argc < 0) || (argc > 0)) {
26046     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26047   }
26048   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 |  0 );
26049   if (!SWIG_IsOK(res1)) {
26050     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Up", 1, self )); 
26051   }
26052   arg1 = (cameraInfo *)(argp1);
26053   result = (GLdouble *)(GLdouble *) ((arg1)->Up);
26054   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 |  0 );
26055   return vresult;
26056 fail:
26057   return Qnil;
26058 }
26059
26060
26061 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
26062 SWIGINTERN VALUE
26063 _wrap_cameraInfo_allocate(VALUE self) {
26064 #else
26065   SWIGINTERN VALUE
26066   _wrap_cameraInfo_allocate(int argc, VALUE *argv, VALUE self) {
26067 #endif
26068     
26069     
26070     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_cameraInfo);
26071 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
26072     rb_obj_call_init(vresult, argc, argv);
26073 #endif
26074     return vresult;
26075   }
26076   
26077
26078 SWIGINTERN VALUE
26079 _wrap_new_cameraInfo(int argc, VALUE *argv, VALUE self) {
26080   cameraInfo *result = 0 ;
26081   
26082   if ((argc < 0) || (argc > 0)) {
26083     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26084   }
26085   result = (cameraInfo *)calloc(1, sizeof(cameraInfo));
26086   DATA_PTR(self) = result;
26087   return self;
26088 fail:
26089   return Qnil;
26090 }
26091
26092
26093 SWIGINTERN void
26094 free_cameraInfo(cameraInfo *arg1) {
26095     free((char *) arg1);
26096 }
26097
26098 swig_class cCoord;
26099
26100 SWIGINTERN VALUE
26101 _wrap_Coord_x_set(int argc, VALUE *argv, VALUE self) {
26102   Coord *arg1 = (Coord *) 0 ;
26103   GLfloat arg2 ;
26104   void *argp1 = 0 ;
26105   int res1 = 0 ;
26106   void *argp2 ;
26107   int res2 = 0 ;
26108   
26109   if ((argc < 1) || (argc > 1)) {
26110     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
26111   }
26112   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 |  0 );
26113   if (!SWIG_IsOK(res1)) {
26114     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","x", 1, self )); 
26115   }
26116   arg1 = (Coord *)(argp1);
26117   {
26118     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
26119     if (!SWIG_IsOK(res2)) {
26120       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","x", 2, argv[0] )); 
26121     }  
26122     if (!argp2) {
26123       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","x", 2, argv[0]));
26124     } else {
26125       arg2 = *((GLfloat *)(argp2));
26126     }
26127   }
26128   if (arg1) (arg1)->x = arg2;
26129   return Qnil;
26130 fail:
26131   return Qnil;
26132 }
26133
26134
26135 SWIGINTERN VALUE
26136 _wrap_Coord_x_get(int argc, VALUE *argv, VALUE self) {
26137   Coord *arg1 = (Coord *) 0 ;
26138   void *argp1 = 0 ;
26139   int res1 = 0 ;
26140   GLfloat result;
26141   VALUE vresult = Qnil;
26142   
26143   if ((argc < 0) || (argc > 0)) {
26144     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26145   }
26146   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 |  0 );
26147   if (!SWIG_IsOK(res1)) {
26148     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","x", 1, self )); 
26149   }
26150   arg1 = (Coord *)(argp1);
26151   result =  ((arg1)->x);
26152   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
26153   return vresult;
26154 fail:
26155   return Qnil;
26156 }
26157
26158
26159 SWIGINTERN VALUE
26160 _wrap_Coord_y_set(int argc, VALUE *argv, VALUE self) {
26161   Coord *arg1 = (Coord *) 0 ;
26162   GLfloat arg2 ;
26163   void *argp1 = 0 ;
26164   int res1 = 0 ;
26165   void *argp2 ;
26166   int res2 = 0 ;
26167   
26168   if ((argc < 1) || (argc > 1)) {
26169     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
26170   }
26171   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 |  0 );
26172   if (!SWIG_IsOK(res1)) {
26173     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","y", 1, self )); 
26174   }
26175   arg1 = (Coord *)(argp1);
26176   {
26177     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
26178     if (!SWIG_IsOK(res2)) {
26179       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","y", 2, argv[0] )); 
26180     }  
26181     if (!argp2) {
26182       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","y", 2, argv[0]));
26183     } else {
26184       arg2 = *((GLfloat *)(argp2));
26185     }
26186   }
26187   if (arg1) (arg1)->y = arg2;
26188   return Qnil;
26189 fail:
26190   return Qnil;
26191 }
26192
26193
26194 SWIGINTERN VALUE
26195 _wrap_Coord_y_get(int argc, VALUE *argv, VALUE self) {
26196   Coord *arg1 = (Coord *) 0 ;
26197   void *argp1 = 0 ;
26198   int res1 = 0 ;
26199   GLfloat result;
26200   VALUE vresult = Qnil;
26201   
26202   if ((argc < 0) || (argc > 0)) {
26203     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26204   }
26205   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 |  0 );
26206   if (!SWIG_IsOK(res1)) {
26207     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","y", 1, self )); 
26208   }
26209   arg1 = (Coord *)(argp1);
26210   result =  ((arg1)->y);
26211   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
26212   return vresult;
26213 fail:
26214   return Qnil;
26215 }
26216
26217
26218 SWIGINTERN VALUE
26219 _wrap_Coord_z_set(int argc, VALUE *argv, VALUE self) {
26220   Coord *arg1 = (Coord *) 0 ;
26221   GLfloat arg2 ;
26222   void *argp1 = 0 ;
26223   int res1 = 0 ;
26224   void *argp2 ;
26225   int res2 = 0 ;
26226   
26227   if ((argc < 1) || (argc > 1)) {
26228     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
26229   }
26230   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 |  0 );
26231   if (!SWIG_IsOK(res1)) {
26232     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","z", 1, self )); 
26233   }
26234   arg1 = (Coord *)(argp1);
26235   {
26236     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
26237     if (!SWIG_IsOK(res2)) {
26238       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","z", 2, argv[0] )); 
26239     }  
26240     if (!argp2) {
26241       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","z", 2, argv[0]));
26242     } else {
26243       arg2 = *((GLfloat *)(argp2));
26244     }
26245   }
26246   if (arg1) (arg1)->z = arg2;
26247   return Qnil;
26248 fail:
26249   return Qnil;
26250 }
26251
26252
26253 SWIGINTERN VALUE
26254 _wrap_Coord_z_get(int argc, VALUE *argv, VALUE self) {
26255   Coord *arg1 = (Coord *) 0 ;
26256   void *argp1 = 0 ;
26257   int res1 = 0 ;
26258   GLfloat result;
26259   VALUE vresult = Qnil;
26260   
26261   if ((argc < 0) || (argc > 0)) {
26262     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26263   }
26264   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 |  0 );
26265   if (!SWIG_IsOK(res1)) {
26266     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","z", 1, self )); 
26267   }
26268   arg1 = (Coord *)(argp1);
26269   result =  ((arg1)->z);
26270   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
26271   return vresult;
26272 fail:
26273   return Qnil;
26274 }
26275
26276
26277 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
26278 SWIGINTERN VALUE
26279 _wrap_Coord_allocate(VALUE self) {
26280 #else
26281   SWIGINTERN VALUE
26282   _wrap_Coord_allocate(int argc, VALUE *argv, VALUE self) {
26283 #endif
26284     
26285     
26286     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_Coord);
26287 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
26288     rb_obj_call_init(vresult, argc, argv);
26289 #endif
26290     return vresult;
26291   }
26292   
26293
26294 SWIGINTERN VALUE
26295 _wrap_new_Coord(int argc, VALUE *argv, VALUE self) {
26296   Coord *result = 0 ;
26297   
26298   if ((argc < 0) || (argc > 0)) {
26299     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26300   }
26301   result = (Coord *)calloc(1, sizeof(Coord));
26302   DATA_PTR(self) = result;
26303   return self;
26304 fail:
26305   return Qnil;
26306 }
26307
26308
26309 SWIGINTERN void
26310 free_Coord(Coord *arg1) {
26311     free((char *) arg1);
26312 }
26313
26314 SWIGINTERN VALUE
26315 _wrap_lmolviePDBread(int argc, VALUE *argv, VALUE self) {
26316   FILE *arg1 = (FILE *) 0 ;
26317   void *argp1 = 0 ;
26318   int res1 = 0 ;
26319   
26320   if ((argc < 1) || (argc > 1)) {
26321     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
26322   }
26323   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
26324   if (!SWIG_IsOK(res1)) {
26325     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","lmolviePDBread", 1, argv[0] )); 
26326   }
26327   arg1 = (FILE *)(argp1);
26328   lmolviePDBread(arg1);
26329   return Qnil;
26330 fail:
26331   return Qnil;
26332 }
26333
26334
26335 SWIGINTERN VALUE
26336 _wrap_get_pdb(int argc, VALUE *argv, VALUE self) {
26337   pdbFile *result = 0 ;
26338   VALUE vresult = Qnil;
26339   
26340   if ((argc < 0) || (argc > 0)) {
26341     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26342   }
26343   result = (pdbFile *)get_pdb();
26344   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFile, 0 |  0 );
26345   return vresult;
26346 fail:
26347   return Qnil;
26348 }
26349
26350
26351 SWIGINTERN VALUE
26352 _wrap_lmolvieInitNormal(int argc, VALUE *argv, VALUE self) {
26353   if ((argc < 0) || (argc > 0)) {
26354     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26355   }
26356   lmolvieInitNormal();
26357   return Qnil;
26358 fail:
26359   return Qnil;
26360 }
26361
26362
26363 SWIGINTERN VALUE
26364 _wrap_lmolvieIdleTest(int argc, VALUE *argv, VALUE self) {
26365   if ((argc < 0) || (argc > 0)) {
26366     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26367   }
26368   lmolvieIdleTest();
26369   return Qnil;
26370 fail:
26371   return Qnil;
26372 }
26373
26374
26375 SWIGINTERN VALUE
26376 _wrap_lmolvieIdleNormal(int argc, VALUE *argv, VALUE self) {
26377   if ((argc < 0) || (argc > 0)) {
26378     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26379   }
26380   lmolvieIdleNormal();
26381   return Qnil;
26382 fail:
26383   return Qnil;
26384 }
26385
26386
26387 SWIGINTERN VALUE
26388 _wrap_lmolvieDisplayTest(int argc, VALUE *argv, VALUE self) {
26389   if ((argc < 0) || (argc > 0)) {
26390     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26391   }
26392   lmolvieDisplayTest();
26393   return Qnil;
26394 fail:
26395   return Qnil;
26396 }
26397
26398
26399 SWIGINTERN VALUE
26400 _wrap_lmolvieDisplayNormal(int argc, VALUE *argv, VALUE self) {
26401   if ((argc < 0) || (argc > 0)) {
26402     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26403   }
26404   lmolvieDisplayNormal();
26405   return Qnil;
26406 fail:
26407   return Qnil;
26408 }
26409
26410
26411 SWIGINTERN VALUE
26412 _wrap_lmolvieReshapeNormal(int argc, VALUE *argv, VALUE self) {
26413   int arg1 ;
26414   int arg2 ;
26415   int val1 ;
26416   int ecode1 = 0 ;
26417   int val2 ;
26418   int ecode2 = 0 ;
26419   
26420   if ((argc < 2) || (argc > 2)) {
26421     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26422   }
26423   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26424   if (!SWIG_IsOK(ecode1)) {
26425     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieReshapeNormal", 1, argv[0] ));
26426   } 
26427   arg1 = (int)(val1);
26428   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26429   if (!SWIG_IsOK(ecode2)) {
26430     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieReshapeNormal", 2, argv[1] ));
26431   } 
26432   arg2 = (int)(val2);
26433   lmolvieReshapeNormal(arg1,arg2);
26434   return Qnil;
26435 fail:
26436   return Qnil;
26437 }
26438
26439
26440 SWIGINTERN VALUE
26441 _wrap_myCameraRotateY(int argc, VALUE *argv, VALUE self) {
26442   GLdouble arg1 ;
26443   void *argp1 ;
26444   int res1 = 0 ;
26445   
26446   if ((argc < 1) || (argc > 1)) {
26447     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
26448   }
26449   {
26450     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLdouble,  0 );
26451     if (!SWIG_IsOK(res1)) {
26452       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLdouble","myCameraRotateY", 1, argv[0] )); 
26453     }  
26454     if (!argp1) {
26455       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraRotateY", 1, argv[0]));
26456     } else {
26457       arg1 = *((GLdouble *)(argp1));
26458     }
26459   }
26460   myCameraRotateY(arg1);
26461   return Qnil;
26462 fail:
26463   return Qnil;
26464 }
26465
26466
26467 SWIGINTERN VALUE
26468 _wrap_lmolvieMouse(int argc, VALUE *argv, VALUE self) {
26469   int arg1 ;
26470   int arg2 ;
26471   int arg3 ;
26472   int arg4 ;
26473   int val1 ;
26474   int ecode1 = 0 ;
26475   int val2 ;
26476   int ecode2 = 0 ;
26477   int val3 ;
26478   int ecode3 = 0 ;
26479   int val4 ;
26480   int ecode4 = 0 ;
26481   
26482   if ((argc < 4) || (argc > 4)) {
26483     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
26484   }
26485   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26486   if (!SWIG_IsOK(ecode1)) {
26487     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMouse", 1, argv[0] ));
26488   } 
26489   arg1 = (int)(val1);
26490   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26491   if (!SWIG_IsOK(ecode2)) {
26492     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMouse", 2, argv[1] ));
26493   } 
26494   arg2 = (int)(val2);
26495   ecode3 = SWIG_AsVal_int(argv[2], &val3);
26496   if (!SWIG_IsOK(ecode3)) {
26497     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieMouse", 3, argv[2] ));
26498   } 
26499   arg3 = (int)(val3);
26500   ecode4 = SWIG_AsVal_int(argv[3], &val4);
26501   if (!SWIG_IsOK(ecode4)) {
26502     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","lmolvieMouse", 4, argv[3] ));
26503   } 
26504   arg4 = (int)(val4);
26505   lmolvieMouse(arg1,arg2,arg3,arg4);
26506   return Qnil;
26507 fail:
26508   return Qnil;
26509 }
26510
26511
26512 SWIGINTERN VALUE
26513 _wrap_lmolvieMouseMotion(int argc, VALUE *argv, VALUE self) {
26514   int arg1 ;
26515   int arg2 ;
26516   int val1 ;
26517   int ecode1 = 0 ;
26518   int val2 ;
26519   int ecode2 = 0 ;
26520   
26521   if ((argc < 2) || (argc > 2)) {
26522     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26523   }
26524   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26525   if (!SWIG_IsOK(ecode1)) {
26526     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMouseMotion", 1, argv[0] ));
26527   } 
26528   arg1 = (int)(val1);
26529   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26530   if (!SWIG_IsOK(ecode2)) {
26531     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMouseMotion", 2, argv[1] ));
26532   } 
26533   arg2 = (int)(val2);
26534   lmolvieMouseMotion(arg1,arg2);
26535   return Qnil;
26536 fail:
26537   return Qnil;
26538 }
26539
26540
26541 SWIGINTERN VALUE
26542 _wrap_lmolvieMousePassiveMotion(int argc, VALUE *argv, VALUE self) {
26543   int arg1 ;
26544   int arg2 ;
26545   int val1 ;
26546   int ecode1 = 0 ;
26547   int val2 ;
26548   int ecode2 = 0 ;
26549   
26550   if ((argc < 2) || (argc > 2)) {
26551     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26552   }
26553   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26554   if (!SWIG_IsOK(ecode1)) {
26555     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMousePassiveMotion", 1, argv[0] ));
26556   } 
26557   arg1 = (int)(val1);
26558   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26559   if (!SWIG_IsOK(ecode2)) {
26560     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMousePassiveMotion", 2, argv[1] ));
26561   } 
26562   arg2 = (int)(val2);
26563   lmolvieMousePassiveMotion(arg1,arg2);
26564   return Qnil;
26565 fail:
26566   return Qnil;
26567 }
26568
26569
26570 SWIGINTERN VALUE
26571 _wrap_lmolvieMouseDrive(int argc, VALUE *argv, VALUE self) {
26572   int arg1 ;
26573   int arg2 ;
26574   int arg3 ;
26575   int arg4 ;
26576   int val1 ;
26577   int ecode1 = 0 ;
26578   int val2 ;
26579   int ecode2 = 0 ;
26580   int val3 ;
26581   int ecode3 = 0 ;
26582   int val4 ;
26583   int ecode4 = 0 ;
26584   
26585   if ((argc < 4) || (argc > 4)) {
26586     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
26587   }
26588   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26589   if (!SWIG_IsOK(ecode1)) {
26590     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMouseDrive", 1, argv[0] ));
26591   } 
26592   arg1 = (int)(val1);
26593   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26594   if (!SWIG_IsOK(ecode2)) {
26595     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMouseDrive", 2, argv[1] ));
26596   } 
26597   arg2 = (int)(val2);
26598   ecode3 = SWIG_AsVal_int(argv[2], &val3);
26599   if (!SWIG_IsOK(ecode3)) {
26600     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieMouseDrive", 3, argv[2] ));
26601   } 
26602   arg3 = (int)(val3);
26603   ecode4 = SWIG_AsVal_int(argv[3], &val4);
26604   if (!SWIG_IsOK(ecode4)) {
26605     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","lmolvieMouseDrive", 4, argv[3] ));
26606   } 
26607   arg4 = (int)(val4);
26608   lmolvieMouseDrive(arg1,arg2,arg3,arg4);
26609   return Qnil;
26610 fail:
26611   return Qnil;
26612 }
26613
26614
26615 SWIGINTERN VALUE
26616 _wrap_lmolvieMouseMotionDrive(int argc, VALUE *argv, VALUE self) {
26617   int arg1 ;
26618   int arg2 ;
26619   int val1 ;
26620   int ecode1 = 0 ;
26621   int val2 ;
26622   int ecode2 = 0 ;
26623   
26624   if ((argc < 2) || (argc > 2)) {
26625     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26626   }
26627   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26628   if (!SWIG_IsOK(ecode1)) {
26629     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMouseMotionDrive", 1, argv[0] ));
26630   } 
26631   arg1 = (int)(val1);
26632   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26633   if (!SWIG_IsOK(ecode2)) {
26634     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMouseMotionDrive", 2, argv[1] ));
26635   } 
26636   arg2 = (int)(val2);
26637   lmolvieMouseMotionDrive(arg1,arg2);
26638   return Qnil;
26639 fail:
26640   return Qnil;
26641 }
26642
26643
26644 SWIGINTERN VALUE
26645 _wrap_lmolvieMousePassiveMotionDrive(int argc, VALUE *argv, VALUE self) {
26646   int arg1 ;
26647   int arg2 ;
26648   int val1 ;
26649   int ecode1 = 0 ;
26650   int val2 ;
26651   int ecode2 = 0 ;
26652   
26653   if ((argc < 2) || (argc > 2)) {
26654     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26655   }
26656   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26657   if (!SWIG_IsOK(ecode1)) {
26658     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMousePassiveMotionDrive", 1, argv[0] ));
26659   } 
26660   arg1 = (int)(val1);
26661   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26662   if (!SWIG_IsOK(ecode2)) {
26663     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMousePassiveMotionDrive", 2, argv[1] ));
26664   } 
26665   arg2 = (int)(val2);
26666   lmolvieMousePassiveMotionDrive(arg1,arg2);
26667   return Qnil;
26668 fail:
26669   return Qnil;
26670 }
26671
26672
26673 SWIGINTERN VALUE
26674 _wrap_lmolvieMouseParallel(int argc, VALUE *argv, VALUE self) {
26675   int arg1 ;
26676   int arg2 ;
26677   int arg3 ;
26678   int arg4 ;
26679   int val1 ;
26680   int ecode1 = 0 ;
26681   int val2 ;
26682   int ecode2 = 0 ;
26683   int val3 ;
26684   int ecode3 = 0 ;
26685   int val4 ;
26686   int ecode4 = 0 ;
26687   
26688   if ((argc < 4) || (argc > 4)) {
26689     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
26690   }
26691   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26692   if (!SWIG_IsOK(ecode1)) {
26693     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMouseParallel", 1, argv[0] ));
26694   } 
26695   arg1 = (int)(val1);
26696   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26697   if (!SWIG_IsOK(ecode2)) {
26698     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMouseParallel", 2, argv[1] ));
26699   } 
26700   arg2 = (int)(val2);
26701   ecode3 = SWIG_AsVal_int(argv[2], &val3);
26702   if (!SWIG_IsOK(ecode3)) {
26703     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieMouseParallel", 3, argv[2] ));
26704   } 
26705   arg3 = (int)(val3);
26706   ecode4 = SWIG_AsVal_int(argv[3], &val4);
26707   if (!SWIG_IsOK(ecode4)) {
26708     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","lmolvieMouseParallel", 4, argv[3] ));
26709   } 
26710   arg4 = (int)(val4);
26711   lmolvieMouseParallel(arg1,arg2,arg3,arg4);
26712   return Qnil;
26713 fail:
26714   return Qnil;
26715 }
26716
26717
26718 SWIGINTERN VALUE
26719 _wrap_lmolvieMouseMotionParallel(int argc, VALUE *argv, VALUE self) {
26720   int arg1 ;
26721   int arg2 ;
26722   int val1 ;
26723   int ecode1 = 0 ;
26724   int val2 ;
26725   int ecode2 = 0 ;
26726   
26727   if ((argc < 2) || (argc > 2)) {
26728     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26729   }
26730   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26731   if (!SWIG_IsOK(ecode1)) {
26732     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMouseMotionParallel", 1, argv[0] ));
26733   } 
26734   arg1 = (int)(val1);
26735   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26736   if (!SWIG_IsOK(ecode2)) {
26737     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMouseMotionParallel", 2, argv[1] ));
26738   } 
26739   arg2 = (int)(val2);
26740   lmolvieMouseMotionParallel(arg1,arg2);
26741   return Qnil;
26742 fail:
26743   return Qnil;
26744 }
26745
26746
26747 SWIGINTERN VALUE
26748 _wrap_lmolvieMousePassiveMotionParallel(int argc, VALUE *argv, VALUE self) {
26749   int arg1 ;
26750   int arg2 ;
26751   int val1 ;
26752   int ecode1 = 0 ;
26753   int val2 ;
26754   int ecode2 = 0 ;
26755   
26756   if ((argc < 2) || (argc > 2)) {
26757     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26758   }
26759   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26760   if (!SWIG_IsOK(ecode1)) {
26761     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMousePassiveMotionParallel", 1, argv[0] ));
26762   } 
26763   arg1 = (int)(val1);
26764   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26765   if (!SWIG_IsOK(ecode2)) {
26766     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMousePassiveMotionParallel", 2, argv[1] ));
26767   } 
26768   arg2 = (int)(val2);
26769   lmolvieMousePassiveMotionParallel(arg1,arg2);
26770   return Qnil;
26771 fail:
26772   return Qnil;
26773 }
26774
26775
26776 SWIGINTERN VALUE
26777 _wrap_lmolvieMouseMulti(int argc, VALUE *argv, VALUE self) {
26778   int arg1 ;
26779   int arg2 ;
26780   int arg3 ;
26781   int arg4 ;
26782   int val1 ;
26783   int ecode1 = 0 ;
26784   int val2 ;
26785   int ecode2 = 0 ;
26786   int val3 ;
26787   int ecode3 = 0 ;
26788   int val4 ;
26789   int ecode4 = 0 ;
26790   
26791   if ((argc < 4) || (argc > 4)) {
26792     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
26793   }
26794   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26795   if (!SWIG_IsOK(ecode1)) {
26796     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMouseMulti", 1, argv[0] ));
26797   } 
26798   arg1 = (int)(val1);
26799   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26800   if (!SWIG_IsOK(ecode2)) {
26801     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMouseMulti", 2, argv[1] ));
26802   } 
26803   arg2 = (int)(val2);
26804   ecode3 = SWIG_AsVal_int(argv[2], &val3);
26805   if (!SWIG_IsOK(ecode3)) {
26806     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieMouseMulti", 3, argv[2] ));
26807   } 
26808   arg3 = (int)(val3);
26809   ecode4 = SWIG_AsVal_int(argv[3], &val4);
26810   if (!SWIG_IsOK(ecode4)) {
26811     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","lmolvieMouseMulti", 4, argv[3] ));
26812   } 
26813   arg4 = (int)(val4);
26814   lmolvieMouseMulti(arg1,arg2,arg3,arg4);
26815   return Qnil;
26816 fail:
26817   return Qnil;
26818 }
26819
26820
26821 SWIGINTERN VALUE
26822 _wrap_lmolvieMouseMotionMulti(int argc, VALUE *argv, VALUE self) {
26823   int arg1 ;
26824   int arg2 ;
26825   int val1 ;
26826   int ecode1 = 0 ;
26827   int val2 ;
26828   int ecode2 = 0 ;
26829   
26830   if ((argc < 2) || (argc > 2)) {
26831     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26832   }
26833   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26834   if (!SWIG_IsOK(ecode1)) {
26835     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMouseMotionMulti", 1, argv[0] ));
26836   } 
26837   arg1 = (int)(val1);
26838   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26839   if (!SWIG_IsOK(ecode2)) {
26840     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMouseMotionMulti", 2, argv[1] ));
26841   } 
26842   arg2 = (int)(val2);
26843   lmolvieMouseMotionMulti(arg1,arg2);
26844   return Qnil;
26845 fail:
26846   return Qnil;
26847 }
26848
26849
26850 SWIGINTERN VALUE
26851 _wrap_lmolvieMousePassiveMotionMulti(int argc, VALUE *argv, VALUE self) {
26852   int arg1 ;
26853   int arg2 ;
26854   int val1 ;
26855   int ecode1 = 0 ;
26856   int val2 ;
26857   int ecode2 = 0 ;
26858   
26859   if ((argc < 2) || (argc > 2)) {
26860     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
26861   }
26862   ecode1 = SWIG_AsVal_int(argv[0], &val1);
26863   if (!SWIG_IsOK(ecode1)) {
26864     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMousePassiveMotionMulti", 1, argv[0] ));
26865   } 
26866   arg1 = (int)(val1);
26867   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26868   if (!SWIG_IsOK(ecode2)) {
26869     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMousePassiveMotionMulti", 2, argv[1] ));
26870   } 
26871   arg2 = (int)(val2);
26872   lmolvieMousePassiveMotionMulti(arg1,arg2);
26873   return Qnil;
26874 fail:
26875   return Qnil;
26876 }
26877
26878
26879 SWIGINTERN VALUE
26880 _wrap_lmolvieKeyboard(int argc, VALUE *argv, VALUE self) {
26881   unsigned char arg1 ;
26882   int arg2 ;
26883   int arg3 ;
26884   unsigned char val1 ;
26885   int ecode1 = 0 ;
26886   int val2 ;
26887   int ecode2 = 0 ;
26888   int val3 ;
26889   int ecode3 = 0 ;
26890   
26891   if ((argc < 3) || (argc > 3)) {
26892     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
26893   }
26894   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
26895   if (!SWIG_IsOK(ecode1)) {
26896     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieKeyboard", 1, argv[0] ));
26897   } 
26898   arg1 = (unsigned char)(val1);
26899   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26900   if (!SWIG_IsOK(ecode2)) {
26901     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieKeyboard", 2, argv[1] ));
26902   } 
26903   arg2 = (int)(val2);
26904   ecode3 = SWIG_AsVal_int(argv[2], &val3);
26905   if (!SWIG_IsOK(ecode3)) {
26906     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieKeyboard", 3, argv[2] ));
26907   } 
26908   arg3 = (int)(val3);
26909   lmolvieKeyboard(arg1,arg2,arg3);
26910   return Qnil;
26911 fail:
26912   return Qnil;
26913 }
26914
26915
26916 SWIGINTERN VALUE
26917 _wrap_lmolvieKeyboardNormal(int argc, VALUE *argv, VALUE self) {
26918   unsigned char arg1 ;
26919   int arg2 ;
26920   int arg3 ;
26921   unsigned char val1 ;
26922   int ecode1 = 0 ;
26923   int val2 ;
26924   int ecode2 = 0 ;
26925   int val3 ;
26926   int ecode3 = 0 ;
26927   
26928   if ((argc < 3) || (argc > 3)) {
26929     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
26930   }
26931   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
26932   if (!SWIG_IsOK(ecode1)) {
26933     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieKeyboardNormal", 1, argv[0] ));
26934   } 
26935   arg1 = (unsigned char)(val1);
26936   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26937   if (!SWIG_IsOK(ecode2)) {
26938     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieKeyboardNormal", 2, argv[1] ));
26939   } 
26940   arg2 = (int)(val2);
26941   ecode3 = SWIG_AsVal_int(argv[2], &val3);
26942   if (!SWIG_IsOK(ecode3)) {
26943     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieKeyboardNormal", 3, argv[2] ));
26944   } 
26945   arg3 = (int)(val3);
26946   lmolvieKeyboardNormal(arg1,arg2,arg3);
26947   return Qnil;
26948 fail:
26949   return Qnil;
26950 }
26951
26952
26953 SWIGINTERN VALUE
26954 _wrap_lmolvieKeyboardDrive(int argc, VALUE *argv, VALUE self) {
26955   unsigned char arg1 ;
26956   int arg2 ;
26957   int arg3 ;
26958   unsigned char val1 ;
26959   int ecode1 = 0 ;
26960   int val2 ;
26961   int ecode2 = 0 ;
26962   int val3 ;
26963   int ecode3 = 0 ;
26964   
26965   if ((argc < 3) || (argc > 3)) {
26966     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
26967   }
26968   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
26969   if (!SWIG_IsOK(ecode1)) {
26970     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieKeyboardDrive", 1, argv[0] ));
26971   } 
26972   arg1 = (unsigned char)(val1);
26973   ecode2 = SWIG_AsVal_int(argv[1], &val2);
26974   if (!SWIG_IsOK(ecode2)) {
26975     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieKeyboardDrive", 2, argv[1] ));
26976   } 
26977   arg2 = (int)(val2);
26978   ecode3 = SWIG_AsVal_int(argv[2], &val3);
26979   if (!SWIG_IsOK(ecode3)) {
26980     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieKeyboardDrive", 3, argv[2] ));
26981   } 
26982   arg3 = (int)(val3);
26983   lmolvieKeyboardDrive(arg1,arg2,arg3);
26984   return Qnil;
26985 fail:
26986   return Qnil;
26987 }
26988
26989
26990 SWIGINTERN VALUE
26991 _wrap_lmolvieKeyboardParallel(int argc, VALUE *argv, VALUE self) {
26992   unsigned char arg1 ;
26993   int arg2 ;
26994   int arg3 ;
26995   unsigned char val1 ;
26996   int ecode1 = 0 ;
26997   int val2 ;
26998   int ecode2 = 0 ;
26999   int val3 ;
27000   int ecode3 = 0 ;
27001   
27002   if ((argc < 3) || (argc > 3)) {
27003     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27004   }
27005   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
27006   if (!SWIG_IsOK(ecode1)) {
27007     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieKeyboardParallel", 1, argv[0] ));
27008   } 
27009   arg1 = (unsigned char)(val1);
27010   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27011   if (!SWIG_IsOK(ecode2)) {
27012     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieKeyboardParallel", 2, argv[1] ));
27013   } 
27014   arg2 = (int)(val2);
27015   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27016   if (!SWIG_IsOK(ecode3)) {
27017     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieKeyboardParallel", 3, argv[2] ));
27018   } 
27019   arg3 = (int)(val3);
27020   lmolvieKeyboardParallel(arg1,arg2,arg3);
27021   return Qnil;
27022 fail:
27023   return Qnil;
27024 }
27025
27026
27027 SWIGINTERN VALUE
27028 _wrap_lmolvieKeyboardSurface(int argc, VALUE *argv, VALUE self) {
27029   unsigned char arg1 ;
27030   int arg2 ;
27031   int arg3 ;
27032   unsigned char val1 ;
27033   int ecode1 = 0 ;
27034   int val2 ;
27035   int ecode2 = 0 ;
27036   int val3 ;
27037   int ecode3 = 0 ;
27038   
27039   if ((argc < 3) || (argc > 3)) {
27040     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27041   }
27042   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
27043   if (!SWIG_IsOK(ecode1)) {
27044     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieKeyboardSurface", 1, argv[0] ));
27045   } 
27046   arg1 = (unsigned char)(val1);
27047   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27048   if (!SWIG_IsOK(ecode2)) {
27049     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieKeyboardSurface", 2, argv[1] ));
27050   } 
27051   arg2 = (int)(val2);
27052   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27053   if (!SWIG_IsOK(ecode3)) {
27054     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieKeyboardSurface", 3, argv[2] ));
27055   } 
27056   arg3 = (int)(val3);
27057   lmolvieKeyboardSurface(arg1,arg2,arg3);
27058   return Qnil;
27059 fail:
27060   return Qnil;
27061 }
27062
27063
27064 SWIGINTERN VALUE
27065 _wrap_lmolvieInitParallel(int argc, VALUE *argv, VALUE self) {
27066   if ((argc < 0) || (argc > 0)) {
27067     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27068   }
27069   lmolvieInitParallel();
27070   return Qnil;
27071 fail:
27072   return Qnil;
27073 }
27074
27075
27076 SWIGINTERN VALUE
27077 _wrap_lmolvieDisplayParallel(int argc, VALUE *argv, VALUE self) {
27078   if ((argc < 0) || (argc > 0)) {
27079     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27080   }
27081   lmolvieDisplayParallel();
27082   return Qnil;
27083 fail:
27084   return Qnil;
27085 }
27086
27087
27088 SWIGINTERN VALUE
27089 _wrap_lmolvieReshapeParallel(int argc, VALUE *argv, VALUE self) {
27090   int arg1 ;
27091   int arg2 ;
27092   int val1 ;
27093   int ecode1 = 0 ;
27094   int val2 ;
27095   int ecode2 = 0 ;
27096   
27097   if ((argc < 2) || (argc > 2)) {
27098     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27099   }
27100   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27101   if (!SWIG_IsOK(ecode1)) {
27102     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieReshapeParallel", 1, argv[0] ));
27103   } 
27104   arg1 = (int)(val1);
27105   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27106   if (!SWIG_IsOK(ecode2)) {
27107     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieReshapeParallel", 2, argv[1] ));
27108   } 
27109   arg2 = (int)(val2);
27110   lmolvieReshapeParallel(arg1,arg2);
27111   return Qnil;
27112 fail:
27113   return Qnil;
27114 }
27115
27116
27117 SWIGINTERN VALUE
27118 _wrap_operationModeGet(int argc, VALUE *argv, VALUE self) {
27119   operationMode result;
27120   VALUE vresult = Qnil;
27121   
27122   if ((argc < 0) || (argc > 0)) {
27123     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27124   }
27125   result = (operationMode)operationModeGet();
27126   vresult = SWIG_From_int((int)(result));
27127   return vresult;
27128 fail:
27129   return Qnil;
27130 }
27131
27132
27133 SWIGINTERN VALUE
27134 _wrap_operationModeSet(int argc, VALUE *argv, VALUE self) {
27135   operationMode arg1 ;
27136   int val1 ;
27137   int ecode1 = 0 ;
27138   
27139   if ((argc < 1) || (argc > 1)) {
27140     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27141   }
27142   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27143   if (!SWIG_IsOK(ecode1)) {
27144     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "operationMode","operationModeSet", 1, argv[0] ));
27145   } 
27146   arg1 = (operationMode)(val1);
27147   operationModeSet(arg1);
27148   return Qnil;
27149 fail:
27150   return Qnil;
27151 }
27152
27153
27154 SWIGINTERN VALUE
27155 _wrap_myCameraRotateX(int argc, VALUE *argv, VALUE self) {
27156   GLdouble arg1 ;
27157   void *argp1 ;
27158   int res1 = 0 ;
27159   
27160   if ((argc < 1) || (argc > 1)) {
27161     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27162   }
27163   {
27164     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLdouble,  0 );
27165     if (!SWIG_IsOK(res1)) {
27166       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLdouble","myCameraRotateX", 1, argv[0] )); 
27167     }  
27168     if (!argp1) {
27169       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraRotateX", 1, argv[0]));
27170     } else {
27171       arg1 = *((GLdouble *)(argp1));
27172     }
27173   }
27174   myCameraRotateX(arg1);
27175   return Qnil;
27176 fail:
27177   return Qnil;
27178 }
27179
27180
27181 SWIGINTERN VALUE
27182 _wrap_myCameraRotateZ(int argc, VALUE *argv, VALUE self) {
27183   GLdouble arg1 ;
27184   void *argp1 ;
27185   int res1 = 0 ;
27186   
27187   if ((argc < 1) || (argc > 1)) {
27188     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27189   }
27190   {
27191     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLdouble,  0 );
27192     if (!SWIG_IsOK(res1)) {
27193       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLdouble","myCameraRotateZ", 1, argv[0] )); 
27194     }  
27195     if (!argp1) {
27196       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraRotateZ", 1, argv[0]));
27197     } else {
27198       arg1 = *((GLdouble *)(argp1));
27199     }
27200   }
27201   myCameraRotateZ(arg1);
27202   return Qnil;
27203 fail:
27204   return Qnil;
27205 }
27206
27207
27208 SWIGINTERN VALUE
27209 _wrap_myCameraEyeRotateX(int argc, VALUE *argv, VALUE self) {
27210   GLdouble arg1 ;
27211   void *argp1 ;
27212   int res1 = 0 ;
27213   
27214   if ((argc < 1) || (argc > 1)) {
27215     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27216   }
27217   {
27218     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLdouble,  0 );
27219     if (!SWIG_IsOK(res1)) {
27220       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLdouble","myCameraEyeRotateX", 1, argv[0] )); 
27221     }  
27222     if (!argp1) {
27223       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraEyeRotateX", 1, argv[0]));
27224     } else {
27225       arg1 = *((GLdouble *)(argp1));
27226     }
27227   }
27228   myCameraEyeRotateX(arg1);
27229   return Qnil;
27230 fail:
27231   return Qnil;
27232 }
27233
27234
27235 SWIGINTERN VALUE
27236 _wrap_myCameraEyeRotateY(int argc, VALUE *argv, VALUE self) {
27237   GLdouble arg1 ;
27238   void *argp1 ;
27239   int res1 = 0 ;
27240   
27241   if ((argc < 1) || (argc > 1)) {
27242     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27243   }
27244   {
27245     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLdouble,  0 );
27246     if (!SWIG_IsOK(res1)) {
27247       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLdouble","myCameraEyeRotateY", 1, argv[0] )); 
27248     }  
27249     if (!argp1) {
27250       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraEyeRotateY", 1, argv[0]));
27251     } else {
27252       arg1 = *((GLdouble *)(argp1));
27253     }
27254   }
27255   myCameraEyeRotateY(arg1);
27256   return Qnil;
27257 fail:
27258   return Qnil;
27259 }
27260
27261
27262 SWIGINTERN VALUE
27263 _wrap_myCameraTranslateX(int argc, VALUE *argv, VALUE self) {
27264   GLdouble arg1 ;
27265   void *argp1 ;
27266   int res1 = 0 ;
27267   
27268   if ((argc < 1) || (argc > 1)) {
27269     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27270   }
27271   {
27272     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLdouble,  0 );
27273     if (!SWIG_IsOK(res1)) {
27274       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLdouble","myCameraTranslateX", 1, argv[0] )); 
27275     }  
27276     if (!argp1) {
27277       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraTranslateX", 1, argv[0]));
27278     } else {
27279       arg1 = *((GLdouble *)(argp1));
27280     }
27281   }
27282   myCameraTranslateX(arg1);
27283   return Qnil;
27284 fail:
27285   return Qnil;
27286 }
27287
27288
27289 SWIGINTERN VALUE
27290 _wrap_myCameraTranslateY(int argc, VALUE *argv, VALUE self) {
27291   GLdouble arg1 ;
27292   void *argp1 ;
27293   int res1 = 0 ;
27294   
27295   if ((argc < 1) || (argc > 1)) {
27296     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27297   }
27298   {
27299     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLdouble,  0 );
27300     if (!SWIG_IsOK(res1)) {
27301       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLdouble","myCameraTranslateY", 1, argv[0] )); 
27302     }  
27303     if (!argp1) {
27304       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraTranslateY", 1, argv[0]));
27305     } else {
27306       arg1 = *((GLdouble *)(argp1));
27307     }
27308   }
27309   myCameraTranslateY(arg1);
27310   return Qnil;
27311 fail:
27312   return Qnil;
27313 }
27314
27315
27316 SWIGINTERN VALUE
27317 _wrap_myCameraTranslateZ(int argc, VALUE *argv, VALUE self) {
27318   GLdouble arg1 ;
27319   void *argp1 ;
27320   int res1 = 0 ;
27321   
27322   if ((argc < 1) || (argc > 1)) {
27323     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27324   }
27325   {
27326     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLdouble,  0 );
27327     if (!SWIG_IsOK(res1)) {
27328       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLdouble","myCameraTranslateZ", 1, argv[0] )); 
27329     }  
27330     if (!argp1) {
27331       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraTranslateZ", 1, argv[0]));
27332     } else {
27333       arg1 = *((GLdouble *)(argp1));
27334     }
27335   }
27336   myCameraTranslateZ(arg1);
27337   return Qnil;
27338 fail:
27339   return Qnil;
27340 }
27341
27342
27343 SWIGINTERN VALUE
27344 _wrap_resetMyCamera(int argc, VALUE *argv, VALUE self) {
27345   if ((argc < 0) || (argc > 0)) {
27346     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27347   }
27348   resetMyCamera();
27349   return Qnil;
27350 fail:
27351   return Qnil;
27352 }
27353
27354
27355 SWIGINTERN VALUE
27356 _wrap_getMyCamera(int argc, VALUE *argv, VALUE self) {
27357   cameraInfo *result = 0 ;
27358   VALUE vresult = Qnil;
27359   
27360   if ((argc < 0) || (argc > 0)) {
27361     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27362   }
27363   result = (cameraInfo *)getMyCamera();
27364   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_cameraInfo, 0 |  0 );
27365   return vresult;
27366 fail:
27367   return Qnil;
27368 }
27369
27370
27371 SWIGINTERN VALUE
27372 _wrap_upCalc(int argc, VALUE *argv, VALUE self) {
27373   if ((argc < 0) || (argc > 0)) {
27374     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27375   }
27376   upCalc();
27377   return Qnil;
27378 fail:
27379   return Qnil;
27380 }
27381
27382
27383 SWIGINTERN VALUE
27384 _wrap_moveMyCamera(int argc, VALUE *argv, VALUE self) {
27385   double arg1 ;
27386   double val1 ;
27387   int ecode1 = 0 ;
27388   
27389   if ((argc < 1) || (argc > 1)) {
27390     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27391   }
27392   ecode1 = SWIG_AsVal_double(argv[0], &val1);
27393   if (!SWIG_IsOK(ecode1)) {
27394     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "double","moveMyCamera", 1, argv[0] ));
27395   } 
27396   arg1 = (double)(val1);
27397   moveMyCamera(arg1);
27398   return Qnil;
27399 fail:
27400   return Qnil;
27401 }
27402
27403
27404 SWIGINTERN VALUE
27405 _wrap_lmolvieLightSet(int argc, VALUE *argv, VALUE self) {
27406   if ((argc < 0) || (argc > 0)) {
27407     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27408   }
27409   lmolvieLightSet();
27410   return Qnil;
27411 fail:
27412   return Qnil;
27413 }
27414
27415
27416 SWIGINTERN VALUE
27417 _wrap_get_LightPos(int argc, VALUE *argv, VALUE self) {
27418   int arg1 ;
27419   int val1 ;
27420   int ecode1 = 0 ;
27421   GLfloat *result = 0 ;
27422   VALUE vresult = Qnil;
27423   
27424   if ((argc < 1) || (argc > 1)) {
27425     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27426   }
27427   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27428   if (!SWIG_IsOK(ecode1)) {
27429     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","get_LightPos", 1, argv[0] ));
27430   } 
27431   arg1 = (int)(val1);
27432   result = (GLfloat *)get_LightPos(arg1);
27433   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLfloat, 0 |  0 );
27434   return vresult;
27435 fail:
27436   return Qnil;
27437 }
27438
27439
27440 SWIGINTERN VALUE
27441 _wrap_monoSound(int argc, VALUE *argv, VALUE self) {
27442   float arg1 ;
27443   float arg2 ;
27444   float val1 ;
27445   int ecode1 = 0 ;
27446   float val2 ;
27447   int ecode2 = 0 ;
27448   
27449   if ((argc < 2) || (argc > 2)) {
27450     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27451   }
27452   ecode1 = SWIG_AsVal_float(argv[0], &val1);
27453   if (!SWIG_IsOK(ecode1)) {
27454     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "float","monoSound", 1, argv[0] ));
27455   } 
27456   arg1 = (float)(val1);
27457   ecode2 = SWIG_AsVal_float(argv[1], &val2);
27458   if (!SWIG_IsOK(ecode2)) {
27459     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","monoSound", 2, argv[1] ));
27460   } 
27461   arg2 = (float)(val2);
27462   monoSound(arg1,arg2);
27463   return Qnil;
27464 fail:
27465   return Qnil;
27466 }
27467
27468
27469 SWIGINTERN VALUE
27470 _wrap_lmolvieVoice(int argc, VALUE *argv, VALUE self) {
27471   if ((argc < 0) || (argc > 0)) {
27472     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27473   }
27474   lmolvieVoice();
27475   return Qnil;
27476 fail:
27477   return Qnil;
27478 }
27479
27480
27481 SWIGINTERN VALUE
27482 _wrap_drawContour(int argc, VALUE *argv, VALUE self) {
27483   contourLinesSet *arg1 = (contourLinesSet *) 0 ;
27484   void *argp1 = 0 ;
27485   int res1 = 0 ;
27486   
27487   if ((argc < 1) || (argc > 1)) {
27488     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27489   }
27490   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_contourLinesSet, 0 |  0 );
27491   if (!SWIG_IsOK(res1)) {
27492     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "contourLinesSet *","drawContour", 1, argv[0] )); 
27493   }
27494   arg1 = (contourLinesSet *)(argp1);
27495   drawContour(arg1);
27496   return Qnil;
27497 fail:
27498   return Qnil;
27499 }
27500
27501
27502 SWIGINTERN VALUE
27503 _wrap_scaleBarSwitch(int argc, VALUE *argv, VALUE self) {
27504   if ((argc < 0) || (argc > 0)) {
27505     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27506   }
27507   scaleBarSwitch();
27508   return Qnil;
27509 fail:
27510   return Qnil;
27511 }
27512
27513
27514 SWIGINTERN VALUE
27515 _wrap_lmolvieViewerIdle(int argc, VALUE *argv, VALUE self) {
27516   if ((argc < 0) || (argc > 0)) {
27517     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27518   }
27519   lmolvieViewerIdle();
27520   return Qnil;
27521 fail:
27522   return Qnil;
27523 }
27524
27525
27526 SWIGINTERN VALUE
27527 _wrap_lmolvieViewerKeyboard(int argc, VALUE *argv, VALUE self) {
27528   unsigned char arg1 ;
27529   int arg2 ;
27530   int arg3 ;
27531   unsigned char val1 ;
27532   int ecode1 = 0 ;
27533   int val2 ;
27534   int ecode2 = 0 ;
27535   int val3 ;
27536   int ecode3 = 0 ;
27537   
27538   if ((argc < 3) || (argc > 3)) {
27539     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27540   }
27541   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
27542   if (!SWIG_IsOK(ecode1)) {
27543     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieViewerKeyboard", 1, argv[0] ));
27544   } 
27545   arg1 = (unsigned char)(val1);
27546   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27547   if (!SWIG_IsOK(ecode2)) {
27548     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieViewerKeyboard", 2, argv[1] ));
27549   } 
27550   arg2 = (int)(val2);
27551   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27552   if (!SWIG_IsOK(ecode3)) {
27553     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieViewerKeyboard", 3, argv[2] ));
27554   } 
27555   arg3 = (int)(val3);
27556   lmolvieViewerKeyboard(arg1,arg2,arg3);
27557   return Qnil;
27558 fail:
27559   return Qnil;
27560 }
27561
27562
27563 SWIGINTERN VALUE
27564 _wrap_lmolvieViewerSpecial(int argc, VALUE *argv, VALUE self) {
27565   int arg1 ;
27566   int arg2 ;
27567   int arg3 ;
27568   int val1 ;
27569   int ecode1 = 0 ;
27570   int val2 ;
27571   int ecode2 = 0 ;
27572   int val3 ;
27573   int ecode3 = 0 ;
27574   
27575   if ((argc < 3) || (argc > 3)) {
27576     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27577   }
27578   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27579   if (!SWIG_IsOK(ecode1)) {
27580     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieViewerSpecial", 1, argv[0] ));
27581   } 
27582   arg1 = (int)(val1);
27583   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27584   if (!SWIG_IsOK(ecode2)) {
27585     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieViewerSpecial", 2, argv[1] ));
27586   } 
27587   arg2 = (int)(val2);
27588   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27589   if (!SWIG_IsOK(ecode3)) {
27590     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieViewerSpecial", 3, argv[2] ));
27591   } 
27592   arg3 = (int)(val3);
27593   lmolvieViewerSpecial(arg1,arg2,arg3);
27594   return Qnil;
27595 fail:
27596   return Qnil;
27597 }
27598
27599
27600 SWIGINTERN VALUE
27601 _wrap_lmolvieViewerMouse(int argc, VALUE *argv, VALUE self) {
27602   int arg1 ;
27603   int arg2 ;
27604   int arg3 ;
27605   int arg4 ;
27606   int val1 ;
27607   int ecode1 = 0 ;
27608   int val2 ;
27609   int ecode2 = 0 ;
27610   int val3 ;
27611   int ecode3 = 0 ;
27612   int val4 ;
27613   int ecode4 = 0 ;
27614   
27615   if ((argc < 4) || (argc > 4)) {
27616     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
27617   }
27618   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27619   if (!SWIG_IsOK(ecode1)) {
27620     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieViewerMouse", 1, argv[0] ));
27621   } 
27622   arg1 = (int)(val1);
27623   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27624   if (!SWIG_IsOK(ecode2)) {
27625     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieViewerMouse", 2, argv[1] ));
27626   } 
27627   arg2 = (int)(val2);
27628   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27629   if (!SWIG_IsOK(ecode3)) {
27630     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieViewerMouse", 3, argv[2] ));
27631   } 
27632   arg3 = (int)(val3);
27633   ecode4 = SWIG_AsVal_int(argv[3], &val4);
27634   if (!SWIG_IsOK(ecode4)) {
27635     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","lmolvieViewerMouse", 4, argv[3] ));
27636   } 
27637   arg4 = (int)(val4);
27638   lmolvieViewerMouse(arg1,arg2,arg3,arg4);
27639   return Qnil;
27640 fail:
27641   return Qnil;
27642 }
27643
27644
27645 SWIGINTERN VALUE
27646 _wrap_lmolvieViewerMouseMotion(int argc, VALUE *argv, VALUE self) {
27647   int arg1 ;
27648   int arg2 ;
27649   int val1 ;
27650   int ecode1 = 0 ;
27651   int val2 ;
27652   int ecode2 = 0 ;
27653   
27654   if ((argc < 2) || (argc > 2)) {
27655     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27656   }
27657   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27658   if (!SWIG_IsOK(ecode1)) {
27659     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieViewerMouseMotion", 1, argv[0] ));
27660   } 
27661   arg1 = (int)(val1);
27662   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27663   if (!SWIG_IsOK(ecode2)) {
27664     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieViewerMouseMotion", 2, argv[1] ));
27665   } 
27666   arg2 = (int)(val2);
27667   lmolvieViewerMouseMotion(arg1,arg2);
27668   return Qnil;
27669 fail:
27670   return Qnil;
27671 }
27672
27673
27674 SWIGINTERN VALUE
27675 _wrap_lmolvieViewerMousePassiveMotion(int argc, VALUE *argv, VALUE self) {
27676   int arg1 ;
27677   int arg2 ;
27678   int val1 ;
27679   int ecode1 = 0 ;
27680   int val2 ;
27681   int ecode2 = 0 ;
27682   
27683   if ((argc < 2) || (argc > 2)) {
27684     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27685   }
27686   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27687   if (!SWIG_IsOK(ecode1)) {
27688     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieViewerMousePassiveMotion", 1, argv[0] ));
27689   } 
27690   arg1 = (int)(val1);
27691   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27692   if (!SWIG_IsOK(ecode2)) {
27693     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieViewerMousePassiveMotion", 2, argv[1] ));
27694   } 
27695   arg2 = (int)(val2);
27696   lmolvieViewerMousePassiveMotion(arg1,arg2);
27697   return Qnil;
27698 fail:
27699   return Qnil;
27700 }
27701
27702
27703 SWIGINTERN VALUE
27704 _wrap_lmolvieViewerDisplay(int argc, VALUE *argv, VALUE self) {
27705   if ((argc < 0) || (argc > 0)) {
27706     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27707   }
27708   lmolvieViewerDisplay();
27709   return Qnil;
27710 fail:
27711   return Qnil;
27712 }
27713
27714
27715 SWIGINTERN VALUE
27716 _wrap_lmolvieMrcViewerKeyboard(int argc, VALUE *argv, VALUE self) {
27717   unsigned char arg1 ;
27718   int arg2 ;
27719   int arg3 ;
27720   unsigned char val1 ;
27721   int ecode1 = 0 ;
27722   int val2 ;
27723   int ecode2 = 0 ;
27724   int val3 ;
27725   int ecode3 = 0 ;
27726   
27727   if ((argc < 3) || (argc > 3)) {
27728     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27729   }
27730   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
27731   if (!SWIG_IsOK(ecode1)) {
27732     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieMrcViewerKeyboard", 1, argv[0] ));
27733   } 
27734   arg1 = (unsigned char)(val1);
27735   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27736   if (!SWIG_IsOK(ecode2)) {
27737     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerKeyboard", 2, argv[1] ));
27738   } 
27739   arg2 = (int)(val2);
27740   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27741   if (!SWIG_IsOK(ecode3)) {
27742     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerKeyboard", 3, argv[2] ));
27743   } 
27744   arg3 = (int)(val3);
27745   lmolvieMrcViewerKeyboard(arg1,arg2,arg3);
27746   return Qnil;
27747 fail:
27748   return Qnil;
27749 }
27750
27751
27752 SWIGINTERN VALUE
27753 _wrap_lmolvieMrcViewerMouse(int argc, VALUE *argv, VALUE self) {
27754   int arg1 ;
27755   int arg2 ;
27756   int arg3 ;
27757   int arg4 ;
27758   int val1 ;
27759   int ecode1 = 0 ;
27760   int val2 ;
27761   int ecode2 = 0 ;
27762   int val3 ;
27763   int ecode3 = 0 ;
27764   int val4 ;
27765   int ecode4 = 0 ;
27766   
27767   if ((argc < 4) || (argc > 4)) {
27768     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
27769   }
27770   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27771   if (!SWIG_IsOK(ecode1)) {
27772     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerMouse", 1, argv[0] ));
27773   } 
27774   arg1 = (int)(val1);
27775   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27776   if (!SWIG_IsOK(ecode2)) {
27777     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerMouse", 2, argv[1] ));
27778   } 
27779   arg2 = (int)(val2);
27780   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27781   if (!SWIG_IsOK(ecode3)) {
27782     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerMouse", 3, argv[2] ));
27783   } 
27784   arg3 = (int)(val3);
27785   ecode4 = SWIG_AsVal_int(argv[3], &val4);
27786   if (!SWIG_IsOK(ecode4)) {
27787     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerMouse", 4, argv[3] ));
27788   } 
27789   arg4 = (int)(val4);
27790   lmolvieMrcViewerMouse(arg1,arg2,arg3,arg4);
27791   return Qnil;
27792 fail:
27793   return Qnil;
27794 }
27795
27796
27797 SWIGINTERN VALUE
27798 _wrap_lmolvieMrcViewerMouseMotion(int argc, VALUE *argv, VALUE self) {
27799   int arg1 ;
27800   int arg2 ;
27801   int val1 ;
27802   int ecode1 = 0 ;
27803   int val2 ;
27804   int ecode2 = 0 ;
27805   
27806   if ((argc < 2) || (argc > 2)) {
27807     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27808   }
27809   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27810   if (!SWIG_IsOK(ecode1)) {
27811     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerMouseMotion", 1, argv[0] ));
27812   } 
27813   arg1 = (int)(val1);
27814   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27815   if (!SWIG_IsOK(ecode2)) {
27816     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerMouseMotion", 2, argv[1] ));
27817   } 
27818   arg2 = (int)(val2);
27819   lmolvieMrcViewerMouseMotion(arg1,arg2);
27820   return Qnil;
27821 fail:
27822   return Qnil;
27823 }
27824
27825
27826 SWIGINTERN VALUE
27827 _wrap_lmolvieMrcViewerMousePassiveMotion(int argc, VALUE *argv, VALUE self) {
27828   int arg1 ;
27829   int arg2 ;
27830   int val1 ;
27831   int ecode1 = 0 ;
27832   int val2 ;
27833   int ecode2 = 0 ;
27834   
27835   if ((argc < 2) || (argc > 2)) {
27836     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27837   }
27838   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27839   if (!SWIG_IsOK(ecode1)) {
27840     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerMousePassiveMotion", 1, argv[0] ));
27841   } 
27842   arg1 = (int)(val1);
27843   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27844   if (!SWIG_IsOK(ecode2)) {
27845     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieMrcViewerMousePassiveMotion", 2, argv[1] ));
27846   } 
27847   arg2 = (int)(val2);
27848   lmolvieMrcViewerMousePassiveMotion(arg1,arg2);
27849   return Qnil;
27850 fail:
27851   return Qnil;
27852 }
27853
27854
27855 SWIGINTERN VALUE
27856 _wrap_lmolvieMrcViewerDisplay(int argc, VALUE *argv, VALUE self) {
27857   if ((argc < 0) || (argc > 0)) {
27858     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27859   }
27860   lmolvieMrcViewerDisplay();
27861   return Qnil;
27862 fail:
27863   return Qnil;
27864 }
27865
27866
27867 SWIGINTERN VALUE
27868 _wrap_lmolvieProjectionKeyboard(int argc, VALUE *argv, VALUE self) {
27869   unsigned char arg1 ;
27870   int arg2 ;
27871   int arg3 ;
27872   unsigned char val1 ;
27873   int ecode1 = 0 ;
27874   int val2 ;
27875   int ecode2 = 0 ;
27876   int val3 ;
27877   int ecode3 = 0 ;
27878   
27879   if ((argc < 3) || (argc > 3)) {
27880     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27881   }
27882   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
27883   if (!SWIG_IsOK(ecode1)) {
27884     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieProjectionKeyboard", 1, argv[0] ));
27885   } 
27886   arg1 = (unsigned char)(val1);
27887   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27888   if (!SWIG_IsOK(ecode2)) {
27889     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieProjectionKeyboard", 2, argv[1] ));
27890   } 
27891   arg2 = (int)(val2);
27892   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27893   if (!SWIG_IsOK(ecode3)) {
27894     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieProjectionKeyboard", 3, argv[2] ));
27895   } 
27896   arg3 = (int)(val3);
27897   lmolvieProjectionKeyboard(arg1,arg2,arg3);
27898   return Qnil;
27899 fail:
27900   return Qnil;
27901 }
27902
27903
27904 SWIGINTERN VALUE
27905 _wrap_lmolvieProjectionMouse(int argc, VALUE *argv, VALUE self) {
27906   int arg1 ;
27907   int arg2 ;
27908   int arg3 ;
27909   int arg4 ;
27910   int val1 ;
27911   int ecode1 = 0 ;
27912   int val2 ;
27913   int ecode2 = 0 ;
27914   int val3 ;
27915   int ecode3 = 0 ;
27916   int val4 ;
27917   int ecode4 = 0 ;
27918   
27919   if ((argc < 4) || (argc > 4)) {
27920     rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
27921   }
27922   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27923   if (!SWIG_IsOK(ecode1)) {
27924     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieProjectionMouse", 1, argv[0] ));
27925   } 
27926   arg1 = (int)(val1);
27927   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27928   if (!SWIG_IsOK(ecode2)) {
27929     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieProjectionMouse", 2, argv[1] ));
27930   } 
27931   arg2 = (int)(val2);
27932   ecode3 = SWIG_AsVal_int(argv[2], &val3);
27933   if (!SWIG_IsOK(ecode3)) {
27934     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieProjectionMouse", 3, argv[2] ));
27935   } 
27936   arg3 = (int)(val3);
27937   ecode4 = SWIG_AsVal_int(argv[3], &val4);
27938   if (!SWIG_IsOK(ecode4)) {
27939     SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","lmolvieProjectionMouse", 4, argv[3] ));
27940   } 
27941   arg4 = (int)(val4);
27942   lmolvieProjectionMouse(arg1,arg2,arg3,arg4);
27943   return Qnil;
27944 fail:
27945   return Qnil;
27946 }
27947
27948
27949 SWIGINTERN VALUE
27950 _wrap_lmolvieProjectionMouseMotion(int argc, VALUE *argv, VALUE self) {
27951   int arg1 ;
27952   int arg2 ;
27953   int val1 ;
27954   int ecode1 = 0 ;
27955   int val2 ;
27956   int ecode2 = 0 ;
27957   
27958   if ((argc < 2) || (argc > 2)) {
27959     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27960   }
27961   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27962   if (!SWIG_IsOK(ecode1)) {
27963     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieProjectionMouseMotion", 1, argv[0] ));
27964   } 
27965   arg1 = (int)(val1);
27966   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27967   if (!SWIG_IsOK(ecode2)) {
27968     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieProjectionMouseMotion", 2, argv[1] ));
27969   } 
27970   arg2 = (int)(val2);
27971   lmolvieProjectionMouseMotion(arg1,arg2);
27972   return Qnil;
27973 fail:
27974   return Qnil;
27975 }
27976
27977
27978 SWIGINTERN VALUE
27979 _wrap_lmolvieProjectionMousePassiveMotion(int argc, VALUE *argv, VALUE self) {
27980   int arg1 ;
27981   int arg2 ;
27982   int val1 ;
27983   int ecode1 = 0 ;
27984   int val2 ;
27985   int ecode2 = 0 ;
27986   
27987   if ((argc < 2) || (argc > 2)) {
27988     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27989   }
27990   ecode1 = SWIG_AsVal_int(argv[0], &val1);
27991   if (!SWIG_IsOK(ecode1)) {
27992     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","lmolvieProjectionMousePassiveMotion", 1, argv[0] ));
27993   } 
27994   arg1 = (int)(val1);
27995   ecode2 = SWIG_AsVal_int(argv[1], &val2);
27996   if (!SWIG_IsOK(ecode2)) {
27997     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieProjectionMousePassiveMotion", 2, argv[1] ));
27998   } 
27999   arg2 = (int)(val2);
28000   lmolvieProjectionMousePassiveMotion(arg1,arg2);
28001   return Qnil;
28002 fail:
28003   return Qnil;
28004 }
28005
28006
28007 SWIGINTERN VALUE
28008 _wrap_lmolvieDockKeyboard(int argc, VALUE *argv, VALUE self) {
28009   unsigned char arg1 ;
28010   int arg2 ;
28011   int arg3 ;
28012   unsigned char val1 ;
28013   int ecode1 = 0 ;
28014   int val2 ;
28015   int ecode2 = 0 ;
28016   int val3 ;
28017   int ecode3 = 0 ;
28018   
28019   if ((argc < 3) || (argc > 3)) {
28020     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
28021   }
28022   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
28023   if (!SWIG_IsOK(ecode1)) {
28024     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieDockKeyboard", 1, argv[0] ));
28025   } 
28026   arg1 = (unsigned char)(val1);
28027   ecode2 = SWIG_AsVal_int(argv[1], &val2);
28028   if (!SWIG_IsOK(ecode2)) {
28029     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieDockKeyboard", 2, argv[1] ));
28030   } 
28031   arg2 = (int)(val2);
28032   ecode3 = SWIG_AsVal_int(argv[2], &val3);
28033   if (!SWIG_IsOK(ecode3)) {
28034     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieDockKeyboard", 3, argv[2] ));
28035   } 
28036   arg3 = (int)(val3);
28037   lmolvieDockKeyboard(arg1,arg2,arg3);
28038   return Qnil;
28039 fail:
28040   return Qnil;
28041 }
28042
28043
28044 SWIGINTERN VALUE
28045 _wrap_displayMultiPDB1(int argc, VALUE *argv, VALUE self) {
28046   if ((argc < 0) || (argc > 0)) {
28047     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28048   }
28049   displayMultiPDB1();
28050   return Qnil;
28051 fail:
28052   return Qnil;
28053 }
28054
28055
28056 SWIGINTERN VALUE
28057 _wrap_lmolvieDockDisplay(int argc, VALUE *argv, VALUE self) {
28058   if ((argc < 0) || (argc > 0)) {
28059     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28060   }
28061   lmolvieDockDisplay();
28062   return Qnil;
28063 fail:
28064   return Qnil;
28065 }
28066
28067
28068 SWIGINTERN VALUE
28069 _wrap_lmolvieFlightKeyboard(int argc, VALUE *argv, VALUE self) {
28070   unsigned char arg1 ;
28071   int arg2 ;
28072   int arg3 ;
28073   unsigned char val1 ;
28074   int ecode1 = 0 ;
28075   int val2 ;
28076   int ecode2 = 0 ;
28077   int val3 ;
28078   int ecode3 = 0 ;
28079   
28080   if ((argc < 3) || (argc > 3)) {
28081     rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
28082   }
28083   ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
28084   if (!SWIG_IsOK(ecode1)) {
28085     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","lmolvieFlightKeyboard", 1, argv[0] ));
28086   } 
28087   arg1 = (unsigned char)(val1);
28088   ecode2 = SWIG_AsVal_int(argv[1], &val2);
28089   if (!SWIG_IsOK(ecode2)) {
28090     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","lmolvieFlightKeyboard", 2, argv[1] ));
28091   } 
28092   arg2 = (int)(val2);
28093   ecode3 = SWIG_AsVal_int(argv[2], &val3);
28094   if (!SWIG_IsOK(ecode3)) {
28095     SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","lmolvieFlightKeyboard", 3, argv[2] ));
28096   } 
28097   arg3 = (int)(val3);
28098   lmolvieFlightKeyboard(arg1,arg2,arg3);
28099   return Qnil;
28100 fail:
28101   return Qnil;
28102 }
28103
28104
28105 SWIGINTERN VALUE
28106 _wrap_lmolvieFlightDisplay(int argc, VALUE *argv, VALUE self) {
28107   if ((argc < 0) || (argc > 0)) {
28108     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28109   }
28110   lmolvieFlightDisplay();
28111   return Qnil;
28112 fail:
28113   return Qnil;
28114 }
28115
28116
28117 SWIGINTERN VALUE
28118 _wrap_lmolvieFlightIdle(int argc, VALUE *argv, VALUE self) {
28119   if ((argc < 0) || (argc > 0)) {
28120     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28121   }
28122   lmolvieFlightIdle();
28123   return Qnil;
28124 fail:
28125   return Qnil;
28126 }
28127
28128
28129 SWIGINTERN VALUE
28130 _wrap_lmolvieTest(int argc, VALUE *argv, VALUE self) {
28131   if ((argc < 0) || (argc > 0)) {
28132     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28133   }
28134   lmolvieTest();
28135   return Qnil;
28136 fail:
28137   return Qnil;
28138 }
28139
28140
28141 SWIGINTERN VALUE
28142 _wrap_myDisplayListMakeAtom(int argc, VALUE *argv, VALUE self) {
28143   GLboolean result;
28144   VALUE vresult = Qnil;
28145   
28146   if ((argc < 0) || (argc > 0)) {
28147     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28148   }
28149   result = myDisplayListMakeAtom();
28150   vresult = SWIG_NewPointerObj((GLboolean *)memcpy((GLboolean *)malloc(sizeof(GLboolean)),&result,sizeof(GLboolean)), SWIGTYPE_p_GLboolean, SWIG_POINTER_OWN |  0 );
28151   return vresult;
28152 fail:
28153   return Qnil;
28154 }
28155
28156
28157 SWIGINTERN VALUE
28158 _wrap_setDriveMyCamera(int argc, VALUE *argv, VALUE self) {
28159   if ((argc < 0) || (argc > 0)) {
28160     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28161   }
28162   setDriveMyCamera();
28163   return Qnil;
28164 fail:
28165   return Qnil;
28166 }
28167
28168
28169 SWIGINTERN VALUE
28170 _wrap_resetDriveMyCamera(int argc, VALUE *argv, VALUE self) {
28171   if ((argc < 0) || (argc > 0)) {
28172     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28173   }
28174   resetDriveMyCamera();
28175   return Qnil;
28176 fail:
28177   return Qnil;
28178 }
28179
28180
28181 SWIGINTERN VALUE
28182 _wrap_setCameraCentreTag(int argc, VALUE *argv, VALUE self) {
28183   int arg1 ;
28184   int val1 ;
28185   int ecode1 = 0 ;
28186   
28187   if ((argc < 1) || (argc > 1)) {
28188     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28189   }
28190   ecode1 = SWIG_AsVal_int(argv[0], &val1);
28191   if (!SWIG_IsOK(ecode1)) {
28192     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","setCameraCentreTag", 1, argv[0] ));
28193   } 
28194   arg1 = (int)(val1);
28195   setCameraCentreTag(arg1);
28196   return Qnil;
28197 fail:
28198   return Qnil;
28199 }
28200
28201
28202 SWIGINTERN VALUE
28203 _wrap_drawatomc_get(VALUE self) {
28204   VALUE _val;
28205   
28206   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomc), SWIGTYPE_p_GLuint,  0 );
28207   return _val;
28208 }
28209
28210
28211 SWIGINTERN VALUE
28212 _wrap_drawatomc_set(VALUE self, VALUE _val) {
28213   {
28214     void *argp = 0;
28215     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28216     if (!SWIG_IsOK(res)) {
28217       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatomc""' of type '""GLuint""'");
28218     }
28219     if (!argp) {
28220       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomc""' of type '""GLuint""'");
28221     } else {
28222       drawatomc = *((GLuint *)(argp));
28223     }
28224   }
28225   return _val;
28226 fail:
28227   return Qnil;
28228 }
28229
28230
28231 SWIGINTERN VALUE
28232 _wrap_drawatomca_get(VALUE self) {
28233   VALUE _val;
28234   
28235   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomca), SWIGTYPE_p_GLuint,  0 );
28236   return _val;
28237 }
28238
28239
28240 SWIGINTERN VALUE
28241 _wrap_drawatomca_set(VALUE self, VALUE _val) {
28242   {
28243     void *argp = 0;
28244     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28245     if (!SWIG_IsOK(res)) {
28246       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatomca""' of type '""GLuint""'");
28247     }
28248     if (!argp) {
28249       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomca""' of type '""GLuint""'");
28250     } else {
28251       drawatomca = *((GLuint *)(argp));
28252     }
28253   }
28254   return _val;
28255 fail:
28256   return Qnil;
28257 }
28258
28259
28260 SWIGINTERN VALUE
28261 _wrap_drawatomo_get(VALUE self) {
28262   VALUE _val;
28263   
28264   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomo), SWIGTYPE_p_GLuint,  0 );
28265   return _val;
28266 }
28267
28268
28269 SWIGINTERN VALUE
28270 _wrap_drawatomo_set(VALUE self, VALUE _val) {
28271   {
28272     void *argp = 0;
28273     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28274     if (!SWIG_IsOK(res)) {
28275       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatomo""' of type '""GLuint""'");
28276     }
28277     if (!argp) {
28278       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomo""' of type '""GLuint""'");
28279     } else {
28280       drawatomo = *((GLuint *)(argp));
28281     }
28282   }
28283   return _val;
28284 fail:
28285   return Qnil;
28286 }
28287
28288
28289 SWIGINTERN VALUE
28290 _wrap_drawatomn_get(VALUE self) {
28291   VALUE _val;
28292   
28293   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomn), SWIGTYPE_p_GLuint,  0 );
28294   return _val;
28295 }
28296
28297
28298 SWIGINTERN VALUE
28299 _wrap_drawatomn_set(VALUE self, VALUE _val) {
28300   {
28301     void *argp = 0;
28302     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28303     if (!SWIG_IsOK(res)) {
28304       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatomn""' of type '""GLuint""'");
28305     }
28306     if (!argp) {
28307       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomn""' of type '""GLuint""'");
28308     } else {
28309       drawatomn = *((GLuint *)(argp));
28310     }
28311   }
28312   return _val;
28313 fail:
28314   return Qnil;
28315 }
28316
28317
28318 SWIGINTERN VALUE
28319 _wrap_drawatoms_get(VALUE self) {
28320   VALUE _val;
28321   
28322   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatoms), SWIGTYPE_p_GLuint,  0 );
28323   return _val;
28324 }
28325
28326
28327 SWIGINTERN VALUE
28328 _wrap_drawatoms_set(VALUE self, VALUE _val) {
28329   {
28330     void *argp = 0;
28331     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28332     if (!SWIG_IsOK(res)) {
28333       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatoms""' of type '""GLuint""'");
28334     }
28335     if (!argp) {
28336       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatoms""' of type '""GLuint""'");
28337     } else {
28338       drawatoms = *((GLuint *)(argp));
28339     }
28340   }
28341   return _val;
28342 fail:
28343   return Qnil;
28344 }
28345
28346
28347 SWIGINTERN VALUE
28348 _wrap_drawatomp_get(VALUE self) {
28349   VALUE _val;
28350   
28351   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomp), SWIGTYPE_p_GLuint,  0 );
28352   return _val;
28353 }
28354
28355
28356 SWIGINTERN VALUE
28357 _wrap_drawatomp_set(VALUE self, VALUE _val) {
28358   {
28359     void *argp = 0;
28360     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28361     if (!SWIG_IsOK(res)) {
28362       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatomp""' of type '""GLuint""'");
28363     }
28364     if (!argp) {
28365       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomp""' of type '""GLuint""'");
28366     } else {
28367       drawatomp = *((GLuint *)(argp));
28368     }
28369   }
28370   return _val;
28371 fail:
28372   return Qnil;
28373 }
28374
28375
28376 SWIGINTERN VALUE
28377 _wrap_drawatomh_get(VALUE self) {
28378   VALUE _val;
28379   
28380   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomh), SWIGTYPE_p_GLuint,  0 );
28381   return _val;
28382 }
28383
28384
28385 SWIGINTERN VALUE
28386 _wrap_drawatomh_set(VALUE self, VALUE _val) {
28387   {
28388     void *argp = 0;
28389     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28390     if (!SWIG_IsOK(res)) {
28391       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatomh""' of type '""GLuint""'");
28392     }
28393     if (!argp) {
28394       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomh""' of type '""GLuint""'");
28395     } else {
28396       drawatomh = *((GLuint *)(argp));
28397     }
28398   }
28399   return _val;
28400 fail:
28401   return Qnil;
28402 }
28403
28404
28405 SWIGINTERN VALUE
28406 _wrap_drawatomfe_get(VALUE self) {
28407   VALUE _val;
28408   
28409   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomfe), SWIGTYPE_p_GLuint,  0 );
28410   return _val;
28411 }
28412
28413
28414 SWIGINTERN VALUE
28415 _wrap_drawatomfe_set(VALUE self, VALUE _val) {
28416   {
28417     void *argp = 0;
28418     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28419     if (!SWIG_IsOK(res)) {
28420       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatomfe""' of type '""GLuint""'");
28421     }
28422     if (!argp) {
28423       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomfe""' of type '""GLuint""'");
28424     } else {
28425       drawatomfe = *((GLuint *)(argp));
28426     }
28427   }
28428   return _val;
28429 fail:
28430   return Qnil;
28431 }
28432
28433
28434 SWIGINTERN VALUE
28435 _wrap_drawstick_get(VALUE self) {
28436   VALUE _val;
28437   
28438   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawstick), SWIGTYPE_p_GLuint,  0 );
28439   return _val;
28440 }
28441
28442
28443 SWIGINTERN VALUE
28444 _wrap_drawstick_set(VALUE self, VALUE _val) {
28445   {
28446     void *argp = 0;
28447     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28448     if (!SWIG_IsOK(res)) {
28449       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawstick""' of type '""GLuint""'");
28450     }
28451     if (!argp) {
28452       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawstick""' of type '""GLuint""'");
28453     } else {
28454       drawstick = *((GLuint *)(argp));
28455     }
28456   }
28457   return _val;
28458 fail:
28459   return Qnil;
28460 }
28461
28462
28463 SWIGINTERN VALUE
28464 _wrap_drawatomserial_get(VALUE self) {
28465   VALUE _val;
28466   
28467   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomserial), SWIGTYPE_p_GLuint,  0 );
28468   return _val;
28469 }
28470
28471
28472 SWIGINTERN VALUE
28473 _wrap_drawatomserial_set(VALUE self, VALUE _val) {
28474   {
28475     void *argp = 0;
28476     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28477     if (!SWIG_IsOK(res)) {
28478       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawatomserial""' of type '""GLuint""'");
28479     }
28480     if (!argp) {
28481       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomserial""' of type '""GLuint""'");
28482     } else {
28483       drawatomserial = *((GLuint *)(argp));
28484     }
28485   }
28486   return _val;
28487 fail:
28488   return Qnil;
28489 }
28490
28491
28492 SWIGINTERN VALUE
28493 _wrap_drawresidue_get(VALUE self) {
28494   VALUE _val;
28495   
28496   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawresidue), SWIGTYPE_p_GLuint,  0 );
28497   return _val;
28498 }
28499
28500
28501 SWIGINTERN VALUE
28502 _wrap_drawresidue_set(VALUE self, VALUE _val) {
28503   {
28504     void *argp = 0;
28505     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28506     if (!SWIG_IsOK(res)) {
28507       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawresidue""' of type '""GLuint""'");
28508     }
28509     if (!argp) {
28510       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawresidue""' of type '""GLuint""'");
28511     } else {
28512       drawresidue = *((GLuint *)(argp));
28513     }
28514   }
28515   return _val;
28516 fail:
28517   return Qnil;
28518 }
28519
28520
28521 SWIGINTERN VALUE
28522 _wrap_drawtemp_get(VALUE self) {
28523   VALUE _val;
28524   
28525   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawtemp), SWIGTYPE_p_GLuint,  0 );
28526   return _val;
28527 }
28528
28529
28530 SWIGINTERN VALUE
28531 _wrap_drawtemp_set(VALUE self, VALUE _val) {
28532   {
28533     void *argp = 0;
28534     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28535     if (!SWIG_IsOK(res)) {
28536       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawtemp""' of type '""GLuint""'");
28537     }
28538     if (!argp) {
28539       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawtemp""' of type '""GLuint""'");
28540     } else {
28541       drawtemp = *((GLuint *)(argp));
28542     }
28543   }
28544   return _val;
28545 fail:
28546   return Qnil;
28547 }
28548
28549
28550 SWIGINTERN VALUE
28551 _wrap_drawsticktemp_get(VALUE self) {
28552   VALUE _val;
28553   
28554   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawsticktemp), SWIGTYPE_p_GLuint,  0 );
28555   return _val;
28556 }
28557
28558
28559 SWIGINTERN VALUE
28560 _wrap_drawsticktemp_set(VALUE self, VALUE _val) {
28561   {
28562     void *argp = 0;
28563     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28564     if (!SWIG_IsOK(res)) {
28565       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawsticktemp""' of type '""GLuint""'");
28566     }
28567     if (!argp) {
28568       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawsticktemp""' of type '""GLuint""'");
28569     } else {
28570       drawsticktemp = *((GLuint *)(argp));
28571     }
28572   }
28573   return _val;
28574 fail:
28575   return Qnil;
28576 }
28577
28578
28579 SWIGINTERN VALUE
28580 _wrap_drawstickresidue_get(VALUE self) {
28581   VALUE _val;
28582   
28583   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawstickresidue), SWIGTYPE_p_GLuint,  0 );
28584   return _val;
28585 }
28586
28587
28588 SWIGINTERN VALUE
28589 _wrap_drawstickresidue_set(VALUE self, VALUE _val) {
28590   {
28591     void *argp = 0;
28592     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28593     if (!SWIG_IsOK(res)) {
28594       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawstickresidue""' of type '""GLuint""'");
28595     }
28596     if (!argp) {
28597       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawstickresidue""' of type '""GLuint""'");
28598     } else {
28599       drawstickresidue = *((GLuint *)(argp));
28600     }
28601   }
28602   return _val;
28603 fail:
28604   return Qnil;
28605 }
28606
28607
28608 SWIGINTERN VALUE
28609 _wrap_drawsurface_get(VALUE self) {
28610   VALUE _val;
28611   
28612   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawsurface), SWIGTYPE_p_GLuint,  0 );
28613   return _val;
28614 }
28615
28616
28617 SWIGINTERN VALUE
28618 _wrap_drawsurface_set(VALUE self, VALUE _val) {
28619   {
28620     void *argp = 0;
28621     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28622     if (!SWIG_IsOK(res)) {
28623       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawsurface""' of type '""GLuint""'");
28624     }
28625     if (!argp) {
28626       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawsurface""' of type '""GLuint""'");
28627     } else {
28628       drawsurface = *((GLuint *)(argp));
28629     }
28630   }
28631   return _val;
28632 fail:
28633   return Qnil;
28634 }
28635
28636
28637 SWIGINTERN VALUE
28638 _wrap_drawdistancefromtarget_get(VALUE self) {
28639   VALUE _val;
28640   
28641   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawdistancefromtarget), SWIGTYPE_p_GLuint,  0 );
28642   return _val;
28643 }
28644
28645
28646 SWIGINTERN VALUE
28647 _wrap_drawdistancefromtarget_set(VALUE self, VALUE _val) {
28648   {
28649     void *argp = 0;
28650     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28651     if (!SWIG_IsOK(res)) {
28652       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawdistancefromtarget""' of type '""GLuint""'");
28653     }
28654     if (!argp) {
28655       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawdistancefromtarget""' of type '""GLuint""'");
28656     } else {
28657       drawdistancefromtarget = *((GLuint *)(argp));
28658     }
28659   }
28660   return _val;
28661 fail:
28662   return Qnil;
28663 }
28664
28665
28666 SWIGINTERN VALUE
28667 _wrap_drawwireframe_get(VALUE self) {
28668   VALUE _val;
28669   
28670   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawwireframe), SWIGTYPE_p_GLuint,  0 );
28671   return _val;
28672 }
28673
28674
28675 SWIGINTERN VALUE
28676 _wrap_drawwireframe_set(VALUE self, VALUE _val) {
28677   {
28678     void *argp = 0;
28679     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28680     if (!SWIG_IsOK(res)) {
28681       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawwireframe""' of type '""GLuint""'");
28682     }
28683     if (!argp) {
28684       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawwireframe""' of type '""GLuint""'");
28685     } else {
28686       drawwireframe = *((GLuint *)(argp));
28687     }
28688   }
28689   return _val;
28690 fail:
28691   return Qnil;
28692 }
28693
28694
28695 SWIGINTERN VALUE
28696 _wrap_drawchain_get(VALUE self) {
28697   VALUE _val;
28698   
28699   _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawchain), SWIGTYPE_p_GLuint,  0 );
28700   return _val;
28701 }
28702
28703
28704 SWIGINTERN VALUE
28705 _wrap_drawchain_set(VALUE self, VALUE _val) {
28706   {
28707     void *argp = 0;
28708     int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_GLuint,  0 );
28709     if (!SWIG_IsOK(res)) {
28710       SWIG_exception_fail(SWIG_ArgError(res), "in variable '""drawchain""' of type '""GLuint""'");
28711     }
28712     if (!argp) {
28713       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawchain""' of type '""GLuint""'");
28714     } else {
28715       drawchain = *((GLuint *)(argp));
28716     }
28717   }
28718   return _val;
28719 fail:
28720   return Qnil;
28721 }
28722
28723
28724 swig_class cPdbCenter;
28725
28726 SWIGINTERN VALUE
28727 _wrap_pdbCenter_xCenter_set(int argc, VALUE *argv, VALUE self) {
28728   pdbCenter *arg1 = (pdbCenter *) 0 ;
28729   GLfloat arg2 ;
28730   void *argp1 = 0 ;
28731   int res1 = 0 ;
28732   void *argp2 ;
28733   int res2 = 0 ;
28734   
28735   if ((argc < 1) || (argc > 1)) {
28736     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28737   }
28738   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28739   if (!SWIG_IsOK(res1)) {
28740     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xCenter", 1, self )); 
28741   }
28742   arg1 = (pdbCenter *)(argp1);
28743   {
28744     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
28745     if (!SWIG_IsOK(res2)) {
28746       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","xCenter", 2, argv[0] )); 
28747     }  
28748     if (!argp2) {
28749       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","xCenter", 2, argv[0]));
28750     } else {
28751       arg2 = *((GLfloat *)(argp2));
28752     }
28753   }
28754   if (arg1) (arg1)->xCenter = arg2;
28755   return Qnil;
28756 fail:
28757   return Qnil;
28758 }
28759
28760
28761 SWIGINTERN VALUE
28762 _wrap_pdbCenter_xCenter_get(int argc, VALUE *argv, VALUE self) {
28763   pdbCenter *arg1 = (pdbCenter *) 0 ;
28764   void *argp1 = 0 ;
28765   int res1 = 0 ;
28766   GLfloat result;
28767   VALUE vresult = Qnil;
28768   
28769   if ((argc < 0) || (argc > 0)) {
28770     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28771   }
28772   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28773   if (!SWIG_IsOK(res1)) {
28774     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xCenter", 1, self )); 
28775   }
28776   arg1 = (pdbCenter *)(argp1);
28777   result =  ((arg1)->xCenter);
28778   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
28779   return vresult;
28780 fail:
28781   return Qnil;
28782 }
28783
28784
28785 SWIGINTERN VALUE
28786 _wrap_pdbCenter_yCenter_set(int argc, VALUE *argv, VALUE self) {
28787   pdbCenter *arg1 = (pdbCenter *) 0 ;
28788   GLfloat arg2 ;
28789   void *argp1 = 0 ;
28790   int res1 = 0 ;
28791   void *argp2 ;
28792   int res2 = 0 ;
28793   
28794   if ((argc < 1) || (argc > 1)) {
28795     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28796   }
28797   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28798   if (!SWIG_IsOK(res1)) {
28799     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yCenter", 1, self )); 
28800   }
28801   arg1 = (pdbCenter *)(argp1);
28802   {
28803     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
28804     if (!SWIG_IsOK(res2)) {
28805       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","yCenter", 2, argv[0] )); 
28806     }  
28807     if (!argp2) {
28808       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","yCenter", 2, argv[0]));
28809     } else {
28810       arg2 = *((GLfloat *)(argp2));
28811     }
28812   }
28813   if (arg1) (arg1)->yCenter = arg2;
28814   return Qnil;
28815 fail:
28816   return Qnil;
28817 }
28818
28819
28820 SWIGINTERN VALUE
28821 _wrap_pdbCenter_yCenter_get(int argc, VALUE *argv, VALUE self) {
28822   pdbCenter *arg1 = (pdbCenter *) 0 ;
28823   void *argp1 = 0 ;
28824   int res1 = 0 ;
28825   GLfloat result;
28826   VALUE vresult = Qnil;
28827   
28828   if ((argc < 0) || (argc > 0)) {
28829     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28830   }
28831   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28832   if (!SWIG_IsOK(res1)) {
28833     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yCenter", 1, self )); 
28834   }
28835   arg1 = (pdbCenter *)(argp1);
28836   result =  ((arg1)->yCenter);
28837   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
28838   return vresult;
28839 fail:
28840   return Qnil;
28841 }
28842
28843
28844 SWIGINTERN VALUE
28845 _wrap_pdbCenter_zCenter_set(int argc, VALUE *argv, VALUE self) {
28846   pdbCenter *arg1 = (pdbCenter *) 0 ;
28847   GLfloat arg2 ;
28848   void *argp1 = 0 ;
28849   int res1 = 0 ;
28850   void *argp2 ;
28851   int res2 = 0 ;
28852   
28853   if ((argc < 1) || (argc > 1)) {
28854     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28855   }
28856   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28857   if (!SWIG_IsOK(res1)) {
28858     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zCenter", 1, self )); 
28859   }
28860   arg1 = (pdbCenter *)(argp1);
28861   {
28862     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
28863     if (!SWIG_IsOK(res2)) {
28864       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","zCenter", 2, argv[0] )); 
28865     }  
28866     if (!argp2) {
28867       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","zCenter", 2, argv[0]));
28868     } else {
28869       arg2 = *((GLfloat *)(argp2));
28870     }
28871   }
28872   if (arg1) (arg1)->zCenter = arg2;
28873   return Qnil;
28874 fail:
28875   return Qnil;
28876 }
28877
28878
28879 SWIGINTERN VALUE
28880 _wrap_pdbCenter_zCenter_get(int argc, VALUE *argv, VALUE self) {
28881   pdbCenter *arg1 = (pdbCenter *) 0 ;
28882   void *argp1 = 0 ;
28883   int res1 = 0 ;
28884   GLfloat result;
28885   VALUE vresult = Qnil;
28886   
28887   if ((argc < 0) || (argc > 0)) {
28888     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28889   }
28890   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28891   if (!SWIG_IsOK(res1)) {
28892     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zCenter", 1, self )); 
28893   }
28894   arg1 = (pdbCenter *)(argp1);
28895   result =  ((arg1)->zCenter);
28896   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
28897   return vresult;
28898 fail:
28899   return Qnil;
28900 }
28901
28902
28903 SWIGINTERN VALUE
28904 _wrap_pdbCenter_xMax_set(int argc, VALUE *argv, VALUE self) {
28905   pdbCenter *arg1 = (pdbCenter *) 0 ;
28906   GLfloat arg2 ;
28907   void *argp1 = 0 ;
28908   int res1 = 0 ;
28909   void *argp2 ;
28910   int res2 = 0 ;
28911   
28912   if ((argc < 1) || (argc > 1)) {
28913     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28914   }
28915   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28916   if (!SWIG_IsOK(res1)) {
28917     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xMax", 1, self )); 
28918   }
28919   arg1 = (pdbCenter *)(argp1);
28920   {
28921     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
28922     if (!SWIG_IsOK(res2)) {
28923       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","xMax", 2, argv[0] )); 
28924     }  
28925     if (!argp2) {
28926       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","xMax", 2, argv[0]));
28927     } else {
28928       arg2 = *((GLfloat *)(argp2));
28929     }
28930   }
28931   if (arg1) (arg1)->xMax = arg2;
28932   return Qnil;
28933 fail:
28934   return Qnil;
28935 }
28936
28937
28938 SWIGINTERN VALUE
28939 _wrap_pdbCenter_xMax_get(int argc, VALUE *argv, VALUE self) {
28940   pdbCenter *arg1 = (pdbCenter *) 0 ;
28941   void *argp1 = 0 ;
28942   int res1 = 0 ;
28943   GLfloat result;
28944   VALUE vresult = Qnil;
28945   
28946   if ((argc < 0) || (argc > 0)) {
28947     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28948   }
28949   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28950   if (!SWIG_IsOK(res1)) {
28951     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xMax", 1, self )); 
28952   }
28953   arg1 = (pdbCenter *)(argp1);
28954   result =  ((arg1)->xMax);
28955   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
28956   return vresult;
28957 fail:
28958   return Qnil;
28959 }
28960
28961
28962 SWIGINTERN VALUE
28963 _wrap_pdbCenter_xMin_set(int argc, VALUE *argv, VALUE self) {
28964   pdbCenter *arg1 = (pdbCenter *) 0 ;
28965   GLfloat arg2 ;
28966   void *argp1 = 0 ;
28967   int res1 = 0 ;
28968   void *argp2 ;
28969   int res2 = 0 ;
28970   
28971   if ((argc < 1) || (argc > 1)) {
28972     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28973   }
28974   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
28975   if (!SWIG_IsOK(res1)) {
28976     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xMin", 1, self )); 
28977   }
28978   arg1 = (pdbCenter *)(argp1);
28979   {
28980     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
28981     if (!SWIG_IsOK(res2)) {
28982       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","xMin", 2, argv[0] )); 
28983     }  
28984     if (!argp2) {
28985       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","xMin", 2, argv[0]));
28986     } else {
28987       arg2 = *((GLfloat *)(argp2));
28988     }
28989   }
28990   if (arg1) (arg1)->xMin = arg2;
28991   return Qnil;
28992 fail:
28993   return Qnil;
28994 }
28995
28996
28997 SWIGINTERN VALUE
28998 _wrap_pdbCenter_xMin_get(int argc, VALUE *argv, VALUE self) {
28999   pdbCenter *arg1 = (pdbCenter *) 0 ;
29000   void *argp1 = 0 ;
29001   int res1 = 0 ;
29002   GLfloat result;
29003   VALUE vresult = Qnil;
29004   
29005   if ((argc < 0) || (argc > 0)) {
29006     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29007   }
29008   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29009   if (!SWIG_IsOK(res1)) {
29010     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xMin", 1, self )); 
29011   }
29012   arg1 = (pdbCenter *)(argp1);
29013   result =  ((arg1)->xMin);
29014   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
29015   return vresult;
29016 fail:
29017   return Qnil;
29018 }
29019
29020
29021 SWIGINTERN VALUE
29022 _wrap_pdbCenter_xWidth_set(int argc, VALUE *argv, VALUE self) {
29023   pdbCenter *arg1 = (pdbCenter *) 0 ;
29024   GLfloat arg2 ;
29025   void *argp1 = 0 ;
29026   int res1 = 0 ;
29027   void *argp2 ;
29028   int res2 = 0 ;
29029   
29030   if ((argc < 1) || (argc > 1)) {
29031     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29032   }
29033   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29034   if (!SWIG_IsOK(res1)) {
29035     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xWidth", 1, self )); 
29036   }
29037   arg1 = (pdbCenter *)(argp1);
29038   {
29039     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
29040     if (!SWIG_IsOK(res2)) {
29041       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","xWidth", 2, argv[0] )); 
29042     }  
29043     if (!argp2) {
29044       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","xWidth", 2, argv[0]));
29045     } else {
29046       arg2 = *((GLfloat *)(argp2));
29047     }
29048   }
29049   if (arg1) (arg1)->xWidth = arg2;
29050   return Qnil;
29051 fail:
29052   return Qnil;
29053 }
29054
29055
29056 SWIGINTERN VALUE
29057 _wrap_pdbCenter_xWidth_get(int argc, VALUE *argv, VALUE self) {
29058   pdbCenter *arg1 = (pdbCenter *) 0 ;
29059   void *argp1 = 0 ;
29060   int res1 = 0 ;
29061   GLfloat result;
29062   VALUE vresult = Qnil;
29063   
29064   if ((argc < 0) || (argc > 0)) {
29065     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29066   }
29067   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29068   if (!SWIG_IsOK(res1)) {
29069     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xWidth", 1, self )); 
29070   }
29071   arg1 = (pdbCenter *)(argp1);
29072   result =  ((arg1)->xWidth);
29073   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
29074   return vresult;
29075 fail:
29076   return Qnil;
29077 }
29078
29079
29080 SWIGINTERN VALUE
29081 _wrap_pdbCenter_yMax_set(int argc, VALUE *argv, VALUE self) {
29082   pdbCenter *arg1 = (pdbCenter *) 0 ;
29083   GLfloat arg2 ;
29084   void *argp1 = 0 ;
29085   int res1 = 0 ;
29086   void *argp2 ;
29087   int res2 = 0 ;
29088   
29089   if ((argc < 1) || (argc > 1)) {
29090     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29091   }
29092   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29093   if (!SWIG_IsOK(res1)) {
29094     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yMax", 1, self )); 
29095   }
29096   arg1 = (pdbCenter *)(argp1);
29097   {
29098     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
29099     if (!SWIG_IsOK(res2)) {
29100       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","yMax", 2, argv[0] )); 
29101     }  
29102     if (!argp2) {
29103       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","yMax", 2, argv[0]));
29104     } else {
29105       arg2 = *((GLfloat *)(argp2));
29106     }
29107   }
29108   if (arg1) (arg1)->yMax = arg2;
29109   return Qnil;
29110 fail:
29111   return Qnil;
29112 }
29113
29114
29115 SWIGINTERN VALUE
29116 _wrap_pdbCenter_yMax_get(int argc, VALUE *argv, VALUE self) {
29117   pdbCenter *arg1 = (pdbCenter *) 0 ;
29118   void *argp1 = 0 ;
29119   int res1 = 0 ;
29120   GLfloat result;
29121   VALUE vresult = Qnil;
29122   
29123   if ((argc < 0) || (argc > 0)) {
29124     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29125   }
29126   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29127   if (!SWIG_IsOK(res1)) {
29128     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yMax", 1, self )); 
29129   }
29130   arg1 = (pdbCenter *)(argp1);
29131   result =  ((arg1)->yMax);
29132   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
29133   return vresult;
29134 fail:
29135   return Qnil;
29136 }
29137
29138
29139 SWIGINTERN VALUE
29140 _wrap_pdbCenter_yMin_set(int argc, VALUE *argv, VALUE self) {
29141   pdbCenter *arg1 = (pdbCenter *) 0 ;
29142   GLfloat arg2 ;
29143   void *argp1 = 0 ;
29144   int res1 = 0 ;
29145   void *argp2 ;
29146   int res2 = 0 ;
29147   
29148   if ((argc < 1) || (argc > 1)) {
29149     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29150   }
29151   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29152   if (!SWIG_IsOK(res1)) {
29153     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yMin", 1, self )); 
29154   }
29155   arg1 = (pdbCenter *)(argp1);
29156   {
29157     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
29158     if (!SWIG_IsOK(res2)) {
29159       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","yMin", 2, argv[0] )); 
29160     }  
29161     if (!argp2) {
29162       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","yMin", 2, argv[0]));
29163     } else {
29164       arg2 = *((GLfloat *)(argp2));
29165     }
29166   }
29167   if (arg1) (arg1)->yMin = arg2;
29168   return Qnil;
29169 fail:
29170   return Qnil;
29171 }
29172
29173
29174 SWIGINTERN VALUE
29175 _wrap_pdbCenter_yMin_get(int argc, VALUE *argv, VALUE self) {
29176   pdbCenter *arg1 = (pdbCenter *) 0 ;
29177   void *argp1 = 0 ;
29178   int res1 = 0 ;
29179   GLfloat result;
29180   VALUE vresult = Qnil;
29181   
29182   if ((argc < 0) || (argc > 0)) {
29183     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29184   }
29185   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29186   if (!SWIG_IsOK(res1)) {
29187     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yMin", 1, self )); 
29188   }
29189   arg1 = (pdbCenter *)(argp1);
29190   result =  ((arg1)->yMin);
29191   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
29192   return vresult;
29193 fail:
29194   return Qnil;
29195 }
29196
29197
29198 SWIGINTERN VALUE
29199 _wrap_pdbCenter_yWidth_set(int argc, VALUE *argv, VALUE self) {
29200   pdbCenter *arg1 = (pdbCenter *) 0 ;
29201   GLfloat arg2 ;
29202   void *argp1 = 0 ;
29203   int res1 = 0 ;
29204   void *argp2 ;
29205   int res2 = 0 ;
29206   
29207   if ((argc < 1) || (argc > 1)) {
29208     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29209   }
29210   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29211   if (!SWIG_IsOK(res1)) {
29212     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yWidth", 1, self )); 
29213   }
29214   arg1 = (pdbCenter *)(argp1);
29215   {
29216     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
29217     if (!SWIG_IsOK(res2)) {
29218       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","yWidth", 2, argv[0] )); 
29219     }  
29220     if (!argp2) {
29221       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","yWidth", 2, argv[0]));
29222     } else {
29223       arg2 = *((GLfloat *)(argp2));
29224     }
29225   }
29226   if (arg1) (arg1)->yWidth = arg2;
29227   return Qnil;
29228 fail:
29229   return Qnil;
29230 }
29231
29232
29233 SWIGINTERN VALUE
29234 _wrap_pdbCenter_yWidth_get(int argc, VALUE *argv, VALUE self) {
29235   pdbCenter *arg1 = (pdbCenter *) 0 ;
29236   void *argp1 = 0 ;
29237   int res1 = 0 ;
29238   GLfloat result;
29239   VALUE vresult = Qnil;
29240   
29241   if ((argc < 0) || (argc > 0)) {
29242     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29243   }
29244   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29245   if (!SWIG_IsOK(res1)) {
29246     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yWidth", 1, self )); 
29247   }
29248   arg1 = (pdbCenter *)(argp1);
29249   result =  ((arg1)->yWidth);
29250   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
29251   return vresult;
29252 fail:
29253   return Qnil;
29254 }
29255
29256
29257 SWIGINTERN VALUE
29258 _wrap_pdbCenter_zMax_set(int argc, VALUE *argv, VALUE self) {
29259   pdbCenter *arg1 = (pdbCenter *) 0 ;
29260   GLfloat arg2 ;
29261   void *argp1 = 0 ;
29262   int res1 = 0 ;
29263   void *argp2 ;
29264   int res2 = 0 ;
29265   
29266   if ((argc < 1) || (argc > 1)) {
29267     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29268   }
29269   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29270   if (!SWIG_IsOK(res1)) {
29271     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zMax", 1, self )); 
29272   }
29273   arg1 = (pdbCenter *)(argp1);
29274   {
29275     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
29276     if (!SWIG_IsOK(res2)) {
29277       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","zMax", 2, argv[0] )); 
29278     }  
29279     if (!argp2) {
29280       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","zMax", 2, argv[0]));
29281     } else {
29282       arg2 = *((GLfloat *)(argp2));
29283     }
29284   }
29285   if (arg1) (arg1)->zMax = arg2;
29286   return Qnil;
29287 fail:
29288   return Qnil;
29289 }
29290
29291
29292 SWIGINTERN VALUE
29293 _wrap_pdbCenter_zMax_get(int argc, VALUE *argv, VALUE self) {
29294   pdbCenter *arg1 = (pdbCenter *) 0 ;
29295   void *argp1 = 0 ;
29296   int res1 = 0 ;
29297   GLfloat result;
29298   VALUE vresult = Qnil;
29299   
29300   if ((argc < 0) || (argc > 0)) {
29301     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29302   }
29303   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29304   if (!SWIG_IsOK(res1)) {
29305     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zMax", 1, self )); 
29306   }
29307   arg1 = (pdbCenter *)(argp1);
29308   result =  ((arg1)->zMax);
29309   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
29310   return vresult;
29311 fail:
29312   return Qnil;
29313 }
29314
29315
29316 SWIGINTERN VALUE
29317 _wrap_pdbCenter_zMin_set(int argc, VALUE *argv, VALUE self) {
29318   pdbCenter *arg1 = (pdbCenter *) 0 ;
29319   GLfloat arg2 ;
29320   void *argp1 = 0 ;
29321   int res1 = 0 ;
29322   void *argp2 ;
29323   int res2 = 0 ;
29324   
29325   if ((argc < 1) || (argc > 1)) {
29326     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29327   }
29328   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29329   if (!SWIG_IsOK(res1)) {
29330     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zMin", 1, self )); 
29331   }
29332   arg1 = (pdbCenter *)(argp1);
29333   {
29334     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
29335     if (!SWIG_IsOK(res2)) {
29336       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","zMin", 2, argv[0] )); 
29337     }  
29338     if (!argp2) {
29339       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","zMin", 2, argv[0]));
29340     } else {
29341       arg2 = *((GLfloat *)(argp2));
29342     }
29343   }
29344   if (arg1) (arg1)->zMin = arg2;
29345   return Qnil;
29346 fail:
29347   return Qnil;
29348 }
29349
29350
29351 SWIGINTERN VALUE
29352 _wrap_pdbCenter_zMin_get(int argc, VALUE *argv, VALUE self) {
29353   pdbCenter *arg1 = (pdbCenter *) 0 ;
29354   void *argp1 = 0 ;
29355   int res1 = 0 ;
29356   GLfloat result;
29357   VALUE vresult = Qnil;
29358   
29359   if ((argc < 0) || (argc > 0)) {
29360     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29361   }
29362   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29363   if (!SWIG_IsOK(res1)) {
29364     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zMin", 1, self )); 
29365   }
29366   arg1 = (pdbCenter *)(argp1);
29367   result =  ((arg1)->zMin);
29368   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
29369   return vresult;
29370 fail:
29371   return Qnil;
29372 }
29373
29374
29375 SWIGINTERN VALUE
29376 _wrap_pdbCenter_zWidth_set(int argc, VALUE *argv, VALUE self) {
29377   pdbCenter *arg1 = (pdbCenter *) 0 ;
29378   GLfloat arg2 ;
29379   void *argp1 = 0 ;
29380   int res1 = 0 ;
29381   void *argp2 ;
29382   int res2 = 0 ;
29383   
29384   if ((argc < 1) || (argc > 1)) {
29385     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29386   }
29387   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29388   if (!SWIG_IsOK(res1)) {
29389     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zWidth", 1, self )); 
29390   }
29391   arg1 = (pdbCenter *)(argp1);
29392   {
29393     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
29394     if (!SWIG_IsOK(res2)) {
29395       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","zWidth", 2, argv[0] )); 
29396     }  
29397     if (!argp2) {
29398       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","zWidth", 2, argv[0]));
29399     } else {
29400       arg2 = *((GLfloat *)(argp2));
29401     }
29402   }
29403   if (arg1) (arg1)->zWidth = arg2;
29404   return Qnil;
29405 fail:
29406   return Qnil;
29407 }
29408
29409
29410 SWIGINTERN VALUE
29411 _wrap_pdbCenter_zWidth_get(int argc, VALUE *argv, VALUE self) {
29412   pdbCenter *arg1 = (pdbCenter *) 0 ;
29413   void *argp1 = 0 ;
29414   int res1 = 0 ;
29415   GLfloat result;
29416   VALUE vresult = Qnil;
29417   
29418   if ((argc < 0) || (argc > 0)) {
29419     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29420   }
29421   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 |  0 );
29422   if (!SWIG_IsOK(res1)) {
29423     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zWidth", 1, self )); 
29424   }
29425   arg1 = (pdbCenter *)(argp1);
29426   result =  ((arg1)->zWidth);
29427   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
29428   return vresult;
29429 fail:
29430   return Qnil;
29431 }
29432
29433
29434 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
29435 SWIGINTERN VALUE
29436 _wrap_pdbCenter_allocate(VALUE self) {
29437 #else
29438   SWIGINTERN VALUE
29439   _wrap_pdbCenter_allocate(int argc, VALUE *argv, VALUE self) {
29440 #endif
29441     
29442     
29443     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbCenter);
29444 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
29445     rb_obj_call_init(vresult, argc, argv);
29446 #endif
29447     return vresult;
29448   }
29449   
29450
29451 SWIGINTERN VALUE
29452 _wrap_new_pdbCenter(int argc, VALUE *argv, VALUE self) {
29453   pdbCenter *result = 0 ;
29454   
29455   if ((argc < 0) || (argc > 0)) {
29456     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29457   }
29458   result = (pdbCenter *)calloc(1, sizeof(pdbCenter));
29459   DATA_PTR(self) = result;
29460   return self;
29461 fail:
29462   return Qnil;
29463 }
29464
29465
29466 SWIGINTERN void
29467 free_pdbCenter(pdbCenter *arg1) {
29468     free((char *) arg1);
29469 }
29470
29471 swig_class cElementSwitch;
29472
29473 SWIGINTERN VALUE
29474 _wrap_elementSwitch_elementC_set(int argc, VALUE *argv, VALUE self) {
29475   elementSwitch *arg1 = (elementSwitch *) 0 ;
29476   GLint arg2 ;
29477   void *argp1 = 0 ;
29478   int res1 = 0 ;
29479   void *argp2 ;
29480   int res2 = 0 ;
29481   
29482   if ((argc < 1) || (argc > 1)) {
29483     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29484   }
29485   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29486   if (!SWIG_IsOK(res1)) {
29487     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementC", 1, self )); 
29488   }
29489   arg1 = (elementSwitch *)(argp1);
29490   {
29491     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
29492     if (!SWIG_IsOK(res2)) {
29493       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","elementC", 2, argv[0] )); 
29494     }  
29495     if (!argp2) {
29496       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementC", 2, argv[0]));
29497     } else {
29498       arg2 = *((GLint *)(argp2));
29499     }
29500   }
29501   if (arg1) (arg1)->elementC = arg2;
29502   return Qnil;
29503 fail:
29504   return Qnil;
29505 }
29506
29507
29508 SWIGINTERN VALUE
29509 _wrap_elementSwitch_elementC_get(int argc, VALUE *argv, VALUE self) {
29510   elementSwitch *arg1 = (elementSwitch *) 0 ;
29511   void *argp1 = 0 ;
29512   int res1 = 0 ;
29513   GLint result;
29514   VALUE vresult = Qnil;
29515   
29516   if ((argc < 0) || (argc > 0)) {
29517     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29518   }
29519   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29520   if (!SWIG_IsOK(res1)) {
29521     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementC", 1, self )); 
29522   }
29523   arg1 = (elementSwitch *)(argp1);
29524   result =  ((arg1)->elementC);
29525   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
29526   return vresult;
29527 fail:
29528   return Qnil;
29529 }
29530
29531
29532 SWIGINTERN VALUE
29533 _wrap_elementSwitch_elementO_set(int argc, VALUE *argv, VALUE self) {
29534   elementSwitch *arg1 = (elementSwitch *) 0 ;
29535   GLint arg2 ;
29536   void *argp1 = 0 ;
29537   int res1 = 0 ;
29538   void *argp2 ;
29539   int res2 = 0 ;
29540   
29541   if ((argc < 1) || (argc > 1)) {
29542     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29543   }
29544   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29545   if (!SWIG_IsOK(res1)) {
29546     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementO", 1, self )); 
29547   }
29548   arg1 = (elementSwitch *)(argp1);
29549   {
29550     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
29551     if (!SWIG_IsOK(res2)) {
29552       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","elementO", 2, argv[0] )); 
29553     }  
29554     if (!argp2) {
29555       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementO", 2, argv[0]));
29556     } else {
29557       arg2 = *((GLint *)(argp2));
29558     }
29559   }
29560   if (arg1) (arg1)->elementO = arg2;
29561   return Qnil;
29562 fail:
29563   return Qnil;
29564 }
29565
29566
29567 SWIGINTERN VALUE
29568 _wrap_elementSwitch_elementO_get(int argc, VALUE *argv, VALUE self) {
29569   elementSwitch *arg1 = (elementSwitch *) 0 ;
29570   void *argp1 = 0 ;
29571   int res1 = 0 ;
29572   GLint result;
29573   VALUE vresult = Qnil;
29574   
29575   if ((argc < 0) || (argc > 0)) {
29576     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29577   }
29578   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29579   if (!SWIG_IsOK(res1)) {
29580     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementO", 1, self )); 
29581   }
29582   arg1 = (elementSwitch *)(argp1);
29583   result =  ((arg1)->elementO);
29584   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
29585   return vresult;
29586 fail:
29587   return Qnil;
29588 }
29589
29590
29591 SWIGINTERN VALUE
29592 _wrap_elementSwitch_elementN_set(int argc, VALUE *argv, VALUE self) {
29593   elementSwitch *arg1 = (elementSwitch *) 0 ;
29594   GLint arg2 ;
29595   void *argp1 = 0 ;
29596   int res1 = 0 ;
29597   void *argp2 ;
29598   int res2 = 0 ;
29599   
29600   if ((argc < 1) || (argc > 1)) {
29601     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29602   }
29603   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29604   if (!SWIG_IsOK(res1)) {
29605     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementN", 1, self )); 
29606   }
29607   arg1 = (elementSwitch *)(argp1);
29608   {
29609     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
29610     if (!SWIG_IsOK(res2)) {
29611       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","elementN", 2, argv[0] )); 
29612     }  
29613     if (!argp2) {
29614       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementN", 2, argv[0]));
29615     } else {
29616       arg2 = *((GLint *)(argp2));
29617     }
29618   }
29619   if (arg1) (arg1)->elementN = arg2;
29620   return Qnil;
29621 fail:
29622   return Qnil;
29623 }
29624
29625
29626 SWIGINTERN VALUE
29627 _wrap_elementSwitch_elementN_get(int argc, VALUE *argv, VALUE self) {
29628   elementSwitch *arg1 = (elementSwitch *) 0 ;
29629   void *argp1 = 0 ;
29630   int res1 = 0 ;
29631   GLint result;
29632   VALUE vresult = Qnil;
29633   
29634   if ((argc < 0) || (argc > 0)) {
29635     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29636   }
29637   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29638   if (!SWIG_IsOK(res1)) {
29639     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementN", 1, self )); 
29640   }
29641   arg1 = (elementSwitch *)(argp1);
29642   result =  ((arg1)->elementN);
29643   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
29644   return vresult;
29645 fail:
29646   return Qnil;
29647 }
29648
29649
29650 SWIGINTERN VALUE
29651 _wrap_elementSwitch_elementS_set(int argc, VALUE *argv, VALUE self) {
29652   elementSwitch *arg1 = (elementSwitch *) 0 ;
29653   GLint arg2 ;
29654   void *argp1 = 0 ;
29655   int res1 = 0 ;
29656   void *argp2 ;
29657   int res2 = 0 ;
29658   
29659   if ((argc < 1) || (argc > 1)) {
29660     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29661   }
29662   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29663   if (!SWIG_IsOK(res1)) {
29664     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementS", 1, self )); 
29665   }
29666   arg1 = (elementSwitch *)(argp1);
29667   {
29668     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
29669     if (!SWIG_IsOK(res2)) {
29670       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","elementS", 2, argv[0] )); 
29671     }  
29672     if (!argp2) {
29673       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementS", 2, argv[0]));
29674     } else {
29675       arg2 = *((GLint *)(argp2));
29676     }
29677   }
29678   if (arg1) (arg1)->elementS = arg2;
29679   return Qnil;
29680 fail:
29681   return Qnil;
29682 }
29683
29684
29685 SWIGINTERN VALUE
29686 _wrap_elementSwitch_elementS_get(int argc, VALUE *argv, VALUE self) {
29687   elementSwitch *arg1 = (elementSwitch *) 0 ;
29688   void *argp1 = 0 ;
29689   int res1 = 0 ;
29690   GLint result;
29691   VALUE vresult = Qnil;
29692   
29693   if ((argc < 0) || (argc > 0)) {
29694     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29695   }
29696   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29697   if (!SWIG_IsOK(res1)) {
29698     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementS", 1, self )); 
29699   }
29700   arg1 = (elementSwitch *)(argp1);
29701   result =  ((arg1)->elementS);
29702   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
29703   return vresult;
29704 fail:
29705   return Qnil;
29706 }
29707
29708
29709 SWIGINTERN VALUE
29710 _wrap_elementSwitch_elementP_set(int argc, VALUE *argv, VALUE self) {
29711   elementSwitch *arg1 = (elementSwitch *) 0 ;
29712   GLint arg2 ;
29713   void *argp1 = 0 ;
29714   int res1 = 0 ;
29715   void *argp2 ;
29716   int res2 = 0 ;
29717   
29718   if ((argc < 1) || (argc > 1)) {
29719     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29720   }
29721   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29722   if (!SWIG_IsOK(res1)) {
29723     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementP", 1, self )); 
29724   }
29725   arg1 = (elementSwitch *)(argp1);
29726   {
29727     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
29728     if (!SWIG_IsOK(res2)) {
29729       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","elementP", 2, argv[0] )); 
29730     }  
29731     if (!argp2) {
29732       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementP", 2, argv[0]));
29733     } else {
29734       arg2 = *((GLint *)(argp2));
29735     }
29736   }
29737   if (arg1) (arg1)->elementP = arg2;
29738   return Qnil;
29739 fail:
29740   return Qnil;
29741 }
29742
29743
29744 SWIGINTERN VALUE
29745 _wrap_elementSwitch_elementP_get(int argc, VALUE *argv, VALUE self) {
29746   elementSwitch *arg1 = (elementSwitch *) 0 ;
29747   void *argp1 = 0 ;
29748   int res1 = 0 ;
29749   GLint result;
29750   VALUE vresult = Qnil;
29751   
29752   if ((argc < 0) || (argc > 0)) {
29753     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29754   }
29755   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29756   if (!SWIG_IsOK(res1)) {
29757     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementP", 1, self )); 
29758   }
29759   arg1 = (elementSwitch *)(argp1);
29760   result =  ((arg1)->elementP);
29761   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
29762   return vresult;
29763 fail:
29764   return Qnil;
29765 }
29766
29767
29768 SWIGINTERN VALUE
29769 _wrap_elementSwitch_elementH_set(int argc, VALUE *argv, VALUE self) {
29770   elementSwitch *arg1 = (elementSwitch *) 0 ;
29771   GLint arg2 ;
29772   void *argp1 = 0 ;
29773   int res1 = 0 ;
29774   void *argp2 ;
29775   int res2 = 0 ;
29776   
29777   if ((argc < 1) || (argc > 1)) {
29778     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29779   }
29780   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29781   if (!SWIG_IsOK(res1)) {
29782     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementH", 1, self )); 
29783   }
29784   arg1 = (elementSwitch *)(argp1);
29785   {
29786     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
29787     if (!SWIG_IsOK(res2)) {
29788       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","elementH", 2, argv[0] )); 
29789     }  
29790     if (!argp2) {
29791       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementH", 2, argv[0]));
29792     } else {
29793       arg2 = *((GLint *)(argp2));
29794     }
29795   }
29796   if (arg1) (arg1)->elementH = arg2;
29797   return Qnil;
29798 fail:
29799   return Qnil;
29800 }
29801
29802
29803 SWIGINTERN VALUE
29804 _wrap_elementSwitch_elementH_get(int argc, VALUE *argv, VALUE self) {
29805   elementSwitch *arg1 = (elementSwitch *) 0 ;
29806   void *argp1 = 0 ;
29807   int res1 = 0 ;
29808   GLint result;
29809   VALUE vresult = Qnil;
29810   
29811   if ((argc < 0) || (argc > 0)) {
29812     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29813   }
29814   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29815   if (!SWIG_IsOK(res1)) {
29816     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementH", 1, self )); 
29817   }
29818   arg1 = (elementSwitch *)(argp1);
29819   result =  ((arg1)->elementH);
29820   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
29821   return vresult;
29822 fail:
29823   return Qnil;
29824 }
29825
29826
29827 SWIGINTERN VALUE
29828 _wrap_elementSwitch_elementFE_set(int argc, VALUE *argv, VALUE self) {
29829   elementSwitch *arg1 = (elementSwitch *) 0 ;
29830   GLint arg2 ;
29831   void *argp1 = 0 ;
29832   int res1 = 0 ;
29833   void *argp2 ;
29834   int res2 = 0 ;
29835   
29836   if ((argc < 1) || (argc > 1)) {
29837     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29838   }
29839   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29840   if (!SWIG_IsOK(res1)) {
29841     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementFE", 1, self )); 
29842   }
29843   arg1 = (elementSwitch *)(argp1);
29844   {
29845     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
29846     if (!SWIG_IsOK(res2)) {
29847       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","elementFE", 2, argv[0] )); 
29848     }  
29849     if (!argp2) {
29850       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementFE", 2, argv[0]));
29851     } else {
29852       arg2 = *((GLint *)(argp2));
29853     }
29854   }
29855   if (arg1) (arg1)->elementFE = arg2;
29856   return Qnil;
29857 fail:
29858   return Qnil;
29859 }
29860
29861
29862 SWIGINTERN VALUE
29863 _wrap_elementSwitch_elementFE_get(int argc, VALUE *argv, VALUE self) {
29864   elementSwitch *arg1 = (elementSwitch *) 0 ;
29865   void *argp1 = 0 ;
29866   int res1 = 0 ;
29867   GLint result;
29868   VALUE vresult = Qnil;
29869   
29870   if ((argc < 0) || (argc > 0)) {
29871     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29872   }
29873   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 |  0 );
29874   if (!SWIG_IsOK(res1)) {
29875     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementFE", 1, self )); 
29876   }
29877   arg1 = (elementSwitch *)(argp1);
29878   result =  ((arg1)->elementFE);
29879   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
29880   return vresult;
29881 fail:
29882   return Qnil;
29883 }
29884
29885
29886 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
29887 SWIGINTERN VALUE
29888 _wrap_elementSwitch_allocate(VALUE self) {
29889 #else
29890   SWIGINTERN VALUE
29891   _wrap_elementSwitch_allocate(int argc, VALUE *argv, VALUE self) {
29892 #endif
29893     
29894     
29895     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_elementSwitch);
29896 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
29897     rb_obj_call_init(vresult, argc, argv);
29898 #endif
29899     return vresult;
29900   }
29901   
29902
29903 SWIGINTERN VALUE
29904 _wrap_new_elementSwitch(int argc, VALUE *argv, VALUE self) {
29905   elementSwitch *result = 0 ;
29906   
29907   if ((argc < 0) || (argc > 0)) {
29908     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29909   }
29910   result = (elementSwitch *)calloc(1, sizeof(elementSwitch));
29911   DATA_PTR(self) = result;
29912   return self;
29913 fail:
29914   return Qnil;
29915 }
29916
29917
29918 SWIGINTERN void
29919 free_elementSwitch(elementSwitch *arg1) {
29920     free((char *) arg1);
29921 }
29922
29923 swig_class cProteinStatus;
29924
29925 SWIGINTERN VALUE
29926 _wrap_ProteinStatus___pdbCenter_set(int argc, VALUE *argv, VALUE self) {
29927   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
29928   pdbCenter *arg2 = (pdbCenter *) 0 ;
29929   void *argp1 = 0 ;
29930   int res1 = 0 ;
29931   void *argp2 = 0 ;
29932   int res2 = 0 ;
29933   
29934   if ((argc < 1) || (argc > 1)) {
29935     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29936   }
29937   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
29938   if (!SWIG_IsOK(res1)) {
29939     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","__pdbCenter", 1, self )); 
29940   }
29941   arg1 = (ProteinStatus *)(argp1);
29942   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbCenter, 0 |  0 );
29943   if (!SWIG_IsOK(res2)) {
29944     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbCenter *","__pdbCenter", 2, argv[0] )); 
29945   }
29946   arg2 = (pdbCenter *)(argp2);
29947   if (arg1) (arg1)->__pdbCenter = *arg2;
29948   return Qnil;
29949 fail:
29950   return Qnil;
29951 }
29952
29953
29954 SWIGINTERN VALUE
29955 _wrap_ProteinStatus___pdbCenter_get(int argc, VALUE *argv, VALUE self) {
29956   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
29957   void *argp1 = 0 ;
29958   int res1 = 0 ;
29959   pdbCenter *result = 0 ;
29960   VALUE vresult = Qnil;
29961   
29962   if ((argc < 0) || (argc > 0)) {
29963     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29964   }
29965   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
29966   if (!SWIG_IsOK(res1)) {
29967     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","__pdbCenter", 1, self )); 
29968   }
29969   arg1 = (ProteinStatus *)(argp1);
29970   result = (pdbCenter *)& ((arg1)->__pdbCenter);
29971   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbCenter, 0 |  0 );
29972   return vresult;
29973 fail:
29974   return Qnil;
29975 }
29976
29977
29978 SWIGINTERN VALUE
29979 _wrap_ProteinStatus___elementSwitch_set(int argc, VALUE *argv, VALUE self) {
29980   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
29981   elementSwitch *arg2 = (elementSwitch *) 0 ;
29982   void *argp1 = 0 ;
29983   int res1 = 0 ;
29984   void *argp2 = 0 ;
29985   int res2 = 0 ;
29986   
29987   if ((argc < 1) || (argc > 1)) {
29988     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29989   }
29990   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
29991   if (!SWIG_IsOK(res1)) {
29992     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","__elementSwitch", 1, self )); 
29993   }
29994   arg1 = (ProteinStatus *)(argp1);
29995   res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_elementSwitch, 0 |  0 );
29996   if (!SWIG_IsOK(res2)) {
29997     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "elementSwitch *","__elementSwitch", 2, argv[0] )); 
29998   }
29999   arg2 = (elementSwitch *)(argp2);
30000   if (arg1) (arg1)->__elementSwitch = *arg2;
30001   return Qnil;
30002 fail:
30003   return Qnil;
30004 }
30005
30006
30007 SWIGINTERN VALUE
30008 _wrap_ProteinStatus___elementSwitch_get(int argc, VALUE *argv, VALUE self) {
30009   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30010   void *argp1 = 0 ;
30011   int res1 = 0 ;
30012   elementSwitch *result = 0 ;
30013   VALUE vresult = Qnil;
30014   
30015   if ((argc < 0) || (argc > 0)) {
30016     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30017   }
30018   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30019   if (!SWIG_IsOK(res1)) {
30020     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","__elementSwitch", 1, self )); 
30021   }
30022   arg1 = (ProteinStatus *)(argp1);
30023   result = (elementSwitch *)& ((arg1)->__elementSwitch);
30024   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_elementSwitch, 0 |  0 );
30025   return vresult;
30026 fail:
30027   return Qnil;
30028 }
30029
30030
30031 SWIGINTERN VALUE
30032 _wrap_ProteinStatus_spin_x_set(int argc, VALUE *argv, VALUE self) {
30033   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30034   GLint arg2 ;
30035   void *argp1 = 0 ;
30036   int res1 = 0 ;
30037   void *argp2 ;
30038   int res2 = 0 ;
30039   
30040   if ((argc < 1) || (argc > 1)) {
30041     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30042   }
30043   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30044   if (!SWIG_IsOK(res1)) {
30045     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_x", 1, self )); 
30046   }
30047   arg1 = (ProteinStatus *)(argp1);
30048   {
30049     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
30050     if (!SWIG_IsOK(res2)) {
30051       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","spin_x", 2, argv[0] )); 
30052     }  
30053     if (!argp2) {
30054       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","spin_x", 2, argv[0]));
30055     } else {
30056       arg2 = *((GLint *)(argp2));
30057     }
30058   }
30059   if (arg1) (arg1)->spin_x = arg2;
30060   return Qnil;
30061 fail:
30062   return Qnil;
30063 }
30064
30065
30066 SWIGINTERN VALUE
30067 _wrap_ProteinStatus_spin_x_get(int argc, VALUE *argv, VALUE self) {
30068   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30069   void *argp1 = 0 ;
30070   int res1 = 0 ;
30071   GLint result;
30072   VALUE vresult = Qnil;
30073   
30074   if ((argc < 0) || (argc > 0)) {
30075     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30076   }
30077   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30078   if (!SWIG_IsOK(res1)) {
30079     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_x", 1, self )); 
30080   }
30081   arg1 = (ProteinStatus *)(argp1);
30082   result =  ((arg1)->spin_x);
30083   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
30084   return vresult;
30085 fail:
30086   return Qnil;
30087 }
30088
30089
30090 SWIGINTERN VALUE
30091 _wrap_ProteinStatus_spin_y_set(int argc, VALUE *argv, VALUE self) {
30092   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30093   GLint arg2 ;
30094   void *argp1 = 0 ;
30095   int res1 = 0 ;
30096   void *argp2 ;
30097   int res2 = 0 ;
30098   
30099   if ((argc < 1) || (argc > 1)) {
30100     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30101   }
30102   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30103   if (!SWIG_IsOK(res1)) {
30104     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_y", 1, self )); 
30105   }
30106   arg1 = (ProteinStatus *)(argp1);
30107   {
30108     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
30109     if (!SWIG_IsOK(res2)) {
30110       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","spin_y", 2, argv[0] )); 
30111     }  
30112     if (!argp2) {
30113       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","spin_y", 2, argv[0]));
30114     } else {
30115       arg2 = *((GLint *)(argp2));
30116     }
30117   }
30118   if (arg1) (arg1)->spin_y = arg2;
30119   return Qnil;
30120 fail:
30121   return Qnil;
30122 }
30123
30124
30125 SWIGINTERN VALUE
30126 _wrap_ProteinStatus_spin_y_get(int argc, VALUE *argv, VALUE self) {
30127   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30128   void *argp1 = 0 ;
30129   int res1 = 0 ;
30130   GLint result;
30131   VALUE vresult = Qnil;
30132   
30133   if ((argc < 0) || (argc > 0)) {
30134     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30135   }
30136   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30137   if (!SWIG_IsOK(res1)) {
30138     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_y", 1, self )); 
30139   }
30140   arg1 = (ProteinStatus *)(argp1);
30141   result =  ((arg1)->spin_y);
30142   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
30143   return vresult;
30144 fail:
30145   return Qnil;
30146 }
30147
30148
30149 SWIGINTERN VALUE
30150 _wrap_ProteinStatus_spin_z_set(int argc, VALUE *argv, VALUE self) {
30151   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30152   GLint arg2 ;
30153   void *argp1 = 0 ;
30154   int res1 = 0 ;
30155   void *argp2 ;
30156   int res2 = 0 ;
30157   
30158   if ((argc < 1) || (argc > 1)) {
30159     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30160   }
30161   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30162   if (!SWIG_IsOK(res1)) {
30163     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_z", 1, self )); 
30164   }
30165   arg1 = (ProteinStatus *)(argp1);
30166   {
30167     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint,  0 );
30168     if (!SWIG_IsOK(res2)) {
30169       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLint","spin_z", 2, argv[0] )); 
30170     }  
30171     if (!argp2) {
30172       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","spin_z", 2, argv[0]));
30173     } else {
30174       arg2 = *((GLint *)(argp2));
30175     }
30176   }
30177   if (arg1) (arg1)->spin_z = arg2;
30178   return Qnil;
30179 fail:
30180   return Qnil;
30181 }
30182
30183
30184 SWIGINTERN VALUE
30185 _wrap_ProteinStatus_spin_z_get(int argc, VALUE *argv, VALUE self) {
30186   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30187   void *argp1 = 0 ;
30188   int res1 = 0 ;
30189   GLint result;
30190   VALUE vresult = Qnil;
30191   
30192   if ((argc < 0) || (argc > 0)) {
30193     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30194   }
30195   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30196   if (!SWIG_IsOK(res1)) {
30197     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_z", 1, self )); 
30198   }
30199   arg1 = (ProteinStatus *)(argp1);
30200   result =  ((arg1)->spin_z);
30201   vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN |  0 );
30202   return vresult;
30203 fail:
30204   return Qnil;
30205 }
30206
30207
30208 SWIGINTERN VALUE
30209 _wrap_ProteinStatus_move_x_set(int argc, VALUE *argv, VALUE self) {
30210   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30211   GLfloat arg2 ;
30212   void *argp1 = 0 ;
30213   int res1 = 0 ;
30214   void *argp2 ;
30215   int res2 = 0 ;
30216   
30217   if ((argc < 1) || (argc > 1)) {
30218     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30219   }
30220   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30221   if (!SWIG_IsOK(res1)) {
30222     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","move_x", 1, self )); 
30223   }
30224   arg1 = (ProteinStatus *)(argp1);
30225   {
30226     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
30227     if (!SWIG_IsOK(res2)) {
30228       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","move_x", 2, argv[0] )); 
30229     }  
30230     if (!argp2) {
30231       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","move_x", 2, argv[0]));
30232     } else {
30233       arg2 = *((GLfloat *)(argp2));
30234     }
30235   }
30236   if (arg1) (arg1)->move_x = arg2;
30237   return Qnil;
30238 fail:
30239   return Qnil;
30240 }
30241
30242
30243 SWIGINTERN VALUE
30244 _wrap_ProteinStatus_move_x_get(int argc, VALUE *argv, VALUE self) {
30245   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30246   void *argp1 = 0 ;
30247   int res1 = 0 ;
30248   GLfloat result;
30249   VALUE vresult = Qnil;
30250   
30251   if ((argc < 0) || (argc > 0)) {
30252     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30253   }
30254   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30255   if (!SWIG_IsOK(res1)) {
30256     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","move_x", 1, self )); 
30257   }
30258   arg1 = (ProteinStatus *)(argp1);
30259   result =  ((arg1)->move_x);
30260   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
30261   return vresult;
30262 fail:
30263   return Qnil;
30264 }
30265
30266
30267 SWIGINTERN VALUE
30268 _wrap_ProteinStatus_move_y_set(int argc, VALUE *argv, VALUE self) {
30269   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30270   GLfloat arg2 ;
30271   void *argp1 = 0 ;
30272   int res1 = 0 ;
30273   void *argp2 ;
30274   int res2 = 0 ;
30275   
30276   if ((argc < 1) || (argc > 1)) {
30277     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30278   }
30279   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30280   if (!SWIG_IsOK(res1)) {
30281     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","move_y", 1, self )); 
30282   }
30283   arg1 = (ProteinStatus *)(argp1);
30284   {
30285     res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat,  0 );
30286     if (!SWIG_IsOK(res2)) {
30287       SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLfloat","move_y", 2, argv[0] )); 
30288     }  
30289     if (!argp2) {
30290       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","move_y", 2, argv[0]));
30291     } else {
30292       arg2 = *((GLfloat *)(argp2));
30293     }
30294   }
30295   if (arg1) (arg1)->move_y = arg2;
30296   return Qnil;
30297 fail:
30298   return Qnil;
30299 }
30300
30301
30302 SWIGINTERN VALUE
30303 _wrap_ProteinStatus_move_y_get(int argc, VALUE *argv, VALUE self) {
30304   ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30305   void *argp1 = 0 ;
30306   int res1 = 0 ;
30307   GLfloat result;
30308   VALUE vresult = Qnil;
30309   
30310   if ((argc < 0) || (argc > 0)) {
30311     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30312   }
30313   res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 |  0 );
30314   if (!SWIG_IsOK(res1)) {
30315     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","move_y", 1, self )); 
30316   }
30317   arg1 = (ProteinStatus *)(argp1);
30318   result =  ((arg1)->move_y);
30319   vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN |  0 );
30320   return vresult;
30321 fail:
30322   return Qnil;
30323 }
30324
30325
30326 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
30327 SWIGINTERN VALUE
30328 _wrap_ProteinStatus_allocate(VALUE self) {
30329 #else
30330   SWIGINTERN VALUE
30331   _wrap_ProteinStatus_allocate(int argc, VALUE *argv, VALUE self) {
30332 #endif
30333     
30334     
30335     VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_ProteinStatus);
30336 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
30337     rb_obj_call_init(vresult, argc, argv);
30338 #endif
30339     return vresult;
30340   }
30341   
30342
30343 SWIGINTERN VALUE
30344 _wrap_new_ProteinStatus(int argc, VALUE *argv, VALUE self) {
30345   ProteinStatus *result = 0 ;
30346   
30347   if ((argc < 0) || (argc > 0)) {
30348     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30349   }
30350   result = (ProteinStatus *)calloc(1, sizeof(ProteinStatus));
30351   DATA_PTR(self) = result;
30352   return self;
30353 fail:
30354   return Qnil;
30355 }
30356
30357
30358 SWIGINTERN void
30359 free_ProteinStatus(ProteinStatus *arg1) {
30360     free((char *) arg1);
30361 }
30362
30363 SWIGINTERN VALUE
30364 _wrap_getpdbCenter(int argc, VALUE *argv, VALUE self) {
30365   int arg1 ;
30366   int val1 ;
30367   int ecode1 = 0 ;
30368   pdbCenter result;
30369   VALUE vresult = Qnil;
30370   
30371   if ((argc < 1) || (argc > 1)) {
30372     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30373   }
30374   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30375   if (!SWIG_IsOK(ecode1)) {
30376     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","getpdbCenter", 1, argv[0] ));
30377   } 
30378   arg1 = (int)(val1);
30379   result = getpdbCenter(arg1);
30380   vresult = SWIG_NewPointerObj((pdbCenter *)memcpy((pdbCenter *)malloc(sizeof(pdbCenter)),&result,sizeof(pdbCenter)), SWIGTYPE_p_pdbCenter, SWIG_POINTER_OWN |  0 );
30381   return vresult;
30382 fail:
30383   return Qnil;
30384 }
30385
30386
30387 SWIGINTERN VALUE
30388 _wrap_putpdbCenter(int argc, VALUE *argv, VALUE self) {
30389   pdbFile *arg1 = (pdbFile *) 0 ;
30390   void *argp1 = 0 ;
30391   int res1 = 0 ;
30392   
30393   if ((argc < 1) || (argc > 1)) {
30394     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30395   }
30396   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pdbFile, 0 |  0 );
30397   if (!SWIG_IsOK(res1)) {
30398     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","putpdbCenter", 1, argv[0] )); 
30399   }
30400   arg1 = (pdbFile *)(argp1);
30401   putpdbCenter(arg1);
30402   return Qnil;
30403 fail:
30404   return Qnil;
30405 }
30406
30407
30408 SWIGINTERN VALUE
30409 _wrap_proteinInit(int argc, VALUE *argv, VALUE self) {
30410   if ((argc < 0) || (argc > 0)) {
30411     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30412   }
30413   proteinInit();
30414   return Qnil;
30415 fail:
30416   return Qnil;
30417 }
30418
30419
30420 SWIGINTERN VALUE
30421 _wrap_get_elementSwitch(int argc, VALUE *argv, VALUE self) {
30422   int arg1 ;
30423   int val1 ;
30424   int ecode1 = 0 ;
30425   elementSwitch result;
30426   VALUE vresult = Qnil;
30427   
30428   if ((argc < 1) || (argc > 1)) {
30429     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30430   }
30431   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30432   if (!SWIG_IsOK(ecode1)) {
30433     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","get_elementSwitch", 1, argv[0] ));
30434   } 
30435   arg1 = (int)(val1);
30436   result = get_elementSwitch(arg1);
30437   vresult = SWIG_NewPointerObj((elementSwitch *)memcpy((elementSwitch *)malloc(sizeof(elementSwitch)),&result,sizeof(elementSwitch)), SWIGTYPE_p_elementSwitch, SWIG_POINTER_OWN |  0 );
30438   return vresult;
30439 fail:
30440   return Qnil;
30441 }
30442
30443
30444 SWIGINTERN VALUE
30445 _wrap_put_elementSwitch(int argc, VALUE *argv, VALUE self) {
30446   int arg1 ;
30447   char arg2 ;
30448   int val1 ;
30449   int ecode1 = 0 ;
30450   char val2 ;
30451   int ecode2 = 0 ;
30452   
30453   if ((argc < 2) || (argc > 2)) {
30454     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
30455   }
30456   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30457   if (!SWIG_IsOK(ecode1)) {
30458     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","put_elementSwitch", 1, argv[0] ));
30459   } 
30460   arg1 = (int)(val1);
30461   ecode2 = SWIG_AsVal_char(argv[1], &val2);
30462   if (!SWIG_IsOK(ecode2)) {
30463     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","put_elementSwitch", 2, argv[1] ));
30464   } 
30465   arg2 = (char)(val2);
30466   put_elementSwitch(arg1,arg2);
30467   return Qnil;
30468 fail:
30469   return Qnil;
30470 }
30471
30472
30473 SWIGINTERN VALUE
30474 _wrap_getSpin_x(int argc, VALUE *argv, VALUE self) {
30475   int arg1 ;
30476   int val1 ;
30477   int ecode1 = 0 ;
30478   int result;
30479   VALUE vresult = Qnil;
30480   
30481   if ((argc < 1) || (argc > 1)) {
30482     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30483   }
30484   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30485   if (!SWIG_IsOK(ecode1)) {
30486     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","getSpin_x", 1, argv[0] ));
30487   } 
30488   arg1 = (int)(val1);
30489   result = (int)getSpin_x(arg1);
30490   vresult = SWIG_From_int((int)(result));
30491   return vresult;
30492 fail:
30493   return Qnil;
30494 }
30495
30496
30497 SWIGINTERN VALUE
30498 _wrap_getSpin_y(int argc, VALUE *argv, VALUE self) {
30499   int arg1 ;
30500   int val1 ;
30501   int ecode1 = 0 ;
30502   int result;
30503   VALUE vresult = Qnil;
30504   
30505   if ((argc < 1) || (argc > 1)) {
30506     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30507   }
30508   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30509   if (!SWIG_IsOK(ecode1)) {
30510     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","getSpin_y", 1, argv[0] ));
30511   } 
30512   arg1 = (int)(val1);
30513   result = (int)getSpin_y(arg1);
30514   vresult = SWIG_From_int((int)(result));
30515   return vresult;
30516 fail:
30517   return Qnil;
30518 }
30519
30520
30521 SWIGINTERN VALUE
30522 _wrap_getSpin_z(int argc, VALUE *argv, VALUE self) {
30523   int arg1 ;
30524   int val1 ;
30525   int ecode1 = 0 ;
30526   int result;
30527   VALUE vresult = Qnil;
30528   
30529   if ((argc < 1) || (argc > 1)) {
30530     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30531   }
30532   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30533   if (!SWIG_IsOK(ecode1)) {
30534     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","getSpin_z", 1, argv[0] ));
30535   } 
30536   arg1 = (int)(val1);
30537   result = (int)getSpin_z(arg1);
30538   vresult = SWIG_From_int((int)(result));
30539   return vresult;
30540 fail:
30541   return Qnil;
30542 }
30543
30544
30545 SWIGINTERN VALUE
30546 _wrap_proteinRotateX(int argc, VALUE *argv, VALUE self) {
30547   int arg1 ;
30548   int arg2 ;
30549   int val1 ;
30550   int ecode1 = 0 ;
30551   int val2 ;
30552   int ecode2 = 0 ;
30553   
30554   if ((argc < 2) || (argc > 2)) {
30555     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
30556   }
30557   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30558   if (!SWIG_IsOK(ecode1)) {
30559     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","proteinRotateX", 1, argv[0] ));
30560   } 
30561   arg1 = (int)(val1);
30562   ecode2 = SWIG_AsVal_int(argv[1], &val2);
30563   if (!SWIG_IsOK(ecode2)) {
30564     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","proteinRotateX", 2, argv[1] ));
30565   } 
30566   arg2 = (int)(val2);
30567   proteinRotateX(arg1,arg2);
30568   return Qnil;
30569 fail:
30570   return Qnil;
30571 }
30572
30573
30574 SWIGINTERN VALUE
30575 _wrap_proteinRotateY(int argc, VALUE *argv, VALUE self) {
30576   int arg1 ;
30577   int arg2 ;
30578   int val1 ;
30579   int ecode1 = 0 ;
30580   int val2 ;
30581   int ecode2 = 0 ;
30582   
30583   if ((argc < 2) || (argc > 2)) {
30584     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
30585   }
30586   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30587   if (!SWIG_IsOK(ecode1)) {
30588     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","proteinRotateY", 1, argv[0] ));
30589   } 
30590   arg1 = (int)(val1);
30591   ecode2 = SWIG_AsVal_int(argv[1], &val2);
30592   if (!SWIG_IsOK(ecode2)) {
30593     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","proteinRotateY", 2, argv[1] ));
30594   } 
30595   arg2 = (int)(val2);
30596   proteinRotateY(arg1,arg2);
30597   return Qnil;
30598 fail:
30599   return Qnil;
30600 }
30601
30602
30603 SWIGINTERN VALUE
30604 _wrap_proteinRotateZ(int argc, VALUE *argv, VALUE self) {
30605   int arg1 ;
30606   int arg2 ;
30607   int val1 ;
30608   int ecode1 = 0 ;
30609   int val2 ;
30610   int ecode2 = 0 ;
30611   
30612   if ((argc < 2) || (argc > 2)) {
30613     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
30614   }
30615   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30616   if (!SWIG_IsOK(ecode1)) {
30617     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","proteinRotateZ", 1, argv[0] ));
30618   } 
30619   arg1 = (int)(val1);
30620   ecode2 = SWIG_AsVal_int(argv[1], &val2);
30621   if (!SWIG_IsOK(ecode2)) {
30622     SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","proteinRotateZ", 2, argv[1] ));
30623   } 
30624   arg2 = (int)(val2);
30625   proteinRotateZ(arg1,arg2);
30626   return Qnil;
30627 fail:
30628   return Qnil;
30629 }
30630
30631
30632 SWIGINTERN VALUE
30633 _wrap_getMultiMoveX(int argc, VALUE *argv, VALUE self) {
30634   int arg1 ;
30635   int val1 ;
30636   int ecode1 = 0 ;
30637   int result;
30638   VALUE vresult = Qnil;
30639   
30640   if ((argc < 1) || (argc > 1)) {
30641     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30642   }
30643   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30644   if (!SWIG_IsOK(ecode1)) {
30645     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","getMultiMoveX", 1, argv[0] ));
30646   } 
30647   arg1 = (int)(val1);
30648   result = (int)getMultiMoveX(arg1);
30649   vresult = SWIG_From_int((int)(result));
30650   return vresult;
30651 fail:
30652   return Qnil;
30653 }
30654
30655
30656 SWIGINTERN VALUE
30657 _wrap_getMultiMoveY(int argc, VALUE *argv, VALUE self) {
30658   int arg1 ;
30659   int val1 ;
30660   int ecode1 = 0 ;
30661   int result;
30662   VALUE vresult = Qnil;
30663   
30664   if ((argc < 1) || (argc > 1)) {
30665     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30666   }
30667   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30668   if (!SWIG_IsOK(ecode1)) {
30669     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","getMultiMoveY", 1, argv[0] ));
30670   } 
30671   arg1 = (int)(val1);
30672   result = (int)getMultiMoveY(arg1);
30673   vresult = SWIG_From_int((int)(result));
30674   return vresult;
30675 fail:
30676   return Qnil;
30677 }
30678
30679
30680 SWIGINTERN VALUE
30681 _wrap_MultiMoveX(int argc, VALUE *argv, VALUE self) {
30682   GLint arg1 ;
30683   void *argp1 ;
30684   int res1 = 0 ;
30685   
30686   if ((argc < 1) || (argc > 1)) {
30687     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30688   }
30689   {
30690     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLint,  0 );
30691     if (!SWIG_IsOK(res1)) {
30692       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLint","MultiMoveX", 1, argv[0] )); 
30693     }  
30694     if (!argp1) {
30695       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","MultiMoveX", 1, argv[0]));
30696     } else {
30697       arg1 = *((GLint *)(argp1));
30698     }
30699   }
30700   MultiMoveX(arg1);
30701   return Qnil;
30702 fail:
30703   return Qnil;
30704 }
30705
30706
30707 SWIGINTERN VALUE
30708 _wrap_MultiMoveY(int argc, VALUE *argv, VALUE self) {
30709   GLint arg1 ;
30710   void *argp1 ;
30711   int res1 = 0 ;
30712   
30713   if ((argc < 1) || (argc > 1)) {
30714     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30715   }
30716   {
30717     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_GLint,  0 );
30718     if (!SWIG_IsOK(res1)) {
30719       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLint","MultiMoveY", 1, argv[0] )); 
30720     }  
30721     if (!argp1) {
30722       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","MultiMoveY", 1, argv[0]));
30723     } else {
30724       arg1 = *((GLint *)(argp1));
30725     }
30726   }
30727   MultiMoveY(arg1);
30728   return Qnil;
30729 fail:
30730   return Qnil;
30731 }
30732
30733
30734 SWIGINTERN VALUE
30735 _wrap_saveproteinStatus(int argc, VALUE *argv, VALUE self) {
30736   ProteinStatus arg1 ;
30737   void *argp1 ;
30738   int res1 = 0 ;
30739   
30740   if ((argc < 1) || (argc > 1)) {
30741     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30742   }
30743   {
30744     res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_ProteinStatus,  0 );
30745     if (!SWIG_IsOK(res1)) {
30746       SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus","saveproteinStatus", 1, argv[0] )); 
30747     }  
30748     if (!argp1) {
30749       SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "ProteinStatus","saveproteinStatus", 1, argv[0]));
30750     } else {
30751       arg1 = *((ProteinStatus *)(argp1));
30752     }
30753   }
30754   saveproteinStatus(arg1);
30755   return Qnil;
30756 fail:
30757   return Qnil;
30758 }
30759
30760
30761 SWIGINTERN VALUE
30762 _wrap_texture(int argc, VALUE *argv, VALUE self) {
30763   if ((argc < 0) || (argc > 0)) {
30764     rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30765   }
30766   texture();
30767   return Qnil;
30768 fail:
30769   return Qnil;
30770 }
30771
30772
30773 SWIGINTERN VALUE
30774 _wrap_main(int argc, VALUE *argv, VALUE self) {
30775   int arg1 ;
30776   char **arg2 ;
30777   int val1 ;
30778   int ecode1 = 0 ;
30779   void *argp2 = 0 ;
30780   int res2 = 0 ;
30781   int result;
30782   VALUE vresult = Qnil;
30783   
30784   if ((argc < 2) || (argc > 2)) {
30785     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
30786   }
30787   ecode1 = SWIG_AsVal_int(argv[0], &val1);
30788   if (!SWIG_IsOK(ecode1)) {
30789     SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","main", 1, argv[0] ));
30790   } 
30791   arg1 = (int)(val1);
30792   res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_p_char, 0 |  0 );
30793   if (!SWIG_IsOK(res2)) {
30794     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *[]","main", 2, argv[1] )); 
30795   } 
30796   arg2 = (char **)(argp2);
30797   result = (int)main(arg1,arg2);
30798   vresult = SWIG_From_int((int)(result));
30799   return vresult;
30800 fail:
30801   return Qnil;
30802 }
30803
30804
30805 SWIGINTERN VALUE
30806 _wrap_fopen(int argc, VALUE *argv, VALUE self) {
30807   char *arg1 = (char *) 0 ;
30808   char *arg2 = (char *) 0 ;
30809   int res1 ;
30810   char *buf1 = 0 ;
30811   int alloc1 = 0 ;
30812   int res2 ;
30813   char *buf2 = 0 ;
30814   int alloc2 = 0 ;
30815   FILE *result = 0 ;
30816   VALUE vresult = Qnil;
30817   
30818   if ((argc < 2) || (argc > 2)) {
30819     rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
30820   }
30821   res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
30822   if (!SWIG_IsOK(res1)) {
30823     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char *","fopen", 1, argv[0] ));
30824   }
30825   arg1 = (char *)(buf1);
30826   res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
30827   if (!SWIG_IsOK(res2)) {
30828     SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","fopen", 2, argv[1] ));
30829   }
30830   arg2 = (char *)(buf2);
30831   result = (FILE *)fopen(arg1,arg2);
30832   vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 |  0 );
30833   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
30834   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30835   return vresult;
30836 fail:
30837   if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
30838   if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30839   return Qnil;
30840 }
30841
30842
30843 SWIGINTERN VALUE
30844 _wrap_fclose(int argc, VALUE *argv, VALUE self) {
30845   FILE *arg1 = (FILE *) 0 ;
30846   void *argp1 = 0 ;
30847   int res1 = 0 ;
30848   
30849   if ((argc < 1) || (argc > 1)) {
30850     rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
30851   }
30852   res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FILE, 0 |  0 );
30853   if (!SWIG_IsOK(res1)) {
30854     SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FILE *","fclose", 1, argv[0] )); 
30855   }
30856   arg1 = (FILE *)(argp1);
30857   fclose(arg1);
30858   return Qnil;
30859 fail:
30860   return Qnil;
30861 }
30862
30863
30864
30865 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30866
30867 static swig_type_info _swigt__p_Coord = {"_p_Coord", "struct Coord *|Coord *", 0, 0, (void*)0, 0};
30868 static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
30869 static swig_type_info _swigt__p_GLboolean = {"_p_GLboolean", "GLboolean *", 0, 0, (void*)0, 0};
30870 static swig_type_info _swigt__p_GLdouble = {"_p_GLdouble", "GLdouble *", 0, 0, (void*)0, 0};
30871 static swig_type_info _swigt__p_GLfloat = {"_p_GLfloat", "GLfloat *", 0, 0, (void*)0, 0};
30872 static swig_type_info _swigt__p_GLint = {"_p_GLint", "GLint *", 0, 0, (void*)0, 0};
30873 static swig_type_info _swigt__p_GLuint = {"_p_GLuint", "GLuint *", 0, 0, (void*)0, 0};
30874 static swig_type_info _swigt__p_MRC_Status_t = {"_p_MRC_Status_t", "union MRC_Status_t *|MRC_Status_t *", 0, 0, (void*)0, 0};
30875 static swig_type_info _swigt__p_MRC_Status_t_status = {"_p_MRC_Status_t_status", "MRC_Status_t_status *", 0, 0, (void*)0, 0};
30876 static swig_type_info _swigt__p_ProteinStatus = {"_p_ProteinStatus", "struct ProteinStatus *|ProteinStatus *", 0, 0, (void*)0, 0};
30877 static swig_type_info _swigt__p_Quat = {"_p_Quat", "Quat *|EulerAngles *", 0, 0, (void*)0, 0};
30878 static swig_type_info _swigt__p__mrcImageHeader = {"_p__mrcImageHeader", "struct _mrcImageHeader *|_mrcImageHeader *", 0, 0, (void*)0, 0};
30879 static swig_type_info _swigt__p__mrcImageHeaderCCP4 = {"_p__mrcImageHeaderCCP4", "struct _mrcImageHeaderCCP4 *|_mrcImageHeaderCCP4 *", 0, 0, (void*)0, 0};
30880 static swig_type_info _swigt__p__mrcImageTailer = {"_p__mrcImageTailer", "struct _mrcImageTailer *|_mrcImageTailer *", 0, 0, (void*)0, 0};
30881 static swig_type_info _swigt__p_a_4__a_4__float = {"_p_a_4__a_4__float", "Matrix3D *|HMatrix3D *|float (*)[4][4]", 0, 0, (void*)0, 0};
30882 static swig_type_info _swigt__p_a_4__float = {"_p_a_4__float", "float (*)[4]", 0, 0, (void*)0, 0};
30883 static swig_type_info _swigt__p_a__80___char = {"_p_a__80___char", "char (*)[(80)]", 0, 0, (void*)0, 0};
30884 static swig_type_info _swigt__p_cameraInfo = {"_p_cameraInfo", "struct cameraInfo *|cameraInfo *", 0, 0, (void*)0, 0};
30885 static swig_type_info _swigt__p_char = {"_p_char", "char *|mrcImageSymmetryOperator *|pdbFileParaTypeCharacter *|matrix3DEulerAngleMode *", 0, 0, (void*)0, 0};
30886 static swig_type_info _swigt__p_contourLinesSet = {"_p_contourLinesSet", "contourLinesSet *", 0, 0, (void*)0, 0};
30887 static swig_type_info _swigt__p_ctfInfo = {"_p_ctfInfo", "ctfInfo *", 0, 0, (void*)0, 0};
30888 static swig_type_info _swigt__p_displayMode = {"_p_displayMode", "enum displayMode *|displayMode *", 0, 0, (void*)0, 0};
30889 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
30890 static swig_type_info _swigt__p_elementSwitch = {"_p_elementSwitch", "struct elementSwitch *|elementSwitch *", 0, 0, (void*)0, 0};
30891 static swig_type_info _swigt__p_float = {"_p_float", "matrix3DParaTypeReal *|mrcImageParaTypeReal *|pdbFileParaTypeReal *|float *", 0, 0, (void*)0, 0};
30892 static swig_type_info _swigt__p_floatVector = {"_p_floatVector", "floatVector *", 0, 0, (void*)0, 0};
30893 static swig_type_info _swigt__p_int = {"_p_int", "int *|mrcImageMode *|mrcImageParaTypeInteger *", 0, 0, (void*)0, 0};
30894 static swig_type_info _swigt__p_lmrcImageBandPassFilterInfo = {"_p_lmrcImageBandPassFilterInfo", "struct lmrcImageBandPassFilterInfo *|lmrcImageBandPassFilterInfo *", 0, 0, (void*)0, 0};
30895 static swig_type_info _swigt__p_lmrcImageCTFSNInfo = {"_p_lmrcImageCTFSNInfo", "struct lmrcImageCTFSNInfo *|lmrcImageCTFSNInfo *", 0, 0, (void*)0, 0};
30896 static swig_type_info _swigt__p_lmrcImageCVEInfo = {"_p_lmrcImageCVEInfo", "struct lmrcImageCVEInfo *|lmrcImageCVEInfo *", 0, 0, (void*)0, 0};
30897 static swig_type_info _swigt__p_lmrcImageFourierPowerSpectrumInfo = {"_p_lmrcImageFourierPowerSpectrumInfo", "struct lmrcImageFourierPowerSpectrumInfo *|lmrcImageFourierPowerSpectrumInfo *", 0, 0, (void*)0, 0};
30898 static swig_type_info _swigt__p_lmrcImageHighPassFilterInfo = {"_p_lmrcImageHighPassFilterInfo", "struct lmrcImageHighPassFilterInfo *|lmrcImageHighPassFilterInfo *", 0, 0, (void*)0, 0};
30899 static swig_type_info _swigt__p_lmrcImageHighlightInfo = {"_p_lmrcImageHighlightInfo", "struct lmrcImageHighlightInfo *|lmrcImageHighlightInfo *", 0, 0, (void*)0, 0};
30900 static swig_type_info _swigt__p_lmrcImageLowPassFilterInfo = {"_p_lmrcImageLowPassFilterInfo", "struct lmrcImageLowPassFilterInfo *|lmrcImageLowPassFilterInfo *", 0, 0, (void*)0, 0};
30901 static swig_type_info _swigt__p_lmrcImageMultiCTFCompensationInfo = {"_p_lmrcImageMultiCTFCompensationInfo", "struct lmrcImageMultiCTFCompensationInfo *|lmrcImageMultiCTFCompensationInfo *", 0, 0, (void*)0, 0};
30902 static swig_type_info _swigt__p_lmrcImageMultiCTFCompensationSolventFlatteningMode = {"_p_lmrcImageMultiCTFCompensationSolventFlatteningMode", "lmrcImageMultiCTFCompensationSolventFlatteningMode *|enum lmrcImageMultiCTFCompensationSolventFlatteningMode *", 0, 0, (void*)0, 0};
30903 static swig_type_info _swigt__p_lmrcImageSmoothingInfo = {"_p_lmrcImageSmoothingInfo", "struct lmrcImageSmoothingInfo *|lmrcImageSmoothingInfo *", 0, 0, (void*)0, 0};
30904 static swig_type_info _swigt__p_lmrcImageTfunctionInfo = {"_p_lmrcImageTfunctionInfo", "struct lmrcImageTfunctionInfo *|lmrcImageTfunctionInfo *", 0, 0, (void*)0, 0};
30905 static swig_type_info _swigt__p_long = {"_p_long", "long *|pdbFileParaTypeInteger *", 0, 0, (void*)0, 0};
30906 static swig_type_info _swigt__p_molvieInfo = {"_p_molvieInfo", "struct molvieInfo *|molvieInfo *", 0, 0, (void*)0, 0};
30907 static swig_type_info _swigt__p_mrcImage = {"_p_mrcImage", "struct mrcImage *|mrcImage *", 0, 0, (void*)0, 0};
30908 static swig_type_info _swigt__p_mrcImageDataSetMode = {"_p_mrcImageDataSetMode", "enum mrcImageDataSetMode *|mrcImageDataSetMode *", 0, 0, (void*)0, 0};
30909 static swig_type_info _swigt__p_mrcImageFourierPowerSpectrum = {"_p_mrcImageFourierPowerSpectrum", "struct mrcImageFourierPowerSpectrum *|mrcImageFourierPowerSpectrum *", 0, 0, (void*)0, 0};
30910 static swig_type_info _swigt__p_mrcImageHeader = {"_p_mrcImageHeader", "union mrcImageHeader *|mrcImageHeader *", 0, 0, (void*)0, 0};
30911 static swig_type_info _swigt__p_mrcImageInformation = {"_p_mrcImageInformation", "struct mrcImageInformation *|mrcImageInformation *", 0, 0, (void*)0, 0};
30912 static swig_type_info _swigt__p_mrcImageInformationMode = {"_p_mrcImageInformationMode", "enum mrcImageInformationMode *|mrcImageInformationMode *", 0, 0, (void*)0, 0};
30913 static swig_type_info _swigt__p_mrcImageParaTypeIntegerCoord = {"_p_mrcImageParaTypeIntegerCoord", "struct mrcImageParaTypeIntegerCoord *|mrcImageParaTypeIntegerCoord *", 0, 0, (void*)0, 0};
30914 static swig_type_info _swigt__p_mrcImageParaTypeRealCoord = {"_p_mrcImageParaTypeRealCoord", "struct mrcImageParaTypeRealCoord *|mrcImageParaTypeRealCoord *", 0, 0, (void*)0, 0};
30915 static swig_type_info _swigt__p_mrcImageTailer = {"_p_mrcImageTailer", "union mrcImageTailer *|mrcImageTailer *", 0, 0, (void*)0, 0};
30916 static swig_type_info _swigt__p_mrcPixelDataHowToGet = {"_p_mrcPixelDataHowToGet", "enum mrcPixelDataHowToGet *|mrcPixelDataHowToGet *", 0, 0, (void*)0, 0};
30917 static swig_type_info _swigt__p_mrcPixelDataType = {"_p_mrcPixelDataType", "enum mrcPixelDataType *|mrcPixelDataType *", 0, 0, (void*)0, 0};
30918 static swig_type_info _swigt__p_operationMode = {"_p_operationMode", "enum operationMode *|operationMode *", 0, 0, (void*)0, 0};
30919 static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
30920 static swig_type_info _swigt__p_p_double = {"_p_p_double", "double **", 0, 0, (void*)0, 0};
30921 static swig_type_info _swigt__p_pdbCenter = {"_p_pdbCenter", "struct pdbCenter *|pdbCenter *", 0, 0, (void*)0, 0};
30922 static swig_type_info _swigt__p_pdbCoord = {"_p_pdbCoord", "struct pdbCoord *|pdbCoord *", 0, 0, (void*)0, 0};
30923 static swig_type_info _swigt__p_pdbFile = {"_p_pdbFile", "struct pdbFile *|pdbFile *", 0, 0, (void*)0, 0};
30924 static swig_type_info _swigt__p_pdbFileSecondaryStructure = {"_p_pdbFileSecondaryStructure", "struct pdbFileSecondaryStructure *|pdbFileSecondaryStructure *", 0, 0, (void*)0, 0};
30925 static swig_type_info _swigt__p_pdbFileSecondaryStructureMode = {"_p_pdbFileSecondaryStructureMode", "enum pdbFileSecondaryStructureMode *|pdbFileSecondaryStructureMode *", 0, 0, (void*)0, 0};
30926 static swig_type_info _swigt__p_pdbFileSecondaryStructureRecord = {"_p_pdbFileSecondaryStructureRecord", "struct pdbFileSecondaryStructureRecord *|pdbFileSecondaryStructureRecord *", 0, 0, (void*)0, 0};
30927 static swig_type_info _swigt__p_pdbRecord = {"_p_pdbRecord", "struct pdbRecord *|pdbRecord *", 0, 0, (void*)0, 0};
30928 static swig_type_info _swigt__p_pdbSecondaryStructureHelix = {"_p_pdbSecondaryStructureHelix", "struct pdbSecondaryStructureHelix *|pdbSecondaryStructureHelix *", 0, 0, (void*)0, 0};
30929 static swig_type_info _swigt__p_pdbSecondaryStructureHelixClass = {"_p_pdbSecondaryStructureHelixClass", "enum pdbSecondaryStructureHelixClass *|pdbSecondaryStructureHelixClass *", 0, 0, (void*)0, 0};
30930 static swig_type_info _swigt__p_pdbSecondaryStructureNo = {"_p_pdbSecondaryStructureNo", "struct pdbSecondaryStructureNo *|pdbSecondaryStructureNo *", 0, 0, (void*)0, 0};
30931 static swig_type_info _swigt__p_pdbSecondaryStructureSheet = {"_p_pdbSecondaryStructureSheet", "struct pdbSecondaryStructureSheet *|pdbSecondaryStructureSheet *", 0, 0, (void*)0, 0};
30932 static swig_type_info _swigt__p_pdbSecondaryStructureTurn = {"_p_pdbSecondaryStructureTurn", "struct pdbSecondaryStructureTurn *|pdbSecondaryStructureTurn *", 0, 0, (void*)0, 0};
30933 static swig_type_info _swigt__p_residueName = {"_p_residueName", "struct residueName *|residueName *", 0, 0, (void*)0, 0};
30934 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|mrcImageParaTypeCharacter *", 0, 0, (void*)0, 0};
30935 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "mrcStatusType *|unsigned int *|mrcStatusMask *", 0, 0, (void*)0, 0};
30936 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *", 0, 0, (void*)0, 0};
30937 static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *", 0, 0, (void*)0, 0};
30938
30939 static swig_type_info *swig_type_initial[] = {
30940   &_swigt__p_Coord,
30941   &_swigt__p_FILE,
30942   &_swigt__p_GLboolean,
30943   &_swigt__p_GLdouble,
30944   &_swigt__p_GLfloat,
30945   &_swigt__p_GLint,
30946   &_swigt__p_GLuint,
30947   &_swigt__p_MRC_Status_t,
30948   &_swigt__p_MRC_Status_t_status,
30949   &_swigt__p_ProteinStatus,
30950   &_swigt__p_Quat,
30951   &_swigt__p__mrcImageHeader,
30952   &_swigt__p__mrcImageHeaderCCP4,
30953   &_swigt__p__mrcImageTailer,
30954   &_swigt__p_a_4__a_4__float,
30955   &_swigt__p_a_4__float,
30956   &_swigt__p_a__80___char,
30957   &_swigt__p_cameraInfo,
30958   &_swigt__p_char,
30959   &_swigt__p_contourLinesSet,
30960   &_swigt__p_ctfInfo,
30961   &_swigt__p_displayMode,
30962   &_swigt__p_double,
30963   &_swigt__p_elementSwitch,
30964   &_swigt__p_float,
30965   &_swigt__p_floatVector,
30966   &_swigt__p_int,
30967   &_swigt__p_lmrcImageBandPassFilterInfo,
30968   &_swigt__p_lmrcImageCTFSNInfo,
30969   &_swigt__p_lmrcImageCVEInfo,
30970   &_swigt__p_lmrcImageFourierPowerSpectrumInfo,
30971   &_swigt__p_lmrcImageHighPassFilterInfo,
30972   &_swigt__p_lmrcImageHighlightInfo,
30973   &_swigt__p_lmrcImageLowPassFilterInfo,
30974   &_swigt__p_lmrcImageMultiCTFCompensationInfo,
30975   &_swigt__p_lmrcImageMultiCTFCompensationSolventFlatteningMode,
30976   &_swigt__p_lmrcImageSmoothingInfo,
30977   &_swigt__p_lmrcImageTfunctionInfo,
30978   &_swigt__p_long,
30979   &_swigt__p_molvieInfo,
30980   &_swigt__p_mrcImage,
30981   &_swigt__p_mrcImageDataSetMode,
30982   &_swigt__p_mrcImageFourierPowerSpectrum,
30983   &_swigt__p_mrcImageHeader,
30984   &_swigt__p_mrcImageInformation,
30985   &_swigt__p_mrcImageInformationMode,
30986   &_swigt__p_mrcImageParaTypeIntegerCoord,
30987   &_swigt__p_mrcImageParaTypeRealCoord,
30988   &_swigt__p_mrcImageTailer,
30989   &_swigt__p_mrcPixelDataHowToGet,
30990   &_swigt__p_mrcPixelDataType,
30991   &_swigt__p_operationMode,
30992   &_swigt__p_p_char,
30993   &_swigt__p_p_double,
30994   &_swigt__p_pdbCenter,
30995   &_swigt__p_pdbCoord,
30996   &_swigt__p_pdbFile,
30997   &_swigt__p_pdbFileSecondaryStructure,
30998   &_swigt__p_pdbFileSecondaryStructureMode,
30999   &_swigt__p_pdbFileSecondaryStructureRecord,
31000   &_swigt__p_pdbRecord,
31001   &_swigt__p_pdbSecondaryStructureHelix,
31002   &_swigt__p_pdbSecondaryStructureHelixClass,
31003   &_swigt__p_pdbSecondaryStructureNo,
31004   &_swigt__p_pdbSecondaryStructureSheet,
31005   &_swigt__p_pdbSecondaryStructureTurn,
31006   &_swigt__p_residueName,
31007   &_swigt__p_unsigned_char,
31008   &_swigt__p_unsigned_int,
31009   &_swigt__p_unsigned_long,
31010   &_swigt__p_unsigned_short,
31011 };
31012
31013 static swig_cast_info _swigc__p_Coord[] = {  {&_swigt__p_Coord, 0, 0, 0},{0, 0, 0, 0}};
31014 static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
31015 static swig_cast_info _swigc__p_GLboolean[] = {  {&_swigt__p_GLboolean, 0, 0, 0},{0, 0, 0, 0}};
31016 static swig_cast_info _swigc__p_GLdouble[] = {  {&_swigt__p_GLdouble, 0, 0, 0},{0, 0, 0, 0}};
31017 static swig_cast_info _swigc__p_GLfloat[] = {  {&_swigt__p_GLfloat, 0, 0, 0},{0, 0, 0, 0}};
31018 static swig_cast_info _swigc__p_GLint[] = {  {&_swigt__p_GLint, 0, 0, 0},{0, 0, 0, 0}};
31019 static swig_cast_info _swigc__p_GLuint[] = {  {&_swigt__p_GLuint, 0, 0, 0},{0, 0, 0, 0}};
31020 static swig_cast_info _swigc__p_MRC_Status_t[] = {  {&_swigt__p_MRC_Status_t, 0, 0, 0},{0, 0, 0, 0}};
31021 static swig_cast_info _swigc__p_MRC_Status_t_status[] = {  {&_swigt__p_MRC_Status_t_status, 0, 0, 0},{0, 0, 0, 0}};
31022 static swig_cast_info _swigc__p_ProteinStatus[] = {  {&_swigt__p_ProteinStatus, 0, 0, 0},{0, 0, 0, 0}};
31023 static swig_cast_info _swigc__p_Quat[] = {  {&_swigt__p_Quat, 0, 0, 0},{0, 0, 0, 0}};
31024 static swig_cast_info _swigc__p__mrcImageHeader[] = {  {&_swigt__p__mrcImageHeader, 0, 0, 0},{0, 0, 0, 0}};
31025 static swig_cast_info _swigc__p__mrcImageHeaderCCP4[] = {  {&_swigt__p__mrcImageHeaderCCP4, 0, 0, 0},{0, 0, 0, 0}};
31026 static swig_cast_info _swigc__p__mrcImageTailer[] = {  {&_swigt__p__mrcImageTailer, 0, 0, 0},{0, 0, 0, 0}};
31027 static swig_cast_info _swigc__p_a_4__a_4__float[] = {  {&_swigt__p_a_4__a_4__float, 0, 0, 0},{0, 0, 0, 0}};
31028 static swig_cast_info _swigc__p_a_4__float[] = {  {&_swigt__p_a_4__float, 0, 0, 0},{0, 0, 0, 0}};
31029 static swig_cast_info _swigc__p_a__80___char[] = {  {&_swigt__p_a__80___char, 0, 0, 0},{0, 0, 0, 0}};
31030 static swig_cast_info _swigc__p_cameraInfo[] = {  {&_swigt__p_cameraInfo, 0, 0, 0},{0, 0, 0, 0}};
31031 static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
31032 static swig_cast_info _swigc__p_contourLinesSet[] = {  {&_swigt__p_contourLinesSet, 0, 0, 0},{0, 0, 0, 0}};
31033 static swig_cast_info _swigc__p_ctfInfo[] = {  {&_swigt__p_ctfInfo, 0, 0, 0},{0, 0, 0, 0}};
31034 static swig_cast_info _swigc__p_displayMode[] = {  {&_swigt__p_displayMode, 0, 0, 0},{0, 0, 0, 0}};
31035 static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
31036 static swig_cast_info _swigc__p_elementSwitch[] = {  {&_swigt__p_elementSwitch, 0, 0, 0},{0, 0, 0, 0}};
31037 static swig_cast_info _swigc__p_float[] = {  {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
31038 static swig_cast_info _swigc__p_floatVector[] = {  {&_swigt__p_floatVector, 0, 0, 0},{0, 0, 0, 0}};
31039 static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
31040 static swig_cast_info _swigc__p_lmrcImageBandPassFilterInfo[] = {  {&_swigt__p_lmrcImageBandPassFilterInfo, 0, 0, 0},{0, 0, 0, 0}};
31041 static swig_cast_info _swigc__p_lmrcImageCTFSNInfo[] = {  {&_swigt__p_lmrcImageCTFSNInfo, 0, 0, 0},{0, 0, 0, 0}};
31042 static swig_cast_info _swigc__p_lmrcImageCVEInfo[] = {  {&_swigt__p_lmrcImageCVEInfo, 0, 0, 0},{0, 0, 0, 0}};
31043 static swig_cast_info _swigc__p_lmrcImageFourierPowerSpectrumInfo[] = {  {&_swigt__p_lmrcImageFourierPowerSpectrumInfo, 0, 0, 0},{0, 0, 0, 0}};
31044 static swig_cast_info _swigc__p_lmrcImageHighPassFilterInfo[] = {  {&_swigt__p_lmrcImageHighPassFilterInfo, 0, 0, 0},{0, 0, 0, 0}};
31045 static swig_cast_info _swigc__p_lmrcImageHighlightInfo[] = {  {&_swigt__p_lmrcImageHighlightInfo, 0, 0, 0},{0, 0, 0, 0}};
31046 static swig_cast_info _swigc__p_lmrcImageLowPassFilterInfo[] = {  {&_swigt__p_lmrcImageLowPassFilterInfo, 0, 0, 0},{0, 0, 0, 0}};
31047 static swig_cast_info _swigc__p_lmrcImageMultiCTFCompensationInfo[] = {  {&_swigt__p_lmrcImageMultiCTFCompensationInfo, 0, 0, 0},{0, 0, 0, 0}};
31048 static swig_cast_info _swigc__p_lmrcImageMultiCTFCompensationSolventFlatteningMode[] = {  {&_swigt__p_lmrcImageMultiCTFCompensationSolventFlatteningMode, 0, 0, 0},{0, 0, 0, 0}};
31049 static swig_cast_info _swigc__p_lmrcImageSmoothingInfo[] = {  {&_swigt__p_lmrcImageSmoothingInfo, 0, 0, 0},{0, 0, 0, 0}};
31050 static swig_cast_info _swigc__p_lmrcImageTfunctionInfo[] = {  {&_swigt__p_lmrcImageTfunctionInfo, 0, 0, 0},{0, 0, 0, 0}};
31051 static swig_cast_info _swigc__p_long[] = {  {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
31052 static swig_cast_info _swigc__p_molvieInfo[] = {  {&_swigt__p_molvieInfo, 0, 0, 0},{0, 0, 0, 0}};
31053 static swig_cast_info _swigc__p_mrcImage[] = {  {&_swigt__p_mrcImage, 0, 0, 0},{0, 0, 0, 0}};
31054 static swig_cast_info _swigc__p_mrcImageDataSetMode[] = {  {&_swigt__p_mrcImageDataSetMode, 0, 0, 0},{0, 0, 0, 0}};
31055 static swig_cast_info _swigc__p_mrcImageFourierPowerSpectrum[] = {  {&_swigt__p_mrcImageFourierPowerSpectrum, 0, 0, 0},{0, 0, 0, 0}};
31056 static swig_cast_info _swigc__p_mrcImageHeader[] = {  {&_swigt__p_mrcImageHeader, 0, 0, 0},{0, 0, 0, 0}};
31057 static swig_cast_info _swigc__p_mrcImageInformation[] = {  {&_swigt__p_mrcImageInformation, 0, 0, 0},{0, 0, 0, 0}};
31058 static swig_cast_info _swigc__p_mrcImageInformationMode[] = {  {&_swigt__p_mrcImageInformationMode, 0, 0, 0},{0, 0, 0, 0}};
31059 static swig_cast_info _swigc__p_mrcImageParaTypeIntegerCoord[] = {  {&_swigt__p_mrcImageParaTypeIntegerCoord, 0, 0, 0},{0, 0, 0, 0}};
31060 static swig_cast_info _swigc__p_mrcImageParaTypeRealCoord[] = {  {&_swigt__p_mrcImageParaTypeRealCoord, 0, 0, 0},{0, 0, 0, 0}};
31061 static swig_cast_info _swigc__p_mrcImageTailer[] = {  {&_swigt__p_mrcImageTailer, 0, 0, 0},{0, 0, 0, 0}};
31062 static swig_cast_info _swigc__p_mrcPixelDataHowToGet[] = {  {&_swigt__p_mrcPixelDataHowToGet, 0, 0, 0},{0, 0, 0, 0}};
31063 static swig_cast_info _swigc__p_mrcPixelDataType[] = {  {&_swigt__p_mrcPixelDataType, 0, 0, 0},{0, 0, 0, 0}};
31064 static swig_cast_info _swigc__p_operationMode[] = {  {&_swigt__p_operationMode, 0, 0, 0},{0, 0, 0, 0}};
31065 static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
31066 static swig_cast_info _swigc__p_p_double[] = {  {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
31067 static swig_cast_info _swigc__p_pdbCenter[] = {  {&_swigt__p_pdbCenter, 0, 0, 0},{0, 0, 0, 0}};
31068 static swig_cast_info _swigc__p_pdbCoord[] = {  {&_swigt__p_pdbCoord, 0, 0, 0},{0, 0, 0, 0}};
31069 static swig_cast_info _swigc__p_pdbFile[] = {  {&_swigt__p_pdbFile, 0, 0, 0},{0, 0, 0, 0}};
31070 static swig_cast_info _swigc__p_pdbFileSecondaryStructure[] = {  {&_swigt__p_pdbFileSecondaryStructure, 0, 0, 0},{0, 0, 0, 0}};
31071 static swig_cast_info _swigc__p_pdbFileSecondaryStructureMode[] = {  {&_swigt__p_pdbFileSecondaryStructureMode, 0, 0, 0},{0, 0, 0, 0}};
31072 static swig_cast_info _swigc__p_pdbFileSecondaryStructureRecord[] = {  {&_swigt__p_pdbFileSecondaryStructureRecord, 0, 0, 0},{0, 0, 0, 0}};
31073 static swig_cast_info _swigc__p_pdbRecord[] = {  {&_swigt__p_pdbRecord, 0, 0, 0},{0, 0, 0, 0}};
31074 static swig_cast_info _swigc__p_pdbSecondaryStructureHelix[] = {  {&_swigt__p_pdbSecondaryStructureHelix, 0, 0, 0},{0, 0, 0, 0}};
31075 static swig_cast_info _swigc__p_pdbSecondaryStructureHelixClass[] = {  {&_swigt__p_pdbSecondaryStructureHelixClass, 0, 0, 0},{0, 0, 0, 0}};
31076 static swig_cast_info _swigc__p_pdbSecondaryStructureNo[] = {  {&_swigt__p_pdbSecondaryStructureNo, 0, 0, 0},{0, 0, 0, 0}};
31077 static swig_cast_info _swigc__p_pdbSecondaryStructureSheet[] = {  {&_swigt__p_pdbSecondaryStructureSheet, 0, 0, 0},{0, 0, 0, 0}};
31078 static swig_cast_info _swigc__p_pdbSecondaryStructureTurn[] = {  {&_swigt__p_pdbSecondaryStructureTurn, 0, 0, 0},{0, 0, 0, 0}};
31079 static swig_cast_info _swigc__p_residueName[] = {  {&_swigt__p_residueName, 0, 0, 0},{0, 0, 0, 0}};
31080 static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
31081 static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
31082 static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
31083 static swig_cast_info _swigc__p_unsigned_short[] = {  {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
31084
31085 static swig_cast_info *swig_cast_initial[] = {
31086   _swigc__p_Coord,
31087   _swigc__p_FILE,
31088   _swigc__p_GLboolean,
31089   _swigc__p_GLdouble,
31090   _swigc__p_GLfloat,
31091   _swigc__p_GLint,
31092   _swigc__p_GLuint,
31093   _swigc__p_MRC_Status_t,
31094   _swigc__p_MRC_Status_t_status,
31095   _swigc__p_ProteinStatus,
31096   _swigc__p_Quat,
31097   _swigc__p__mrcImageHeader,
31098   _swigc__p__mrcImageHeaderCCP4,
31099   _swigc__p__mrcImageTailer,
31100   _swigc__p_a_4__a_4__float,
31101   _swigc__p_a_4__float,
31102   _swigc__p_a__80___char,
31103   _swigc__p_cameraInfo,
31104   _swigc__p_char,
31105   _swigc__p_contourLinesSet,
31106   _swigc__p_ctfInfo,
31107   _swigc__p_displayMode,
31108   _swigc__p_double,
31109   _swigc__p_elementSwitch,
31110   _swigc__p_float,
31111   _swigc__p_floatVector,
31112   _swigc__p_int,
31113   _swigc__p_lmrcImageBandPassFilterInfo,
31114   _swigc__p_lmrcImageCTFSNInfo,
31115   _swigc__p_lmrcImageCVEInfo,
31116   _swigc__p_lmrcImageFourierPowerSpectrumInfo,
31117   _swigc__p_lmrcImageHighPassFilterInfo,
31118   _swigc__p_lmrcImageHighlightInfo,
31119   _swigc__p_lmrcImageLowPassFilterInfo,
31120   _swigc__p_lmrcImageMultiCTFCompensationInfo,
31121   _swigc__p_lmrcImageMultiCTFCompensationSolventFlatteningMode,
31122   _swigc__p_lmrcImageSmoothingInfo,
31123   _swigc__p_lmrcImageTfunctionInfo,
31124   _swigc__p_long,
31125   _swigc__p_molvieInfo,
31126   _swigc__p_mrcImage,
31127   _swigc__p_mrcImageDataSetMode,
31128   _swigc__p_mrcImageFourierPowerSpectrum,
31129   _swigc__p_mrcImageHeader,
31130   _swigc__p_mrcImageInformation,
31131   _swigc__p_mrcImageInformationMode,
31132   _swigc__p_mrcImageParaTypeIntegerCoord,
31133   _swigc__p_mrcImageParaTypeRealCoord,
31134   _swigc__p_mrcImageTailer,
31135   _swigc__p_mrcPixelDataHowToGet,
31136   _swigc__p_mrcPixelDataType,
31137   _swigc__p_operationMode,
31138   _swigc__p_p_char,
31139   _swigc__p_p_double,
31140   _swigc__p_pdbCenter,
31141   _swigc__p_pdbCoord,
31142   _swigc__p_pdbFile,
31143   _swigc__p_pdbFileSecondaryStructure,
31144   _swigc__p_pdbFileSecondaryStructureMode,
31145   _swigc__p_pdbFileSecondaryStructureRecord,
31146   _swigc__p_pdbRecord,
31147   _swigc__p_pdbSecondaryStructureHelix,
31148   _swigc__p_pdbSecondaryStructureHelixClass,
31149   _swigc__p_pdbSecondaryStructureNo,
31150   _swigc__p_pdbSecondaryStructureSheet,
31151   _swigc__p_pdbSecondaryStructureTurn,
31152   _swigc__p_residueName,
31153   _swigc__p_unsigned_char,
31154   _swigc__p_unsigned_int,
31155   _swigc__p_unsigned_long,
31156   _swigc__p_unsigned_short,
31157 };
31158
31159
31160 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31161
31162 /* -----------------------------------------------------------------------------
31163  * Type initialization:
31164  * This problem is tough by the requirement that no dynamic 
31165  * memory is used. Also, since swig_type_info structures store pointers to 
31166  * swig_cast_info structures and swig_cast_info structures store pointers back
31167  * to swig_type_info structures, we need some lookup code at initialization. 
31168  * The idea is that swig generates all the structures that are needed. 
31169  * The runtime then collects these partially filled structures. 
31170  * The SWIG_InitializeModule function takes these initial arrays out of 
31171  * swig_module, and does all the lookup, filling in the swig_module.types
31172  * array with the correct data and linking the correct swig_cast_info
31173  * structures together.
31174  *
31175  * The generated swig_type_info structures are assigned staticly to an initial 
31176  * array. We just loop through that array, and handle each type individually.
31177  * First we lookup if this type has been already loaded, and if so, use the
31178  * loaded structure instead of the generated one. Then we have to fill in the
31179  * cast linked list. The cast data is initially stored in something like a
31180  * two-dimensional array. Each row corresponds to a type (there are the same
31181  * number of rows as there are in the swig_type_initial array). Each entry in
31182  * a column is one of the swig_cast_info structures for that type.
31183  * The cast_initial array is actually an array of arrays, because each row has
31184  * a variable number of columns. So to actually build the cast linked list,
31185  * we find the array of casts associated with the type, and loop through it 
31186  * adding the casts to the list. The one last trick we need to do is making
31187  * sure the type pointer in the swig_cast_info struct is correct.
31188  *
31189  * First off, we lookup the cast->type name to see if it is already loaded. 
31190  * There are three cases to handle:
31191  *  1) If the cast->type has already been loaded AND the type we are adding
31192  *     casting info to has not been loaded (it is in this module), THEN we
31193  *     replace the cast->type pointer with the type pointer that has already
31194  *     been loaded.
31195  *  2) If BOTH types (the one we are adding casting info to, and the 
31196  *     cast->type) are loaded, THEN the cast info has already been loaded by
31197  *     the previous module so we just ignore it.
31198  *  3) Finally, if cast->type has not already been loaded, then we add that
31199  *     swig_cast_info to the linked list (because the cast->type) pointer will
31200  *     be correct.
31201  * ----------------------------------------------------------------------------- */
31202
31203 #ifdef __cplusplus
31204 extern "C" {
31205 #if 0
31206 } /* c-mode */
31207 #endif
31208 #endif
31209
31210 #if 0
31211 #define SWIGRUNTIME_DEBUG
31212 #endif
31213
31214
31215 SWIGRUNTIME void
31216 SWIG_InitializeModule(void *clientdata) {
31217   size_t i;
31218   swig_module_info *module_head, *iter;
31219   int found, init;
31220
31221   clientdata = clientdata;
31222
31223   /* check to see if the circular list has been setup, if not, set it up */
31224   if (swig_module.next==0) {
31225     /* Initialize the swig_module */
31226     swig_module.type_initial = swig_type_initial;
31227     swig_module.cast_initial = swig_cast_initial;
31228     swig_module.next = &swig_module;
31229     init = 1;
31230   } else {
31231     init = 0;
31232   }
31233
31234   /* Try and load any already created modules */
31235   module_head = SWIG_GetModule(clientdata);
31236   if (!module_head) {
31237     /* This is the first module loaded for this interpreter */
31238     /* so set the swig module into the interpreter */
31239     SWIG_SetModule(clientdata, &swig_module);
31240     module_head = &swig_module;
31241   } else {
31242     /* the interpreter has loaded a SWIG module, but has it loaded this one? */
31243     found=0;
31244     iter=module_head;
31245     do {
31246       if (iter==&swig_module) {
31247         found=1;
31248         break;
31249       }
31250       iter=iter->next;
31251     } while (iter!= module_head);
31252
31253     /* if the is found in the list, then all is done and we may leave */
31254     if (found) return;
31255     /* otherwise we must add out module into the list */
31256     swig_module.next = module_head->next;
31257     module_head->next = &swig_module;
31258   }
31259
31260   /* When multiple interpeters are used, a module could have already been initialized in
31261      a different interpreter, but not yet have a pointer in this interpreter.
31262      In this case, we do not want to continue adding types... everything should be
31263      set up already */
31264   if (init == 0) return;
31265
31266   /* Now work on filling in swig_module.types */
31267 #ifdef SWIGRUNTIME_DEBUG
31268   printf("SWIG_InitializeModule: size %d\n", swig_module.size);
31269 #endif
31270   for (i = 0; i < swig_module.size; ++i) {
31271     swig_type_info *type = 0;
31272     swig_type_info *ret;
31273     swig_cast_info *cast;
31274   
31275 #ifdef SWIGRUNTIME_DEBUG
31276     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
31277 #endif
31278
31279     /* if there is another module already loaded */
31280     if (swig_module.next != &swig_module) {
31281       type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
31282     }
31283     if (type) {
31284       /* Overwrite clientdata field */
31285 #ifdef SWIGRUNTIME_DEBUG
31286       printf("SWIG_InitializeModule: found type %s\n", type->name);
31287 #endif
31288       if (swig_module.type_initial[i]->clientdata) {
31289         type->clientdata = swig_module.type_initial[i]->clientdata;
31290 #ifdef SWIGRUNTIME_DEBUG
31291       printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
31292 #endif
31293       }
31294     } else {
31295       type = swig_module.type_initial[i];
31296     }
31297
31298     /* Insert casting types */
31299     cast = swig_module.cast_initial[i];
31300     while (cast->type) {
31301     
31302       /* Don't need to add information already in the list */
31303       ret = 0;
31304 #ifdef SWIGRUNTIME_DEBUG
31305       printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
31306 #endif
31307       if (swig_module.next != &swig_module) {
31308         ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
31309 #ifdef SWIGRUNTIME_DEBUG
31310         if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
31311 #endif
31312       }
31313       if (ret) {
31314         if (type == swig_module.type_initial[i]) {
31315 #ifdef SWIGRUNTIME_DEBUG
31316           printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
31317 #endif
31318           cast->type = ret;
31319           ret = 0;
31320         } else {
31321           /* Check for casting already in the list */
31322           swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
31323 #ifdef SWIGRUNTIME_DEBUG
31324           if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
31325 #endif
31326           if (!ocast) ret = 0;
31327         }
31328       }
31329
31330       if (!ret) {
31331 #ifdef SWIGRUNTIME_DEBUG
31332         printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
31333 #endif
31334         if (type->cast) {
31335           type->cast->prev = cast;
31336           cast->next = type->cast;
31337         }
31338         type->cast = cast;
31339       }
31340       cast++;
31341     }
31342     /* Set entry in modules->types array equal to the type */
31343     swig_module.types[i] = type;
31344   }
31345   swig_module.types[i] = 0;
31346
31347 #ifdef SWIGRUNTIME_DEBUG
31348   printf("**** SWIG_InitializeModule: Cast List ******\n");
31349   for (i = 0; i < swig_module.size; ++i) {
31350     int j = 0;
31351     swig_cast_info *cast = swig_module.cast_initial[i];
31352     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
31353     while (cast->type) {
31354       printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
31355       cast++;
31356       ++j;
31357     }
31358   printf("---- Total casts: %d\n",j);
31359   }
31360   printf("**** SWIG_InitializeModule: Cast List ******\n");
31361 #endif
31362 }
31363
31364 /* This function will propagate the clientdata field of type to
31365 * any new swig_type_info structures that have been added into the list
31366 * of equivalent types.  It is like calling
31367 * SWIG_TypeClientData(type, clientdata) a second time.
31368 */
31369 SWIGRUNTIME void
31370 SWIG_PropagateClientData(void) {
31371   size_t i;
31372   swig_cast_info *equiv;
31373   static int init_run = 0;
31374
31375   if (init_run) return;
31376   init_run = 1;
31377
31378   for (i = 0; i < swig_module.size; i++) {
31379     if (swig_module.types[i]->clientdata) {
31380       equiv = swig_module.types[i]->cast;
31381       while (equiv) {
31382         if (!equiv->converter) {
31383           if (equiv->type && !equiv->type->clientdata)
31384             SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
31385         }
31386         equiv = equiv->next;
31387       }
31388     }
31389   }
31390 }
31391
31392 #ifdef __cplusplus
31393 #if 0
31394 { /* c-mode */
31395 #endif
31396 }
31397 #endif
31398
31399 /*
31400
31401 */
31402 #ifdef __cplusplus
31403 extern "C"
31404 #endif
31405 SWIGEXPORT void Init_molvieRuby(void) {
31406   size_t i;
31407   
31408   SWIG_InitRuntime();
31409   mMolvieRuby = rb_define_module("MolvieRuby");
31410   
31411   SWIG_InitializeModule(0);
31412   for (i = 0; i < swig_module.size; i++) {
31413     SWIG_define_class(swig_module.types[i]);
31414   }
31415   
31416   SWIG_RubyInitializeTrackings();
31417   rb_define_const(mMolvieRuby, "MATRIX_3D_WIDTH", SWIG_From_int((int)(4)));
31418   rb_define_const(mMolvieRuby, "MATRIX_3D_HEIGHT", SWIG_From_int((int)(4)));
31419   rb_define_const(mMolvieRuby, "MATRIX_3D_MODE_NOT_INITIALIZE", SWIG_From_int((int)(0)));
31420   rb_define_const(mMolvieRuby, "MATRIX_3D_MODE_INITIALIZE", SWIG_From_int((int)(1)));
31421   rb_define_const(mMolvieRuby, "MATRIX_3D_NEGLECT_VALUE", SWIG_From_double((double)(1e-6)));
31422   rb_define_module_function(mMolvieRuby, "matrix3DInit", _wrap_matrix3DInit, -1);
31423   rb_define_module_function(mMolvieRuby, "matrix3DCopy", _wrap_matrix3DCopy, -1);
31424   rb_define_module_function(mMolvieRuby, "matrix3DInverse", _wrap_matrix3DInverse, -1);
31425   rb_define_module_function(mMolvieRuby, "matrix3DMultiply", _wrap_matrix3DMultiply, -1);
31426   rb_define_module_function(mMolvieRuby, "matrix3DMultiplyInv", _wrap_matrix3DMultiplyInv, -1);
31427   rb_define_module_function(mMolvieRuby, "matrix3DMultiplyVector", _wrap_matrix3DMultiplyVector, -1);
31428   rb_define_module_function(mMolvieRuby, "matrix3DFileFormat", _wrap_matrix3DFileFormat, -1);
31429   rb_define_module_function(mMolvieRuby, "matrix3DFileRead", _wrap_matrix3DFileRead, -1);
31430   rb_define_module_function(mMolvieRuby, "matrix3DFileWrite", _wrap_matrix3DFileWrite, -1);
31431   rb_define_module_function(mMolvieRuby, "matrix3DRotationSet", _wrap_matrix3DRotationSet, -1);
31432   rb_define_module_function(mMolvieRuby, "matrix3DTranslationSet", _wrap_matrix3DTranslationSet, -1);
31433   rb_define_module_function(mMolvieRuby, "matrix3DRotationSetXYZ", _wrap_matrix3DRotationSetXYZ, -1);
31434   rb_define_module_function(mMolvieRuby, "matrix3DRotationSetZYX", _wrap_matrix3DRotationSetZYX, -1);
31435   rb_define_module_function(mMolvieRuby, "matrix3DRotationSetZXY", _wrap_matrix3DRotationSetZXY, -1);
31436   rb_define_module_function(mMolvieRuby, "matrix3DRotationSetYXZ", _wrap_matrix3DRotationSetYXZ, -1);
31437   rb_define_module_function(mMolvieRuby, "matrix3DRotationSetFollowingEulerAngle", _wrap_matrix3DRotationSetFollowingEulerAngle, -1);
31438   rb_define_module_function(mMolvieRuby, "matrix3DRotationAntiSetFollowingEulerAngle", _wrap_matrix3DRotationAntiSetFollowingEulerAngle, -1);
31439   rb_define_module_function(mMolvieRuby, "matrix3DEulerAngleGetFromMatrix3D", _wrap_matrix3DEulerAngleGetFromMatrix3D, -1);
31440   
31441   cQuat.klass = rb_define_class_under(mMolvieRuby, "Quat", rb_cObject);
31442   SWIG_TypeClientData(SWIGTYPE_p_Quat, (void *) &cQuat);
31443   rb_define_alloc_func(cQuat.klass, _wrap_Quat_allocate);
31444   rb_define_method(cQuat.klass, "initialize", _wrap_new_Quat, -1);
31445   rb_define_method(cQuat.klass, "x=", _wrap_Quat_x_set, -1);
31446   rb_define_method(cQuat.klass, "x", _wrap_Quat_x_get, -1);
31447   rb_define_method(cQuat.klass, "y=", _wrap_Quat_y_set, -1);
31448   rb_define_method(cQuat.klass, "y", _wrap_Quat_y_get, -1);
31449   rb_define_method(cQuat.klass, "z=", _wrap_Quat_z_set, -1);
31450   rb_define_method(cQuat.klass, "z", _wrap_Quat_z_get, -1);
31451   rb_define_method(cQuat.klass, "w=", _wrap_Quat_w_set, -1);
31452   rb_define_method(cQuat.klass, "w", _wrap_Quat_w_get, -1);
31453   cQuat.mark = 0;
31454   cQuat.destroy = (void (*)(void *)) free_Quat;
31455   cQuat.trackObjects = 0;
31456   rb_define_const(mMolvieRuby, "X", SWIG_From_int((int)(X)));
31457   rb_define_const(mMolvieRuby, "Y", SWIG_From_int((int)(Y)));
31458   rb_define_const(mMolvieRuby, "Z", SWIG_From_int((int)(Z)));
31459   rb_define_const(mMolvieRuby, "W", SWIG_From_int((int)(W)));
31460   rb_define_const(mMolvieRuby, "EulFrmS", SWIG_From_int((int)(0)));
31461   rb_define_const(mMolvieRuby, "EulFrmR", SWIG_From_int((int)(1)));
31462   rb_define_const(mMolvieRuby, "EulRepNo", SWIG_From_int((int)(0)));
31463   rb_define_const(mMolvieRuby, "EulRepYes", SWIG_From_int((int)(1)));
31464   rb_define_const(mMolvieRuby, "EulParEven", SWIG_From_int((int)(0)));
31465   rb_define_const(mMolvieRuby, "EulParOdd", SWIG_From_int((int)(1)));
31466   rb_define_const(mMolvieRuby, "EulSafe", SWIG_FromCharPtr(""));
31467   rb_define_const(mMolvieRuby, "EulNext", SWIG_FromCharPtr("\1\2"));
31468   rb_define_module_function(mMolvieRuby, "Eul_", _wrap_Eul_, -1);
31469   rb_define_module_function(mMolvieRuby, "Eul_ToQuat", _wrap_Eul_ToQuat, -1);
31470   rb_define_module_function(mMolvieRuby, "Eul_ToHMatrix", _wrap_Eul_ToHMatrix, -1);
31471   rb_define_module_function(mMolvieRuby, "Eul_FromHMatrix", _wrap_Eul_FromHMatrix, -1);
31472   rb_define_module_function(mMolvieRuby, "Eul_FromQuat", _wrap_Eul_FromQuat, -1);
31473   
31474   cMRC_Status_t.klass = rb_define_class_under(mMolvieRuby, "MRC_Status_t", rb_cObject);
31475   SWIG_TypeClientData(SWIGTYPE_p_MRC_Status_t, (void *) &cMRC_Status_t);
31476   rb_define_alloc_func(cMRC_Status_t.klass, _wrap_MRC_Status_t_allocate);
31477   rb_define_method(cMRC_Status_t.klass, "initialize", _wrap_new_MRC_Status_t, -1);
31478   rb_define_method(cMRC_Status_t.klass, "all=", _wrap_MRC_Status_t_all_set, -1);
31479   rb_define_method(cMRC_Status_t.klass, "all", _wrap_MRC_Status_t_all_get, -1);
31480   rb_define_method(cMRC_Status_t.klass, "status", _wrap_MRC_Status_t_status_get, -1);
31481   cMRC_Status_t.mark = 0;
31482   cMRC_Status_t.destroy = (void (*)(void *)) free_MRC_Status_t;
31483   cMRC_Status_t.trackObjects = 0;
31484   
31485   cMRC_Status_t_status.klass = rb_define_class_under(mMolvieRuby, "MRC_Status_t_status", rb_cObject);
31486   SWIG_TypeClientData(SWIGTYPE_p_MRC_Status_t_status, (void *) &cMRC_Status_t_status);
31487   rb_define_alloc_func(cMRC_Status_t_status.klass, _wrap_MRC_Status_t_status_allocate);
31488   rb_define_method(cMRC_Status_t_status.klass, "initialize", _wrap_new_MRC_Status_t_status, -1);
31489   rb_define_method(cMRC_Status_t_status.klass, "detail=", _wrap_MRC_Status_t_status_detail_set, -1);
31490   rb_define_method(cMRC_Status_t_status.klass, "detail", _wrap_MRC_Status_t_status_detail_get, -1);
31491   rb_define_method(cMRC_Status_t_status.klass, "category=", _wrap_MRC_Status_t_status_category_set, -1);
31492   rb_define_method(cMRC_Status_t_status.klass, "category", _wrap_MRC_Status_t_status_category_get, -1);
31493   rb_define_method(cMRC_Status_t_status.klass, "level=", _wrap_MRC_Status_t_status_level_set, -1);
31494   rb_define_method(cMRC_Status_t_status.klass, "level", _wrap_MRC_Status_t_status_level_get, -1);
31495   cMRC_Status_t_status.mark = 0;
31496   cMRC_Status_t_status.destroy = (void (*)(void *)) free_MRC_Status_t_status;
31497   cMRC_Status_t_status.trackObjects = 0;
31498   
31499   cMrcImageParaTypeIntegerCoord.klass = rb_define_class_under(mMolvieRuby, "MrcImageParaTypeIntegerCoord", rb_cObject);
31500   SWIG_TypeClientData(SWIGTYPE_p_mrcImageParaTypeIntegerCoord, (void *) &cMrcImageParaTypeIntegerCoord);
31501   rb_define_alloc_func(cMrcImageParaTypeIntegerCoord.klass, _wrap_mrcImageParaTypeIntegerCoord_allocate);
31502   rb_define_method(cMrcImageParaTypeIntegerCoord.klass, "initialize", _wrap_new_mrcImageParaTypeIntegerCoord, -1);
31503   rb_define_method(cMrcImageParaTypeIntegerCoord.klass, "x=", _wrap_mrcImageParaTypeIntegerCoord_x_set, -1);
31504   rb_define_method(cMrcImageParaTypeIntegerCoord.klass, "x", _wrap_mrcImageParaTypeIntegerCoord_x_get, -1);
31505   rb_define_method(cMrcImageParaTypeIntegerCoord.klass, "y=", _wrap_mrcImageParaTypeIntegerCoord_y_set, -1);
31506   rb_define_method(cMrcImageParaTypeIntegerCoord.klass, "y", _wrap_mrcImageParaTypeIntegerCoord_y_get, -1);
31507   rb_define_method(cMrcImageParaTypeIntegerCoord.klass, "z=", _wrap_mrcImageParaTypeIntegerCoord_z_set, -1);
31508   rb_define_method(cMrcImageParaTypeIntegerCoord.klass, "z", _wrap_mrcImageParaTypeIntegerCoord_z_get, -1);
31509   cMrcImageParaTypeIntegerCoord.mark = 0;
31510   cMrcImageParaTypeIntegerCoord.destroy = (void (*)(void *)) free_mrcImageParaTypeIntegerCoord;
31511   cMrcImageParaTypeIntegerCoord.trackObjects = 0;
31512   
31513   cMrcImageParaTypeRealCoord.klass = rb_define_class_under(mMolvieRuby, "MrcImageParaTypeRealCoord", rb_cObject);
31514   SWIG_TypeClientData(SWIGTYPE_p_mrcImageParaTypeRealCoord, (void *) &cMrcImageParaTypeRealCoord);
31515   rb_define_alloc_func(cMrcImageParaTypeRealCoord.klass, _wrap_mrcImageParaTypeRealCoord_allocate);
31516   rb_define_method(cMrcImageParaTypeRealCoord.klass, "initialize", _wrap_new_mrcImageParaTypeRealCoord, -1);
31517   rb_define_method(cMrcImageParaTypeRealCoord.klass, "x=", _wrap_mrcImageParaTypeRealCoord_x_set, -1);
31518   rb_define_method(cMrcImageParaTypeRealCoord.klass, "x", _wrap_mrcImageParaTypeRealCoord_x_get, -1);
31519   rb_define_method(cMrcImageParaTypeRealCoord.klass, "y=", _wrap_mrcImageParaTypeRealCoord_y_set, -1);
31520   rb_define_method(cMrcImageParaTypeRealCoord.klass, "y", _wrap_mrcImageParaTypeRealCoord_y_get, -1);
31521   rb_define_method(cMrcImageParaTypeRealCoord.klass, "z=", _wrap_mrcImageParaTypeRealCoord_z_set, -1);
31522   rb_define_method(cMrcImageParaTypeRealCoord.klass, "z", _wrap_mrcImageParaTypeRealCoord_z_get, -1);
31523   cMrcImageParaTypeRealCoord.mark = 0;
31524   cMrcImageParaTypeRealCoord.destroy = (void (*)(void *)) free_mrcImageParaTypeRealCoord;
31525   cMrcImageParaTypeRealCoord.trackObjects = 0;
31526   rb_define_const(mMolvieRuby, "MRC_HEADER", SWIG_From_int((int)((1024))));
31527   rb_define_const(mMolvieRuby, "MRC_TAILER", SWIG_From_int((int)((1024))));
31528   rb_define_const(mMolvieRuby, "MRC_MAX_LABEL_N", SWIG_From_int((int)((10))));
31529   rb_define_const(mMolvieRuby, "MRC_MAX_LABEL_LEN", SWIG_From_int((int)((80))));
31530   rb_define_const(mMolvieRuby, "MRC_MAX_EXTRA", SWIG_From_int((int)((29))));
31531   rb_define_const(mMolvieRuby, "MRC_MAX_EXTRA_CCP4", SWIG_From_int((int)((15))));
31532   
31533   c_mrcImageHeader.klass = rb_define_class_under(mMolvieRuby, "_mrcImageHeader", rb_cObject);
31534   SWIG_TypeClientData(SWIGTYPE_p__mrcImageHeader, (void *) &c_mrcImageHeader);
31535   rb_define_alloc_func(c_mrcImageHeader.klass, _wrap__mrcImageHeader_allocate);
31536   rb_define_method(c_mrcImageHeader.klass, "initialize", _wrap_new__mrcImageHeader, -1);
31537   rb_define_method(c_mrcImageHeader.klass, "N=", _wrap__mrcImageHeader_N_set, -1);
31538   rb_define_method(c_mrcImageHeader.klass, "N", _wrap__mrcImageHeader_N_get, -1);
31539   rb_define_method(c_mrcImageHeader.klass, "Mode=", _wrap__mrcImageHeader_Mode_set, -1);
31540   rb_define_method(c_mrcImageHeader.klass, "Mode", _wrap__mrcImageHeader_Mode_get, -1);
31541   rb_define_method(c_mrcImageHeader.klass, "StartN=", _wrap__mrcImageHeader_StartN_set, -1);
31542   rb_define_method(c_mrcImageHeader.klass, "StartN", _wrap__mrcImageHeader_StartN_get, -1);
31543   rb_define_method(c_mrcImageHeader.klass, "M=", _wrap__mrcImageHeader_M_set, -1);
31544   rb_define_method(c_mrcImageHeader.klass, "M", _wrap__mrcImageHeader_M_get, -1);
31545   rb_define_method(c_mrcImageHeader.klass, "Length=", _wrap__mrcImageHeader_Length_set, -1);
31546   rb_define_method(c_mrcImageHeader.klass, "Length", _wrap__mrcImageHeader_Length_get, -1);
31547   rb_define_method(c_mrcImageHeader.klass, "Alpha=", _wrap__mrcImageHeader_Alpha_set, -1);
31548   rb_define_method(c_mrcImageHeader.klass, "Alpha", _wrap__mrcImageHeader_Alpha_get, -1);
31549   rb_define_method(c_mrcImageHeader.klass, "Beta=", _wrap__mrcImageHeader_Beta_set, -1);
31550   rb_define_method(c_mrcImageHeader.klass, "Beta", _wrap__mrcImageHeader_Beta_get, -1);
31551   rb_define_method(c_mrcImageHeader.klass, "Gamma=", _wrap__mrcImageHeader_Gamma_set, -1);
31552   rb_define_method(c_mrcImageHeader.klass, "Gamma", _wrap__mrcImageHeader_Gamma_get, -1);
31553   rb_define_method(c_mrcImageHeader.klass, "MAPC=", _wrap__mrcImageHeader_MAPC_set, -1);
31554   rb_define_method(c_mrcImageHeader.klass, "MAPC", _wrap__mrcImageHeader_MAPC_get, -1);
31555   rb_define_method(c_mrcImageHeader.klass, "MAPR=", _wrap__mrcImageHeader_MAPR_set, -1);
31556   rb_define_method(c_mrcImageHeader.klass, "MAPR", _wrap__mrcImageHeader_MAPR_get, -1);
31557   rb_define_method(c_mrcImageHeader.klass, "MAPS=", _wrap__mrcImageHeader_MAPS_set, -1);
31558   rb_define_method(c_mrcImageHeader.klass, "MAPS", _wrap__mrcImageHeader_MAPS_get, -1);
31559   rb_define_method(c_mrcImageHeader.klass, "AMin=", _wrap__mrcImageHeader_AMin_set, -1);
31560   rb_define_method(c_mrcImageHeader.klass, "AMin", _wrap__mrcImageHeader_AMin_get, -1);
31561   rb_define_method(c_mrcImageHeader.klass, "AMax=", _wrap__mrcImageHeader_AMax_set, -1);
31562   rb_define_method(c_mrcImageHeader.klass, "AMax", _wrap__mrcImageHeader_AMax_get, -1);
31563   rb_define_method(c_mrcImageHeader.klass, "AMean=", _wrap__mrcImageHeader_AMean_set, -1);
31564   rb_define_method(c_mrcImageHeader.klass, "AMean", _wrap__mrcImageHeader_AMean_get, -1);
31565   rb_define_method(c_mrcImageHeader.klass, "ISPG=", _wrap__mrcImageHeader_ISPG_set, -1);
31566   rb_define_method(c_mrcImageHeader.klass, "ISPG", _wrap__mrcImageHeader_ISPG_get, -1);
31567   rb_define_method(c_mrcImageHeader.klass, "NSYMBT=", _wrap__mrcImageHeader_NSYMBT_set, -1);
31568   rb_define_method(c_mrcImageHeader.klass, "NSYMBT", _wrap__mrcImageHeader_NSYMBT_get, -1);
31569   rb_define_method(c_mrcImageHeader.klass, "EXTRA=", _wrap__mrcImageHeader_EXTRA_set, -1);
31570   rb_define_method(c_mrcImageHeader.klass, "EXTRA", _wrap__mrcImageHeader_EXTRA_get, -1);
31571   rb_define_method(c_mrcImageHeader.klass, "OriginX=", _wrap__mrcImageHeader_OriginX_set, -1);
31572   rb_define_method(c_mrcImageHeader.klass, "OriginX", _wrap__mrcImageHeader_OriginX_get, -1);
31573   rb_define_method(c_mrcImageHeader.klass, "OriginY=", _wrap__mrcImageHeader_OriginY_set, -1);
31574   rb_define_method(c_mrcImageHeader.klass, "OriginY", _wrap__mrcImageHeader_OriginY_get, -1);
31575   rb_define_method(c_mrcImageHeader.klass, "LabelN=", _wrap__mrcImageHeader_LabelN_set, -1);
31576   rb_define_method(c_mrcImageHeader.klass, "LabelN", _wrap__mrcImageHeader_LabelN_get, -1);
31577   rb_define_method(c_mrcImageHeader.klass, "Label=", _wrap__mrcImageHeader_Label_set, -1);
31578   rb_define_method(c_mrcImageHeader.klass, "Label", _wrap__mrcImageHeader_Label_get, -1);
31579   c_mrcImageHeader.mark = 0;
31580   c_mrcImageHeader.destroy = (void (*)(void *)) free__mrcImageHeader;
31581   c_mrcImageHeader.trackObjects = 0;
31582   
31583   c_mrcImageHeaderCCP4.klass = rb_define_class_under(mMolvieRuby, "_mrcImageHeaderCCP4", rb_cObject);
31584   SWIG_TypeClientData(SWIGTYPE_p__mrcImageHeaderCCP4, (void *) &c_mrcImageHeaderCCP4);
31585   rb_define_alloc_func(c_mrcImageHeaderCCP4.klass, _wrap__mrcImageHeaderCCP4_allocate);
31586   rb_define_method(c_mrcImageHeaderCCP4.klass, "initialize", _wrap_new__mrcImageHeaderCCP4, -1);
31587   rb_define_method(c_mrcImageHeaderCCP4.klass, "N=", _wrap__mrcImageHeaderCCP4_N_set, -1);
31588   rb_define_method(c_mrcImageHeaderCCP4.klass, "N", _wrap__mrcImageHeaderCCP4_N_get, -1);
31589   rb_define_method(c_mrcImageHeaderCCP4.klass, "Mode=", _wrap__mrcImageHeaderCCP4_Mode_set, -1);
31590   rb_define_method(c_mrcImageHeaderCCP4.klass, "Mode", _wrap__mrcImageHeaderCCP4_Mode_get, -1);
31591   rb_define_method(c_mrcImageHeaderCCP4.klass, "StartN=", _wrap__mrcImageHeaderCCP4_StartN_set, -1);
31592   rb_define_method(c_mrcImageHeaderCCP4.klass, "StartN", _wrap__mrcImageHeaderCCP4_StartN_get, -1);
31593   rb_define_method(c_mrcImageHeaderCCP4.klass, "NI=", _wrap__mrcImageHeaderCCP4_NI_set, -1);
31594   rb_define_method(c_mrcImageHeaderCCP4.klass, "NI", _wrap__mrcImageHeaderCCP4_NI_get, -1);
31595   rb_define_method(c_mrcImageHeaderCCP4.klass, "Length=", _wrap__mrcImageHeaderCCP4_Length_set, -1);
31596   rb_define_method(c_mrcImageHeaderCCP4.klass, "Length", _wrap__mrcImageHeaderCCP4_Length_get, -1);
31597   rb_define_method(c_mrcImageHeaderCCP4.klass, "Alpha=", _wrap__mrcImageHeaderCCP4_Alpha_set, -1);
31598   rb_define_method(c_mrcImageHeaderCCP4.klass, "Alpha", _wrap__mrcImageHeaderCCP4_Alpha_get, -1);
31599   rb_define_method(c_mrcImageHeaderCCP4.klass, "Beta=", _wrap__mrcImageHeaderCCP4_Beta_set, -1);
31600   rb_define_method(c_mrcImageHeaderCCP4.klass, "Beta", _wrap__mrcImageHeaderCCP4_Beta_get, -1);
31601   rb_define_method(c_mrcImageHeaderCCP4.klass, "Gamma=", _wrap__mrcImageHeaderCCP4_Gamma_set, -1);
31602   rb_define_method(c_mrcImageHeaderCCP4.klass, "Gamma", _wrap__mrcImageHeaderCCP4_Gamma_get, -1);
31603   rb_define_method(c_mrcImageHeaderCCP4.klass, "MAPC=", _wrap__mrcImageHeaderCCP4_MAPC_set, -1);
31604   rb_define_method(c_mrcImageHeaderCCP4.klass, "MAPC", _wrap__mrcImageHeaderCCP4_MAPC_get, -1);
31605   rb_define_method(c_mrcImageHeaderCCP4.klass, "MAPR=", _wrap__mrcImageHeaderCCP4_MAPR_set, -1);
31606   rb_define_method(c_mrcImageHeaderCCP4.klass, "MAPR", _wrap__mrcImageHeaderCCP4_MAPR_get, -1);
31607   rb_define_method(c_mrcImageHeaderCCP4.klass, "MAPS=", _wrap__mrcImageHeaderCCP4_MAPS_set, -1);
31608   rb_define_method(c_mrcImageHeaderCCP4.klass, "MAPS", _wrap__mrcImageHeaderCCP4_MAPS_get, -1);
31609   rb_define_method(c_mrcImageHeaderCCP4.klass, "AMin=", _wrap__mrcImageHeaderCCP4_AMin_set, -1);
31610   rb_define_method(c_mrcImageHeaderCCP4.klass, "AMin", _wrap__mrcImageHeaderCCP4_AMin_get, -1);
31611   rb_define_method(c_mrcImageHeaderCCP4.klass, "AMax=", _wrap__mrcImageHeaderCCP4_AMax_set, -1);
31612   rb_define_method(c_mrcImageHeaderCCP4.klass, "AMax", _wrap__mrcImageHeaderCCP4_AMax_get, -1);
31613   rb_define_method(c_mrcImageHeaderCCP4.klass, "AMean=", _wrap__mrcImageHeaderCCP4_AMean_set, -1);
31614   rb_define_method(c_mrcImageHeaderCCP4.klass, "AMean", _wrap__mrcImageHeaderCCP4_AMean_get, -1);
31615   rb_define_method(c_mrcImageHeaderCCP4.klass, "ISPG=", _wrap__mrcImageHeaderCCP4_ISPG_set, -1);
31616   rb_define_method(c_mrcImageHeaderCCP4.klass, "ISPG", _wrap__mrcImageHeaderCCP4_ISPG_get, -1);
31617   rb_define_method(c_mrcImageHeaderCCP4.klass, "NSYMBT=", _wrap__mrcImageHeaderCCP4_NSYMBT_set, -1);
31618   rb_define_method(c_mrcImageHeaderCCP4.klass, "NSYMBT", _wrap__mrcImageHeaderCCP4_NSYMBT_get, -1);
31619   rb_define_method(c_mrcImageHeaderCCP4.klass, "LSKFLG=", _wrap__mrcImageHeaderCCP4_LSKFLG_set, -1);
31620   rb_define_method(c_mrcImageHeaderCCP4.klass, "LSKFLG", _wrap__mrcImageHeaderCCP4_LSKFLG_get, -1);
31621   rb_define_method(c_mrcImageHeaderCCP4.klass, "SKWMAT=", _wrap__mrcImageHeaderCCP4_SKWMAT_set, -1);
31622   rb_define_method(c_mrcImageHeaderCCP4.klass, "SKWMAT", _wrap__mrcImageHeaderCCP4_SKWMAT_get, -1);
31623   rb_define_method(c_mrcImageHeaderCCP4.klass, "SKWTRN=", _wrap__mrcImageHeaderCCP4_SKWTRN_set, -1);
31624   rb_define_method(c_mrcImageHeaderCCP4.klass, "SKWTRN", _wrap__mrcImageHeaderCCP4_SKWTRN_get, -1);
31625   rb_define_method(c_mrcImageHeaderCCP4.klass, "EXTRA=", _wrap__mrcImageHeaderCCP4_EXTRA_set, -1);
31626   rb_define_method(c_mrcImageHeaderCCP4.klass, "EXTRA", _wrap__mrcImageHeaderCCP4_EXTRA_get, -1);
31627   rb_define_method(c_mrcImageHeaderCCP4.klass, "MAP=", _wrap__mrcImageHeaderCCP4_MAP_set, -1);
31628   rb_define_method(c_mrcImageHeaderCCP4.klass, "MAP", _wrap__mrcImageHeaderCCP4_MAP_get, -1);
31629   rb_define_method(c_mrcImageHeaderCCP4.klass, "MARCHST=", _wrap__mrcImageHeaderCCP4_MARCHST_set, -1);
31630   rb_define_method(c_mrcImageHeaderCCP4.klass, "MARCHST", _wrap__mrcImageHeaderCCP4_MARCHST_get, -1);
31631   rb_define_method(c_mrcImageHeaderCCP4.klass, "ARMS=", _wrap__mrcImageHeaderCCP4_ARMS_set, -1);
31632   rb_define_method(c_mrcImageHeaderCCP4.klass, "ARMS", _wrap__mrcImageHeaderCCP4_ARMS_get, -1);
31633   rb_define_method(c_mrcImageHeaderCCP4.klass, "LabelN=", _wrap__mrcImageHeaderCCP4_LabelN_set, -1);
31634   rb_define_method(c_mrcImageHeaderCCP4.klass, "LabelN", _wrap__mrcImageHeaderCCP4_LabelN_get, -1);
31635   rb_define_method(c_mrcImageHeaderCCP4.klass, "Label=", _wrap__mrcImageHeaderCCP4_Label_set, -1);
31636   rb_define_method(c_mrcImageHeaderCCP4.klass, "Label", _wrap__mrcImageHeaderCCP4_Label_get, -1);
31637   c_mrcImageHeaderCCP4.mark = 0;
31638   c_mrcImageHeaderCCP4.destroy = (void (*)(void *)) free__mrcImageHeaderCCP4;
31639   c_mrcImageHeaderCCP4.trackObjects = 0;
31640   
31641   cMrcImageHeader.klass = rb_define_class_under(mMolvieRuby, "MrcImageHeader", rb_cObject);
31642   SWIG_TypeClientData(SWIGTYPE_p_mrcImageHeader, (void *) &cMrcImageHeader);
31643   rb_define_alloc_func(cMrcImageHeader.klass, _wrap_mrcImageHeader_allocate);
31644   rb_define_method(cMrcImageHeader.klass, "initialize", _wrap_new_mrcImageHeader, -1);
31645   rb_define_method(cMrcImageHeader.klass, "All=", _wrap_mrcImageHeader_All_set, -1);
31646   rb_define_method(cMrcImageHeader.klass, "All", _wrap_mrcImageHeader_All_get, -1);
31647   rb_define_method(cMrcImageHeader.klass, "Int=", _wrap_mrcImageHeader_Int_set, -1);
31648   rb_define_method(cMrcImageHeader.klass, "Int", _wrap_mrcImageHeader_Int_get, -1);
31649   rb_define_method(cMrcImageHeader.klass, "Real=", _wrap_mrcImageHeader_Real_set, -1);
31650   rb_define_method(cMrcImageHeader.klass, "Real", _wrap_mrcImageHeader_Real_get, -1);
31651   rb_define_method(cMrcImageHeader.klass, "Cont=", _wrap_mrcImageHeader_Cont_set, -1);
31652   rb_define_method(cMrcImageHeader.klass, "Cont", _wrap_mrcImageHeader_Cont_get, -1);
31653   rb_define_method(cMrcImageHeader.klass, "ContCCP4=", _wrap_mrcImageHeader_ContCCP4_set, -1);
31654   rb_define_method(cMrcImageHeader.klass, "ContCCP4", _wrap_mrcImageHeader_ContCCP4_get, -1);
31655   cMrcImageHeader.mark = 0;
31656   cMrcImageHeader.destroy = (void (*)(void *)) free_mrcImageHeader;
31657   cMrcImageHeader.trackObjects = 0;
31658   rb_define_const(mMolvieRuby, "MrcImageTailerMode2DProjection", SWIG_From_int((int)(0)));
31659   
31660   c_mrcImageTailer.klass = rb_define_class_under(mMolvieRuby, "_mrcImageTailer", rb_cObject);
31661   SWIG_TypeClientData(SWIGTYPE_p__mrcImageTailer, (void *) &c_mrcImageTailer);
31662   rb_define_alloc_func(c_mrcImageTailer.klass, _wrap__mrcImageTailer_allocate);
31663   rb_define_method(c_mrcImageTailer.klass, "initialize", _wrap_new__mrcImageTailer, -1);
31664   rb_define_method(c_mrcImageTailer.klass, "Code=", _wrap__mrcImageTailer_Code_set, -1);
31665   rb_define_method(c_mrcImageTailer.klass, "Code", _wrap__mrcImageTailer_Code_get, -1);
31666   rb_define_method(c_mrcImageTailer.klass, "Mode=", _wrap__mrcImageTailer_Mode_set, -1);
31667   rb_define_method(c_mrcImageTailer.klass, "Mode", _wrap__mrcImageTailer_Mode_get, -1);
31668   rb_define_method(c_mrcImageTailer.klass, "EulerAngleMode=", _wrap__mrcImageTailer_EulerAngleMode_set, -1);
31669   rb_define_method(c_mrcImageTailer.klass, "EulerAngleMode", _wrap__mrcImageTailer_EulerAngleMode_get, -1);
31670   rb_define_method(c_mrcImageTailer.klass, "Rot1=", _wrap__mrcImageTailer_Rot1_set, -1);
31671   rb_define_method(c_mrcImageTailer.klass, "Rot1", _wrap__mrcImageTailer_Rot1_get, -1);
31672   rb_define_method(c_mrcImageTailer.klass, "Rot2=", _wrap__mrcImageTailer_Rot2_set, -1);
31673   rb_define_method(c_mrcImageTailer.klass, "Rot2", _wrap__mrcImageTailer_Rot2_get, -1);
31674   rb_define_method(c_mrcImageTailer.klass, "Rot3=", _wrap__mrcImageTailer_Rot3_set, -1);
31675   rb_define_method(c_mrcImageTailer.klass, "Rot3", _wrap__mrcImageTailer_Rot3_get, -1);
31676   rb_define_method(c_mrcImageTailer.klass, "Mirror=", _wrap__mrcImageTailer_Mirror_set, -1);
31677   rb_define_method(c_mrcImageTailer.klass, "Mirror", _wrap__mrcImageTailer_Mirror_get, -1);
31678   c_mrcImageTailer.mark = 0;
31679   c_mrcImageTailer.destroy = (void (*)(void *)) free__mrcImageTailer;
31680   c_mrcImageTailer.trackObjects = 0;
31681   
31682   cMrcImageTailer.klass = rb_define_class_under(mMolvieRuby, "MrcImageTailer", rb_cObject);
31683   SWIG_TypeClientData(SWIGTYPE_p_mrcImageTailer, (void *) &cMrcImageTailer);
31684   rb_define_alloc_func(cMrcImageTailer.klass, _wrap_mrcImageTailer_allocate);
31685   rb_define_method(cMrcImageTailer.klass, "initialize", _wrap_new_mrcImageTailer, -1);
31686   rb_define_method(cMrcImageTailer.klass, "All=", _wrap_mrcImageTailer_All_set, -1);
31687   rb_define_method(cMrcImageTailer.klass, "All", _wrap_mrcImageTailer_All_get, -1);
31688   rb_define_method(cMrcImageTailer.klass, "Int=", _wrap_mrcImageTailer_Int_set, -1);
31689   rb_define_method(cMrcImageTailer.klass, "Int", _wrap_mrcImageTailer_Int_get, -1);
31690   rb_define_method(cMrcImageTailer.klass, "Real=", _wrap_mrcImageTailer_Real_set, -1);
31691   rb_define_method(cMrcImageTailer.klass, "Real", _wrap_mrcImageTailer_Real_get, -1);
31692   rb_define_method(cMrcImageTailer.klass, "Cont=", _wrap_mrcImageTailer_Cont_set, -1);
31693   rb_define_method(cMrcImageTailer.klass, "Cont", _wrap_mrcImageTailer_Cont_get, -1);
31694   cMrcImageTailer.mark = 0;
31695   cMrcImageTailer.destroy = (void (*)(void *)) free_mrcImageTailer;
31696   cMrcImageTailer.trackObjects = 0;
31697   
31698   cMrcImage.klass = rb_define_class_under(mMolvieRuby, "MrcImage", rb_cObject);
31699   SWIG_TypeClientData(SWIGTYPE_p_mrcImage, (void *) &cMrcImage);
31700   rb_define_alloc_func(cMrcImage.klass, _wrap_mrcImage_allocate);
31701   rb_define_method(cMrcImage.klass, "initialize", _wrap_new_mrcImage, -1);
31702   rb_define_method(cMrcImage.klass, "Header=", _wrap_mrcImage_Header_set, -1);
31703   rb_define_method(cMrcImage.klass, "Header", _wrap_mrcImage_Header_get, -1);
31704   rb_define_method(cMrcImage.klass, "BytePerImage=", _wrap_mrcImage_BytePerImage_set, -1);
31705   rb_define_method(cMrcImage.klass, "BytePerImage", _wrap_mrcImage_BytePerImage_get, -1);
31706   rb_define_method(cMrcImage.klass, "BytePerBand=", _wrap_mrcImage_BytePerBand_set, -1);
31707   rb_define_method(cMrcImage.klass, "BytePerBand", _wrap_mrcImage_BytePerBand_get, -1);
31708   rb_define_method(cMrcImage.klass, "BandPerPixel=", _wrap_mrcImage_BandPerPixel_set, -1);
31709   rb_define_method(cMrcImage.klass, "BandPerPixel", _wrap_mrcImage_BandPerPixel_get, -1);
31710   rb_define_method(cMrcImage.klass, "PixelPerImage=", _wrap_mrcImage_PixelPerImage_set, -1);
31711   rb_define_method(cMrcImage.klass, "PixelPerImage", _wrap_mrcImage_PixelPerImage_get, -1);
31712   rb_define_method(cMrcImage.klass, "status=", _wrap_mrcImage_status_set, -1);
31713   rb_define_method(cMrcImage.klass, "status", _wrap_mrcImage_status_get, -1);
31714   rb_define_method(cMrcImage.klass, "Image=", _wrap_mrcImage_Image_set, -1);
31715   rb_define_method(cMrcImage.klass, "Image", _wrap_mrcImage_Image_get, -1);
31716   rb_define_method(cMrcImage.klass, "ImageCharImage=", _wrap_mrcImage_ImageCharImage_set, -1);
31717   rb_define_method(cMrcImage.klass, "ImageCharImage", _wrap_mrcImage_ImageCharImage_get, -1);
31718   rb_define_method(cMrcImage.klass, "ImageShortImage=", _wrap_mrcImage_ImageShortImage_set, -1);
31719   rb_define_method(cMrcImage.klass, "ImageShortImage", _wrap_mrcImage_ImageShortImage_get, -1);
31720   rb_define_method(cMrcImage.klass, "ImageLongImage=", _wrap_mrcImage_ImageLongImage_set, -1);
31721   rb_define_method(cMrcImage.klass, "ImageLongImage", _wrap_mrcImage_ImageLongImage_get, -1);
31722   rb_define_method(cMrcImage.klass, "ImageFloatImage=", _wrap_mrcImage_ImageFloatImage_set, -1);
31723   rb_define_method(cMrcImage.klass, "ImageFloatImage", _wrap_mrcImage_ImageFloatImage_get, -1);
31724   rb_define_method(cMrcImage.klass, "ImageDoubleImage=", _wrap_mrcImage_ImageDoubleImage_set, -1);
31725   rb_define_method(cMrcImage.klass, "ImageDoubleImage", _wrap_mrcImage_ImageDoubleImage_get, -1);
31726   rb_define_method(cMrcImage.klass, "Tailer=", _wrap_mrcImage_Tailer_set, -1);
31727   rb_define_method(cMrcImage.klass, "Tailer", _wrap_mrcImage_Tailer_get, -1);
31728   rb_define_method(cMrcImage.klass, "numTailer=", _wrap_mrcImage_numTailer_set, -1);
31729   rb_define_method(cMrcImage.klass, "numTailer", _wrap_mrcImage_numTailer_get, -1);
31730   rb_define_method(cMrcImage.klass, "flagByteSwap=", _wrap_mrcImage_flagByteSwap_set, -1);
31731   rb_define_method(cMrcImage.klass, "flagByteSwap", _wrap_mrcImage_flagByteSwap_get, -1);
31732   rb_define_method(cMrcImage.klass, "flagCCP4=", _wrap_mrcImage_flagCCP4_set, -1);
31733   rb_define_method(cMrcImage.klass, "flagCCP4", _wrap_mrcImage_flagCCP4_get, -1);
31734   rb_define_method(cMrcImage.klass, "ImageOffset=", _wrap_mrcImage_ImageOffset_set, -1);
31735   rb_define_method(cMrcImage.klass, "ImageOffset", _wrap_mrcImage_ImageOffset_get, -1);
31736   rb_define_method(cMrcImage.klass, "SymmetryOperator=", _wrap_mrcImage_SymmetryOperator_set, -1);
31737   rb_define_method(cMrcImage.klass, "SymmetryOperator", _wrap_mrcImage_SymmetryOperator_get, -1);
31738   cMrcImage.mark = 0;
31739   cMrcImage.destroy = (void (*)(void *)) free_mrcImage;
31740   cMrcImage.trackObjects = 0;
31741   
31742   cMrcImageInformation.klass = rb_define_class_under(mMolvieRuby, "MrcImageInformation", rb_cObject);
31743   SWIG_TypeClientData(SWIGTYPE_p_mrcImageInformation, (void *) &cMrcImageInformation);
31744   rb_define_alloc_func(cMrcImageInformation.klass, _wrap_mrcImageInformation_allocate);
31745   rb_define_method(cMrcImageInformation.klass, "initialize", _wrap_new_mrcImageInformation, -1);
31746   rb_define_method(cMrcImageInformation.klass, "mean=", _wrap_mrcImageInformation_mean_set, -1);
31747   rb_define_method(cMrcImageInformation.klass, "mean", _wrap_mrcImageInformation_mean_get, -1);
31748   rb_define_method(cMrcImageInformation.klass, "rootMeanSquare=", _wrap_mrcImageInformation_rootMeanSquare_set, -1);
31749   rb_define_method(cMrcImageInformation.klass, "rootMeanSquare", _wrap_mrcImageInformation_rootMeanSquare_get, -1);
31750   rb_define_method(cMrcImageInformation.klass, "meanOfSphereSurface=", _wrap_mrcImageInformation_meanOfSphereSurface_set, -1);
31751   rb_define_method(cMrcImageInformation.klass, "meanOfSphereSurface", _wrap_mrcImageInformation_meanOfSphereSurface_get, -1);
31752   rb_define_method(cMrcImageInformation.klass, "sdOfSphereSurface=", _wrap_mrcImageInformation_sdOfSphereSurface_set, -1);
31753   rb_define_method(cMrcImageInformation.klass, "sdOfSphereSurface", _wrap_mrcImageInformation_sdOfSphereSurface_get, -1);
31754   rb_define_method(cMrcImageInformation.klass, "seOfSphereSurface=", _wrap_mrcImageInformation_seOfSphereSurface_set, -1);
31755   rb_define_method(cMrcImageInformation.klass, "seOfSphereSurface", _wrap_mrcImageInformation_seOfSphereSurface_get, -1);
31756   rb_define_method(cMrcImageInformation.klass, "meanOfCylinderSurface=", _wrap_mrcImageInformation_meanOfCylinderSurface_set, -1);
31757   rb_define_method(cMrcImageInformation.klass, "meanOfCylinderSurface", _wrap_mrcImageInformation_meanOfCylinderSurface_get, -1);
31758   rb_define_method(cMrcImageInformation.klass, "sdOfCylinderSurface=", _wrap_mrcImageInformation_sdOfCylinderSurface_set, -1);
31759   rb_define_method(cMrcImageInformation.klass, "sdOfCylinderSurface", _wrap_mrcImageInformation_sdOfCylinderSurface_get, -1);
31760   rb_define_method(cMrcImageInformation.klass, "seOfCylinderSurface=", _wrap_mrcImageInformation_seOfCylinderSurface_set, -1);
31761   rb_define_method(cMrcImageInformation.klass, "seOfCylinderSurface", _wrap_mrcImageInformation_seOfCylinderSurface_get, -1);
31762   rb_define_method(cMrcImageInformation.klass, "meanOfEdge=", _wrap_mrcImageInformation_meanOfEdge_set, -1);
31763   rb_define_method(cMrcImageInformation.klass, "meanOfEdge", _wrap_mrcImageInformation_meanOfEdge_get, -1);
31764   rb_define_method(cMrcImageInformation.klass, "sdOfEdge=", _wrap_mrcImageInformation_sdOfEdge_set, -1);
31765   rb_define_method(cMrcImageInformation.klass, "sdOfEdge", _wrap_mrcImageInformation_sdOfEdge_get, -1);
31766   rb_define_method(cMrcImageInformation.klass, "seOfEdge=", _wrap_mrcImageInformation_seOfEdge_set, -1);
31767   rb_define_method(cMrcImageInformation.klass, "seOfEdge", _wrap_mrcImageInformation_seOfEdge_get, -1);
31768   rb_define_method(cMrcImageInformation.klass, "max=", _wrap_mrcImageInformation_max_set, -1);
31769   rb_define_method(cMrcImageInformation.klass, "max", _wrap_mrcImageInformation_max_get, -1);
31770   rb_define_method(cMrcImageInformation.klass, "maxCoord=", _wrap_mrcImageInformation_maxCoord_set, -1);
31771   rb_define_method(cMrcImageInformation.klass, "maxCoord", _wrap_mrcImageInformation_maxCoord_get, -1);
31772   rb_define_method(cMrcImageInformation.klass, "min=", _wrap_mrcImageInformation_min_set, -1);
31773   rb_define_method(cMrcImageInformation.klass, "min", _wrap_mrcImageInformation_min_get, -1);
31774   rb_define_method(cMrcImageInformation.klass, "minCoord=", _wrap_mrcImageInformation_minCoord_set, -1);
31775   rb_define_method(cMrcImageInformation.klass, "minCoord", _wrap_mrcImageInformation_minCoord_get, -1);
31776   rb_define_method(cMrcImageInformation.klass, "sd=", _wrap_mrcImageInformation_sd_set, -1);
31777   rb_define_method(cMrcImageInformation.klass, "sd", _wrap_mrcImageInformation_sd_get, -1);
31778   rb_define_method(cMrcImageInformation.klass, "se=", _wrap_mrcImageInformation_se_set, -1);
31779   rb_define_method(cMrcImageInformation.klass, "se", _wrap_mrcImageInformation_se_get, -1);
31780   rb_define_method(cMrcImageInformation.klass, "rmax=", _wrap_mrcImageInformation_rmax_set, -1);
31781   rb_define_method(cMrcImageInformation.klass, "rmax", _wrap_mrcImageInformation_rmax_get, -1);
31782   rb_define_method(cMrcImageInformation.klass, "flagrmax=", _wrap_mrcImageInformation_flagrmax_set, -1);
31783   rb_define_method(cMrcImageInformation.klass, "flagrmax", _wrap_mrcImageInformation_flagrmax_get, -1);
31784   rb_define_method(cMrcImageInformation.klass, "RMS=", _wrap_mrcImageInformation_RMS_set, -1);
31785   rb_define_method(cMrcImageInformation.klass, "RMS", _wrap_mrcImageInformation_RMS_get, -1);
31786   rb_define_method(cMrcImageInformation.klass, "mode=", _wrap_mrcImageInformation_mode_set, -1);
31787   rb_define_method(cMrcImageInformation.klass, "mode", _wrap_mrcImageInformation_mode_get, -1);
31788   cMrcImageInformation.mark = 0;
31789   cMrcImageInformation.destroy = (void (*)(void *)) free_mrcImageInformation;
31790   cMrcImageInformation.trackObjects = 0;
31791   rb_define_const(mMolvieRuby, "MeanOfAll", SWIG_From_int((int)(meanOfAll)));
31792   rb_define_const(mMolvieRuby, "MeanOfSphereSurface", SWIG_From_int((int)(meanOfSphereSurface)));
31793   rb_define_const(mMolvieRuby, "MeanOfCylinderSurface", SWIG_From_int((int)(meanOfCylinderSurface)));
31794   rb_define_const(mMolvieRuby, "MeanOfEdge", SWIG_From_int((int)(meanOfEdge)));
31795   rb_define_const(mMolvieRuby, "MeanOfCentre", SWIG_From_int((int)(meanOfCentre)));
31796   rb_define_const(mMolvieRuby, "MeanOfSparse", SWIG_From_int((int)(meanOfSparse)));
31797   rb_define_const(mMolvieRuby, "MeanOf2DEdgeY", SWIG_From_int((int)(meanOf2DEdgeY)));
31798   rb_define_const(mMolvieRuby, "RMSofAllPixels", SWIG_From_int((int)(RMSofAllPixels)));
31799   rb_define_const(mMolvieRuby, "MrcPixelRePart", SWIG_From_int((int)(mrcPixelRePart)));
31800   rb_define_const(mMolvieRuby, "MrcPixelImPart", SWIG_From_int((int)(mrcPixelImPart)));
31801   rb_define_const(mMolvieRuby, "MrcPixelMag", SWIG_From_int((int)(mrcPixelMag)));
31802   rb_define_const(mMolvieRuby, "MrcPixelPow", SWIG_From_int((int)(mrcPixelPow)));
31803   rb_define_const(mMolvieRuby, "MrcPixelLogMag", SWIG_From_int((int)(mrcPixelLogMag)));
31804   rb_define_const(mMolvieRuby, "MrcPixelLogPow", SWIG_From_int((int)(mrcPixelLogPow)));
31805   rb_define_const(mMolvieRuby, "MrcPixelPhase", SWIG_From_int((int)(mrcPixelPhase)));
31806   rb_define_const(mMolvieRuby, "MrcPixelHowNearest", SWIG_From_int((int)(mrcPixelHowNearest)));
31807   rb_define_const(mMolvieRuby, "MrcPixelHowLinear", SWIG_From_int((int)(mrcPixelHowLinear)));
31808   rb_define_const(mMolvieRuby, "MrcPixelHowCubicConv", SWIG_From_int((int)(mrcPixelHowCubicConv)));
31809   rb_define_const(mMolvieRuby, "MrcPixelHowPolySig", SWIG_From_int((int)(mrcPixelHowPolySig)));
31810   
31811   cLmrcImageSmoothingInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageSmoothingInfo", rb_cObject);
31812   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageSmoothingInfo, (void *) &cLmrcImageSmoothingInfo);
31813   rb_define_alloc_func(cLmrcImageSmoothingInfo.klass, _wrap_lmrcImageSmoothingInfo_allocate);
31814   rb_define_method(cLmrcImageSmoothingInfo.klass, "initialize", _wrap_new_lmrcImageSmoothingInfo, -1);
31815   rb_define_method(cLmrcImageSmoothingInfo.klass, "mode=", _wrap_lmrcImageSmoothingInfo_mode_set, -1);
31816   rb_define_method(cLmrcImageSmoothingInfo.klass, "mode", _wrap_lmrcImageSmoothingInfo_mode_get, -1);
31817   rb_define_method(cLmrcImageSmoothingInfo.klass, "sx=", _wrap_lmrcImageSmoothingInfo_sx_set, -1);
31818   rb_define_method(cLmrcImageSmoothingInfo.klass, "sx", _wrap_lmrcImageSmoothingInfo_sx_get, -1);
31819   rb_define_method(cLmrcImageSmoothingInfo.klass, "sy=", _wrap_lmrcImageSmoothingInfo_sy_set, -1);
31820   rb_define_method(cLmrcImageSmoothingInfo.klass, "sy", _wrap_lmrcImageSmoothingInfo_sy_get, -1);
31821   rb_define_method(cLmrcImageSmoothingInfo.klass, "sz=", _wrap_lmrcImageSmoothingInfo_sz_set, -1);
31822   rb_define_method(cLmrcImageSmoothingInfo.klass, "sz", _wrap_lmrcImageSmoothingInfo_sz_get, -1);
31823   cLmrcImageSmoothingInfo.mark = 0;
31824   cLmrcImageSmoothingInfo.destroy = (void (*)(void *)) free_lmrcImageSmoothingInfo;
31825   cLmrcImageSmoothingInfo.trackObjects = 0;
31826   
31827   cLmrcImageCVEInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageCVEInfo", rb_cObject);
31828   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageCVEInfo, (void *) &cLmrcImageCVEInfo);
31829   rb_define_alloc_func(cLmrcImageCVEInfo.klass, _wrap_lmrcImageCVEInfo_allocate);
31830   rb_define_method(cLmrcImageCVEInfo.klass, "initialize", _wrap_new_lmrcImageCVEInfo, -1);
31831   rb_define_method(cLmrcImageCVEInfo.klass, "sx=", _wrap_lmrcImageCVEInfo_sx_set, -1);
31832   rb_define_method(cLmrcImageCVEInfo.klass, "sx", _wrap_lmrcImageCVEInfo_sx_get, -1);
31833   rb_define_method(cLmrcImageCVEInfo.klass, "sy=", _wrap_lmrcImageCVEInfo_sy_set, -1);
31834   rb_define_method(cLmrcImageCVEInfo.klass, "sy", _wrap_lmrcImageCVEInfo_sy_get, -1);
31835   rb_define_method(cLmrcImageCVEInfo.klass, "sz=", _wrap_lmrcImageCVEInfo_sz_set, -1);
31836   rb_define_method(cLmrcImageCVEInfo.klass, "sz", _wrap_lmrcImageCVEInfo_sz_get, -1);
31837   cLmrcImageCVEInfo.mark = 0;
31838   cLmrcImageCVEInfo.destroy = (void (*)(void *)) free_lmrcImageCVEInfo;
31839   cLmrcImageCVEInfo.trackObjects = 0;
31840   
31841   cLmrcImageTfunctionInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageTfunctionInfo", rb_cObject);
31842   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageTfunctionInfo, (void *) &cLmrcImageTfunctionInfo);
31843   rb_define_alloc_func(cLmrcImageTfunctionInfo.klass, _wrap_lmrcImageTfunctionInfo_allocate);
31844   rb_define_method(cLmrcImageTfunctionInfo.klass, "initialize", _wrap_new_lmrcImageTfunctionInfo, -1);
31845   rb_define_method(cLmrcImageTfunctionInfo.klass, "sx=", _wrap_lmrcImageTfunctionInfo_sx_set, -1);
31846   rb_define_method(cLmrcImageTfunctionInfo.klass, "sx", _wrap_lmrcImageTfunctionInfo_sx_get, -1);
31847   rb_define_method(cLmrcImageTfunctionInfo.klass, "sy=", _wrap_lmrcImageTfunctionInfo_sy_set, -1);
31848   rb_define_method(cLmrcImageTfunctionInfo.klass, "sy", _wrap_lmrcImageTfunctionInfo_sy_get, -1);
31849   rb_define_method(cLmrcImageTfunctionInfo.klass, "sz=", _wrap_lmrcImageTfunctionInfo_sz_set, -1);
31850   rb_define_method(cLmrcImageTfunctionInfo.klass, "sz", _wrap_lmrcImageTfunctionInfo_sz_get, -1);
31851   cLmrcImageTfunctionInfo.mark = 0;
31852   cLmrcImageTfunctionInfo.destroy = (void (*)(void *)) free_lmrcImageTfunctionInfo;
31853   cLmrcImageTfunctionInfo.trackObjects = 0;
31854   
31855   cLmrcImageHighlightInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageHighlightInfo", rb_cObject);
31856   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageHighlightInfo, (void *) &cLmrcImageHighlightInfo);
31857   rb_define_alloc_func(cLmrcImageHighlightInfo.klass, _wrap_lmrcImageHighlightInfo_allocate);
31858   rb_define_method(cLmrcImageHighlightInfo.klass, "initialize", _wrap_new_lmrcImageHighlightInfo, -1);
31859   rb_define_method(cLmrcImageHighlightInfo.klass, "mode=", _wrap_lmrcImageHighlightInfo_mode_set, -1);
31860   rb_define_method(cLmrcImageHighlightInfo.klass, "mode", _wrap_lmrcImageHighlightInfo_mode_get, -1);
31861   rb_define_method(cLmrcImageHighlightInfo.klass, "Bias=", _wrap_lmrcImageHighlightInfo_Bias_set, -1);
31862   rb_define_method(cLmrcImageHighlightInfo.klass, "Bias", _wrap_lmrcImageHighlightInfo_Bias_get, -1);
31863   rb_define_method(cLmrcImageHighlightInfo.klass, "Grad=", _wrap_lmrcImageHighlightInfo_Grad_set, -1);
31864   rb_define_method(cLmrcImageHighlightInfo.klass, "Grad", _wrap_lmrcImageHighlightInfo_Grad_get, -1);
31865   cLmrcImageHighlightInfo.mark = 0;
31866   cLmrcImageHighlightInfo.destroy = (void (*)(void *)) free_lmrcImageHighlightInfo;
31867   cLmrcImageHighlightInfo.trackObjects = 0;
31868   
31869   cLmrcImageLowPassFilterInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageLowPassFilterInfo", rb_cObject);
31870   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageLowPassFilterInfo, (void *) &cLmrcImageLowPassFilterInfo);
31871   rb_define_alloc_func(cLmrcImageLowPassFilterInfo.klass, _wrap_lmrcImageLowPassFilterInfo_allocate);
31872   rb_define_method(cLmrcImageLowPassFilterInfo.klass, "initialize", _wrap_new_lmrcImageLowPassFilterInfo, -1);
31873   rb_define_method(cLmrcImageLowPassFilterInfo.klass, "mode=", _wrap_lmrcImageLowPassFilterInfo_mode_set, -1);
31874   rb_define_method(cLmrcImageLowPassFilterInfo.klass, "mode", _wrap_lmrcImageLowPassFilterInfo_mode_get, -1);
31875   rb_define_method(cLmrcImageLowPassFilterInfo.klass, "hvp=", _wrap_lmrcImageLowPassFilterInfo_hvp_set, -1);
31876   rb_define_method(cLmrcImageLowPassFilterInfo.klass, "hvp", _wrap_lmrcImageLowPassFilterInfo_hvp_get, -1);
31877   rb_define_method(cLmrcImageLowPassFilterInfo.klass, "width=", _wrap_lmrcImageLowPassFilterInfo_width_set, -1);
31878   rb_define_method(cLmrcImageLowPassFilterInfo.klass, "width", _wrap_lmrcImageLowPassFilterInfo_width_get, -1);
31879   cLmrcImageLowPassFilterInfo.mark = 0;
31880   cLmrcImageLowPassFilterInfo.destroy = (void (*)(void *)) free_lmrcImageLowPassFilterInfo;
31881   cLmrcImageLowPassFilterInfo.trackObjects = 0;
31882   
31883   cLmrcImageHighPassFilterInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageHighPassFilterInfo", rb_cObject);
31884   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageHighPassFilterInfo, (void *) &cLmrcImageHighPassFilterInfo);
31885   rb_define_alloc_func(cLmrcImageHighPassFilterInfo.klass, _wrap_lmrcImageHighPassFilterInfo_allocate);
31886   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "initialize", _wrap_new_lmrcImageHighPassFilterInfo, -1);
31887   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "mode=", _wrap_lmrcImageHighPassFilterInfo_mode_set, -1);
31888   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "mode", _wrap_lmrcImageHighPassFilterInfo_mode_get, -1);
31889   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "hvp=", _wrap_lmrcImageHighPassFilterInfo_hvp_set, -1);
31890   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "hvp", _wrap_lmrcImageHighPassFilterInfo_hvp_get, -1);
31891   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "width=", _wrap_lmrcImageHighPassFilterInfo_width_set, -1);
31892   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "width", _wrap_lmrcImageHighPassFilterInfo_width_get, -1);
31893   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "pathWindowLow=", _wrap_lmrcImageHighPassFilterInfo_pathWindowLow_set, -1);
31894   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "pathWindowLow", _wrap_lmrcImageHighPassFilterInfo_pathWindowLow_get, -1);
31895   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "pathWindowHigh=", _wrap_lmrcImageHighPassFilterInfo_pathWindowHigh_set, -1);
31896   rb_define_method(cLmrcImageHighPassFilterInfo.klass, "pathWindowHigh", _wrap_lmrcImageHighPassFilterInfo_pathWindowHigh_get, -1);
31897   cLmrcImageHighPassFilterInfo.mark = 0;
31898   cLmrcImageHighPassFilterInfo.destroy = (void (*)(void *)) free_lmrcImageHighPassFilterInfo;
31899   cLmrcImageHighPassFilterInfo.trackObjects = 0;
31900   
31901   cLmrcImageBandPassFilterInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageBandPassFilterInfo", rb_cObject);
31902   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageBandPassFilterInfo, (void *) &cLmrcImageBandPassFilterInfo);
31903   rb_define_alloc_func(cLmrcImageBandPassFilterInfo.klass, _wrap_lmrcImageBandPassFilterInfo_allocate);
31904   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "initialize", _wrap_new_lmrcImageBandPassFilterInfo, -1);
31905   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "mode=", _wrap_lmrcImageBandPassFilterInfo_mode_set, -1);
31906   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "mode", _wrap_lmrcImageBandPassFilterInfo_mode_get, -1);
31907   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "hvl=", _wrap_lmrcImageBandPassFilterInfo_hvl_set, -1);
31908   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "hvl", _wrap_lmrcImageBandPassFilterInfo_hvl_get, -1);
31909   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "hvh=", _wrap_lmrcImageBandPassFilterInfo_hvh_set, -1);
31910   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "hvh", _wrap_lmrcImageBandPassFilterInfo_hvh_get, -1);
31911   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "wl=", _wrap_lmrcImageBandPassFilterInfo_wl_set, -1);
31912   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "wl", _wrap_lmrcImageBandPassFilterInfo_wl_get, -1);
31913   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "wh=", _wrap_lmrcImageBandPassFilterInfo_wh_set, -1);
31914   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "wh", _wrap_lmrcImageBandPassFilterInfo_wh_get, -1);
31915   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "flagLowWeight=", _wrap_lmrcImageBandPassFilterInfo_flagLowWeight_set, -1);
31916   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "flagLowWeight", _wrap_lmrcImageBandPassFilterInfo_flagLowWeight_get, -1);
31917   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "lowWeight=", _wrap_lmrcImageBandPassFilterInfo_lowWeight_set, -1);
31918   rb_define_method(cLmrcImageBandPassFilterInfo.klass, "lowWeight", _wrap_lmrcImageBandPassFilterInfo_lowWeight_get, -1);
31919   cLmrcImageBandPassFilterInfo.mark = 0;
31920   cLmrcImageBandPassFilterInfo.destroy = (void (*)(void *)) free_lmrcImageBandPassFilterInfo;
31921   cLmrcImageBandPassFilterInfo.trackObjects = 0;
31922   rb_define_module_function(mMolvieRuby, "mrcInit", _wrap_mrcInit, -1);
31923   rb_define_module_function(mMolvieRuby, "mrcDefaultHeaderValueSet", _wrap_mrcDefaultHeaderValueSet, -1);
31924   rb_define_module_function(mMolvieRuby, "mrcDefaultHeaderValueSetOnlyFixedValue", _wrap_mrcDefaultHeaderValueSetOnlyFixedValue, -1);
31925   rb_define_module_function(mMolvieRuby, "mrcHiddenDataSet", _wrap_mrcHiddenDataSet, -1);
31926   rb_define_module_function(mMolvieRuby, "mrcImageFree", _wrap_mrcImageFree, -1);
31927   rb_define_module_function(mMolvieRuby, "mrcTailerInit", _wrap_mrcTailerInit, -1);
31928   rb_define_module_function(mMolvieRuby, "mrcTailerCopy", _wrap_mrcTailerCopy, -1);
31929   rb_define_module_function(mMolvieRuby, "mrcFileRead", _wrap_mrcFileRead, -1);
31930   rb_define_module_function(mMolvieRuby, "mrcImageRead", _wrap_mrcImageRead, -1);
31931   rb_define_module_function(mMolvieRuby, "mrcHeaderRead", _wrap_mrcHeaderRead, -1);
31932   rb_define_module_function(mMolvieRuby, "mrcTailerRead", _wrap_mrcTailerRead, -1);
31933   rb_define_const(mMolvieRuby, "MrcFileWriteMode_InfoPrint", SWIG_From_int((int)(1)));
31934   rb_define_const(mMolvieRuby, "MrcFileWriteMode_NoCallForStatData", SWIG_From_int((int)(2)));
31935   rb_define_module_function(mMolvieRuby, "mrcFileWrite", _wrap_mrcFileWrite, -1);
31936   rb_define_module_function(mMolvieRuby, "mrcImageWrite", _wrap_mrcImageWrite, -1);
31937   rb_define_module_function(mMolvieRuby, "mrcHeaderWrite", _wrap_mrcHeaderWrite, -1);
31938   rb_define_module_function(mMolvieRuby, "mrcTailerWrite", _wrap_mrcTailerWrite, -1);
31939   rb_define_module_function(mMolvieRuby, "mrcFileWriteLowerResolution", _wrap_mrcFileWriteLowerResolution, -1);
31940   rb_define_module_function(mMolvieRuby, "mrcImageDataGetbyAU", _wrap_mrcImageDataGetbyAU, -1);
31941   rb_define_module_function(mMolvieRuby, "mrcPixelDataGet", _wrap_mrcPixelDataGet, -1);
31942   rb_define_module_function(mMolvieRuby, "mrcPixelDataGetFloatImage", _wrap_mrcPixelDataGetFloatImage, -1);
31943   rb_define_module_function(mMolvieRuby, "mrcPixelDataGetFloatFTRe", _wrap_mrcPixelDataGetFloatFTRe, -1);
31944   rb_define_module_function(mMolvieRuby, "mrcPixelDataGetFloatFTIm", _wrap_mrcPixelDataGetFloatFTIm, -1);
31945   rb_define_module_function(mMolvieRuby, "mrcInfoSet", _wrap_mrcInfoSet, -1);
31946   rb_define_const(mMolvieRuby, "MrcImageDataSetModeCentre", SWIG_From_int((int)(mrcImageDataSetModeCentre)));
31947   rb_define_const(mMolvieRuby, "MrcImageDataSetModeOrigin", SWIG_From_int((int)(mrcImageDataSetModeOrigin)));
31948   rb_define_module_function(mMolvieRuby, "mrcImageDataSet", _wrap_mrcImageDataSet, -1);
31949   rb_define_module_function(mMolvieRuby, "mrcImageDataSetbyAU", _wrap_mrcImageDataSetbyAU, -1);
31950   rb_define_module_function(mMolvieRuby, "mrcPixelDataSet", _wrap_mrcPixelDataSet, -1);
31951   rb_define_module_function(mMolvieRuby, "mrcPixelDataSetFloatImage", _wrap_mrcPixelDataSetFloatImage, -1);
31952   rb_define_module_function(mMolvieRuby, "mrcPixelDataSetFloatFTRe", _wrap_mrcPixelDataSetFloatFTRe, -1);
31953   rb_define_module_function(mMolvieRuby, "mrcPixelDataSetFloatFTIm", _wrap_mrcPixelDataSetFloatFTIm, -1);
31954   rb_define_module_function(mMolvieRuby, "mrcStatDataSet", _wrap_mrcStatDataSet, -1);
31955   rb_define_module_function(mMolvieRuby, "lmrcImageXSection", _wrap_lmrcImageXSection, -1);
31956   rb_define_module_function(mMolvieRuby, "lmrcImageYSection", _wrap_lmrcImageYSection, -1);
31957   rb_define_module_function(mMolvieRuby, "lmrcImageXProjection", _wrap_lmrcImageXProjection, -1);
31958   rb_define_module_function(mMolvieRuby, "lmrcImageYProjection", _wrap_lmrcImageYProjection, -1);
31959   rb_define_module_function(mMolvieRuby, "lmrcImageZProjection", _wrap_lmrcImageZProjection, -1);
31960   rb_define_module_function(mMolvieRuby, "lmrcImageXYProjection", _wrap_lmrcImageXYProjection, -1);
31961   rb_define_module_function(mMolvieRuby, "lmrcImageYZProjection", _wrap_lmrcImageYZProjection, -1);
31962   rb_define_module_function(mMolvieRuby, "lmrcImageZXProjection", _wrap_lmrcImageZXProjection, -1);
31963   rb_define_module_function(mMolvieRuby, "lmrcImageHistgram", _wrap_lmrcImageHistgram, -1);
31964   rb_define_module_function(mMolvieRuby, "lmrcImageHistgram2", _wrap_lmrcImageHistgram2, -1);
31965   rb_define_module_function(mMolvieRuby, "lmrcImageHistgram5", _wrap_lmrcImageHistgram5, -1);
31966   rb_define_module_function(mMolvieRuby, "lmrcImageHistgram3", _wrap_lmrcImageHistgram3, -1);
31967   rb_define_module_function(mMolvieRuby, "lmrcImageHistgram4", _wrap_lmrcImageHistgram4, -1);
31968   rb_define_module_function(mMolvieRuby, "lmrcImageHistgram6", _wrap_lmrcImageHistgram6, -1);
31969   rb_define_module_function(mMolvieRuby, "lmrcImageInformation", _wrap_lmrcImageInformation, -1);
31970   rb_define_module_function(mMolvieRuby, "lmrcImageCopy", _wrap_lmrcImageCopy, -1);
31971   rb_define_module_function(mMolvieRuby, "IsFloatImage", _wrap_IsFloatImage, -1);
31972   rb_define_module_function(mMolvieRuby, "IsFloatFT", _wrap_IsFloatFT, -1);
31973   rb_define_module_function(mMolvieRuby, "IsImage", _wrap_IsImage, -1);
31974   rb_define_module_function(mMolvieRuby, "IsFT", _wrap_IsFT, -1);
31975   rb_define_module_function(mMolvieRuby, "IsFFT", _wrap_IsFFT, -1);
31976   rb_define_module_function(mMolvieRuby, "mrcImageInfoSet", _wrap_mrcImageInfoSet, -1);
31977   rb_define_module_function(mMolvieRuby, "lmrcImageDevidedByImage", _wrap_lmrcImageDevidedByImage, -1);
31978   rb_define_module_function(mMolvieRuby, "lmrcImagetMapForZero", _wrap_lmrcImagetMapForZero, -1);
31979   rb_define_module_function(mMolvieRuby, "lmrcImageSN", _wrap_lmrcImageSN, -1);
31980   rb_define_module_function(mMolvieRuby, "lmrcImageDevidedByReal", _wrap_lmrcImageDevidedByReal, -1);
31981   rb_define_module_function(mMolvieRuby, "lmrcImageDevidedByRealForOnlyPositive", _wrap_lmrcImageDevidedByRealForOnlyPositive, -1);
31982   rb_define_module_function(mMolvieRuby, "lmrcImageAddedByReal", _wrap_lmrcImageAddedByReal, -1);
31983   rb_define_module_function(mMolvieRuby, "lmrcImageStdDev", _wrap_lmrcImageStdDev, -1);
31984   rb_define_module_function(mMolvieRuby, "lmrcImageStdErr", _wrap_lmrcImageStdErr, -1);
31985   rb_define_module_function(mMolvieRuby, "lmrcImageAdd", _wrap_lmrcImageAdd, -1);
31986   rb_define_module_function(mMolvieRuby, "lmrcSQRImageAdd", _wrap_lmrcSQRImageAdd, -1);
31987   rb_define_module_function(mMolvieRuby, "lmrcImageSquare", _wrap_lmrcImageSquare, -1);
31988   rb_define_module_function(mMolvieRuby, "lmrcImageRoot", _wrap_lmrcImageRoot, -1);
31989   rb_define_module_function(mMolvieRuby, "lmrcImageAbs", _wrap_lmrcImageAbs, -1);
31990   rb_define_module_function(mMolvieRuby, "lmrcImageToIntImage", _wrap_lmrcImageToIntImage, -1);
31991   rb_define_module_function(mMolvieRuby, "lfft2d", _wrap_lfft2d, -1);
31992   rb_define_module_function(mMolvieRuby, "lmrcImageFFT", _wrap_lmrcImageFFT, -1);
31993   rb_define_module_function(mMolvieRuby, "lmrcImageFFTFirstDimensionOnly", _wrap_lmrcImageFFTFirstDimensionOnly, -1);
31994   rb_define_module_function(mMolvieRuby, "lmrcFFTFGconj", _wrap_lmrcFFTFGconj, -1);
31995   rb_define_module_function(mMolvieRuby, "lmrcFFTFxG", _wrap_lmrcFFTFxG, -1);
31996   rb_define_module_function(mMolvieRuby, "lmrcImageCorrelation", _wrap_lmrcImageCorrelation, -1);
31997   rb_define_module_function(mMolvieRuby, "lmrcImageCorrelationModePrint", _wrap_lmrcImageCorrelationModePrint, -1);
31998   rb_define_module_function(mMolvieRuby, "lmrcImageCorrelationWithCTFCompensation", _wrap_lmrcImageCorrelationWithCTFCompensation, -1);
31999   rb_define_module_function(mMolvieRuby, "mrcError", _wrap_mrcError, -1);
32000   rb_define_module_function(mMolvieRuby, "mrcErrorMsg", _wrap_mrcErrorMsg, -1);
32001   rb_define_module_function(mMolvieRuby, "lmrcFSInfoXAxisMag", _wrap_lmrcFSInfoXAxisMag, -1);
32002   rb_define_module_function(mMolvieRuby, "lmrcFSInfoXAxisPhase", _wrap_lmrcFSInfoXAxisPhase, -1);
32003   rb_define_module_function(mMolvieRuby, "lmrcFSInfoYAxisMag", _wrap_lmrcFSInfoYAxisMag, -1);
32004   rb_define_module_function(mMolvieRuby, "lmrcFSInfoYAxisPhase", _wrap_lmrcFSInfoYAxisPhase, -1);
32005   rb_define_module_function(mMolvieRuby, "lmrcFSInfoScatteringAngularDistribution", _wrap_lmrcFSInfoScatteringAngularDistribution, -1);
32006   rb_define_module_function(mMolvieRuby, "lmrcFSInfoScatteringAngularDistributionAverage", _wrap_lmrcFSInfoScatteringAngularDistributionAverage, -1);
32007   rb_define_module_function(mMolvieRuby, "lmrcFSInfoScatteringAngularDistributionSD", _wrap_lmrcFSInfoScatteringAngularDistributionSD, -1);
32008   rb_define_module_function(mMolvieRuby, "lmrcFSInfoSpacing", _wrap_lmrcFSInfoSpacing, -1);
32009   rb_define_module_function(mMolvieRuby, "lmrcImageCheckSameSize", _wrap_lmrcImageCheckSameSize, -1);
32010   rb_define_module_function(mMolvieRuby, "lmrcImageCheckFFT", _wrap_lmrcImageCheckFFT, -1);
32011   rb_define_module_function(mMolvieRuby, "lmrcImageSmoothing", _wrap_lmrcImageSmoothing, -1);
32012   rb_define_module_function(mMolvieRuby, "lmrcImageCVE", _wrap_lmrcImageCVE, -1);
32013   rb_define_module_function(mMolvieRuby, "lmrcImageTfunction", _wrap_lmrcImageTfunction, -1);
32014   rb_define_module_function(mMolvieRuby, "lmrcImageHighlightingInfoPrint", _wrap_lmrcImageHighlightingInfoPrint, -1);
32015   rb_define_module_function(mMolvieRuby, "lmrcImageHighlighting", _wrap_lmrcImageHighlighting, -1);
32016   rb_define_module_function(mMolvieRuby, "lmrcImageLowPassFilter", _wrap_lmrcImageLowPassFilter, -1);
32017   rb_define_module_function(mMolvieRuby, "lmrcImageHighPassFilter", _wrap_lmrcImageHighPassFilter, -1);
32018   rb_define_module_function(mMolvieRuby, "lmrcImageBandPassFilter", _wrap_lmrcImageBandPassFilter, -1);
32019   rb_define_module_function(mMolvieRuby, "lmrcImageShrink", _wrap_lmrcImageShrink, -1);
32020   rb_define_module_function(mMolvieRuby, "lmrcImageShift", _wrap_lmrcImageShift, -1);
32021   rb_define_module_function(mMolvieRuby, "lmrcImageShiftFollowingGC", _wrap_lmrcImageShiftFollowingGC, -1);
32022   rb_define_module_function(mMolvieRuby, "mrcInfoPrint", _wrap_mrcInfoPrint, -1);
32023   rb_define_const(mMolvieRuby, "LmrcImageMultiCTFCompensationSolventFlatteningModeDensityPeakIsSolvent", SWIG_From_int((int)(lmrcImageMultiCTFCompensationSolventFlatteningModeDensityPeakIsSolvent)));
32024   rb_define_const(mMolvieRuby, "LmrcImageMultiCTFCompensationSolventFlatteningModeDefinedSTDIsSolvent", SWIG_From_int((int)(lmrcImageMultiCTFCompensationSolventFlatteningModeDefinedSTDIsSolvent)));
32025   
32026   cLmrcImageMultiCTFCompensationInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageMultiCTFCompensationInfo", rb_cObject);
32027   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, (void *) &cLmrcImageMultiCTFCompensationInfo);
32028   rb_define_alloc_func(cLmrcImageMultiCTFCompensationInfo.klass, _wrap_lmrcImageMultiCTFCompensationInfo_allocate);
32029   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "initialize", _wrap_new_lmrcImageMultiCTFCompensationInfo, -1);
32030   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "maxiteration=", _wrap_lmrcImageMultiCTFCompensationInfo_maxiteration_set, -1);
32031   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "maxiteration", _wrap_lmrcImageMultiCTFCompensationInfo_maxiteration_get, -1);
32032   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "okrms=", _wrap_lmrcImageMultiCTFCompensationInfo_okrms_set, -1);
32033   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "okrms", _wrap_lmrcImageMultiCTFCompensationInfo_okrms_get, -1);
32034   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "diversefactor=", _wrap_lmrcImageMultiCTFCompensationInfo_diversefactor_set, -1);
32035   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "diversefactor", _wrap_lmrcImageMultiCTFCompensationInfo_diversefactor_get, -1);
32036   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "z=", _wrap_lmrcImageMultiCTFCompensationInfo_z_set, -1);
32037   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "z", _wrap_lmrcImageMultiCTFCompensationInfo_z_get, -1);
32038   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "nhist=", _wrap_lmrcImageMultiCTFCompensationInfo_nhist_set, -1);
32039   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "nhist", _wrap_lmrcImageMultiCTFCompensationInfo_nhist_get, -1);
32040   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "logfile=", _wrap_lmrcImageMultiCTFCompensationInfo_logfile_set, -1);
32041   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "logfile", _wrap_lmrcImageMultiCTFCompensationInfo_logfile_get, -1);
32042   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "solventMode=", _wrap_lmrcImageMultiCTFCompensationInfo_solventMode_set, -1);
32043   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "solventMode", _wrap_lmrcImageMultiCTFCompensationInfo_solventMode_get, -1);
32044   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "definedSTD=", _wrap_lmrcImageMultiCTFCompensationInfo_definedSTD_set, -1);
32045   rb_define_method(cLmrcImageMultiCTFCompensationInfo.klass, "definedSTD", _wrap_lmrcImageMultiCTFCompensationInfo_definedSTD_get, -1);
32046   cLmrcImageMultiCTFCompensationInfo.mark = 0;
32047   cLmrcImageMultiCTFCompensationInfo.destroy = (void (*)(void *)) free_lmrcImageMultiCTFCompensationInfo;
32048   cLmrcImageMultiCTFCompensationInfo.trackObjects = 0;
32049   rb_define_module_function(mMolvieRuby, "lmrcImageMultiCTFCompensationInfoInit", _wrap_lmrcImageMultiCTFCompensationInfoInit, -1);
32050   rb_define_module_function(mMolvieRuby, "lmrcImageMultiCTFCompensationInfoSet", _wrap_lmrcImageMultiCTFCompensationInfoSet, -1);
32051   rb_define_module_function(mMolvieRuby, "lmrcImageMultiCTFCompensation", _wrap_lmrcImageMultiCTFCompensation, -1);
32052   rb_define_module_function(mMolvieRuby, "lmrcImageCTFObservation", _wrap_lmrcImageCTFObservation, -1);
32053   rb_define_module_function(mMolvieRuby, "lmrcImagesCTFObservation", _wrap_lmrcImagesCTFObservation, -1);
32054   rb_define_module_function(mMolvieRuby, "lmrcImageCTFCompensation", _wrap_lmrcImageCTFCompensation, -1);
32055   
32056   cLmrcImageCTFSNInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageCTFSNInfo", rb_cObject);
32057   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageCTFSNInfo, (void *) &cLmrcImageCTFSNInfo);
32058   rb_define_alloc_func(cLmrcImageCTFSNInfo.klass, _wrap_lmrcImageCTFSNInfo_allocate);
32059   rb_define_method(cLmrcImageCTFSNInfo.klass, "initialize", _wrap_new_lmrcImageCTFSNInfo, -1);
32060   rb_define_method(cLmrcImageCTFSNInfo.klass, "mode=", _wrap_lmrcImageCTFSNInfo_mode_set, -1);
32061   rb_define_method(cLmrcImageCTFSNInfo.klass, "mode", _wrap_lmrcImageCTFSNInfo_mode_get, -1);
32062   rb_define_method(cLmrcImageCTFSNInfo.klass, "deg1=", _wrap_lmrcImageCTFSNInfo_deg1_set, -1);
32063   rb_define_method(cLmrcImageCTFSNInfo.klass, "deg1", _wrap_lmrcImageCTFSNInfo_deg1_get, -1);
32064   rb_define_method(cLmrcImageCTFSNInfo.klass, "deg2=", _wrap_lmrcImageCTFSNInfo_deg2_set, -1);
32065   rb_define_method(cLmrcImageCTFSNInfo.klass, "deg2", _wrap_lmrcImageCTFSNInfo_deg2_get, -1);
32066   rb_define_method(cLmrcImageCTFSNInfo.klass, "ctf=", _wrap_lmrcImageCTFSNInfo_ctf_set, -1);
32067   rb_define_method(cLmrcImageCTFSNInfo.klass, "ctf", _wrap_lmrcImageCTFSNInfo_ctf_get, -1);
32068   cLmrcImageCTFSNInfo.mark = 0;
32069   cLmrcImageCTFSNInfo.destroy = (void (*)(void *)) free_lmrcImageCTFSNInfo;
32070   cLmrcImageCTFSNInfo.trackObjects = 0;
32071   rb_define_module_function(mMolvieRuby, "lmrcImageCTFSN", _wrap_lmrcImageCTFSN, -1);
32072   
32073   cMrcImageFourierPowerSpectrum.klass = rb_define_class_under(mMolvieRuby, "MrcImageFourierPowerSpectrum", rb_cObject);
32074   SWIG_TypeClientData(SWIGTYPE_p_mrcImageFourierPowerSpectrum, (void *) &cMrcImageFourierPowerSpectrum);
32075   rb_define_alloc_func(cMrcImageFourierPowerSpectrum.klass, _wrap_mrcImageFourierPowerSpectrum_allocate);
32076   rb_define_method(cMrcImageFourierPowerSpectrum.klass, "initialize", _wrap_new_mrcImageFourierPowerSpectrum, -1);
32077   rb_define_method(cMrcImageFourierPowerSpectrum.klass, "n=", _wrap_mrcImageFourierPowerSpectrum_n_set, -1);
32078   rb_define_method(cMrcImageFourierPowerSpectrum.klass, "n", _wrap_mrcImageFourierPowerSpectrum_n_get, -1);
32079   rb_define_method(cMrcImageFourierPowerSpectrum.klass, "d=", _wrap_mrcImageFourierPowerSpectrum_d_set, -1);
32080   rb_define_method(cMrcImageFourierPowerSpectrum.klass, "d", _wrap_mrcImageFourierPowerSpectrum_d_get, -1);
32081   rb_define_method(cMrcImageFourierPowerSpectrum.klass, "h=", _wrap_mrcImageFourierPowerSpectrum_h_set, -1);
32082   rb_define_method(cMrcImageFourierPowerSpectrum.klass, "h", _wrap_mrcImageFourierPowerSpectrum_h_get, -1);
32083   cMrcImageFourierPowerSpectrum.mark = 0;
32084   cMrcImageFourierPowerSpectrum.destroy = (void (*)(void *)) free_mrcImageFourierPowerSpectrum;
32085   cMrcImageFourierPowerSpectrum.trackObjects = 0;
32086   
32087   cLmrcImageFourierPowerSpectrumInfo.klass = rb_define_class_under(mMolvieRuby, "LmrcImageFourierPowerSpectrumInfo", rb_cObject);
32088   SWIG_TypeClientData(SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, (void *) &cLmrcImageFourierPowerSpectrumInfo);
32089   rb_define_alloc_func(cLmrcImageFourierPowerSpectrumInfo.klass, _wrap_lmrcImageFourierPowerSpectrumInfo_allocate);
32090   rb_define_method(cLmrcImageFourierPowerSpectrumInfo.klass, "initialize", _wrap_new_lmrcImageFourierPowerSpectrumInfo, -1);
32091   rb_define_method(cLmrcImageFourierPowerSpectrumInfo.klass, "dX=", _wrap_lmrcImageFourierPowerSpectrumInfo_dX_set, -1);
32092   rb_define_method(cLmrcImageFourierPowerSpectrumInfo.klass, "dX", _wrap_lmrcImageFourierPowerSpectrumInfo_dX_get, -1);
32093   rb_define_method(cLmrcImageFourierPowerSpectrumInfo.klass, "dY=", _wrap_lmrcImageFourierPowerSpectrumInfo_dY_set, -1);
32094   rb_define_method(cLmrcImageFourierPowerSpectrumInfo.klass, "dY", _wrap_lmrcImageFourierPowerSpectrumInfo_dY_get, -1);
32095   rb_define_method(cLmrcImageFourierPowerSpectrumInfo.klass, "dZ=", _wrap_lmrcImageFourierPowerSpectrumInfo_dZ_set, -1);
32096   rb_define_method(cLmrcImageFourierPowerSpectrumInfo.klass, "dZ", _wrap_lmrcImageFourierPowerSpectrumInfo_dZ_get, -1);
32097   cLmrcImageFourierPowerSpectrumInfo.mark = 0;
32098   cLmrcImageFourierPowerSpectrumInfo.destroy = (void (*)(void *)) free_lmrcImageFourierPowerSpectrumInfo;
32099   cLmrcImageFourierPowerSpectrumInfo.trackObjects = 0;
32100   rb_define_module_function(mMolvieRuby, "lmrcImageFourierPowerSpectrumMakeSpectrum", _wrap_lmrcImageFourierPowerSpectrumMakeSpectrum, -1);
32101   rb_define_module_function(mMolvieRuby, "lmrcImageFourierPowerSpectrumDeleteSpectrum", _wrap_lmrcImageFourierPowerSpectrumDeleteSpectrum, -1);
32102   rb_define_module_function(mMolvieRuby, "lmrcImageFourierPowerSpectrum", _wrap_lmrcImageFourierPowerSpectrum, -1);
32103   rb_define_module_function(mMolvieRuby, "lmrcImageRotation3DFollowingEulerAngle", _wrap_lmrcImageRotation3DFollowingEulerAngle, -1);
32104   rb_define_module_function(mMolvieRuby, "lmrcImageRotation3DFollowingMatrix3D", _wrap_lmrcImageRotation3DFollowingMatrix3D, -1);
32105   rb_define_module_function(mMolvieRuby, "lmrcImageRotation3DZXY", _wrap_lmrcImageRotation3DZXY, -1);
32106   rb_define_module_function(mMolvieRuby, "lmrcImageRotation2D", _wrap_lmrcImageRotation2D, -1);
32107   rb_define_module_function(mMolvieRuby, "lmrcImageRotation2DPeriodicBoundary", _wrap_lmrcImageRotation2DPeriodicBoundary, -1);
32108   rb_define_module_function(mMolvieRuby, "mrcImageSectionGetModeDescription", _wrap_mrcImageSectionGetModeDescription, -1);
32109   rb_define_module_function(mMolvieRuby, "mrcImageSectionGet", _wrap_mrcImageSectionGet, -1);
32110   rb_define_module_function(mMolvieRuby, "mrcImageSectionSet", _wrap_mrcImageSectionSet, -1);
32111   rb_define_module_function(mMolvieRuby, "lmrcImageMaxDataGet", _wrap_lmrcImageMaxDataGet, -1);
32112   rb_define_const(mMolvieRuby, "PDB_FILE_RECORD_FULL_LENGTH", SWIG_From_int((int)((80))));
32113   rb_define_const(mMolvieRuby, "PDB_FILE_RECORD_START", SWIG_From_int((int)((0))));
32114   rb_define_const(mMolvieRuby, "PDB_FILE_RECORD_LENGTH", SWIG_From_int((int)((6))));
32115   rb_define_const(mMolvieRuby, "PDB_FILE_ATOM_NUMBER_START", SWIG_From_int((int)((6))));
32116   rb_define_const(mMolvieRuby, "PDB_FILE_ATOM_NUMBER_LENGTH", SWIG_From_int((int)((5))));
32117   rb_define_const(mMolvieRuby, "PDB_FILE_ATOM_NAME_START", SWIG_From_int((int)((12))));
32118   rb_define_const(mMolvieRuby, "PDB_FILE_ATOM_NAME_LENGTH", SWIG_From_int((int)((4))));
32119   rb_define_const(mMolvieRuby, "PDB_FILE_LOCATION_START", SWIG_From_int((int)((16))));
32120   rb_define_const(mMolvieRuby, "PDB_FILE_LOCATION_LENGTH", SWIG_From_int((int)((1))));
32121   rb_define_const(mMolvieRuby, "PDB_FILE_RESIDUE_START", SWIG_From_int((int)((17))));
32122   rb_define_const(mMolvieRuby, "PDB_FILE_RESIDUE_LENGTH", SWIG_From_int((int)((3))));
32123   rb_define_const(mMolvieRuby, "PDB_FILE_CHAIN_IDENT_START", SWIG_From_int((int)((21))));
32124   rb_define_const(mMolvieRuby, "PDB_FILE_CHAIN_IDENT_LENGTH", SWIG_From_int((int)((1))));
32125   rb_define_const(mMolvieRuby, "PDB_FILE_RESNUM_START", SWIG_From_int((int)((22))));
32126   rb_define_const(mMolvieRuby, "PDB_FILE_RESNUM_LENGTH", SWIG_From_int((int)((4))));
32127   rb_define_const(mMolvieRuby, "PDB_FILE_INSERTION_START", SWIG_From_int((int)((26))));
32128   rb_define_const(mMolvieRuby, "PDB_FILE_INSERTION_LENGTH", SWIG_From_int((int)((1))));
32129   rb_define_const(mMolvieRuby, "PDB_FILE_X_START", SWIG_From_int((int)((30))));
32130   rb_define_const(mMolvieRuby, "PDB_FILE_X_LENGTH", SWIG_From_int((int)((8))));
32131   rb_define_const(mMolvieRuby, "PDB_FILE_Y_START", SWIG_From_int((int)((38))));
32132   rb_define_const(mMolvieRuby, "PDB_FILE_Y_LENGTH", SWIG_From_int((int)((8))));
32133   rb_define_const(mMolvieRuby, "PDB_FILE_Z_START", SWIG_From_int((int)((46))));
32134   rb_define_const(mMolvieRuby, "PDB_FILE_Z_LENGTH", SWIG_From_int((int)((8))));
32135   rb_define_const(mMolvieRuby, "PDB_FILE_OCCUPANCY_START", SWIG_From_int((int)((54))));
32136   rb_define_const(mMolvieRuby, "PDB_FILE_OCCUPANCY_LENGTH", SWIG_From_int((int)((6))));
32137   rb_define_const(mMolvieRuby, "PDB_FILE_TEMPERATURE_START", SWIG_From_int((int)((60))));
32138   rb_define_const(mMolvieRuby, "PDB_FILE_TEMPERATURE_LENGTH", SWIG_From_int((int)((6))));
32139   rb_define_const(mMolvieRuby, "PDB_FILE_FOOT_START", SWIG_From_int((int)((67))));
32140   rb_define_const(mMolvieRuby, "PDB_FILE_FOOT_LENGTH", SWIG_From_int((int)((3))));
32141   rb_define_const(mMolvieRuby, "PDB_FILE_FOOTNOTE_START", SWIG_From_int((int)((70))));
32142   rb_define_const(mMolvieRuby, "PDB_FILE_FOOTNOTE_LENGTH", SWIG_From_int((int)((10))));
32143   rb_define_const(mMolvieRuby, "MAX_RESIDUE_NUMBER", SWIG_From_int((int)((20))));
32144   rb_define_const(mMolvieRuby, "RESIDUE_ONECHAR_MODE", SWIG_From_int((int)((1))));
32145   rb_define_const(mMolvieRuby, "RESIDUE_THREECHAR_MODE", SWIG_From_int((int)((3))));
32146   rb_define_const(mMolvieRuby, "PdbRecordAtom", SWIG_FromCharPtr("(ATOM  )"));
32147   rb_define_const(mMolvieRuby, "PdbRecordHeteroAtom", SWIG_FromCharPtr("(HETATM)"));
32148   rb_define_const(mMolvieRuby, "PdbRecordHelix", SWIG_FromCharPtr("(HELIX )"));
32149   rb_define_const(mMolvieRuby, "PdbRecordSheet", SWIG_FromCharPtr("(SHEET )"));
32150   rb_define_const(mMolvieRuby, "PdbRecordTurn", SWIG_FromCharPtr("(TURN  )"));
32151   rb_define_const(mMolvieRuby, "PdbRecordEnd", SWIG_FromCharPtr("(END   )"));
32152   
32153   cResidueName.klass = rb_define_class_under(mMolvieRuby, "ResidueName", rb_cObject);
32154   SWIG_TypeClientData(SWIGTYPE_p_residueName, (void *) &cResidueName);
32155   rb_define_alloc_func(cResidueName.klass, _wrap_residueName_allocate);
32156   rb_define_method(cResidueName.klass, "initialize", _wrap_new_residueName, -1);
32157   rb_define_method(cResidueName.klass, "residueName3=", _wrap_residueName_residueName3_set, -1);
32158   rb_define_method(cResidueName.klass, "residueName3", _wrap_residueName_residueName3_get, -1);
32159   rb_define_method(cResidueName.klass, "residueName1=", _wrap_residueName_residueName1_set, -1);
32160   rb_define_method(cResidueName.klass, "residueName1", _wrap_residueName_residueName1_get, -1);
32161   cResidueName.mark = 0;
32162   cResidueName.destroy = (void (*)(void *)) free_residueName;
32163   cResidueName.trackObjects = 0;
32164   
32165   cPdbCoord.klass = rb_define_class_under(mMolvieRuby, "PdbCoord", rb_cObject);
32166   SWIG_TypeClientData(SWIGTYPE_p_pdbCoord, (void *) &cPdbCoord);
32167   rb_define_alloc_func(cPdbCoord.klass, _wrap_pdbCoord_allocate);
32168   rb_define_method(cPdbCoord.klass, "initialize", _wrap_new_pdbCoord, -1);
32169   rb_define_method(cPdbCoord.klass, "x=", _wrap_pdbCoord_x_set, -1);
32170   rb_define_method(cPdbCoord.klass, "x", _wrap_pdbCoord_x_get, -1);
32171   rb_define_method(cPdbCoord.klass, "y=", _wrap_pdbCoord_y_set, -1);
32172   rb_define_method(cPdbCoord.klass, "y", _wrap_pdbCoord_y_get, -1);
32173   rb_define_method(cPdbCoord.klass, "z=", _wrap_pdbCoord_z_set, -1);
32174   rb_define_method(cPdbCoord.klass, "z", _wrap_pdbCoord_z_get, -1);
32175   cPdbCoord.mark = 0;
32176   cPdbCoord.destroy = (void (*)(void *)) free_pdbCoord;
32177   cPdbCoord.trackObjects = 0;
32178   rb_define_const(mMolvieRuby, "HelixClassRightHandedAlpha", SWIG_From_int((int)(HelixClassRightHandedAlpha)));
32179   rb_define_const(mMolvieRuby, "HelixClassRightHandedOmega", SWIG_From_int((int)(HelixClassRightHandedOmega)));
32180   rb_define_const(mMolvieRuby, "HelixClassRightHandedPi", SWIG_From_int((int)(HelixClassRightHandedPi)));
32181   rb_define_const(mMolvieRuby, "HelixClassRightHandedGammda", SWIG_From_int((int)(HelixClassRightHandedGammda)));
32182   rb_define_const(mMolvieRuby, "HelixClassRightHanded310", SWIG_From_int((int)(HelixClassRightHanded310)));
32183   rb_define_const(mMolvieRuby, "HelixClassLeftHandedAlpha", SWIG_From_int((int)(HelixClassLeftHandedAlpha)));
32184   rb_define_const(mMolvieRuby, "HelixClassLeftHandedOmega", SWIG_From_int((int)(HelixClassLeftHandedOmega)));
32185   rb_define_const(mMolvieRuby, "HelixClassLeftHandedGammda", SWIG_From_int((int)(HelixClassLeftHandedGammda)));
32186   rb_define_const(mMolvieRuby, "HelixClassPolyProline", SWIG_From_int((int)(HelixClassPolyProline)));
32187   
32188   cPdbSecondaryStructureHelix.klass = rb_define_class_under(mMolvieRuby, "PdbSecondaryStructureHelix", rb_cObject);
32189   SWIG_TypeClientData(SWIGTYPE_p_pdbSecondaryStructureHelix, (void *) &cPdbSecondaryStructureHelix);
32190   rb_define_alloc_func(cPdbSecondaryStructureHelix.klass, _wrap_pdbSecondaryStructureHelix_allocate);
32191   rb_define_method(cPdbSecondaryStructureHelix.klass, "initialize", _wrap_new_pdbSecondaryStructureHelix, -1);
32192   rb_define_method(cPdbSecondaryStructureHelix.klass, "serNum=", _wrap_pdbSecondaryStructureHelix_serNum_set, -1);
32193   rb_define_method(cPdbSecondaryStructureHelix.klass, "serNum", _wrap_pdbSecondaryStructureHelix_serNum_get, -1);
32194   rb_define_method(cPdbSecondaryStructureHelix.klass, "helixID=", _wrap_pdbSecondaryStructureHelix_helixID_set, -1);
32195   rb_define_method(cPdbSecondaryStructureHelix.klass, "helixID", _wrap_pdbSecondaryStructureHelix_helixID_get, -1);
32196   rb_define_method(cPdbSecondaryStructureHelix.klass, "initResName=", _wrap_pdbSecondaryStructureHelix_initResName_set, -1);
32197   rb_define_method(cPdbSecondaryStructureHelix.klass, "initResName", _wrap_pdbSecondaryStructureHelix_initResName_get, -1);
32198   rb_define_method(cPdbSecondaryStructureHelix.klass, "initChainID=", _wrap_pdbSecondaryStructureHelix_initChainID_set, -1);
32199   rb_define_method(cPdbSecondaryStructureHelix.klass, "initChainID", _wrap_pdbSecondaryStructureHelix_initChainID_get, -1);
32200   rb_define_method(cPdbSecondaryStructureHelix.klass, "initSeqNum=", _wrap_pdbSecondaryStructureHelix_initSeqNum_set, -1);
32201   rb_define_method(cPdbSecondaryStructureHelix.klass, "initSeqNum", _wrap_pdbSecondaryStructureHelix_initSeqNum_get, -1);
32202   rb_define_method(cPdbSecondaryStructureHelix.klass, "initICode=", _wrap_pdbSecondaryStructureHelix_initICode_set, -1);
32203   rb_define_method(cPdbSecondaryStructureHelix.klass, "initICode", _wrap_pdbSecondaryStructureHelix_initICode_get, -1);
32204   rb_define_method(cPdbSecondaryStructureHelix.klass, "endResName=", _wrap_pdbSecondaryStructureHelix_endResName_set, -1);
32205   rb_define_method(cPdbSecondaryStructureHelix.klass, "endResName", _wrap_pdbSecondaryStructureHelix_endResName_get, -1);
32206   rb_define_method(cPdbSecondaryStructureHelix.klass, "endChainID=", _wrap_pdbSecondaryStructureHelix_endChainID_set, -1);
32207   rb_define_method(cPdbSecondaryStructureHelix.klass, "endChainID", _wrap_pdbSecondaryStructureHelix_endChainID_get, -1);
32208   rb_define_method(cPdbSecondaryStructureHelix.klass, "endSeqNum=", _wrap_pdbSecondaryStructureHelix_endSeqNum_set, -1);
32209   rb_define_method(cPdbSecondaryStructureHelix.klass, "endSeqNum", _wrap_pdbSecondaryStructureHelix_endSeqNum_get, -1);
32210   rb_define_method(cPdbSecondaryStructureHelix.klass, "endICode=", _wrap_pdbSecondaryStructureHelix_endICode_set, -1);
32211   rb_define_method(cPdbSecondaryStructureHelix.klass, "endICode", _wrap_pdbSecondaryStructureHelix_endICode_get, -1);
32212   rb_define_method(cPdbSecondaryStructureHelix.klass, "helixClass=", _wrap_pdbSecondaryStructureHelix_helixClass_set, -1);
32213   rb_define_method(cPdbSecondaryStructureHelix.klass, "helixClass", _wrap_pdbSecondaryStructureHelix_helixClass_get, -1);
32214   rb_define_method(cPdbSecondaryStructureHelix.klass, "comment=", _wrap_pdbSecondaryStructureHelix_comment_set, -1);
32215   rb_define_method(cPdbSecondaryStructureHelix.klass, "comment", _wrap_pdbSecondaryStructureHelix_comment_get, -1);
32216   rb_define_method(cPdbSecondaryStructureHelix.klass, "length=", _wrap_pdbSecondaryStructureHelix_length_set, -1);
32217   rb_define_method(cPdbSecondaryStructureHelix.klass, "length", _wrap_pdbSecondaryStructureHelix_length_get, -1);
32218   cPdbSecondaryStructureHelix.mark = 0;
32219   cPdbSecondaryStructureHelix.destroy = (void (*)(void *)) free_pdbSecondaryStructureHelix;
32220   cPdbSecondaryStructureHelix.trackObjects = 0;
32221   
32222   cPdbSecondaryStructureSheet.klass = rb_define_class_under(mMolvieRuby, "PdbSecondaryStructureSheet", rb_cObject);
32223   SWIG_TypeClientData(SWIGTYPE_p_pdbSecondaryStructureSheet, (void *) &cPdbSecondaryStructureSheet);
32224   rb_define_alloc_func(cPdbSecondaryStructureSheet.klass, _wrap_pdbSecondaryStructureSheet_allocate);
32225   rb_define_method(cPdbSecondaryStructureSheet.klass, "initialize", _wrap_new_pdbSecondaryStructureSheet, -1);
32226   rb_define_method(cPdbSecondaryStructureSheet.klass, "strand=", _wrap_pdbSecondaryStructureSheet_strand_set, -1);
32227   rb_define_method(cPdbSecondaryStructureSheet.klass, "strand", _wrap_pdbSecondaryStructureSheet_strand_get, -1);
32228   rb_define_method(cPdbSecondaryStructureSheet.klass, "sheetID=", _wrap_pdbSecondaryStructureSheet_sheetID_set, -1);
32229   rb_define_method(cPdbSecondaryStructureSheet.klass, "sheetID", _wrap_pdbSecondaryStructureSheet_sheetID_get, -1);
32230   rb_define_method(cPdbSecondaryStructureSheet.klass, "numStrands=", _wrap_pdbSecondaryStructureSheet_numStrands_set, -1);
32231   rb_define_method(cPdbSecondaryStructureSheet.klass, "numStrands", _wrap_pdbSecondaryStructureSheet_numStrands_get, -1);
32232   rb_define_method(cPdbSecondaryStructureSheet.klass, "initResName=", _wrap_pdbSecondaryStructureSheet_initResName_set, -1);
32233   rb_define_method(cPdbSecondaryStructureSheet.klass, "initResName", _wrap_pdbSecondaryStructureSheet_initResName_get, -1);
32234   rb_define_method(cPdbSecondaryStructureSheet.klass, "initChainID=", _wrap_pdbSecondaryStructureSheet_initChainID_set, -1);
32235   rb_define_method(cPdbSecondaryStructureSheet.klass, "initChainID", _wrap_pdbSecondaryStructureSheet_initChainID_get, -1);
32236   rb_define_method(cPdbSecondaryStructureSheet.klass, "initSeqNum=", _wrap_pdbSecondaryStructureSheet_initSeqNum_set, -1);
32237   rb_define_method(cPdbSecondaryStructureSheet.klass, "initSeqNum", _wrap_pdbSecondaryStructureSheet_initSeqNum_get, -1);
32238   rb_define_method(cPdbSecondaryStructureSheet.klass, "initICode=", _wrap_pdbSecondaryStructureSheet_initICode_set, -1);
32239   rb_define_method(cPdbSecondaryStructureSheet.klass, "initICode", _wrap_pdbSecondaryStructureSheet_initICode_get, -1);
32240   rb_define_method(cPdbSecondaryStructureSheet.klass, "endResName=", _wrap_pdbSecondaryStructureSheet_endResName_set, -1);
32241   rb_define_method(cPdbSecondaryStructureSheet.klass, "endResName", _wrap_pdbSecondaryStructureSheet_endResName_get, -1);
32242   rb_define_method(cPdbSecondaryStructureSheet.klass, "endChainID=", _wrap_pdbSecondaryStructureSheet_endChainID_set, -1);
32243   rb_define_method(cPdbSecondaryStructureSheet.klass, "endChainID", _wrap_pdbSecondaryStructureSheet_endChainID_get, -1);
32244   rb_define_method(cPdbSecondaryStructureSheet.klass, "endSeqNum=", _wrap_pdbSecondaryStructureSheet_endSeqNum_set, -1);
32245   rb_define_method(cPdbSecondaryStructureSheet.klass, "endSeqNum", _wrap_pdbSecondaryStructureSheet_endSeqNum_get, -1);
32246   rb_define_method(cPdbSecondaryStructureSheet.klass, "endICode=", _wrap_pdbSecondaryStructureSheet_endICode_set, -1);
32247   rb_define_method(cPdbSecondaryStructureSheet.klass, "endICode", _wrap_pdbSecondaryStructureSheet_endICode_get, -1);
32248   rb_define_method(cPdbSecondaryStructureSheet.klass, "sense=", _wrap_pdbSecondaryStructureSheet_sense_set, -1);
32249   rb_define_method(cPdbSecondaryStructureSheet.klass, "sense", _wrap_pdbSecondaryStructureSheet_sense_get, -1);
32250   rb_define_method(cPdbSecondaryStructureSheet.klass, "curAtom=", _wrap_pdbSecondaryStructureSheet_curAtom_set, -1);
32251   rb_define_method(cPdbSecondaryStructureSheet.klass, "curAtom", _wrap_pdbSecondaryStructureSheet_curAtom_get, -1);
32252   rb_define_method(cPdbSecondaryStructureSheet.klass, "curResName=", _wrap_pdbSecondaryStructureSheet_curResName_set, -1);
32253   rb_define_method(cPdbSecondaryStructureSheet.klass, "curResName", _wrap_pdbSecondaryStructureSheet_curResName_get, -1);
32254   rb_define_method(cPdbSecondaryStructureSheet.klass, "curChainID=", _wrap_pdbSecondaryStructureSheet_curChainID_set, -1);
32255   rb_define_method(cPdbSecondaryStructureSheet.klass, "curChainID", _wrap_pdbSecondaryStructureSheet_curChainID_get, -1);
32256   rb_define_method(cPdbSecondaryStructureSheet.klass, "curResSeq=", _wrap_pdbSecondaryStructureSheet_curResSeq_set, -1);
32257   rb_define_method(cPdbSecondaryStructureSheet.klass, "curResSeq", _wrap_pdbSecondaryStructureSheet_curResSeq_get, -1);
32258   rb_define_method(cPdbSecondaryStructureSheet.klass, "curICode=", _wrap_pdbSecondaryStructureSheet_curICode_set, -1);
32259   rb_define_method(cPdbSecondaryStructureSheet.klass, "curICode", _wrap_pdbSecondaryStructureSheet_curICode_get, -1);
32260   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevAtom=", _wrap_pdbSecondaryStructureSheet_prevAtom_set, -1);
32261   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevAtom", _wrap_pdbSecondaryStructureSheet_prevAtom_get, -1);
32262   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevResName=", _wrap_pdbSecondaryStructureSheet_prevResName_set, -1);
32263   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevResName", _wrap_pdbSecondaryStructureSheet_prevResName_get, -1);
32264   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevChainID=", _wrap_pdbSecondaryStructureSheet_prevChainID_set, -1);
32265   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevChainID", _wrap_pdbSecondaryStructureSheet_prevChainID_get, -1);
32266   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevResSeq=", _wrap_pdbSecondaryStructureSheet_prevResSeq_set, -1);
32267   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevResSeq", _wrap_pdbSecondaryStructureSheet_prevResSeq_get, -1);
32268   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevICode=", _wrap_pdbSecondaryStructureSheet_prevICode_set, -1);
32269   rb_define_method(cPdbSecondaryStructureSheet.klass, "prevICode", _wrap_pdbSecondaryStructureSheet_prevICode_get, -1);
32270   cPdbSecondaryStructureSheet.mark = 0;
32271   cPdbSecondaryStructureSheet.destroy = (void (*)(void *)) free_pdbSecondaryStructureSheet;
32272   cPdbSecondaryStructureSheet.trackObjects = 0;
32273   
32274   cPdbSecondaryStructureTurn.klass = rb_define_class_under(mMolvieRuby, "PdbSecondaryStructureTurn", rb_cObject);
32275   SWIG_TypeClientData(SWIGTYPE_p_pdbSecondaryStructureTurn, (void *) &cPdbSecondaryStructureTurn);
32276   rb_define_alloc_func(cPdbSecondaryStructureTurn.klass, _wrap_pdbSecondaryStructureTurn_allocate);
32277   rb_define_method(cPdbSecondaryStructureTurn.klass, "initialize", _wrap_new_pdbSecondaryStructureTurn, -1);
32278   rb_define_method(cPdbSecondaryStructureTurn.klass, "serNum=", _wrap_pdbSecondaryStructureTurn_serNum_set, -1);
32279   rb_define_method(cPdbSecondaryStructureTurn.klass, "serNum", _wrap_pdbSecondaryStructureTurn_serNum_get, -1);
32280   rb_define_method(cPdbSecondaryStructureTurn.klass, "turnID=", _wrap_pdbSecondaryStructureTurn_turnID_set, -1);
32281   rb_define_method(cPdbSecondaryStructureTurn.klass, "turnID", _wrap_pdbSecondaryStructureTurn_turnID_get, -1);
32282   rb_define_method(cPdbSecondaryStructureTurn.klass, "initResName=", _wrap_pdbSecondaryStructureTurn_initResName_set, -1);
32283   rb_define_method(cPdbSecondaryStructureTurn.klass, "initResName", _wrap_pdbSecondaryStructureTurn_initResName_get, -1);
32284   rb_define_method(cPdbSecondaryStructureTurn.klass, "initChainID=", _wrap_pdbSecondaryStructureTurn_initChainID_set, -1);
32285   rb_define_method(cPdbSecondaryStructureTurn.klass, "initChainID", _wrap_pdbSecondaryStructureTurn_initChainID_get, -1);
32286   rb_define_method(cPdbSecondaryStructureTurn.klass, "initSeqNum=", _wrap_pdbSecondaryStructureTurn_initSeqNum_set, -1);
32287   rb_define_method(cPdbSecondaryStructureTurn.klass, "initSeqNum", _wrap_pdbSecondaryStructureTurn_initSeqNum_get, -1);
32288   rb_define_method(cPdbSecondaryStructureTurn.klass, "initICode=", _wrap_pdbSecondaryStructureTurn_initICode_set, -1);
32289   rb_define_method(cPdbSecondaryStructureTurn.klass, "initICode", _wrap_pdbSecondaryStructureTurn_initICode_get, -1);
32290   rb_define_method(cPdbSecondaryStructureTurn.klass, "endResName=", _wrap_pdbSecondaryStructureTurn_endResName_set, -1);
32291   rb_define_method(cPdbSecondaryStructureTurn.klass, "endResName", _wrap_pdbSecondaryStructureTurn_endResName_get, -1);
32292   rb_define_method(cPdbSecondaryStructureTurn.klass, "endChainID=", _wrap_pdbSecondaryStructureTurn_endChainID_set, -1);
32293   rb_define_method(cPdbSecondaryStructureTurn.klass, "endChainID", _wrap_pdbSecondaryStructureTurn_endChainID_get, -1);
32294   rb_define_method(cPdbSecondaryStructureTurn.klass, "endSeqNum=", _wrap_pdbSecondaryStructureTurn_endSeqNum_set, -1);
32295   rb_define_method(cPdbSecondaryStructureTurn.klass, "endSeqNum", _wrap_pdbSecondaryStructureTurn_endSeqNum_get, -1);
32296   rb_define_method(cPdbSecondaryStructureTurn.klass, "endICode=", _wrap_pdbSecondaryStructureTurn_endICode_set, -1);
32297   rb_define_method(cPdbSecondaryStructureTurn.klass, "endICode", _wrap_pdbSecondaryStructureTurn_endICode_get, -1);
32298   rb_define_method(cPdbSecondaryStructureTurn.klass, "comment=", _wrap_pdbSecondaryStructureTurn_comment_set, -1);
32299   rb_define_method(cPdbSecondaryStructureTurn.klass, "comment", _wrap_pdbSecondaryStructureTurn_comment_get, -1);
32300   cPdbSecondaryStructureTurn.mark = 0;
32301   cPdbSecondaryStructureTurn.destroy = (void (*)(void *)) free_pdbSecondaryStructureTurn;
32302   cPdbSecondaryStructureTurn.trackObjects = 0;
32303   
32304   cPdbSecondaryStructureNo.klass = rb_define_class_under(mMolvieRuby, "PdbSecondaryStructureNo", rb_cObject);
32305   SWIG_TypeClientData(SWIGTYPE_p_pdbSecondaryStructureNo, (void *) &cPdbSecondaryStructureNo);
32306   rb_define_alloc_func(cPdbSecondaryStructureNo.klass, _wrap_pdbSecondaryStructureNo_allocate);
32307   rb_define_method(cPdbSecondaryStructureNo.klass, "initialize", _wrap_new_pdbSecondaryStructureNo, -1);
32308   rb_define_method(cPdbSecondaryStructureNo.klass, "serNum=", _wrap_pdbSecondaryStructureNo_serNum_set, -1);
32309   rb_define_method(cPdbSecondaryStructureNo.klass, "serNum", _wrap_pdbSecondaryStructureNo_serNum_get, -1);
32310   rb_define_method(cPdbSecondaryStructureNo.klass, "noID=", _wrap_pdbSecondaryStructureNo_noID_set, -1);
32311   rb_define_method(cPdbSecondaryStructureNo.klass, "noID", _wrap_pdbSecondaryStructureNo_noID_get, -1);
32312   rb_define_method(cPdbSecondaryStructureNo.klass, "initResName=", _wrap_pdbSecondaryStructureNo_initResName_set, -1);
32313   rb_define_method(cPdbSecondaryStructureNo.klass, "initResName", _wrap_pdbSecondaryStructureNo_initResName_get, -1);
32314   rb_define_method(cPdbSecondaryStructureNo.klass, "initChainID=", _wrap_pdbSecondaryStructureNo_initChainID_set, -1);
32315   rb_define_method(cPdbSecondaryStructureNo.klass, "initChainID", _wrap_pdbSecondaryStructureNo_initChainID_get, -1);
32316   rb_define_method(cPdbSecondaryStructureNo.klass, "initSeqNum=", _wrap_pdbSecondaryStructureNo_initSeqNum_set, -1);
32317   rb_define_method(cPdbSecondaryStructureNo.klass, "initSeqNum", _wrap_pdbSecondaryStructureNo_initSeqNum_get, -1);
32318   rb_define_method(cPdbSecondaryStructureNo.klass, "initICode=", _wrap_pdbSecondaryStructureNo_initICode_set, -1);
32319   rb_define_method(cPdbSecondaryStructureNo.klass, "initICode", _wrap_pdbSecondaryStructureNo_initICode_get, -1);
32320   rb_define_method(cPdbSecondaryStructureNo.klass, "endResName=", _wrap_pdbSecondaryStructureNo_endResName_set, -1);
32321   rb_define_method(cPdbSecondaryStructureNo.klass, "endResName", _wrap_pdbSecondaryStructureNo_endResName_get, -1);
32322   rb_define_method(cPdbSecondaryStructureNo.klass, "endChainID=", _wrap_pdbSecondaryStructureNo_endChainID_set, -1);
32323   rb_define_method(cPdbSecondaryStructureNo.klass, "endChainID", _wrap_pdbSecondaryStructureNo_endChainID_get, -1);
32324   rb_define_method(cPdbSecondaryStructureNo.klass, "endSeqNum=", _wrap_pdbSecondaryStructureNo_endSeqNum_set, -1);
32325   rb_define_method(cPdbSecondaryStructureNo.klass, "endSeqNum", _wrap_pdbSecondaryStructureNo_endSeqNum_get, -1);
32326   rb_define_method(cPdbSecondaryStructureNo.klass, "endICode=", _wrap_pdbSecondaryStructureNo_endICode_set, -1);
32327   rb_define_method(cPdbSecondaryStructureNo.klass, "endICode", _wrap_pdbSecondaryStructureNo_endICode_get, -1);
32328   rb_define_method(cPdbSecondaryStructureNo.klass, "comment=", _wrap_pdbSecondaryStructureNo_comment_set, -1);
32329   rb_define_method(cPdbSecondaryStructureNo.klass, "comment", _wrap_pdbSecondaryStructureNo_comment_get, -1);
32330   cPdbSecondaryStructureNo.mark = 0;
32331   cPdbSecondaryStructureNo.destroy = (void (*)(void *)) free_pdbSecondaryStructureNo;
32332   cPdbSecondaryStructureNo.trackObjects = 0;
32333   rb_define_const(mMolvieRuby, "PdbFileSecondaryStructureModeNo", SWIG_From_int((int)(pdbFileSecondaryStructureModeNo)));
32334   rb_define_const(mMolvieRuby, "PdbFileSecondaryStructureModeHelix", SWIG_From_int((int)(pdbFileSecondaryStructureModeHelix)));
32335   rb_define_const(mMolvieRuby, "PdbFileSecondaryStructureModeSheet", SWIG_From_int((int)(pdbFileSecondaryStructureModeSheet)));
32336   rb_define_const(mMolvieRuby, "PdbFileSecondaryStructureModeTurn", SWIG_From_int((int)(pdbFileSecondaryStructureModeTurn)));
32337   
32338   cPdbFileSecondaryStructureRecord.klass = rb_define_class_under(mMolvieRuby, "PdbFileSecondaryStructureRecord", rb_cObject);
32339   SWIG_TypeClientData(SWIGTYPE_p_pdbFileSecondaryStructureRecord, (void *) &cPdbFileSecondaryStructureRecord);
32340   rb_define_alloc_func(cPdbFileSecondaryStructureRecord.klass, _wrap_pdbFileSecondaryStructureRecord_allocate);
32341   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "initialize", _wrap_new_pdbFileSecondaryStructureRecord, -1);
32342   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "mode=", _wrap_pdbFileSecondaryStructureRecord_mode_set, -1);
32343   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "mode", _wrap_pdbFileSecondaryStructureRecord_mode_get, -1);
32344   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "helix=", _wrap_pdbFileSecondaryStructureRecord_helix_set, -1);
32345   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "helix", _wrap_pdbFileSecondaryStructureRecord_helix_get, -1);
32346   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "sheet=", _wrap_pdbFileSecondaryStructureRecord_sheet_set, -1);
32347   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "sheet", _wrap_pdbFileSecondaryStructureRecord_sheet_get, -1);
32348   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "turn=", _wrap_pdbFileSecondaryStructureRecord_turn_set, -1);
32349   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "turn", _wrap_pdbFileSecondaryStructureRecord_turn_get, -1);
32350   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "no=", _wrap_pdbFileSecondaryStructureRecord_no_set, -1);
32351   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "no", _wrap_pdbFileSecondaryStructureRecord_no_get, -1);
32352   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "prev=", _wrap_pdbFileSecondaryStructureRecord_prev_set, -1);
32353   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "prev", _wrap_pdbFileSecondaryStructureRecord_prev_get, -1);
32354   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "next=", _wrap_pdbFileSecondaryStructureRecord_next_set, -1);
32355   rb_define_method(cPdbFileSecondaryStructureRecord.klass, "next", _wrap_pdbFileSecondaryStructureRecord_next_get, -1);
32356   cPdbFileSecondaryStructureRecord.mark = 0;
32357   cPdbFileSecondaryStructureRecord.destroy = (void (*)(void *)) free_pdbFileSecondaryStructureRecord;
32358   cPdbFileSecondaryStructureRecord.trackObjects = 0;
32359   
32360   cPdbFileSecondaryStructure.klass = rb_define_class_under(mMolvieRuby, "PdbFileSecondaryStructure", rb_cObject);
32361   SWIG_TypeClientData(SWIGTYPE_p_pdbFileSecondaryStructure, (void *) &cPdbFileSecondaryStructure);
32362   rb_define_alloc_func(cPdbFileSecondaryStructure.klass, _wrap_pdbFileSecondaryStructure_allocate);
32363   rb_define_method(cPdbFileSecondaryStructure.klass, "initialize", _wrap_new_pdbFileSecondaryStructure, -1);
32364   rb_define_method(cPdbFileSecondaryStructure.klass, "nSecondaryStructure=", _wrap_pdbFileSecondaryStructure_nSecondaryStructure_set, -1);
32365   rb_define_method(cPdbFileSecondaryStructure.klass, "nSecondaryStructure", _wrap_pdbFileSecondaryStructure_nSecondaryStructure_get, -1);
32366   rb_define_method(cPdbFileSecondaryStructure.klass, "top=", _wrap_pdbFileSecondaryStructure_top_set, -1);
32367   rb_define_method(cPdbFileSecondaryStructure.klass, "top", _wrap_pdbFileSecondaryStructure_top_get, -1);
32368   rb_define_method(cPdbFileSecondaryStructure.klass, "SecondaryStructure=", _wrap_pdbFileSecondaryStructure_SecondaryStructure_set, -1);
32369   rb_define_method(cPdbFileSecondaryStructure.klass, "SecondaryStructure", _wrap_pdbFileSecondaryStructure_SecondaryStructure_get, -1);
32370   cPdbFileSecondaryStructure.mark = 0;
32371   cPdbFileSecondaryStructure.destroy = (void (*)(void *)) free_pdbFileSecondaryStructure;
32372   cPdbFileSecondaryStructure.trackObjects = 0;
32373   
32374   cPdbRecord.klass = rb_define_class_under(mMolvieRuby, "PdbRecord", rb_cObject);
32375   SWIG_TypeClientData(SWIGTYPE_p_pdbRecord, (void *) &cPdbRecord);
32376   rb_define_alloc_func(cPdbRecord.klass, _wrap_pdbRecord_allocate);
32377   rb_define_method(cPdbRecord.klass, "initialize", _wrap_new_pdbRecord, -1);
32378   rb_define_method(cPdbRecord.klass, "FullRecord=", _wrap_pdbRecord_FullRecord_set, -1);
32379   rb_define_method(cPdbRecord.klass, "FullRecord", _wrap_pdbRecord_FullRecord_get, -1);
32380   rb_define_method(cPdbRecord.klass, "Record=", _wrap_pdbRecord_Record_set, -1);
32381   rb_define_method(cPdbRecord.klass, "Record", _wrap_pdbRecord_Record_get, -1);
32382   rb_define_method(cPdbRecord.klass, "AtomSerialNumber=", _wrap_pdbRecord_AtomSerialNumber_set, -1);
32383   rb_define_method(cPdbRecord.klass, "AtomSerialNumber", _wrap_pdbRecord_AtomSerialNumber_get, -1);
32384   rb_define_method(cPdbRecord.klass, "AtomName=", _wrap_pdbRecord_AtomName_set, -1);
32385   rb_define_method(cPdbRecord.klass, "AtomName", _wrap_pdbRecord_AtomName_get, -1);
32386   rb_define_method(cPdbRecord.klass, "LocationIndicator=", _wrap_pdbRecord_LocationIndicator_set, -1);
32387   rb_define_method(cPdbRecord.klass, "LocationIndicator", _wrap_pdbRecord_LocationIndicator_get, -1);
32388   rb_define_method(cPdbRecord.klass, "ResidueName=", _wrap_pdbRecord_ResidueName_set, -1);
32389   rb_define_method(cPdbRecord.klass, "ResidueName", _wrap_pdbRecord_ResidueName_get, -1);
32390   rb_define_method(cPdbRecord.klass, "ChainIdentifier=", _wrap_pdbRecord_ChainIdentifier_set, -1);
32391   rb_define_method(cPdbRecord.klass, "ChainIdentifier", _wrap_pdbRecord_ChainIdentifier_get, -1);
32392   rb_define_method(cPdbRecord.klass, "ResidueSequenceNumber=", _wrap_pdbRecord_ResidueSequenceNumber_set, -1);
32393   rb_define_method(cPdbRecord.klass, "ResidueSequenceNumber", _wrap_pdbRecord_ResidueSequenceNumber_get, -1);
32394   rb_define_method(cPdbRecord.klass, "InsertionCode=", _wrap_pdbRecord_InsertionCode_set, -1);
32395   rb_define_method(cPdbRecord.klass, "InsertionCode", _wrap_pdbRecord_InsertionCode_get, -1);
32396   rb_define_method(cPdbRecord.klass, "Coord=", _wrap_pdbRecord_Coord_set, -1);
32397   rb_define_method(cPdbRecord.klass, "Coord", _wrap_pdbRecord_Coord_get, -1);
32398   rb_define_method(cPdbRecord.klass, "Occupancy=", _wrap_pdbRecord_Occupancy_set, -1);
32399   rb_define_method(cPdbRecord.klass, "Occupancy", _wrap_pdbRecord_Occupancy_get, -1);
32400   rb_define_method(cPdbRecord.klass, "TemperatureFactor=", _wrap_pdbRecord_TemperatureFactor_set, -1);
32401   rb_define_method(cPdbRecord.klass, "TemperatureFactor", _wrap_pdbRecord_TemperatureFactor_get, -1);
32402   rb_define_method(cPdbRecord.klass, "FootnoteNumber=", _wrap_pdbRecord_FootnoteNumber_set, -1);
32403   rb_define_method(cPdbRecord.klass, "FootnoteNumber", _wrap_pdbRecord_FootnoteNumber_get, -1);
32404   rb_define_method(cPdbRecord.klass, "Footnote=", _wrap_pdbRecord_Footnote_set, -1);
32405   rb_define_method(cPdbRecord.klass, "Footnote", _wrap_pdbRecord_Footnote_get, -1);
32406   rb_define_method(cPdbRecord.klass, "prev=", _wrap_pdbRecord_prev_set, -1);
32407   rb_define_method(cPdbRecord.klass, "prev", _wrap_pdbRecord_prev_get, -1);
32408   rb_define_method(cPdbRecord.klass, "next=", _wrap_pdbRecord_next_set, -1);
32409   rb_define_method(cPdbRecord.klass, "next", _wrap_pdbRecord_next_get, -1);
32410   cPdbRecord.mark = 0;
32411   cPdbRecord.destroy = (void (*)(void *)) free_pdbRecord;
32412   cPdbRecord.trackObjects = 0;
32413   
32414   cPdbFile.klass = rb_define_class_under(mMolvieRuby, "PdbFile", rb_cObject);
32415   SWIG_TypeClientData(SWIGTYPE_p_pdbFile, (void *) &cPdbFile);
32416   rb_define_alloc_func(cPdbFile.klass, _wrap_pdbFile_allocate);
32417   rb_define_method(cPdbFile.klass, "initialize", _wrap_new_pdbFile, -1);
32418   rb_define_method(cPdbFile.klass, "top=", _wrap_pdbFile_top_set, -1);
32419   rb_define_method(cPdbFile.klass, "top", _wrap_pdbFile_top_get, -1);
32420   rb_define_method(cPdbFile.klass, "PDB=", _wrap_pdbFile_PDB_set, -1);
32421   rb_define_method(cPdbFile.klass, "PDB", _wrap_pdbFile_PDB_get, -1);
32422   rb_define_method(cPdbFile.klass, "nAtom=", _wrap_pdbFile_nAtom_set, -1);
32423   rb_define_method(cPdbFile.klass, "nAtom", _wrap_pdbFile_nAtom_get, -1);
32424   rb_define_method(cPdbFile.klass, "second=", _wrap_pdbFile_second_set, -1);
32425   rb_define_method(cPdbFile.klass, "second", _wrap_pdbFile_second_get, -1);
32426   cPdbFile.mark = 0;
32427   cPdbFile.destroy = (void (*)(void *)) free_pdbFile;
32428   cPdbFile.trackObjects = 0;
32429   rb_define_module_function(mMolvieRuby, "pdbFileRead", _wrap_pdbFileRead, -1);
32430   rb_define_module_function(mMolvieRuby, "pdbFileWrite", _wrap_pdbFileWrite, -1);
32431   rb_define_module_function(mMolvieRuby, "pdbFileWriteCoord", _wrap_pdbFileWriteCoord, -1);
32432   rb_define_module_function(mMolvieRuby, "pdbFileTableWrite", _wrap_pdbFileTableWrite, -1);
32433   rb_define_module_function(mMolvieRuby, "pdbFileWriteSecondaryStructure", _wrap_pdbFileWriteSecondaryStructure, -1);
32434   rb_define_module_function(mMolvieRuby, "pdbMatrixFileFormat", _wrap_pdbMatrixFileFormat, -1);
32435   rb_define_module_function(mMolvieRuby, "pdbMatrixFileRead", _wrap_pdbMatrixFileRead, -1);
32436   rb_define_module_function(mMolvieRuby, "pdbMatrixFileWrite", _wrap_pdbMatrixFileWrite, -1);
32437   rb_define_module_function(mMolvieRuby, "pdbTrans", _wrap_pdbTrans, -1);
32438   rb_define_module_function(mMolvieRuby, "pdbFileResidueSequenceNumberIncrementAll", _wrap_pdbFileResidueSequenceNumberIncrementAll, -1);
32439   rb_define_module_function(mMolvieRuby, "pdbFileResidueSequenceNumberIncrement", _wrap_pdbFileResidueSequenceNumberIncrement, -1);
32440   rb_define_module_function(mMolvieRuby, "pdbFileChainIdentifierSetAll", _wrap_pdbFileChainIdentifierSetAll, -1);
32441   rb_define_module_function(mMolvieRuby, "pdbFileChainIdentifierSet", _wrap_pdbFileChainIdentifierSet, -1);
32442   rb_define_module_function(mMolvieRuby, "pdbFileChainIdentifierGet", _wrap_pdbFileChainIdentifierGet, -1);
32443   rb_define_module_function(mMolvieRuby, "pdbFileTemperatureFactorGet", _wrap_pdbFileTemperatureFactorGet, -1);
32444   rb_define_module_function(mMolvieRuby, "pdbFileTemperatureFactorSet", _wrap_pdbFileTemperatureFactorSet, -1);
32445   rb_define_module_function(mMolvieRuby, "pdbFileOccupancyGet", _wrap_pdbFileOccupancyGet, -1);
32446   rb_define_module_function(mMolvieRuby, "pdbFileOccupancySet", _wrap_pdbFileOccupancySet, -1);
32447   rb_define_module_function(mMolvieRuby, "pdbFileCoordSet", _wrap_pdbFileCoordSet, -1);
32448   rb_define_module_function(mMolvieRuby, "pdbFileCoordGet", _wrap_pdbFileCoordGet, -1);
32449   rb_define_module_function(mMolvieRuby, "pdbFileResidueSequenceNumberGet", _wrap_pdbFileResidueSequenceNumberGet, -1);
32450   rb_define_module_function(mMolvieRuby, "pdbFileResidueNameGet", _wrap_pdbFileResidueNameGet, -1);
32451   rb_define_module_function(mMolvieRuby, "pdbFileTop", _wrap_pdbFileTop, -1);
32452   rb_define_module_function(mMolvieRuby, "pdbFileTopPointer", _wrap_pdbFileTopPointer, -1);
32453   rb_define_module_function(mMolvieRuby, "pdbFileNext", _wrap_pdbFileNext, -1);
32454   rb_define_module_function(mMolvieRuby, "pdbFileNextAtom", _wrap_pdbFileNextAtom, -1);
32455   rb_define_module_function(mMolvieRuby, "pdbFileNextCA", _wrap_pdbFileNextCA, -1);
32456   rb_define_module_function(mMolvieRuby, "pdbFilePrev", _wrap_pdbFilePrev, -1);
32457   rb_define_module_function(mMolvieRuby, "pdbFilePrevAtom", _wrap_pdbFilePrevAtom, -1);
32458   rb_define_module_function(mMolvieRuby, "pdbFilePrevCA", _wrap_pdbFilePrevCA, -1);
32459   rb_define_module_function(mMolvieRuby, "pdbFileEnd", _wrap_pdbFileEnd, -1);
32460   rb_define_module_function(mMolvieRuby, "pdbFileGoToEnd", _wrap_pdbFileGoToEnd, -1);
32461   rb_define_module_function(mMolvieRuby, "pdbFileIsEndLine", _wrap_pdbFileIsEndLine, -1);
32462   rb_define_module_function(mMolvieRuby, "pdbFileIsAtom", _wrap_pdbFileIsAtom, -1);
32463   rb_define_module_function(mMolvieRuby, "pdbRecordIsNearby", _wrap_pdbRecordIsNearby, -1);
32464   rb_define_module_function(mMolvieRuby, "pdbFileIsCA", _wrap_pdbFileIsCA, -1);
32465   rb_define_module_function(mMolvieRuby, "pdbFileIsNegative", _wrap_pdbFileIsNegative, -1);
32466   rb_define_module_function(mMolvieRuby, "pdbFileIsPositive", _wrap_pdbFileIsPositive, -1);
32467   rb_define_module_function(mMolvieRuby, "pdbFileIsCharge", _wrap_pdbFileIsCharge, -1);
32468   rb_define_module_function(mMolvieRuby, "pdbFileIsSecondaryStructure", _wrap_pdbFileIsSecondaryStructure, -1);
32469   rb_define_module_function(mMolvieRuby, "pdbFileIsHelix", _wrap_pdbFileIsHelix, -1);
32470   rb_define_module_function(mMolvieRuby, "pdbFileIsSheet", _wrap_pdbFileIsSheet, -1);
32471   rb_define_module_function(mMolvieRuby, "pdbFileIsTurn", _wrap_pdbFileIsTurn, -1);
32472   rb_define_module_function(mMolvieRuby, "pdbFileNew", _wrap_pdbFileNew, -1);
32473   rb_define_module_function(mMolvieRuby, "pdbFileAppend", _wrap_pdbFileAppend, -1);
32474   rb_define_module_function(mMolvieRuby, "pdbFileFree", _wrap_pdbFileFree, -1);
32475   rb_define_module_function(mMolvieRuby, "pdbFileRecordPrint", _wrap_pdbFileRecordPrint, -1);
32476   rb_define_module_function(mMolvieRuby, "pdbZValueGet", _wrap_pdbZValueGet, -1);
32477   rb_define_module_function(mMolvieRuby, "pdbFileRecordTablePrint", _wrap_pdbFileRecordTablePrint, -1);
32478   rb_define_module_function(mMolvieRuby, "pdbFileSecondaryStructureRecordPrint", _wrap_pdbFileSecondaryStructureRecordPrint, -1);
32479   rb_define_module_function(mMolvieRuby, "pdbFileCAOnlyCopy", _wrap_pdbFileCAOnlyCopy, -1);
32480   rb_define_module_function(mMolvieRuby, "pdbFileCAOnlyCopyAll", _wrap_pdbFileCAOnlyCopyAll, -1);
32481   rb_define_module_function(mMolvieRuby, "pdbFileCopyAll", _wrap_pdbFileCopyAll, -1);
32482   rb_define_module_function(mMolvieRuby, "pdbFileAppendAll", _wrap_pdbFileAppendAll, -1);
32483   rb_define_module_function(mMolvieRuby, "pdbFileOneRecordCopy", _wrap_pdbFileOneRecordCopy, -1);
32484   rb_define_module_function(mMolvieRuby, "pdbFileOneProteinCopy", _wrap_pdbFileOneProteinCopy, -1);
32485   rb_define_module_function(mMolvieRuby, "pdbRotationFollowingEulerAngle", _wrap_pdbRotationFollowingEulerAngle, -1);
32486   rb_define_module_function(mMolvieRuby, "pdbRotationFollowingEulerAngleInverse", _wrap_pdbRotationFollowingEulerAngleInverse, -1);
32487   rb_define_module_function(mMolvieRuby, "pdbRotationXYZ", _wrap_pdbRotationXYZ, -1);
32488   rb_define_module_function(mMolvieRuby, "pdbRotationZYX", _wrap_pdbRotationZYX, -1);
32489   rb_define_module_function(mMolvieRuby, "pdbRotationZXY", _wrap_pdbRotationZXY, -1);
32490   rb_define_module_function(mMolvieRuby, "pdbRotationYXZ", _wrap_pdbRotationYXZ, -1);
32491   rb_define_module_function(mMolvieRuby, "pdbSecondaryStructureSetFromPDB", _wrap_pdbSecondaryStructureSetFromPDB, -1);
32492   rb_define_module_function(mMolvieRuby, "pdbNoSecondaryStructureSetFromPDB", _wrap_pdbNoSecondaryStructureSetFromPDB, -1);
32493   rb_define_module_function(mMolvieRuby, "pdbSecondaryStructureAppend", _wrap_pdbSecondaryStructureAppend, -1);
32494   rb_define_module_function(mMolvieRuby, "pdbFileWithSecondaryStructure", _wrap_pdbFileWithSecondaryStructure, -1);
32495   
32496   cMolvieInfo.klass = rb_define_class_under(mMolvieRuby, "MolvieInfo", rb_cObject);
32497   SWIG_TypeClientData(SWIGTYPE_p_molvieInfo, (void *) &cMolvieInfo);
32498   rb_define_alloc_func(cMolvieInfo.klass, _wrap_molvieInfo_allocate);
32499   rb_define_method(cMolvieInfo.klass, "initialize", _wrap_new_molvieInfo, -1);
32500   rb_define_method(cMolvieInfo.klass, "flagRedirect=", _wrap_molvieInfo_flagRedirect_set, -1);
32501   rb_define_method(cMolvieInfo.klass, "flagRedirect", _wrap_molvieInfo_flagRedirect_get, -1);
32502   rb_define_method(cMolvieInfo.klass, "flagIn=", _wrap_molvieInfo_flagIn_set, -1);
32503   rb_define_method(cMolvieInfo.klass, "flagIn", _wrap_molvieInfo_flagIn_get, -1);
32504   rb_define_method(cMolvieInfo.klass, "In=", _wrap_molvieInfo_In_set, -1);
32505   rb_define_method(cMolvieInfo.klass, "In", _wrap_molvieInfo_In_get, -1);
32506   rb_define_method(cMolvieInfo.klass, "fptIn=", _wrap_molvieInfo_fptIn_set, -1);
32507   rb_define_method(cMolvieInfo.klass, "fptIn", _wrap_molvieInfo_fptIn_get, -1);
32508   rb_define_method(cMolvieInfo.klass, "flagOut=", _wrap_molvieInfo_flagOut_set, -1);
32509   rb_define_method(cMolvieInfo.klass, "flagOut", _wrap_molvieInfo_flagOut_get, -1);
32510   rb_define_method(cMolvieInfo.klass, "Out=", _wrap_molvieInfo_Out_set, -1);
32511   rb_define_method(cMolvieInfo.klass, "Out", _wrap_molvieInfo_Out_get, -1);
32512   rb_define_method(cMolvieInfo.klass, "fptOut=", _wrap_molvieInfo_fptOut_set, -1);
32513   rb_define_method(cMolvieInfo.klass, "fptOut", _wrap_molvieInfo_fptOut_get, -1);
32514   rb_define_method(cMolvieInfo.klass, "flagconfigFile=", _wrap_molvieInfo_flagconfigFile_set, -1);
32515   rb_define_method(cMolvieInfo.klass, "flagconfigFile", _wrap_molvieInfo_flagconfigFile_get, -1);
32516   rb_define_method(cMolvieInfo.klass, "configFile=", _wrap_molvieInfo_configFile_set, -1);
32517   rb_define_method(cMolvieInfo.klass, "configFile", _wrap_molvieInfo_configFile_get, -1);
32518   rb_define_method(cMolvieInfo.klass, "fptconfigFile=", _wrap_molvieInfo_fptconfigFile_set, -1);
32519   rb_define_method(cMolvieInfo.klass, "fptconfigFile", _wrap_molvieInfo_fptconfigFile_get, -1);
32520   rb_define_method(cMolvieInfo.klass, "flagmode=", _wrap_molvieInfo_flagmode_set, -1);
32521   rb_define_method(cMolvieInfo.klass, "flagmode", _wrap_molvieInfo_flagmode_get, -1);
32522   rb_define_method(cMolvieInfo.klass, "mode=", _wrap_molvieInfo_mode_set, -1);
32523   rb_define_method(cMolvieInfo.klass, "mode", _wrap_molvieInfo_mode_get, -1);
32524   cMolvieInfo.mark = 0;
32525   cMolvieInfo.destroy = (void (*)(void *)) free_molvieInfo;
32526   cMolvieInfo.trackObjects = 0;
32527   
32528   cCameraInfo.klass = rb_define_class_under(mMolvieRuby, "CameraInfo", rb_cObject);
32529   SWIG_TypeClientData(SWIGTYPE_p_cameraInfo, (void *) &cCameraInfo);
32530   rb_define_alloc_func(cCameraInfo.klass, _wrap_cameraInfo_allocate);
32531   rb_define_method(cCameraInfo.klass, "initialize", _wrap_new_cameraInfo, -1);
32532   rb_define_method(cCameraInfo.klass, "Fovy=", _wrap_cameraInfo_Fovy_set, -1);
32533   rb_define_method(cCameraInfo.klass, "Fovy", _wrap_cameraInfo_Fovy_get, -1);
32534   rb_define_method(cCameraInfo.klass, "Aspect=", _wrap_cameraInfo_Aspect_set, -1);
32535   rb_define_method(cCameraInfo.klass, "Aspect", _wrap_cameraInfo_Aspect_get, -1);
32536   rb_define_method(cCameraInfo.klass, "ClipNear=", _wrap_cameraInfo_ClipNear_set, -1);
32537   rb_define_method(cCameraInfo.klass, "ClipNear", _wrap_cameraInfo_ClipNear_get, -1);
32538   rb_define_method(cCameraInfo.klass, "ClipFar=", _wrap_cameraInfo_ClipFar_set, -1);
32539   rb_define_method(cCameraInfo.klass, "ClipFar", _wrap_cameraInfo_ClipFar_get, -1);
32540   rb_define_method(cCameraInfo.klass, "Eye=", _wrap_cameraInfo_Eye_set, -1);
32541   rb_define_method(cCameraInfo.klass, "Eye", _wrap_cameraInfo_Eye_get, -1);
32542   rb_define_method(cCameraInfo.klass, "Centre=", _wrap_cameraInfo_Centre_set, -1);
32543   rb_define_method(cCameraInfo.klass, "Centre", _wrap_cameraInfo_Centre_get, -1);
32544   rb_define_method(cCameraInfo.klass, "Up=", _wrap_cameraInfo_Up_set, -1);
32545   rb_define_method(cCameraInfo.klass, "Up", _wrap_cameraInfo_Up_get, -1);
32546   cCameraInfo.mark = 0;
32547   cCameraInfo.destroy = (void (*)(void *)) free_cameraInfo;
32548   cCameraInfo.trackObjects = 0;
32549   rb_define_const(mMolvieRuby, "None", SWIG_From_int((int)(none)));
32550   rb_define_const(mMolvieRuby, "Atom", SWIG_From_int((int)(atom)));
32551   rb_define_const(mMolvieRuby, "Stick", SWIG_From_int((int)(stick)));
32552   rb_define_const(mMolvieRuby, "Serial", SWIG_From_int((int)(serial)));
32553   rb_define_const(mMolvieRuby, "Residue", SWIG_From_int((int)(residue)));
32554   rb_define_const(mMolvieRuby, "Temp", SWIG_From_int((int)(temp)));
32555   rb_define_const(mMolvieRuby, "Sticktemp", SWIG_From_int((int)(sticktemp)));
32556   rb_define_const(mMolvieRuby, "Stickresidue", SWIG_From_int((int)(stickresidue)));
32557   rb_define_const(mMolvieRuby, "Normal", SWIG_From_int((int)(normal)));
32558   rb_define_const(mMolvieRuby, "Drive", SWIG_From_int((int)(drive)));
32559   rb_define_const(mMolvieRuby, "Parallel", SWIG_From_int((int)(parallel)));
32560   rb_define_const(mMolvieRuby, "Surface", SWIG_From_int((int)(surface)));
32561   rb_define_const(mMolvieRuby, "Multi", SWIG_From_int((int)(multi)));
32562   rb_define_const(mMolvieRuby, "Coaster", SWIG_From_int((int)(coaster)));
32563   
32564   cCoord.klass = rb_define_class_under(mMolvieRuby, "Coord", rb_cObject);
32565   SWIG_TypeClientData(SWIGTYPE_p_Coord, (void *) &cCoord);
32566   rb_define_alloc_func(cCoord.klass, _wrap_Coord_allocate);
32567   rb_define_method(cCoord.klass, "initialize", _wrap_new_Coord, -1);
32568   rb_define_method(cCoord.klass, "x=", _wrap_Coord_x_set, -1);
32569   rb_define_method(cCoord.klass, "x", _wrap_Coord_x_get, -1);
32570   rb_define_method(cCoord.klass, "y=", _wrap_Coord_y_set, -1);
32571   rb_define_method(cCoord.klass, "y", _wrap_Coord_y_get, -1);
32572   rb_define_method(cCoord.klass, "z=", _wrap_Coord_z_set, -1);
32573   rb_define_method(cCoord.klass, "z", _wrap_Coord_z_get, -1);
32574   cCoord.mark = 0;
32575   cCoord.destroy = (void (*)(void *)) free_Coord;
32576   cCoord.trackObjects = 0;
32577   rb_define_module_function(mMolvieRuby, "lmolviePDBread", _wrap_lmolviePDBread, -1);
32578   rb_define_module_function(mMolvieRuby, "get_pdb", _wrap_get_pdb, -1);
32579   rb_define_module_function(mMolvieRuby, "lmolvieInitNormal", _wrap_lmolvieInitNormal, -1);
32580   rb_define_module_function(mMolvieRuby, "lmolvieIdleTest", _wrap_lmolvieIdleTest, -1);
32581   rb_define_module_function(mMolvieRuby, "lmolvieIdleNormal", _wrap_lmolvieIdleNormal, -1);
32582   rb_define_module_function(mMolvieRuby, "lmolvieDisplayTest", _wrap_lmolvieDisplayTest, -1);
32583   rb_define_module_function(mMolvieRuby, "lmolvieDisplayNormal", _wrap_lmolvieDisplayNormal, -1);
32584   rb_define_module_function(mMolvieRuby, "lmolvieReshapeNormal", _wrap_lmolvieReshapeNormal, -1);
32585   rb_define_module_function(mMolvieRuby, "myCameraRotateY", _wrap_myCameraRotateY, -1);
32586   rb_define_module_function(mMolvieRuby, "lmolvieMouse", _wrap_lmolvieMouse, -1);
32587   rb_define_module_function(mMolvieRuby, "lmolvieMouseMotion", _wrap_lmolvieMouseMotion, -1);
32588   rb_define_module_function(mMolvieRuby, "lmolvieMousePassiveMotion", _wrap_lmolvieMousePassiveMotion, -1);
32589   rb_define_module_function(mMolvieRuby, "lmolvieMouseDrive", _wrap_lmolvieMouseDrive, -1);
32590   rb_define_module_function(mMolvieRuby, "lmolvieMouseMotionDrive", _wrap_lmolvieMouseMotionDrive, -1);
32591   rb_define_module_function(mMolvieRuby, "lmolvieMousePassiveMotionDrive", _wrap_lmolvieMousePassiveMotionDrive, -1);
32592   rb_define_module_function(mMolvieRuby, "lmolvieMouseParallel", _wrap_lmolvieMouseParallel, -1);
32593   rb_define_module_function(mMolvieRuby, "lmolvieMouseMotionParallel", _wrap_lmolvieMouseMotionParallel, -1);
32594   rb_define_module_function(mMolvieRuby, "lmolvieMousePassiveMotionParallel", _wrap_lmolvieMousePassiveMotionParallel, -1);
32595   rb_define_module_function(mMolvieRuby, "lmolvieMouseMulti", _wrap_lmolvieMouseMulti, -1);
32596   rb_define_module_function(mMolvieRuby, "lmolvieMouseMotionMulti", _wrap_lmolvieMouseMotionMulti, -1);
32597   rb_define_module_function(mMolvieRuby, "lmolvieMousePassiveMotionMulti", _wrap_lmolvieMousePassiveMotionMulti, -1);
32598   rb_define_module_function(mMolvieRuby, "lmolvieKeyboard", _wrap_lmolvieKeyboard, -1);
32599   rb_define_module_function(mMolvieRuby, "lmolvieKeyboardNormal", _wrap_lmolvieKeyboardNormal, -1);
32600   rb_define_module_function(mMolvieRuby, "lmolvieKeyboardDrive", _wrap_lmolvieKeyboardDrive, -1);
32601   rb_define_module_function(mMolvieRuby, "lmolvieKeyboardParallel", _wrap_lmolvieKeyboardParallel, -1);
32602   rb_define_module_function(mMolvieRuby, "lmolvieKeyboardSurface", _wrap_lmolvieKeyboardSurface, -1);
32603   rb_define_module_function(mMolvieRuby, "lmolvieInitParallel", _wrap_lmolvieInitParallel, -1);
32604   rb_define_module_function(mMolvieRuby, "lmolvieDisplayParallel", _wrap_lmolvieDisplayParallel, -1);
32605   rb_define_module_function(mMolvieRuby, "lmolvieReshapeParallel", _wrap_lmolvieReshapeParallel, -1);
32606   rb_define_module_function(mMolvieRuby, "operationModeGet", _wrap_operationModeGet, -1);
32607   rb_define_module_function(mMolvieRuby, "operationModeSet", _wrap_operationModeSet, -1);
32608   rb_define_module_function(mMolvieRuby, "myCameraRotateX", _wrap_myCameraRotateX, -1);
32609   rb_define_module_function(mMolvieRuby, "myCameraRotateZ", _wrap_myCameraRotateZ, -1);
32610   rb_define_module_function(mMolvieRuby, "myCameraEyeRotateX", _wrap_myCameraEyeRotateX, -1);
32611   rb_define_module_function(mMolvieRuby, "myCameraEyeRotateY", _wrap_myCameraEyeRotateY, -1);
32612   rb_define_module_function(mMolvieRuby, "myCameraTranslateX", _wrap_myCameraTranslateX, -1);
32613   rb_define_module_function(mMolvieRuby, "myCameraTranslateY", _wrap_myCameraTranslateY, -1);
32614   rb_define_module_function(mMolvieRuby, "myCameraTranslateZ", _wrap_myCameraTranslateZ, -1);
32615   rb_define_module_function(mMolvieRuby, "resetMyCamera", _wrap_resetMyCamera, -1);
32616   rb_define_module_function(mMolvieRuby, "getMyCamera", _wrap_getMyCamera, -1);
32617   rb_define_module_function(mMolvieRuby, "upCalc", _wrap_upCalc, -1);
32618   rb_define_module_function(mMolvieRuby, "moveMyCamera", _wrap_moveMyCamera, -1);
32619   rb_define_module_function(mMolvieRuby, "lmolvieLightSet", _wrap_lmolvieLightSet, -1);
32620   rb_define_module_function(mMolvieRuby, "get_LightPos", _wrap_get_LightPos, -1);
32621   rb_define_module_function(mMolvieRuby, "monoSound", _wrap_monoSound, -1);
32622   rb_define_module_function(mMolvieRuby, "lmolvieVoice", _wrap_lmolvieVoice, -1);
32623   rb_define_module_function(mMolvieRuby, "drawContour", _wrap_drawContour, -1);
32624   rb_define_module_function(mMolvieRuby, "scaleBarSwitch", _wrap_scaleBarSwitch, -1);
32625   rb_define_module_function(mMolvieRuby, "lmolvieViewerIdle", _wrap_lmolvieViewerIdle, -1);
32626   rb_define_module_function(mMolvieRuby, "lmolvieViewerKeyboard", _wrap_lmolvieViewerKeyboard, -1);
32627   rb_define_module_function(mMolvieRuby, "lmolvieViewerSpecial", _wrap_lmolvieViewerSpecial, -1);
32628   rb_define_module_function(mMolvieRuby, "lmolvieViewerMouse", _wrap_lmolvieViewerMouse, -1);
32629   rb_define_module_function(mMolvieRuby, "lmolvieViewerMouseMotion", _wrap_lmolvieViewerMouseMotion, -1);
32630   rb_define_module_function(mMolvieRuby, "lmolvieViewerMousePassiveMotion", _wrap_lmolvieViewerMousePassiveMotion, -1);
32631   rb_define_module_function(mMolvieRuby, "lmolvieViewerDisplay", _wrap_lmolvieViewerDisplay, -1);
32632   rb_define_module_function(mMolvieRuby, "lmolvieMrcViewerKeyboard", _wrap_lmolvieMrcViewerKeyboard, -1);
32633   rb_define_module_function(mMolvieRuby, "lmolvieMrcViewerMouse", _wrap_lmolvieMrcViewerMouse, -1);
32634   rb_define_module_function(mMolvieRuby, "lmolvieMrcViewerMouseMotion", _wrap_lmolvieMrcViewerMouseMotion, -1);
32635   rb_define_module_function(mMolvieRuby, "lmolvieMrcViewerMousePassiveMotion", _wrap_lmolvieMrcViewerMousePassiveMotion, -1);
32636   rb_define_module_function(mMolvieRuby, "lmolvieMrcViewerDisplay", _wrap_lmolvieMrcViewerDisplay, -1);
32637   rb_define_module_function(mMolvieRuby, "lmolvieProjectionKeyboard", _wrap_lmolvieProjectionKeyboard, -1);
32638   rb_define_module_function(mMolvieRuby, "lmolvieProjectionMouse", _wrap_lmolvieProjectionMouse, -1);
32639   rb_define_module_function(mMolvieRuby, "lmolvieProjectionMouseMotion", _wrap_lmolvieProjectionMouseMotion, -1);
32640   rb_define_module_function(mMolvieRuby, "lmolvieProjectionMousePassiveMotion", _wrap_lmolvieProjectionMousePassiveMotion, -1);
32641   rb_define_module_function(mMolvieRuby, "lmolvieDockKeyboard", _wrap_lmolvieDockKeyboard, -1);
32642   rb_define_module_function(mMolvieRuby, "displayMultiPDB1", _wrap_displayMultiPDB1, -1);
32643   rb_define_module_function(mMolvieRuby, "lmolvieDockDisplay", _wrap_lmolvieDockDisplay, -1);
32644   rb_define_module_function(mMolvieRuby, "lmolvieFlightKeyboard", _wrap_lmolvieFlightKeyboard, -1);
32645   rb_define_module_function(mMolvieRuby, "lmolvieFlightDisplay", _wrap_lmolvieFlightDisplay, -1);
32646   rb_define_module_function(mMolvieRuby, "lmolvieFlightIdle", _wrap_lmolvieFlightIdle, -1);
32647   rb_define_module_function(mMolvieRuby, "lmolvieTest", _wrap_lmolvieTest, -1);
32648   rb_define_module_function(mMolvieRuby, "myDisplayListMakeAtom", _wrap_myDisplayListMakeAtom, -1);
32649   rb_define_module_function(mMolvieRuby, "setDriveMyCamera", _wrap_setDriveMyCamera, -1);
32650   rb_define_module_function(mMolvieRuby, "resetDriveMyCamera", _wrap_resetDriveMyCamera, -1);
32651   rb_define_module_function(mMolvieRuby, "setCameraCentreTag", _wrap_setCameraCentreTag, -1);
32652   rb_define_singleton_method(mMolvieRuby, "drawatomc", _wrap_drawatomc_get, 0);
32653   rb_define_singleton_method(mMolvieRuby, "drawatomc=", _wrap_drawatomc_set, 1);
32654   rb_define_singleton_method(mMolvieRuby, "drawatomca", _wrap_drawatomca_get, 0);
32655   rb_define_singleton_method(mMolvieRuby, "drawatomca=", _wrap_drawatomca_set, 1);
32656   rb_define_singleton_method(mMolvieRuby, "drawatomo", _wrap_drawatomo_get, 0);
32657   rb_define_singleton_method(mMolvieRuby, "drawatomo=", _wrap_drawatomo_set, 1);
32658   rb_define_singleton_method(mMolvieRuby, "drawatomn", _wrap_drawatomn_get, 0);
32659   rb_define_singleton_method(mMolvieRuby, "drawatomn=", _wrap_drawatomn_set, 1);
32660   rb_define_singleton_method(mMolvieRuby, "drawatoms", _wrap_drawatoms_get, 0);
32661   rb_define_singleton_method(mMolvieRuby, "drawatoms=", _wrap_drawatoms_set, 1);
32662   rb_define_singleton_method(mMolvieRuby, "drawatomp", _wrap_drawatomp_get, 0);
32663   rb_define_singleton_method(mMolvieRuby, "drawatomp=", _wrap_drawatomp_set, 1);
32664   rb_define_singleton_method(mMolvieRuby, "drawatomh", _wrap_drawatomh_get, 0);
32665   rb_define_singleton_method(mMolvieRuby, "drawatomh=", _wrap_drawatomh_set, 1);
32666   rb_define_singleton_method(mMolvieRuby, "drawatomfe", _wrap_drawatomfe_get, 0);
32667   rb_define_singleton_method(mMolvieRuby, "drawatomfe=", _wrap_drawatomfe_set, 1);
32668   rb_define_singleton_method(mMolvieRuby, "drawstick", _wrap_drawstick_get, 0);
32669   rb_define_singleton_method(mMolvieRuby, "drawstick=", _wrap_drawstick_set, 1);
32670   rb_define_singleton_method(mMolvieRuby, "drawatomserial", _wrap_drawatomserial_get, 0);
32671   rb_define_singleton_method(mMolvieRuby, "drawatomserial=", _wrap_drawatomserial_set, 1);
32672   rb_define_singleton_method(mMolvieRuby, "drawresidue", _wrap_drawresidue_get, 0);
32673   rb_define_singleton_method(mMolvieRuby, "drawresidue=", _wrap_drawresidue_set, 1);
32674   rb_define_singleton_method(mMolvieRuby, "drawtemp", _wrap_drawtemp_get, 0);
32675   rb_define_singleton_method(mMolvieRuby, "drawtemp=", _wrap_drawtemp_set, 1);
32676   rb_define_singleton_method(mMolvieRuby, "drawsticktemp", _wrap_drawsticktemp_get, 0);
32677   rb_define_singleton_method(mMolvieRuby, "drawsticktemp=", _wrap_drawsticktemp_set, 1);
32678   rb_define_singleton_method(mMolvieRuby, "drawstickresidue", _wrap_drawstickresidue_get, 0);
32679   rb_define_singleton_method(mMolvieRuby, "drawstickresidue=", _wrap_drawstickresidue_set, 1);
32680   rb_define_singleton_method(mMolvieRuby, "drawsurface", _wrap_drawsurface_get, 0);
32681   rb_define_singleton_method(mMolvieRuby, "drawsurface=", _wrap_drawsurface_set, 1);
32682   rb_define_singleton_method(mMolvieRuby, "drawdistancefromtarget", _wrap_drawdistancefromtarget_get, 0);
32683   rb_define_singleton_method(mMolvieRuby, "drawdistancefromtarget=", _wrap_drawdistancefromtarget_set, 1);
32684   rb_define_singleton_method(mMolvieRuby, "drawwireframe", _wrap_drawwireframe_get, 0);
32685   rb_define_singleton_method(mMolvieRuby, "drawwireframe=", _wrap_drawwireframe_set, 1);
32686   rb_define_singleton_method(mMolvieRuby, "drawchain", _wrap_drawchain_get, 0);
32687   rb_define_singleton_method(mMolvieRuby, "drawchain=", _wrap_drawchain_set, 1);
32688   
32689   cPdbCenter.klass = rb_define_class_under(mMolvieRuby, "PdbCenter", rb_cObject);
32690   SWIG_TypeClientData(SWIGTYPE_p_pdbCenter, (void *) &cPdbCenter);
32691   rb_define_alloc_func(cPdbCenter.klass, _wrap_pdbCenter_allocate);
32692   rb_define_method(cPdbCenter.klass, "initialize", _wrap_new_pdbCenter, -1);
32693   rb_define_method(cPdbCenter.klass, "xCenter=", _wrap_pdbCenter_xCenter_set, -1);
32694   rb_define_method(cPdbCenter.klass, "xCenter", _wrap_pdbCenter_xCenter_get, -1);
32695   rb_define_method(cPdbCenter.klass, "yCenter=", _wrap_pdbCenter_yCenter_set, -1);
32696   rb_define_method(cPdbCenter.klass, "yCenter", _wrap_pdbCenter_yCenter_get, -1);
32697   rb_define_method(cPdbCenter.klass, "zCenter=", _wrap_pdbCenter_zCenter_set, -1);
32698   rb_define_method(cPdbCenter.klass, "zCenter", _wrap_pdbCenter_zCenter_get, -1);
32699   rb_define_method(cPdbCenter.klass, "xMax=", _wrap_pdbCenter_xMax_set, -1);
32700   rb_define_method(cPdbCenter.klass, "xMax", _wrap_pdbCenter_xMax_get, -1);
32701   rb_define_method(cPdbCenter.klass, "xMin=", _wrap_pdbCenter_xMin_set, -1);
32702   rb_define_method(cPdbCenter.klass, "xMin", _wrap_pdbCenter_xMin_get, -1);
32703   rb_define_method(cPdbCenter.klass, "xWidth=", _wrap_pdbCenter_xWidth_set, -1);
32704   rb_define_method(cPdbCenter.klass, "xWidth", _wrap_pdbCenter_xWidth_get, -1);
32705   rb_define_method(cPdbCenter.klass, "yMax=", _wrap_pdbCenter_yMax_set, -1);
32706   rb_define_method(cPdbCenter.klass, "yMax", _wrap_pdbCenter_yMax_get, -1);
32707   rb_define_method(cPdbCenter.klass, "yMin=", _wrap_pdbCenter_yMin_set, -1);
32708   rb_define_method(cPdbCenter.klass, "yMin", _wrap_pdbCenter_yMin_get, -1);
32709   rb_define_method(cPdbCenter.klass, "yWidth=", _wrap_pdbCenter_yWidth_set, -1);
32710   rb_define_method(cPdbCenter.klass, "yWidth", _wrap_pdbCenter_yWidth_get, -1);
32711   rb_define_method(cPdbCenter.klass, "zMax=", _wrap_pdbCenter_zMax_set, -1);
32712   rb_define_method(cPdbCenter.klass, "zMax", _wrap_pdbCenter_zMax_get, -1);
32713   rb_define_method(cPdbCenter.klass, "zMin=", _wrap_pdbCenter_zMin_set, -1);
32714   rb_define_method(cPdbCenter.klass, "zMin", _wrap_pdbCenter_zMin_get, -1);
32715   rb_define_method(cPdbCenter.klass, "zWidth=", _wrap_pdbCenter_zWidth_set, -1);
32716   rb_define_method(cPdbCenter.klass, "zWidth", _wrap_pdbCenter_zWidth_get, -1);
32717   cPdbCenter.mark = 0;
32718   cPdbCenter.destroy = (void (*)(void *)) free_pdbCenter;
32719   cPdbCenter.trackObjects = 0;
32720   
32721   cElementSwitch.klass = rb_define_class_under(mMolvieRuby, "ElementSwitch", rb_cObject);
32722   SWIG_TypeClientData(SWIGTYPE_p_elementSwitch, (void *) &cElementSwitch);
32723   rb_define_alloc_func(cElementSwitch.klass, _wrap_elementSwitch_allocate);
32724   rb_define_method(cElementSwitch.klass, "initialize", _wrap_new_elementSwitch, -1);
32725   rb_define_method(cElementSwitch.klass, "elementC=", _wrap_elementSwitch_elementC_set, -1);
32726   rb_define_method(cElementSwitch.klass, "elementC", _wrap_elementSwitch_elementC_get, -1);
32727   rb_define_method(cElementSwitch.klass, "elementO=", _wrap_elementSwitch_elementO_set, -1);
32728   rb_define_method(cElementSwitch.klass, "elementO", _wrap_elementSwitch_elementO_get, -1);
32729   rb_define_method(cElementSwitch.klass, "elementN=", _wrap_elementSwitch_elementN_set, -1);
32730   rb_define_method(cElementSwitch.klass, "elementN", _wrap_elementSwitch_elementN_get, -1);
32731   rb_define_method(cElementSwitch.klass, "elementS=", _wrap_elementSwitch_elementS_set, -1);
32732   rb_define_method(cElementSwitch.klass, "elementS", _wrap_elementSwitch_elementS_get, -1);
32733   rb_define_method(cElementSwitch.klass, "elementP=", _wrap_elementSwitch_elementP_set, -1);
32734   rb_define_method(cElementSwitch.klass, "elementP", _wrap_elementSwitch_elementP_get, -1);
32735   rb_define_method(cElementSwitch.klass, "elementH=", _wrap_elementSwitch_elementH_set, -1);
32736   rb_define_method(cElementSwitch.klass, "elementH", _wrap_elementSwitch_elementH_get, -1);
32737   rb_define_method(cElementSwitch.klass, "elementFE=", _wrap_elementSwitch_elementFE_set, -1);
32738   rb_define_method(cElementSwitch.klass, "elementFE", _wrap_elementSwitch_elementFE_get, -1);
32739   cElementSwitch.mark = 0;
32740   cElementSwitch.destroy = (void (*)(void *)) free_elementSwitch;
32741   cElementSwitch.trackObjects = 0;
32742   
32743   cProteinStatus.klass = rb_define_class_under(mMolvieRuby, "ProteinStatus", rb_cObject);
32744   SWIG_TypeClientData(SWIGTYPE_p_ProteinStatus, (void *) &cProteinStatus);
32745   rb_define_alloc_func(cProteinStatus.klass, _wrap_ProteinStatus_allocate);
32746   rb_define_method(cProteinStatus.klass, "initialize", _wrap_new_ProteinStatus, -1);
32747   rb_define_method(cProteinStatus.klass, "__pdbCenter=", _wrap_ProteinStatus___pdbCenter_set, -1);
32748   rb_define_method(cProteinStatus.klass, "__pdbCenter", _wrap_ProteinStatus___pdbCenter_get, -1);
32749   rb_define_method(cProteinStatus.klass, "__elementSwitch=", _wrap_ProteinStatus___elementSwitch_set, -1);
32750   rb_define_method(cProteinStatus.klass, "__elementSwitch", _wrap_ProteinStatus___elementSwitch_get, -1);
32751   rb_define_method(cProteinStatus.klass, "spin_x=", _wrap_ProteinStatus_spin_x_set, -1);
32752   rb_define_method(cProteinStatus.klass, "spin_x", _wrap_ProteinStatus_spin_x_get, -1);
32753   rb_define_method(cProteinStatus.klass, "spin_y=", _wrap_ProteinStatus_spin_y_set, -1);
32754   rb_define_method(cProteinStatus.klass, "spin_y", _wrap_ProteinStatus_spin_y_get, -1);
32755   rb_define_method(cProteinStatus.klass, "spin_z=", _wrap_ProteinStatus_spin_z_set, -1);
32756   rb_define_method(cProteinStatus.klass, "spin_z", _wrap_ProteinStatus_spin_z_get, -1);
32757   rb_define_method(cProteinStatus.klass, "move_x=", _wrap_ProteinStatus_move_x_set, -1);
32758   rb_define_method(cProteinStatus.klass, "move_x", _wrap_ProteinStatus_move_x_get, -1);
32759   rb_define_method(cProteinStatus.klass, "move_y=", _wrap_ProteinStatus_move_y_set, -1);
32760   rb_define_method(cProteinStatus.klass, "move_y", _wrap_ProteinStatus_move_y_get, -1);
32761   cProteinStatus.mark = 0;
32762   cProteinStatus.destroy = (void (*)(void *)) free_ProteinStatus;
32763   cProteinStatus.trackObjects = 0;
32764   rb_define_module_function(mMolvieRuby, "getpdbCenter", _wrap_getpdbCenter, -1);
32765   rb_define_module_function(mMolvieRuby, "putpdbCenter", _wrap_putpdbCenter, -1);
32766   rb_define_module_function(mMolvieRuby, "proteinInit", _wrap_proteinInit, -1);
32767   rb_define_module_function(mMolvieRuby, "get_elementSwitch", _wrap_get_elementSwitch, -1);
32768   rb_define_module_function(mMolvieRuby, "put_elementSwitch", _wrap_put_elementSwitch, -1);
32769   rb_define_module_function(mMolvieRuby, "getSpin_x", _wrap_getSpin_x, -1);
32770   rb_define_module_function(mMolvieRuby, "getSpin_y", _wrap_getSpin_y, -1);
32771   rb_define_module_function(mMolvieRuby, "getSpin_z", _wrap_getSpin_z, -1);
32772   rb_define_module_function(mMolvieRuby, "proteinRotateX", _wrap_proteinRotateX, -1);
32773   rb_define_module_function(mMolvieRuby, "proteinRotateY", _wrap_proteinRotateY, -1);
32774   rb_define_module_function(mMolvieRuby, "proteinRotateZ", _wrap_proteinRotateZ, -1);
32775   rb_define_module_function(mMolvieRuby, "getMultiMoveX", _wrap_getMultiMoveX, -1);
32776   rb_define_module_function(mMolvieRuby, "getMultiMoveY", _wrap_getMultiMoveY, -1);
32777   rb_define_module_function(mMolvieRuby, "MultiMoveX", _wrap_MultiMoveX, -1);
32778   rb_define_module_function(mMolvieRuby, "MultiMoveY", _wrap_MultiMoveY, -1);
32779   rb_define_module_function(mMolvieRuby, "saveproteinStatus", _wrap_saveproteinStatus, -1);
32780   rb_define_module_function(mMolvieRuby, "texture", _wrap_texture, -1);
32781   rb_define_const(mMolvieRuby, "WIN_WIDTH", SWIG_From_int((int)((600))));
32782   rb_define_const(mMolvieRuby, "WIN_HEIGHT", SWIG_From_int((int)((600))));
32783   rb_define_const(mMolvieRuby, "WIN_POSX", SWIG_From_int((int)((0))));
32784   rb_define_const(mMolvieRuby, "WIN_POSY", SWIG_From_int((int)((0))));
32785   rb_define_const(mMolvieRuby, "WIN_NAME", SWIG_FromCharPtr("molvie ver. 1.00"));
32786   rb_define_module_function(mMolvieRuby, "main", _wrap_main, -1);
32787   rb_define_module_function(mMolvieRuby, "fopen", _wrap_fopen, -1);
32788   rb_define_module_function(mMolvieRuby, "fclose", _wrap_fclose, -1);
32789 }
32790