1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 /* -----------------------------------------------------------------------------
13 * This section contains generic SWIG labels for method/variable
14 * declarations/attributes, and other compiler dependent labels.
15 * ----------------------------------------------------------------------------- */
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
26 # define SWIGTEMPLATEDISAMBIGUATOR
30 /* inline attribute */
32 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
33 # define SWIGINLINE inline
39 /* attribute recognised by some compilers to avoid 'unused' warnings */
41 # if defined(__GNUC__)
42 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
43 # define SWIGUNUSED __attribute__ ((__unused__))
48 # define SWIGUNUSED __attribute__ ((__unused__))
54 #ifndef SWIG_MSC_UNSUPPRESS_4505
55 # if defined(_MSC_VER)
56 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
60 #ifndef SWIGUNUSEDPARM
62 # define SWIGUNUSEDPARM(p)
64 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
68 /* internal SWIG method */
70 # define SWIGINTERN static SWIGUNUSED
73 /* internal inline SWIG method */
74 #ifndef SWIGINTERNINLINE
75 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
78 /* exporting methods */
79 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
80 # ifndef GCC_HASCLASSVISIBILITY
81 # define GCC_HASCLASSVISIBILITY
86 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
87 # if defined(STATIC_LINKED)
90 # define SWIGEXPORT __declspec(dllexport)
93 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
94 # define SWIGEXPORT __attribute__ ((visibility("default")))
101 /* calling conventions for Windows */
103 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
104 # define SWIGSTDCALL __stdcall
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
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
121 /* -----------------------------------------------------------------------------
122 * This section contains generic SWIG labels for method/variable
123 * declarations/attributes, and other compiler dependent labels.
124 * ----------------------------------------------------------------------------- */
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
135 # define SWIGTEMPLATEDISAMBIGUATOR
139 /* inline attribute */
141 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
142 # define SWIGINLINE inline
148 /* attribute recognised by some compilers to avoid 'unused' warnings */
150 # if defined(__GNUC__)
151 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
152 # define SWIGUNUSED __attribute__ ((__unused__))
156 # elif defined(__ICC)
157 # define SWIGUNUSED __attribute__ ((__unused__))
163 #ifndef SWIG_MSC_UNSUPPRESS_4505
164 # if defined(_MSC_VER)
165 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
169 #ifndef SWIGUNUSEDPARM
171 # define SWIGUNUSEDPARM(p)
173 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
177 /* internal SWIG method */
179 # define SWIGINTERN static SWIGUNUSED
182 /* internal inline SWIG method */
183 #ifndef SWIGINTERNINLINE
184 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
187 /* exporting methods */
188 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
189 # ifndef GCC_HASCLASSVISIBILITY
190 # define GCC_HASCLASSVISIBILITY
195 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
196 # if defined(STATIC_LINKED)
199 # define SWIGEXPORT __declspec(dllexport)
202 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
203 # define SWIGEXPORT __attribute__ ((visibility("default")))
210 /* calling conventions for Windows */
212 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
213 # define SWIGSTDCALL __stdcall
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
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
230 /* -----------------------------------------------------------------------------
233 * This file contains generic CAPI SWIG runtime support for pointer
235 * ----------------------------------------------------------------------------- */
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"
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)
247 # define SWIG_TYPE_TABLE_NAME
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'.
255 But only do this if is strictly necessary, ie, if you have problems
256 with your compiler or so.
260 # define SWIGRUNTIME SWIGINTERN
263 #ifndef SWIGRUNTIMEINLINE
264 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
267 /* Generic buffer size */
268 #ifndef SWIG_BUFFER_SIZE
269 # define SWIG_BUFFER_SIZE 1024
272 /* Flags for pointer conversions */
273 #define SWIG_POINTER_DISOWN 0x1
274 #define SWIG_CAST_NEW_MEMORY 0x2
276 /* Flags for new pointer objects */
277 #define SWIG_POINTER_OWN 0x1
281 Flags/methods for returning states.
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).
287 Use the following macros/flags to set or process the returning
290 In old swig versions, you usually write code as:
292 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
298 Now you can be more explicit as:
300 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
301 if (SWIG_IsOK(res)) {
307 that seems to be the same, but now you can also do
310 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
311 if (SWIG_IsOK(res)) {
313 if (SWIG_IsNewObj(res) {
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
327 int SWIG_ConvertPtr(obj, ptr,...) {
329 if (<need new object>) {
330 *ptr = <ptr to new allocated object>;
333 *ptr = <ptr to old object>;
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
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
353 food(1) // cast rank '1' (1 -> 1.0)
354 fooi(1) // cast rank '0'
356 just use the SWIG_AddCast()/SWIG_CheckState()
361 #define SWIG_ERROR (-1)
362 #define SWIG_IsOK(r) (r >= 0)
363 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
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))
386 #if defined(SWIG_CASTRANK_MODE)
387 # ifndef SWIG_TypeRank
388 # define SWIG_TypeRank unsigned long
390 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
391 # define SWIG_MAXCASTRANK (2)
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;
398 SWIGINTERNINLINE int SWIG_CheckState(int r) {
399 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
401 #else /* no cast-rank mode */
402 # define SWIG_AddCast
403 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
415 typedef void *(*swig_converter_func)(void *, int *);
416 typedef struct swig_type_info *(*swig_dycast_func)(void **);
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 */
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 */
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 */
449 Compare two type names skipping the space characters, therefore
450 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
452 Return 0 when the two name types are equivalent, as in
453 strncmp, but skipping ' '.
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;
463 return (int)((l1 - f1) - (l2 - f2));
467 Check type equivalence in a name list like <name1>|<name2>|...
468 Return 0 if not equal, 1 if equal
471 SWIG_TypeEquiv(const char *nb, const char *tb) {
473 const char* te = tb + strlen(tb);
475 while (!equiv && *ne) {
476 for (nb = ne; *ne; ++ne) {
477 if (*ne == '|') break;
479 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
486 Check type equivalence in a name list like <name1>|<name2>|...
487 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
490 SWIG_TypeCompare(const char *nb, const char *tb) {
492 const char* te = tb + strlen(tb);
494 while (!equiv && *ne) {
495 for (nb = ne; *ne; ++ne) {
496 if (*ne == '|') break;
498 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
505 /* think of this as a c++ template<> or a scheme macro */
506 #define SWIG_TypeCheck_Template(comparison, ty) \
508 swig_cast_info *iter = ty->cast; \
511 if (iter == ty->cast) return iter; \
512 /* Move iter to the top of the linked list */ \
513 iter->prev->next = iter->next; \
515 iter->next->prev = iter->prev; \
516 iter->next = ty->cast; \
518 if (ty->cast) ty->cast->prev = iter; \
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);
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);
542 Cast a pointer up an inheritance hierarchy
544 SWIGRUNTIMEINLINE void *
545 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
546 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
550 Dynamic pointer casting. Down an inheritance hierarchy
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);
564 Return the name associated with this type
566 SWIGRUNTIMEINLINE const char *
567 SWIG_TypeName(const swig_type_info *ty) {
572 Return the pretty name associated with this type,
573 that is an unmangled type name in a form presentable to the user.
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
581 if (!type) return NULL;
582 if (type->str != NULL) {
583 const char *last_name = type->str;
585 for (s = type->str; *s; s++)
586 if (*s == '|') last_name = s+1;
594 Set the clientdata field for a type
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;
603 if (!cast->converter) {
604 swig_type_info *tc = cast->type;
605 if (!tc->clientdata) {
606 SWIG_TypeClientData(tc, clientdata);
613 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
614 SWIG_TypeClientData(ti, clientdata);
619 Search for a swig_type_info structure only by mangled name
620 Search is a O(log #types)
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
626 SWIGRUNTIME swig_type_info *
627 SWIG_MangledTypeQueryModule(swig_module_info *start,
628 swig_module_info *end,
630 swig_module_info *iter = start;
633 register size_t l = 0;
634 register size_t r = iter->size - 1;
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;
640 register int compare = strcmp(name, iname);
642 return iter->types[i];
643 } else if (compare < 0) {
649 } else if (compare > 0) {
653 break; /* should never happen */
658 } while (iter != end);
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).
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
671 SWIGRUNTIME swig_type_info *
672 SWIG_TypeQueryModule(swig_module_info *start,
673 swig_module_info *end,
675 /* STEP 1: Search the name field using binary search */
676 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
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;
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];
690 } while (iter != end);
693 /* neither found a match */
698 Pack binary data into a string
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];
714 Unpack binary data from a string
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);
730 if ((d >= '0') && (d <= '9'))
732 else if ((d >= 'a') && (d <= 'f'))
733 uu |= (d - ('a'-10));
742 Pack 'void *' into a string buffer.
745 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
747 if ((2*sizeof(void *) + 2) > bsz) return 0;
749 r = SWIG_PackData(r,&ptr,sizeof(void *));
750 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
755 SWIGRUNTIME const char *
756 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
758 if (strcmp(c,"NULL") == 0) {
765 return SWIG_UnpackData(++c,ptr,sizeof(void *));
769 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
771 size_t lname = (name ? strlen(name) : 0);
772 if ((2*sz + 2 + lname) > bsz) return 0;
774 r = SWIG_PackData(r,ptr,sz);
776 strncpy(r,name,lname+1);
783 SWIGRUNTIME const char *
784 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
786 if (strcmp(c,"NULL") == 0) {
793 return SWIG_UnpackData(++c,ptr,sz);
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
819 /* Remove global macros defined in Ruby's win32.h */
828 /* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
830 #define NUM2LL(x) NUM2LONG((x))
833 #define LL2NUM(x) INT2NUM((long) (x))
836 #define ULL2NUM(x) UINT2NUM((unsigned long) (x))
839 /* Ruby 1.7 doesn't (yet) define NUM2ULL() */
841 #ifdef HAVE_LONG_LONG
842 #define NUM2ULL(x) rb_num2ull((x))
844 #define NUM2ULL(x) NUM2ULONG(x)
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 */
851 # define RSTRING_LEN(x) RSTRING(x)->len
854 # define RSTRING_PTR(x) RSTRING(x)->ptr
857 # define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x))
860 # define RARRAY_LEN(x) RARRAY(x)->len
863 # define RARRAY_PTR(x) RARRAY(x)->ptr
866 # define RFLOAT_VALUE(x) RFLOAT(x)->value
869 # define DOUBLE2NUM(x) rb_float_new(x)
872 # define RHASH_TBL(x) (RHASH(x)->tbl)
874 #ifndef RHASH_ITER_LEV
875 # define RHASH_ITER_LEV(x) (RHASH(x)->iter_lev)
878 # define RHASH_IFNONE(x) (RHASH(x)->ifnone)
881 # define RHASH_SIZE(x) (RHASH(x)->tbl->num_entries)
883 #ifndef RHASH_EMPTY_P
884 # define RHASH_EMPTY_P(x) (RHASH_SIZE(x) == 0)
887 # define RSTRUCT_LEN(x) RSTRUCT(x)->len
890 # define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
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.
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().
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().
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)
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)
926 # define VALUEFUNC(f) (f)
927 # define VOIDFUNC(f) (f)
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)))
935 #define StringValue(s) RB_STRING_VALUE(s)
937 #ifndef StringValuePtr
938 #define StringValuePtr(s) RSTRING_PTR(RB_STRING_VALUE(s))
940 #ifndef StringValueLen
941 #define StringValueLen(s) RSTRING_LEN(RB_STRING_VALUE(s))
943 #ifndef SafeStringValue
944 #define SafeStringValue(v) do {\
946 rb_check_safe_str(v);\
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")
955 static VALUE _mSWIG = Qnil;
957 /* -----------------------------------------------------------------------------
959 * ----------------------------------------------------------------------------- */
962 /* Define some additional error types */
963 #define SWIG_ObjectPreviouslyDeletedError -100
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.*/
971 getNullReferenceError(void) {
973 static VALUE rb_eNullReferenceError ;
976 rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
978 return rb_eNullReferenceError;
982 getObjectPreviouslyDeletedError(void) {
984 static VALUE rb_eObjectPreviouslyDeleted ;
987 rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
989 return rb_eObjectPreviouslyDeleted;
994 SWIG_Ruby_ErrorType(int SWIG_code) {
997 case SWIG_MemoryError:
998 type = rb_eNoMemError;
1003 case SWIG_RuntimeError:
1004 type = rb_eRuntimeError;
1006 case SWIG_IndexError:
1007 type = rb_eIndexError;
1009 case SWIG_TypeError:
1010 type = rb_eTypeError;
1012 case SWIG_DivisionByZero:
1013 type = rb_eZeroDivError;
1015 case SWIG_OverflowError:
1016 type = rb_eRangeError;
1018 case SWIG_SyntaxError:
1019 type = rb_eSyntaxError;
1021 case SWIG_ValueError:
1022 type = rb_eArgError;
1024 case SWIG_SystemError:
1027 case SWIG_AttributeError:
1028 type = rb_eRuntimeError;
1030 case SWIG_NullReferenceError:
1031 type = getNullReferenceError();
1033 case SWIG_ObjectPreviouslyDeletedError:
1034 type = getObjectPreviouslyDeletedError();
1036 case SWIG_UnknownError:
1037 type = rb_eRuntimeError;
1040 type = rb_eRuntimeError;
1046 /* This function is called when a user inputs a wrong argument to
1050 const char* Ruby_Format_TypeError( const char* msg,
1061 str = rb_str_new2(msg);
1065 str = rb_str_new(NULL, 0);
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 )
1078 str = rb_str_cat( str, StringValuePtr(asStr), 30 );
1079 str = rb_str_cat2( str, "..." );
1083 str = rb_str_append( str, asStr );
1088 str = rb_str_cat2( str, "\n\tin SWIG method '" );
1089 str = rb_str_cat2( str, name );
1090 str = rb_str_cat2( str, "'" );
1093 return StringValuePtr( str );
1096 /* This function is called when an overloaded method fails */
1098 void Ruby_Format_OverloadedError(
1102 const char* prototypes
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);
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.
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 * ----------------------------------------------------------------------------- */
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)
1136 # error sizeof(void*) is not the same as long or long long
1140 /* Global Ruby hash table to store Trackings from C/C++
1141 structs to Ruby Objects.
1143 static VALUE swig_ruby_trackings = Qnil;
1145 /* Global variable that stores a reference to the ruby
1146 hash table delete function. */
1147 static ID swig_ruby_hash_delete;
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. */
1154 /* Try to see if some other .so has already created a
1155 tracking hash table, which we keep hidden in an instance var
1157 This is done to allow multiple DSOs to share the same
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);
1166 /* No, it hasn't. Create one ourselves */
1167 if ( swig_ruby_trackings == Qnil )
1169 swig_ruby_trackings = rb_hash_new();
1170 rb_ivar_set( _mSWIG, trackings_id, swig_ruby_trackings );
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");
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. */
1184 /* Convert the pointer to a Ruby number */
1185 return SWIG2NUM(ptr);
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. */
1194 /* Convert the Object to a Ruby number */
1195 return SWIG2NUM(object);
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.*/
1203 /* Convert the Ruby number to a Ruby object */
1204 return NUM2SWIG(reference);
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.*/
1216 /* Get a reference to the pointer as a Ruby number */
1217 VALUE key = SWIG_RubyPtrToReference(ptr);
1219 /* Get a reference to the Ruby object as a Ruby number */
1220 VALUE value = SWIG_RubyObjectToReference(object);
1222 /* Store the mapping to the global hash table. */
1223 rb_hash_aset(swig_ruby_trackings, key, value);
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);
1231 /* Now lookup the value stored in the global hash table */
1232 VALUE value = rb_hash_aref(swig_ruby_trackings, key);
1234 if (value == Qnil) {
1235 /* No object exists - return nil. */
1239 /* Convert this value to Ruby object */
1240 return SWIG_RubyReferenceToObject(value);
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
1248 SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
1249 /* Get a reference to the pointer as a Ruby number */
1250 VALUE key = SWIG_RubyPtrToReference(ptr);
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);
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);
1263 if (object != Qnil) {
1264 DATA_PTR(object) = 0;
1273 /* -----------------------------------------------------------------------------
1274 * Ruby API portion that goes into the runtime
1275 * ----------------------------------------------------------------------------- */
1282 SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1283 if (NIL_P(target)) {
1286 if (TYPE(target) != T_ARRAY) {
1288 target = rb_ary_new();
1289 rb_ary_push(target, o2);
1291 rb_ary_push(target, o);
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);
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.
1316 * This file contains the runtime support for Ruby modules
1317 * and includes code for managing global variables and pointer
1319 * ----------------------------------------------------------------------------- */
1321 /* For backward compatibility only */
1322 #define SWIG_POINTER_EXCEPTION 0
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
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)
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)
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)
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)
1350 #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1351 #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1354 /* Error manipulation */
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
1361 /* Ruby-specific SWIG API */
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)
1371 /* -----------------------------------------------------------------------------
1372 * pointers/data manipulation
1373 * ----------------------------------------------------------------------------- */
1382 void (*mark)(void *);
1383 void (*destroy)(void *);
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;
1392 /* Global IDs used to keep some internal SWIG stuff */
1393 static ID swig_arity_id = 0;
1394 static ID swig_call_id = 0;
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
1402 If this is not done, you run the risk of Ruby trashing the stack.
1405 #ifdef RUBY_EMBEDDED
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;
1414 static unsigned int swig_virtual_calls = 0;
1416 #else /* normal non-embedded extension */
1418 # define SWIG_INIT_STACK
1419 # define SWIG_RELEASE_STACK
1420 # define Ruby_DirectorTypeMismatchException(x) \
1421 throw Swig::DirectorTypeMismatchException( x );
1423 #endif /* RUBY_EMBEDDED */
1427 getExceptionClass(void) {
1428 static int init = 0;
1429 static VALUE rubyExceptionClass ;
1432 rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception"));
1434 return rubyExceptionClass;
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.*/
1442 SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) {
1443 VALUE exceptionClass = getExceptionClass();
1444 if (rb_obj_is_kind_of(obj, exceptionClass)) {
1447 return rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(obj));
1451 /* Initialize Ruby runtime support */
1453 SWIG_Ruby_InitRuntime(void)
1455 if (_mSWIG == Qnil) {
1456 _mSWIG = rb_define_module("SWIG");
1457 swig_call_id = rb_intern("call");
1458 swig_arity_id = rb_intern("arity");
1462 /* Define Ruby class for C type */
1464 SWIG_Ruby_define_class(swig_type_info *type)
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");
1473 klass = rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
1474 free((void *) klass_name);
1477 /* Create a new pointer object */
1479 SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1481 int own = flags & SWIG_POINTER_OWN;
1491 if (type->clientdata) {
1492 sklass = (swig_class *) type->clientdata;
1494 /* Are we tracking this class and have we already returned this Ruby object? */
1495 track = sklass->trackObjects;
1497 obj = SWIG_RubyInstanceFor(ptr);
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. */
1503 VALUE value = rb_iv_get(obj, "@__swigtype__");
1504 char* type_name = RSTRING_PTR(value);
1506 if (strcmp(type->name, type_name) == 0) {
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 )
1518 /* If tracking is on for this class then track this object. */
1520 SWIG_RubyAddTracking(ptr, obj);
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);
1529 rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1534 /* Create a new class instance (always owned) */
1536 SWIG_Ruby_NewClassInstance(VALUE klass, swig_type_info *type)
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));
1545 /* Get type mangle from class name */
1546 SWIGRUNTIMEINLINE char *
1547 SWIG_Ruby_MangleStr(VALUE obj)
1549 VALUE stype = rb_iv_get(obj, "@__swigtype__");
1550 return StringValuePtr(stype);
1553 /* Acquire a pointer value */
1554 typedef void (*ruby_owntype)(void*);
1556 SWIGRUNTIME ruby_owntype
1557 SWIG_Ruby_AcquirePtr(VALUE obj, ruby_owntype own) {
1559 ruby_owntype oldown = RDATA(obj)->dfree;
1560 RDATA(obj)->dfree = own;
1567 /* Convert a pointer value */
1569 SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, ruby_owntype *own)
1575 /* Grab the pointer */
1580 if (TYPE(obj) != T_DATA) {
1583 Data_Get_Struct(obj, void, vptr);
1586 if (own) *own = RDATA(obj)->dfree;
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? */
1595 if (ty && ty->clientdata) {
1596 swig_class *sklass = (swig_class *) ty->clientdata;
1597 track = sklass->trackObjects;
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;
1609 RDATA(obj)->dfree = 0;
1613 /* Do type-checking if type info was provided */
1615 if (ty->clientdata) {
1616 if (rb_obj_is_kind_of(obj, ((swig_class *) (ty->clientdata))->klass)) {
1618 /* The object has already been deleted */
1619 return SWIG_ObjectPreviouslyDeletedError;
1625 if ((c = SWIG_MangleStr(obj)) == NULL) {
1628 tc = SWIG_TypeCheck(c, ty);
1633 *ptr = SWIG_TypeCast(tc, vptr, &newmemory);
1634 assert(!newmemory); /* newmemory handling not yet implemented */
1644 SWIGRUNTIMEINLINE int
1645 SWIG_Ruby_CheckConvert(VALUE obj, swig_type_info *ty)
1647 char *c = SWIG_MangleStr(obj);
1649 return SWIG_TypeCheck(c,ty) != 0;
1653 SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
1656 if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
1658 r = SWIG_PackData(r, ptr, sz);
1659 strcpy(r, type->name);
1660 return rb_str_new2(result);
1663 /* Convert a packed value value */
1665 SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
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;
1674 c = SWIG_UnpackData(c, ptr, sz);
1676 tc = SWIG_TypeCheck(c, ty);
1677 if (!tc) goto type_error;
1685 SWIGRUNTIME swig_module_info *
1686 SWIG_Ruby_GetModule(void)
1689 swig_module_info *ret = 0;
1690 VALUE verbose = rb_gv_get("VERBOSE");
1692 /* temporarily disable warnings, since the pointer check causes warnings with 'ruby -w' */
1693 rb_gv_set("VERBOSE", Qfalse);
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);
1701 /* reinstate warnings */
1702 rb_gv_set("VERBOSE", verbose);
1707 SWIG_Ruby_SetModule(swig_module_info *pointer)
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);
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:
1719 %typecheck(c_callback_t, precedence=SWIG_TYPECHECK_POINTER) {
1720 $result = SWIG_Ruby_isCallable( $input );
1724 int SWIG_Ruby_isCallable( VALUE proc )
1726 if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
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.
1737 int SWIG_Ruby_arity( VALUE proc, int minimal )
1739 if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
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;
1757 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1759 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1763 /* -------- TYPES TABLE (BEGIN) -------- */
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)
1841 /* -------- TYPES TABLE (END) -------- */
1843 #define SWIG_init Init_molvieRuby
1844 #define SWIG_name "MolvieRuby"
1846 static VALUE mMolvieRuby;
1848 #define SWIG_RUBY_THREAD_BEGIN_BLOCK
1849 #define SWIG_RUBY_THREAD_END_BLOCK
1852 #define SWIGVERSION 0x010336
1853 #define SWIG_VERSION SWIGVERSION
1856 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1857 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1864 #include <GL/glut.h>
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"
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)
1891 #define SWIG_From_long LONG2NUM
1894 SWIGINTERNINLINE VALUE
1895 SWIG_From_int (int value)
1897 return SWIG_From_long (value);
1901 #define SWIG_From_double rb_float_new
1904 SWIGINTERN swig_type_info*
1905 SWIG_pchar_descriptor(void)
1907 static int init = 0;
1908 static swig_type_info* info = 0;
1910 info = SWIG_TypeQuery("_p_char");
1918 SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
1920 if (TYPE(obj) == T_STRING) {
1921 #if defined(StringValuePtr)
1922 char *cstr = StringValuePtr(obj);
1924 char *cstr = STR2CSTR(obj);
1926 size_t size = RSTRING_LEN(obj) + 1;
1929 if (*alloc == SWIG_NEWOBJ) {
1930 *cptr = (char *)memcpy((char *)malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1933 *alloc = SWIG_OLDOBJ;
1937 if (psize) *psize = size;
1940 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1941 if (pchar_descriptor) {
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;
1951 return SWIG_TypeError;
1956 SWIG_AsCharArray(VALUE obj, char *val, size_t size)
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) {
1964 if (csize) memcpy(val, cptr, csize*sizeof(char));
1965 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
1967 if (alloc == SWIG_NEWOBJ) {
1969 res = SWIG_DelNewMask(res);
1973 if (alloc == SWIG_NEWOBJ) free((char*)cptr);
1975 return SWIG_TypeError;
1980 SWIG_ruby_failed(void)
1986 /*@SWIG:/usr/share/swig/1.3.36/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
1987 SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
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);
1998 SWIG_AsVal_long (VALUE obj, long* val)
2000 VALUE type = TYPE(obj);
2001 if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2006 if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2011 return SWIG_TypeError;
2016 SWIG_AsVal_char (VALUE obj, char *val)
2018 int res = SWIG_AsCharArray(obj, val, 1);
2019 if (!SWIG_IsOK(res)) {
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);
2026 res = SWIG_OverflowError;
2037 /*@SWIG:/usr/share/swig/1.3.36/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
2038 SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
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)));
2049 SWIG_AsVal_double (VALUE obj, double *val)
2051 VALUE type = TYPE(obj);
2052 if ((type == T_FLOAT) || (type == T_FIXNUM) || (type == T_BIGNUM)) {
2057 if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2DBL), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2062 return SWIG_TypeError;
2067 SWIG_AsVal_float (VALUE obj, float *val)
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;
2075 if (val) *val = (float)(v);
2082 SWIGINTERNINLINE VALUE
2083 SWIG_From_float (float value)
2085 return SWIG_From_double (value);
2089 SWIGINTERNINLINE VALUE
2090 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
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;
2098 return rb_str_new(carray, (long)(size));
2106 SWIGINTERNINLINE VALUE
2107 SWIG_FromCharPtr(const char *cptr)
2109 return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
2114 SWIG_AsVal_int (VALUE obj, int *val)
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;
2122 if (val) *val = (int)(v);
2129 /*@SWIG:/usr/share/swig/1.3.36/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
2130 SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
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);
2141 SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
2143 VALUE type = TYPE(obj);
2144 if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2149 if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2ULONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2154 return SWIG_TypeError;
2159 SWIG_AsVal_unsigned_SS_int (VALUE obj, unsigned int *val)
2162 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2163 if (SWIG_IsOK(res)) {
2164 if ((v > UINT_MAX)) {
2165 return SWIG_OverflowError;
2167 if (val) *val = (unsigned int)(v);
2174 SWIGINTERNINLINE VALUE
2175 SWIG_From_unsigned_SS_long (unsigned long value)
2177 return ULONG2NUM(value);
2181 SWIGINTERNINLINE VALUE
2182 SWIG_From_unsigned_SS_int (unsigned int value)
2184 return SWIG_From_unsigned_SS_long (value);
2195 unsigned char category;
2196 unsigned char level;
2198 } MRC_Status_t_status;
2203 SWIG_AsVal_short (VALUE obj, short *val)
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;
2211 if (val) *val = (short)(v);
2218 SWIGINTERNINLINE VALUE
2219 SWIG_From_short (short value)
2221 return SWIG_From_long (value);
2226 SWIG_AsVal_unsigned_SS_char (VALUE obj, unsigned char *val)
2229 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2230 if (SWIG_IsOK(res)) {
2231 if ((v > UCHAR_MAX)) {
2232 return SWIG_OverflowError;
2234 if (val) *val = (unsigned char)(v);
2241 SWIGINTERNINLINE VALUE
2242 SWIG_From_unsigned_SS_char (unsigned char value)
2244 return SWIG_From_unsigned_SS_long (value);
2251 SWIGINTERNINLINE VALUE
2252 SWIG_From_char (char c)
2254 return SWIG_FromCharPtrAndSize(&c,1);
2258 _wrap_matrix3DInit(int argc, VALUE *argv, VALUE self) {
2259 matrix3DParaTypeReal (*arg1)[4] ;
2263 if ((argc < 1) || (argc > 1)) {
2264 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
2270 arg1 = (float (*)[4])(argp1);
2271 matrix3DInit((float (*)[4])arg1);
2279 _wrap_matrix3DCopy(int argc, VALUE *argv, VALUE self) {
2280 matrix3DParaTypeReal (*arg1)[4] ;
2281 matrix3DParaTypeReal (*arg2)[4] ;
2287 if ((argc < 2) || (argc > 2)) {
2288 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
2299 arg2 = (float (*)[4])(argp2);
2300 matrix3DCopy((float (*)[4])arg1,(float (*)[4])arg2);
2308 _wrap_matrix3DInverse(int argc, VALUE *argv, VALUE self) {
2309 matrix3DParaTypeReal (*arg1)[4] ;
2313 if ((argc < 1) || (argc > 1)) {
2314 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
2320 arg1 = (float (*)[4])(argp1);
2321 matrix3DInverse((float (*)[4])arg1);
2329 _wrap_matrix3DMultiply(int argc, VALUE *argv, VALUE self) {
2330 matrix3DParaTypeReal (*arg1)[4] ;
2331 matrix3DParaTypeReal (*arg2)[4] ;
2337 if ((argc < 2) || (argc > 2)) {
2338 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
2349 arg2 = (float (*)[4])(argp2);
2350 matrix3DMultiply((float (*)[4])arg1,(float (*)[4])arg2);
2358 _wrap_matrix3DMultiplyInv(int argc, VALUE *argv, VALUE self) {
2359 matrix3DParaTypeReal (*arg1)[4] ;
2360 matrix3DParaTypeReal (*arg2)[4] ;
2366 if ((argc < 2) || (argc > 2)) {
2367 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
2378 arg2 = (float (*)[4])(argp2);
2379 matrix3DMultiplyInv((float (*)[4])arg1,(float (*)[4])arg2);
2387 _wrap_matrix3DMultiplyVector(int argc, VALUE *argv, VALUE self) {
2388 floatVector *arg1 = (floatVector *) 0 ;
2389 matrix3DParaTypeReal (*arg2)[4] ;
2395 if ((argc < 2) || (argc > 2)) {
2396 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
2407 arg2 = (float (*)[4])(argp2);
2408 matrix3DMultiplyVector(arg1,(float (*)[4])arg2);
2416 _wrap_matrix3DFileFormat(int argc, VALUE *argv, VALUE self) {
2417 FILE *arg1 = (FILE *) 0 ;
2421 if ((argc < 1) || (argc > 1)) {
2422 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
2428 arg1 = (FILE *)(argp1);
2429 matrix3DFileFormat(arg1);
2437 _wrap_matrix3DFileRead(int argc, VALUE *argv, VALUE self) {
2438 FILE *arg1 = (FILE *) 0 ;
2439 matrix3DParaTypeReal (*arg2)[4] ;
2445 if ((argc < 2) || (argc > 2)) {
2446 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
2457 arg2 = (float (*)[4])(argp2);
2458 matrix3DFileRead(arg1,(float (*)[4])arg2);
2466 _wrap_matrix3DFileWrite(int argc, VALUE *argv, VALUE self) {
2467 FILE *arg1 = (FILE *) 0 ;
2468 matrix3DParaTypeReal (*arg2)[4] ;
2474 if ((argc < 2) || (argc > 2)) {
2475 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
2486 arg2 = (float (*)[4])(argp2);
2487 matrix3DFileWrite(arg1,(float (*)[4])arg2);
2495 _wrap_matrix3DRotationSet(int argc, VALUE *argv, VALUE self) {
2496 matrix3DParaTypeReal (*arg1)[4] ;
2498 matrix3DParaTypeReal arg3 ;
2509 if ((argc < 4) || (argc > 4)) {
2510 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
2531 arg4 = (long)(val4);
2532 matrix3DRotationSet((float (*)[4])arg1,arg2,arg3,arg4);
2540 _wrap_matrix3DTranslationSet(int argc, VALUE *argv, VALUE self) {
2541 matrix3DParaTypeReal (*arg1)[4] ;
2542 matrix3DParaTypeReal arg2 ;
2543 matrix3DParaTypeReal arg3 ;
2544 matrix3DParaTypeReal arg4 ;
2557 if ((argc < 5) || (argc > 5)) {
2558 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
2584 arg5 = (long)(val5);
2585 matrix3DTranslationSet((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2593 _wrap_matrix3DRotationSetXYZ(int argc, VALUE *argv, VALUE self) {
2594 matrix3DParaTypeReal (*arg1)[4] ;
2595 matrix3DParaTypeReal arg2 ;
2596 matrix3DParaTypeReal arg3 ;
2597 matrix3DParaTypeReal arg4 ;
2610 if ((argc < 5) || (argc > 5)) {
2611 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
2637 arg5 = (long)(val5);
2638 matrix3DRotationSetXYZ((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2646 _wrap_matrix3DRotationSetZYX(int argc, VALUE *argv, VALUE self) {
2647 matrix3DParaTypeReal (*arg1)[4] ;
2648 matrix3DParaTypeReal arg2 ;
2649 matrix3DParaTypeReal arg3 ;
2650 matrix3DParaTypeReal arg4 ;
2663 if ((argc < 5) || (argc > 5)) {
2664 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
2690 arg5 = (long)(val5);
2691 matrix3DRotationSetZYX((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2699 _wrap_matrix3DRotationSetZXY(int argc, VALUE *argv, VALUE self) {
2700 matrix3DParaTypeReal (*arg1)[4] ;
2701 matrix3DParaTypeReal arg2 ;
2702 matrix3DParaTypeReal arg3 ;
2703 matrix3DParaTypeReal arg4 ;
2716 if ((argc < 5) || (argc > 5)) {
2717 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
2743 arg5 = (long)(val5);
2744 matrix3DRotationSetZXY((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2752 _wrap_matrix3DRotationSetYXZ(int argc, VALUE *argv, VALUE self) {
2753 matrix3DParaTypeReal (*arg1)[4] ;
2754 matrix3DParaTypeReal arg2 ;
2755 matrix3DParaTypeReal arg3 ;
2756 matrix3DParaTypeReal arg4 ;
2769 if ((argc < 5) || (argc > 5)) {
2770 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
2796 arg5 = (long)(val5);
2797 matrix3DRotationSetYXZ((float (*)[4])arg1,arg2,arg3,arg4,arg5);
2805 _wrap_matrix3DRotationSetFollowingEulerAngle(int argc, VALUE *argv, VALUE self) {
2806 matrix3DParaTypeReal (*arg1)[4] ;
2808 matrix3DParaTypeReal arg3 ;
2809 matrix3DParaTypeReal arg4 ;
2810 matrix3DParaTypeReal arg5 ;
2825 if ((argc < 6) || (argc > 6)) {
2826 rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
2857 arg6 = (long)(val6);
2858 matrix3DRotationSetFollowingEulerAngle((float (*)[4])arg1,(char const (*))arg2,arg3,arg4,arg5,arg6);
2866 _wrap_matrix3DRotationAntiSetFollowingEulerAngle(int argc, VALUE *argv, VALUE self) {
2867 matrix3DParaTypeReal (*arg1)[4] ;
2869 matrix3DParaTypeReal arg3 ;
2870 matrix3DParaTypeReal arg4 ;
2871 matrix3DParaTypeReal arg5 ;
2886 if ((argc < 6) || (argc > 6)) {
2887 rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
2918 arg6 = (long)(val6);
2919 matrix3DRotationAntiSetFollowingEulerAngle((float (*)[4])arg1,(char const (*))arg2,arg3,arg4,arg5,arg6);
2927 _wrap_matrix3DEulerAngleGetFromMatrix3D(int argc, VALUE *argv, VALUE self) {
2928 matrix3DParaTypeReal (*arg1)[4] ;
2930 matrix3DParaTypeReal *arg3 = (matrix3DParaTypeReal *) 0 ;
2931 matrix3DParaTypeReal *arg4 = (matrix3DParaTypeReal *) 0 ;
2932 matrix3DParaTypeReal *arg5 = (matrix3DParaTypeReal *) 0 ;
2947 if ((argc < 6) || (argc > 6)) {
2948 rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
2979 arg6 = (long)(val6);
2980 matrix3DEulerAngleGetFromMatrix3D((float (*)[4])arg1,(char const (*))arg2,arg3,arg4,arg5,arg6);
2990 _wrap_Quat_x_set(int argc, VALUE *argv, VALUE self) {
2991 Quat *arg1 = (Quat *) 0 ;
2998 if ((argc < 1) || (argc > 1)) {
2999 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3010 arg2 = (float)(val2);
3011 if (arg1) (arg1)->x = arg2;
3019 _wrap_Quat_x_get(int argc, VALUE *argv, VALUE self) {
3020 Quat *arg1 = (Quat *) 0 ;
3024 VALUE vresult = Qnil;
3026 if ((argc < 0) || (argc > 0)) {
3027 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3033 arg1 = (Quat *)(argp1);
3034 result = (float) ((arg1)->x);
3035 vresult = SWIG_From_float((float)(result));
3043 _wrap_Quat_y_set(int argc, VALUE *argv, VALUE self) {
3044 Quat *arg1 = (Quat *) 0 ;
3051 if ((argc < 1) || (argc > 1)) {
3052 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3063 arg2 = (float)(val2);
3064 if (arg1) (arg1)->y = arg2;
3072 _wrap_Quat_y_get(int argc, VALUE *argv, VALUE self) {
3073 Quat *arg1 = (Quat *) 0 ;
3077 VALUE vresult = Qnil;
3079 if ((argc < 0) || (argc > 0)) {
3080 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3086 arg1 = (Quat *)(argp1);
3087 result = (float) ((arg1)->y);
3088 vresult = SWIG_From_float((float)(result));
3096 _wrap_Quat_z_set(int argc, VALUE *argv, VALUE self) {
3097 Quat *arg1 = (Quat *) 0 ;
3104 if ((argc < 1) || (argc > 1)) {
3105 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3116 arg2 = (float)(val2);
3117 if (arg1) (arg1)->z = arg2;
3125 _wrap_Quat_z_get(int argc, VALUE *argv, VALUE self) {
3126 Quat *arg1 = (Quat *) 0 ;
3130 VALUE vresult = Qnil;
3132 if ((argc < 0) || (argc > 0)) {
3133 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3139 arg1 = (Quat *)(argp1);
3140 result = (float) ((arg1)->z);
3141 vresult = SWIG_From_float((float)(result));
3149 _wrap_Quat_w_set(int argc, VALUE *argv, VALUE self) {
3150 Quat *arg1 = (Quat *) 0 ;
3157 if ((argc < 1) || (argc > 1)) {
3158 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3169 arg2 = (float)(val2);
3170 if (arg1) (arg1)->w = arg2;
3178 _wrap_Quat_w_get(int argc, VALUE *argv, VALUE self) {
3179 Quat *arg1 = (Quat *) 0 ;
3183 VALUE vresult = Qnil;
3185 if ((argc < 0) || (argc > 0)) {
3186 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3192 arg1 = (Quat *)(argp1);
3193 result = (float) ((arg1)->w);
3194 vresult = SWIG_From_float((float)(result));
3201 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3203 _wrap_Quat_allocate(VALUE self) {
3206 _wrap_Quat_allocate(int argc, VALUE *argv, VALUE self) {
3210 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_Quat);
3211 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3212 rb_obj_call_init(vresult, argc, argv);
3219 _wrap_new_Quat(int argc, VALUE *argv, VALUE self) {
3222 if ((argc < 0) || (argc > 0)) {
3223 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3225 result = (Quat *)calloc(1, sizeof(Quat));
3226 DATA_PTR(self) = result;
3234 free_Quat(Quat *arg1) {
3235 free((char *) arg1);
3239 _wrap_Eul_(int argc, VALUE *argv, VALUE self) {
3253 VALUE vresult = Qnil;
3255 if ((argc < 4) || (argc > 4)) {
3256 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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 );
3287 _wrap_Eul_ToQuat(int argc, VALUE *argv, VALUE self) {
3292 VALUE vresult = Qnil;
3294 if ((argc < 1) || (argc > 1)) {
3295 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
3303 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EulerAngles","Eul_ToQuat", 1, argv[0]));
3305 arg1 = *((EulerAngles *)(argp1));
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 );
3317 _wrap_Eul_ToHMatrix(int argc, VALUE *argv, VALUE self) {
3319 matrix3DParaTypeReal (*arg2)[4] ;
3325 if ((argc < 2) || (argc > 2)) {
3326 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
3334 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EulerAngles","Eul_ToHMatrix", 1, argv[0]));
3336 arg1 = *((EulerAngles *)(argp1));
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] ));
3343 arg2 = (float (*)[4])(argp2);
3344 Eul_ToHMatrix(arg1,(float (*)[4])arg2);
3352 _wrap_Eul_FromHMatrix(int argc, VALUE *argv, VALUE self) {
3353 matrix3DParaTypeReal (*arg1)[4] ;
3360 VALUE vresult = Qnil;
3362 if ((argc < 2) || (argc > 2)) {
3363 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
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 );
3384 _wrap_Eul_FromQuat(int argc, VALUE *argv, VALUE self) {
3392 VALUE vresult = Qnil;
3394 if ((argc < 2) || (argc > 2)) {
3395 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
3403 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Quat","Eul_FromQuat", 1, argv[0]));
3405 arg1 = *((Quat *)(argp1));
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] ));
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 );
3421 swig_class cMRC_Status_t;
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 ;
3432 if ((argc < 1) || (argc > 1)) {
3433 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3444 arg2 = (mrcStatusType)(val2);
3445 if (arg1) (arg1)->all = arg2;
3453 _wrap_MRC_Status_t_all_get(int argc, VALUE *argv, VALUE self) {
3454 MRC_Status_t *arg1 = (MRC_Status_t *) 0 ;
3457 mrcStatusType result;
3458 VALUE vresult = Qnil;
3460 if ((argc < 0) || (argc > 0)) {
3461 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3467 arg1 = (MRC_Status_t *)(argp1);
3468 result = (mrcStatusType) ((arg1)->all);
3469 vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
3477 _wrap_MRC_Status_t_status_get(int argc, VALUE *argv, VALUE self) {
3478 MRC_Status_t *arg1 = (MRC_Status_t *) 0 ;
3481 MRC_Status_t_status *result = 0 ;
3482 VALUE vresult = Qnil;
3484 if ((argc < 0) || (argc > 0)) {
3485 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
3500 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3502 _wrap_MRC_Status_t_allocate(VALUE self) {
3505 _wrap_MRC_Status_t_allocate(int argc, VALUE *argv, VALUE self) {
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);
3518 _wrap_new_MRC_Status_t(int argc, VALUE *argv, VALUE self) {
3519 MRC_Status_t *result = 0 ;
3521 if ((argc < 0) || (argc > 0)) {
3522 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3524 result = (MRC_Status_t *)calloc(1, sizeof(MRC_Status_t));
3525 DATA_PTR(self) = result;
3533 free_MRC_Status_t(MRC_Status_t *arg1) {
3534 free((char *) arg1);
3537 swig_class cMRC_Status_t_status;
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 ;
3548 if ((argc < 1) || (argc > 1)) {
3549 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3560 arg2 = (short)(val2);
3561 if (arg1) (arg1)->detail = arg2;
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 ;
3574 VALUE vresult = Qnil;
3576 if ((argc < 0) || (argc > 0)) {
3577 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3583 arg1 = (MRC_Status_t_status *)(argp1);
3584 result = (short) ((arg1)->detail);
3585 vresult = SWIG_From_short((short)(result));
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 ;
3598 unsigned char val2 ;
3601 if ((argc < 1) || (argc > 1)) {
3602 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3613 arg2 = (unsigned char)(val2);
3614 if (arg1) (arg1)->category = arg2;
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 ;
3626 unsigned char result;
3627 VALUE vresult = Qnil;
3629 if ((argc < 0) || (argc > 0)) {
3630 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3636 arg1 = (MRC_Status_t_status *)(argp1);
3637 result = (unsigned char) ((arg1)->category);
3638 vresult = SWIG_From_unsigned_SS_char((unsigned char)(result));
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 ;
3651 unsigned char val2 ;
3654 if ((argc < 1) || (argc > 1)) {
3655 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3666 arg2 = (unsigned char)(val2);
3667 if (arg1) (arg1)->level = arg2;
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 ;
3679 unsigned char result;
3680 VALUE vresult = Qnil;
3682 if ((argc < 0) || (argc > 0)) {
3683 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3689 arg1 = (MRC_Status_t_status *)(argp1);
3690 result = (unsigned char) ((arg1)->level);
3691 vresult = SWIG_From_unsigned_SS_char((unsigned char)(result));
3698 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3700 _wrap_MRC_Status_t_status_allocate(VALUE self) {
3703 _wrap_MRC_Status_t_status_allocate(int argc, VALUE *argv, VALUE self) {
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);
3716 _wrap_new_MRC_Status_t_status(int argc, VALUE *argv, VALUE self) {
3717 MRC_Status_t_status *result = 0 ;
3719 if ((argc < 0) || (argc > 0)) {
3720 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3722 result = (MRC_Status_t_status *)calloc(1, sizeof(MRC_Status_t_status));
3723 DATA_PTR(self) = result;
3731 free_MRC_Status_t_status(MRC_Status_t_status *arg1) {
3732 free((char *) arg1);
3735 swig_class cMrcImageParaTypeIntegerCoord;
3738 _wrap_mrcImageParaTypeIntegerCoord_x_set(int argc, VALUE *argv, VALUE self) {
3739 mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3740 mrcImageParaTypeInteger arg2 ;
3746 if ((argc < 1) || (argc > 1)) {
3747 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3758 arg2 = (mrcImageParaTypeInteger)(val2);
3759 if (arg1) (arg1)->x = arg2;
3767 _wrap_mrcImageParaTypeIntegerCoord_x_get(int argc, VALUE *argv, VALUE self) {
3768 mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3771 mrcImageParaTypeInteger result;
3772 VALUE vresult = Qnil;
3774 if ((argc < 0) || (argc > 0)) {
3775 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3781 arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3782 result = (mrcImageParaTypeInteger) ((arg1)->x);
3783 vresult = SWIG_From_int((int)(result));
3791 _wrap_mrcImageParaTypeIntegerCoord_y_set(int argc, VALUE *argv, VALUE self) {
3792 mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3793 mrcImageParaTypeInteger arg2 ;
3799 if ((argc < 1) || (argc > 1)) {
3800 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3811 arg2 = (mrcImageParaTypeInteger)(val2);
3812 if (arg1) (arg1)->y = arg2;
3820 _wrap_mrcImageParaTypeIntegerCoord_y_get(int argc, VALUE *argv, VALUE self) {
3821 mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3824 mrcImageParaTypeInteger result;
3825 VALUE vresult = Qnil;
3827 if ((argc < 0) || (argc > 0)) {
3828 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3834 arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3835 result = (mrcImageParaTypeInteger) ((arg1)->y);
3836 vresult = SWIG_From_int((int)(result));
3844 _wrap_mrcImageParaTypeIntegerCoord_z_set(int argc, VALUE *argv, VALUE self) {
3845 mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3846 mrcImageParaTypeInteger arg2 ;
3852 if ((argc < 1) || (argc > 1)) {
3853 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3864 arg2 = (mrcImageParaTypeInteger)(val2);
3865 if (arg1) (arg1)->z = arg2;
3873 _wrap_mrcImageParaTypeIntegerCoord_z_get(int argc, VALUE *argv, VALUE self) {
3874 mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
3877 mrcImageParaTypeInteger result;
3878 VALUE vresult = Qnil;
3880 if ((argc < 0) || (argc > 0)) {
3881 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3887 arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
3888 result = (mrcImageParaTypeInteger) ((arg1)->z);
3889 vresult = SWIG_From_int((int)(result));
3896 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
3898 _wrap_mrcImageParaTypeIntegerCoord_allocate(VALUE self) {
3901 _wrap_mrcImageParaTypeIntegerCoord_allocate(int argc, VALUE *argv, VALUE self) {
3905 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageParaTypeIntegerCoord);
3906 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
3907 rb_obj_call_init(vresult, argc, argv);
3914 _wrap_new_mrcImageParaTypeIntegerCoord(int argc, VALUE *argv, VALUE self) {
3915 mrcImageParaTypeIntegerCoord *result = 0 ;
3917 if ((argc < 0) || (argc > 0)) {
3918 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3920 result = (mrcImageParaTypeIntegerCoord *)calloc(1, sizeof(mrcImageParaTypeIntegerCoord));
3921 DATA_PTR(self) = result;
3929 free_mrcImageParaTypeIntegerCoord(mrcImageParaTypeIntegerCoord *arg1) {
3930 free((char *) arg1);
3933 swig_class cMrcImageParaTypeRealCoord;
3936 _wrap_mrcImageParaTypeRealCoord_x_set(int argc, VALUE *argv, VALUE self) {
3937 mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
3938 mrcImageParaTypeReal arg2 ;
3944 if ((argc < 1) || (argc > 1)) {
3945 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
3956 arg2 = (mrcImageParaTypeReal)(val2);
3957 if (arg1) (arg1)->x = arg2;
3965 _wrap_mrcImageParaTypeRealCoord_x_get(int argc, VALUE *argv, VALUE self) {
3966 mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
3969 mrcImageParaTypeReal result;
3970 VALUE vresult = Qnil;
3972 if ((argc < 0) || (argc > 0)) {
3973 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
3979 arg1 = (mrcImageParaTypeRealCoord *)(argp1);
3980 result = (mrcImageParaTypeReal) ((arg1)->x);
3981 vresult = SWIG_From_float((float)(result));
3989 _wrap_mrcImageParaTypeRealCoord_y_set(int argc, VALUE *argv, VALUE self) {
3990 mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
3991 mrcImageParaTypeReal arg2 ;
3997 if ((argc < 1) || (argc > 1)) {
3998 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4009 arg2 = (mrcImageParaTypeReal)(val2);
4010 if (arg1) (arg1)->y = arg2;
4018 _wrap_mrcImageParaTypeRealCoord_y_get(int argc, VALUE *argv, VALUE self) {
4019 mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
4022 mrcImageParaTypeReal result;
4023 VALUE vresult = Qnil;
4025 if ((argc < 0) || (argc > 0)) {
4026 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4032 arg1 = (mrcImageParaTypeRealCoord *)(argp1);
4033 result = (mrcImageParaTypeReal) ((arg1)->y);
4034 vresult = SWIG_From_float((float)(result));
4042 _wrap_mrcImageParaTypeRealCoord_z_set(int argc, VALUE *argv, VALUE self) {
4043 mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
4044 mrcImageParaTypeReal arg2 ;
4050 if ((argc < 1) || (argc > 1)) {
4051 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4062 arg2 = (mrcImageParaTypeReal)(val2);
4063 if (arg1) (arg1)->z = arg2;
4071 _wrap_mrcImageParaTypeRealCoord_z_get(int argc, VALUE *argv, VALUE self) {
4072 mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
4075 mrcImageParaTypeReal result;
4076 VALUE vresult = Qnil;
4078 if ((argc < 0) || (argc > 0)) {
4079 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4085 arg1 = (mrcImageParaTypeRealCoord *)(argp1);
4086 result = (mrcImageParaTypeReal) ((arg1)->z);
4087 vresult = SWIG_From_float((float)(result));
4094 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
4096 _wrap_mrcImageParaTypeRealCoord_allocate(VALUE self) {
4099 _wrap_mrcImageParaTypeRealCoord_allocate(int argc, VALUE *argv, VALUE self) {
4103 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageParaTypeRealCoord);
4104 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
4105 rb_obj_call_init(vresult, argc, argv);
4112 _wrap_new_mrcImageParaTypeRealCoord(int argc, VALUE *argv, VALUE self) {
4113 mrcImageParaTypeRealCoord *result = 0 ;
4115 if ((argc < 0) || (argc > 0)) {
4116 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4118 result = (mrcImageParaTypeRealCoord *)calloc(1, sizeof(mrcImageParaTypeRealCoord));
4119 DATA_PTR(self) = result;
4127 free_mrcImageParaTypeRealCoord(mrcImageParaTypeRealCoord *arg1) {
4128 free((char *) arg1);
4131 swig_class c_mrcImageHeader;
4134 _wrap__mrcImageHeader_N_set(int argc, VALUE *argv, VALUE self) {
4135 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4136 mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
4142 if ((argc < 1) || (argc > 1)) {
4143 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4154 arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
4155 if (arg1) (arg1)->N = *arg2;
4163 _wrap__mrcImageHeader_N_get(int argc, VALUE *argv, VALUE self) {
4164 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4167 mrcImageParaTypeIntegerCoord *result = 0 ;
4168 VALUE vresult = Qnil;
4170 if ((argc < 0) || (argc > 0)) {
4171 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4177 arg1 = (_mrcImageHeader *)(argp1);
4178 result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->N);
4179 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
4187 _wrap__mrcImageHeader_Mode_set(int argc, VALUE *argv, VALUE self) {
4188 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4195 if ((argc < 1) || (argc > 1)) {
4196 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4207 arg2 = (mrcImageMode)(val2);
4208 if (arg1) (arg1)->Mode = arg2;
4216 _wrap__mrcImageHeader_Mode_get(int argc, VALUE *argv, VALUE self) {
4217 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4220 mrcImageMode result;
4221 VALUE vresult = Qnil;
4223 if ((argc < 0) || (argc > 0)) {
4224 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4230 arg1 = (_mrcImageHeader *)(argp1);
4231 result = (mrcImageMode) ((arg1)->Mode);
4232 vresult = SWIG_From_int((int)(result));
4240 _wrap__mrcImageHeader_StartN_set(int argc, VALUE *argv, VALUE self) {
4241 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4242 mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
4248 if ((argc < 1) || (argc > 1)) {
4249 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4260 arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
4261 if (arg1) (arg1)->StartN = *arg2;
4269 _wrap__mrcImageHeader_StartN_get(int argc, VALUE *argv, VALUE self) {
4270 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4273 mrcImageParaTypeIntegerCoord *result = 0 ;
4274 VALUE vresult = Qnil;
4276 if ((argc < 0) || (argc > 0)) {
4277 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4283 arg1 = (_mrcImageHeader *)(argp1);
4284 result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->StartN);
4285 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
4293 _wrap__mrcImageHeader_M_set(int argc, VALUE *argv, VALUE self) {
4294 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4295 mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
4301 if ((argc < 1) || (argc > 1)) {
4302 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4313 arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
4314 if (arg1) (arg1)->M = *arg2;
4322 _wrap__mrcImageHeader_M_get(int argc, VALUE *argv, VALUE self) {
4323 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4326 mrcImageParaTypeIntegerCoord *result = 0 ;
4327 VALUE vresult = Qnil;
4329 if ((argc < 0) || (argc > 0)) {
4330 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4336 arg1 = (_mrcImageHeader *)(argp1);
4337 result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->M);
4338 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
4346 _wrap__mrcImageHeader_Length_set(int argc, VALUE *argv, VALUE self) {
4347 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4348 mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
4354 if ((argc < 1) || (argc > 1)) {
4355 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4366 arg2 = (mrcImageParaTypeRealCoord *)(argp2);
4367 if (arg1) (arg1)->Length = *arg2;
4375 _wrap__mrcImageHeader_Length_get(int argc, VALUE *argv, VALUE self) {
4376 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4379 mrcImageParaTypeRealCoord *result = 0 ;
4380 VALUE vresult = Qnil;
4382 if ((argc < 0) || (argc > 0)) {
4383 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4389 arg1 = (_mrcImageHeader *)(argp1);
4390 result = (mrcImageParaTypeRealCoord *)& ((arg1)->Length);
4391 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
4399 _wrap__mrcImageHeader_Alpha_set(int argc, VALUE *argv, VALUE self) {
4400 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4401 mrcImageParaTypeReal arg2 ;
4407 if ((argc < 1) || (argc > 1)) {
4408 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4419 arg2 = (mrcImageParaTypeReal)(val2);
4420 if (arg1) (arg1)->Alpha = arg2;
4428 _wrap__mrcImageHeader_Alpha_get(int argc, VALUE *argv, VALUE self) {
4429 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4432 mrcImageParaTypeReal result;
4433 VALUE vresult = Qnil;
4435 if ((argc < 0) || (argc > 0)) {
4436 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4442 arg1 = (_mrcImageHeader *)(argp1);
4443 result = (mrcImageParaTypeReal) ((arg1)->Alpha);
4444 vresult = SWIG_From_float((float)(result));
4452 _wrap__mrcImageHeader_Beta_set(int argc, VALUE *argv, VALUE self) {
4453 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4454 mrcImageParaTypeReal arg2 ;
4460 if ((argc < 1) || (argc > 1)) {
4461 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4472 arg2 = (mrcImageParaTypeReal)(val2);
4473 if (arg1) (arg1)->Beta = arg2;
4481 _wrap__mrcImageHeader_Beta_get(int argc, VALUE *argv, VALUE self) {
4482 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4485 mrcImageParaTypeReal result;
4486 VALUE vresult = Qnil;
4488 if ((argc < 0) || (argc > 0)) {
4489 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4495 arg1 = (_mrcImageHeader *)(argp1);
4496 result = (mrcImageParaTypeReal) ((arg1)->Beta);
4497 vresult = SWIG_From_float((float)(result));
4505 _wrap__mrcImageHeader_Gamma_set(int argc, VALUE *argv, VALUE self) {
4506 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4507 mrcImageParaTypeReal arg2 ;
4513 if ((argc < 1) || (argc > 1)) {
4514 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4525 arg2 = (mrcImageParaTypeReal)(val2);
4526 if (arg1) (arg1)->Gamma = arg2;
4534 _wrap__mrcImageHeader_Gamma_get(int argc, VALUE *argv, VALUE self) {
4535 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4538 mrcImageParaTypeReal result;
4539 VALUE vresult = Qnil;
4541 if ((argc < 0) || (argc > 0)) {
4542 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4548 arg1 = (_mrcImageHeader *)(argp1);
4549 result = (mrcImageParaTypeReal) ((arg1)->Gamma);
4550 vresult = SWIG_From_float((float)(result));
4558 _wrap__mrcImageHeader_MAPC_set(int argc, VALUE *argv, VALUE self) {
4559 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4560 mrcImageParaTypeInteger arg2 ;
4566 if ((argc < 1) || (argc > 1)) {
4567 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4578 arg2 = (mrcImageParaTypeInteger)(val2);
4579 if (arg1) (arg1)->MAPC = arg2;
4587 _wrap__mrcImageHeader_MAPC_get(int argc, VALUE *argv, VALUE self) {
4588 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4591 mrcImageParaTypeInteger result;
4592 VALUE vresult = Qnil;
4594 if ((argc < 0) || (argc > 0)) {
4595 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4601 arg1 = (_mrcImageHeader *)(argp1);
4602 result = (mrcImageParaTypeInteger) ((arg1)->MAPC);
4603 vresult = SWIG_From_int((int)(result));
4611 _wrap__mrcImageHeader_MAPR_set(int argc, VALUE *argv, VALUE self) {
4612 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4613 mrcImageParaTypeInteger arg2 ;
4619 if ((argc < 1) || (argc > 1)) {
4620 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4631 arg2 = (mrcImageParaTypeInteger)(val2);
4632 if (arg1) (arg1)->MAPR = arg2;
4640 _wrap__mrcImageHeader_MAPR_get(int argc, VALUE *argv, VALUE self) {
4641 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4644 mrcImageParaTypeInteger result;
4645 VALUE vresult = Qnil;
4647 if ((argc < 0) || (argc > 0)) {
4648 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4654 arg1 = (_mrcImageHeader *)(argp1);
4655 result = (mrcImageParaTypeInteger) ((arg1)->MAPR);
4656 vresult = SWIG_From_int((int)(result));
4664 _wrap__mrcImageHeader_MAPS_set(int argc, VALUE *argv, VALUE self) {
4665 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4666 mrcImageParaTypeInteger arg2 ;
4672 if ((argc < 1) || (argc > 1)) {
4673 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4684 arg2 = (mrcImageParaTypeInteger)(val2);
4685 if (arg1) (arg1)->MAPS = arg2;
4693 _wrap__mrcImageHeader_MAPS_get(int argc, VALUE *argv, VALUE self) {
4694 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4697 mrcImageParaTypeInteger result;
4698 VALUE vresult = Qnil;
4700 if ((argc < 0) || (argc > 0)) {
4701 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4707 arg1 = (_mrcImageHeader *)(argp1);
4708 result = (mrcImageParaTypeInteger) ((arg1)->MAPS);
4709 vresult = SWIG_From_int((int)(result));
4717 _wrap__mrcImageHeader_AMin_set(int argc, VALUE *argv, VALUE self) {
4718 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4719 mrcImageParaTypeReal arg2 ;
4725 if ((argc < 1) || (argc > 1)) {
4726 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4737 arg2 = (mrcImageParaTypeReal)(val2);
4738 if (arg1) (arg1)->AMin = arg2;
4746 _wrap__mrcImageHeader_AMin_get(int argc, VALUE *argv, VALUE self) {
4747 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4750 mrcImageParaTypeReal result;
4751 VALUE vresult = Qnil;
4753 if ((argc < 0) || (argc > 0)) {
4754 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4760 arg1 = (_mrcImageHeader *)(argp1);
4761 result = (mrcImageParaTypeReal) ((arg1)->AMin);
4762 vresult = SWIG_From_float((float)(result));
4770 _wrap__mrcImageHeader_AMax_set(int argc, VALUE *argv, VALUE self) {
4771 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4772 mrcImageParaTypeReal arg2 ;
4778 if ((argc < 1) || (argc > 1)) {
4779 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4790 arg2 = (mrcImageParaTypeReal)(val2);
4791 if (arg1) (arg1)->AMax = arg2;
4799 _wrap__mrcImageHeader_AMax_get(int argc, VALUE *argv, VALUE self) {
4800 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4803 mrcImageParaTypeReal result;
4804 VALUE vresult = Qnil;
4806 if ((argc < 0) || (argc > 0)) {
4807 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4813 arg1 = (_mrcImageHeader *)(argp1);
4814 result = (mrcImageParaTypeReal) ((arg1)->AMax);
4815 vresult = SWIG_From_float((float)(result));
4823 _wrap__mrcImageHeader_AMean_set(int argc, VALUE *argv, VALUE self) {
4824 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4825 mrcImageParaTypeReal arg2 ;
4831 if ((argc < 1) || (argc > 1)) {
4832 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4843 arg2 = (mrcImageParaTypeReal)(val2);
4844 if (arg1) (arg1)->AMean = arg2;
4852 _wrap__mrcImageHeader_AMean_get(int argc, VALUE *argv, VALUE self) {
4853 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4856 mrcImageParaTypeReal result;
4857 VALUE vresult = Qnil;
4859 if ((argc < 0) || (argc > 0)) {
4860 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4866 arg1 = (_mrcImageHeader *)(argp1);
4867 result = (mrcImageParaTypeReal) ((arg1)->AMean);
4868 vresult = SWIG_From_float((float)(result));
4876 _wrap__mrcImageHeader_ISPG_set(int argc, VALUE *argv, VALUE self) {
4877 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4878 mrcImageParaTypeInteger arg2 ;
4884 if ((argc < 1) || (argc > 1)) {
4885 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4896 arg2 = (mrcImageParaTypeInteger)(val2);
4897 if (arg1) (arg1)->ISPG = arg2;
4905 _wrap__mrcImageHeader_ISPG_get(int argc, VALUE *argv, VALUE self) {
4906 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4909 mrcImageParaTypeInteger result;
4910 VALUE vresult = Qnil;
4912 if ((argc < 0) || (argc > 0)) {
4913 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4919 arg1 = (_mrcImageHeader *)(argp1);
4920 result = (mrcImageParaTypeInteger) ((arg1)->ISPG);
4921 vresult = SWIG_From_int((int)(result));
4929 _wrap__mrcImageHeader_NSYMBT_set(int argc, VALUE *argv, VALUE self) {
4930 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4931 mrcImageParaTypeInteger arg2 ;
4937 if ((argc < 1) || (argc > 1)) {
4938 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
4949 arg2 = (mrcImageParaTypeInteger)(val2);
4950 if (arg1) (arg1)->NSYMBT = arg2;
4958 _wrap__mrcImageHeader_NSYMBT_get(int argc, VALUE *argv, VALUE self) {
4959 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4962 mrcImageParaTypeInteger result;
4963 VALUE vresult = Qnil;
4965 if ((argc < 0) || (argc > 0)) {
4966 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
4972 arg1 = (_mrcImageHeader *)(argp1);
4973 result = (mrcImageParaTypeInteger) ((arg1)->NSYMBT);
4974 vresult = SWIG_From_int((int)(result));
4982 _wrap__mrcImageHeader_EXTRA_set(int argc, VALUE *argv, VALUE self) {
4983 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
4984 mrcImageParaTypeReal *arg2 ;
4990 if ((argc < 1) || (argc > 1)) {
4991 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5002 arg2 = (mrcImageParaTypeReal *)(argp2);
5006 for (; ii < (size_t)(29); ++ii) arg1->EXTRA[ii] = arg2[ii];
5008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""EXTRA""' of type '""mrcImageParaTypeReal [(29)]""'");
5018 _wrap__mrcImageHeader_EXTRA_get(int argc, VALUE *argv, VALUE self) {
5019 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5022 mrcImageParaTypeReal *result = 0 ;
5023 VALUE vresult = Qnil;
5025 if ((argc < 0) || (argc > 0)) {
5026 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5032 arg1 = (_mrcImageHeader *)(argp1);
5033 result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->EXTRA);
5034 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
5042 _wrap__mrcImageHeader_OriginX_set(int argc, VALUE *argv, VALUE self) {
5043 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5044 mrcImageParaTypeReal arg2 ;
5050 if ((argc < 1) || (argc > 1)) {
5051 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5062 arg2 = (mrcImageParaTypeReal)(val2);
5063 if (arg1) (arg1)->OriginX = arg2;
5071 _wrap__mrcImageHeader_OriginX_get(int argc, VALUE *argv, VALUE self) {
5072 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5075 mrcImageParaTypeReal result;
5076 VALUE vresult = Qnil;
5078 if ((argc < 0) || (argc > 0)) {
5079 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5085 arg1 = (_mrcImageHeader *)(argp1);
5086 result = (mrcImageParaTypeReal) ((arg1)->OriginX);
5087 vresult = SWIG_From_float((float)(result));
5095 _wrap__mrcImageHeader_OriginY_set(int argc, VALUE *argv, VALUE self) {
5096 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5097 mrcImageParaTypeReal arg2 ;
5103 if ((argc < 1) || (argc > 1)) {
5104 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5115 arg2 = (mrcImageParaTypeReal)(val2);
5116 if (arg1) (arg1)->OriginY = arg2;
5124 _wrap__mrcImageHeader_OriginY_get(int argc, VALUE *argv, VALUE self) {
5125 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5128 mrcImageParaTypeReal result;
5129 VALUE vresult = Qnil;
5131 if ((argc < 0) || (argc > 0)) {
5132 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5138 arg1 = (_mrcImageHeader *)(argp1);
5139 result = (mrcImageParaTypeReal) ((arg1)->OriginY);
5140 vresult = SWIG_From_float((float)(result));
5148 _wrap__mrcImageHeader_LabelN_set(int argc, VALUE *argv, VALUE self) {
5149 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5150 mrcImageParaTypeInteger arg2 ;
5156 if ((argc < 1) || (argc > 1)) {
5157 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5168 arg2 = (mrcImageParaTypeInteger)(val2);
5169 if (arg1) (arg1)->LabelN = arg2;
5177 _wrap__mrcImageHeader_LabelN_get(int argc, VALUE *argv, VALUE self) {
5178 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5181 mrcImageParaTypeInteger result;
5182 VALUE vresult = Qnil;
5184 if ((argc < 0) || (argc > 0)) {
5185 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5191 arg1 = (_mrcImageHeader *)(argp1);
5192 result = (mrcImageParaTypeInteger) ((arg1)->LabelN);
5193 vresult = SWIG_From_int((int)(result));
5201 _wrap__mrcImageHeader_Label_set(int argc, VALUE *argv, VALUE self) {
5202 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5203 char (*arg2)[(80)] ;
5209 if ((argc < 1) || (argc > 1)) {
5210 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5221 arg2 = (char (*)[(80)])(argp2);
5225 for (; ii < (size_t)(10); ++ii) {
5228 for (; jj < (size_t)(80); ++jj) arg1->Label[ii][jj] = arg2[ii][jj];
5230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Label""' of type '""char [(10)][(80)]""'");
5234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Label""' of type '""char [(10)][(80)]""'");
5244 _wrap__mrcImageHeader_Label_get(int argc, VALUE *argv, VALUE self) {
5245 _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
5248 char (*result)[(80)] = 0 ;
5249 VALUE vresult = Qnil;
5251 if ((argc < 0) || (argc > 0)) {
5252 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
5267 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
5269 _wrap__mrcImageHeader_allocate(VALUE self) {
5272 _wrap__mrcImageHeader_allocate(int argc, VALUE *argv, VALUE self) {
5276 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p__mrcImageHeader);
5277 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
5278 rb_obj_call_init(vresult, argc, argv);
5285 _wrap_new__mrcImageHeader(int argc, VALUE *argv, VALUE self) {
5286 _mrcImageHeader *result = 0 ;
5288 if ((argc < 0) || (argc > 0)) {
5289 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5291 result = (_mrcImageHeader *)calloc(1, sizeof(_mrcImageHeader));
5292 DATA_PTR(self) = result;
5300 free__mrcImageHeader(_mrcImageHeader *arg1) {
5301 free((char *) arg1);
5304 swig_class c_mrcImageHeaderCCP4;
5307 _wrap__mrcImageHeaderCCP4_N_set(int argc, VALUE *argv, VALUE self) {
5308 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5309 mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
5315 if ((argc < 1) || (argc > 1)) {
5316 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5327 arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
5328 if (arg1) (arg1)->N = *arg2;
5336 _wrap__mrcImageHeaderCCP4_N_get(int argc, VALUE *argv, VALUE self) {
5337 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5340 mrcImageParaTypeIntegerCoord *result = 0 ;
5341 VALUE vresult = Qnil;
5343 if ((argc < 0) || (argc > 0)) {
5344 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5350 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5351 result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->N);
5352 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
5360 _wrap__mrcImageHeaderCCP4_Mode_set(int argc, VALUE *argv, VALUE self) {
5361 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5368 if ((argc < 1) || (argc > 1)) {
5369 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5380 arg2 = (mrcImageMode)(val2);
5381 if (arg1) (arg1)->Mode = arg2;
5389 _wrap__mrcImageHeaderCCP4_Mode_get(int argc, VALUE *argv, VALUE self) {
5390 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5393 mrcImageMode result;
5394 VALUE vresult = Qnil;
5396 if ((argc < 0) || (argc > 0)) {
5397 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5403 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5404 result = (mrcImageMode) ((arg1)->Mode);
5405 vresult = SWIG_From_int((int)(result));
5413 _wrap__mrcImageHeaderCCP4_StartN_set(int argc, VALUE *argv, VALUE self) {
5414 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5415 mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
5421 if ((argc < 1) || (argc > 1)) {
5422 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5433 arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
5434 if (arg1) (arg1)->StartN = *arg2;
5442 _wrap__mrcImageHeaderCCP4_StartN_get(int argc, VALUE *argv, VALUE self) {
5443 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5446 mrcImageParaTypeIntegerCoord *result = 0 ;
5447 VALUE vresult = Qnil;
5449 if ((argc < 0) || (argc > 0)) {
5450 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5456 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5457 result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->StartN);
5458 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
5466 _wrap__mrcImageHeaderCCP4_NI_set(int argc, VALUE *argv, VALUE self) {
5467 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5468 mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
5474 if ((argc < 1) || (argc > 1)) {
5475 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5486 arg2 = (mrcImageParaTypeIntegerCoord *)(argp2);
5487 if (arg1) (arg1)->NI = *arg2;
5495 _wrap__mrcImageHeaderCCP4_NI_get(int argc, VALUE *argv, VALUE self) {
5496 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5499 mrcImageParaTypeIntegerCoord *result = 0 ;
5500 VALUE vresult = Qnil;
5502 if ((argc < 0) || (argc > 0)) {
5503 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5509 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5510 result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->NI);
5511 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
5519 _wrap__mrcImageHeaderCCP4_Length_set(int argc, VALUE *argv, VALUE self) {
5520 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5521 mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
5527 if ((argc < 1) || (argc > 1)) {
5528 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5539 arg2 = (mrcImageParaTypeRealCoord *)(argp2);
5540 if (arg1) (arg1)->Length = *arg2;
5548 _wrap__mrcImageHeaderCCP4_Length_get(int argc, VALUE *argv, VALUE self) {
5549 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5552 mrcImageParaTypeRealCoord *result = 0 ;
5553 VALUE vresult = Qnil;
5555 if ((argc < 0) || (argc > 0)) {
5556 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5562 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5563 result = (mrcImageParaTypeRealCoord *)& ((arg1)->Length);
5564 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
5572 _wrap__mrcImageHeaderCCP4_Alpha_set(int argc, VALUE *argv, VALUE self) {
5573 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5574 mrcImageParaTypeReal arg2 ;
5580 if ((argc < 1) || (argc > 1)) {
5581 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5592 arg2 = (mrcImageParaTypeReal)(val2);
5593 if (arg1) (arg1)->Alpha = arg2;
5601 _wrap__mrcImageHeaderCCP4_Alpha_get(int argc, VALUE *argv, VALUE self) {
5602 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5605 mrcImageParaTypeReal result;
5606 VALUE vresult = Qnil;
5608 if ((argc < 0) || (argc > 0)) {
5609 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5615 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5616 result = (mrcImageParaTypeReal) ((arg1)->Alpha);
5617 vresult = SWIG_From_float((float)(result));
5625 _wrap__mrcImageHeaderCCP4_Beta_set(int argc, VALUE *argv, VALUE self) {
5626 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5627 mrcImageParaTypeReal arg2 ;
5633 if ((argc < 1) || (argc > 1)) {
5634 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5645 arg2 = (mrcImageParaTypeReal)(val2);
5646 if (arg1) (arg1)->Beta = arg2;
5654 _wrap__mrcImageHeaderCCP4_Beta_get(int argc, VALUE *argv, VALUE self) {
5655 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5658 mrcImageParaTypeReal result;
5659 VALUE vresult = Qnil;
5661 if ((argc < 0) || (argc > 0)) {
5662 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5668 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5669 result = (mrcImageParaTypeReal) ((arg1)->Beta);
5670 vresult = SWIG_From_float((float)(result));
5678 _wrap__mrcImageHeaderCCP4_Gamma_set(int argc, VALUE *argv, VALUE self) {
5679 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5680 mrcImageParaTypeReal arg2 ;
5686 if ((argc < 1) || (argc > 1)) {
5687 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5698 arg2 = (mrcImageParaTypeReal)(val2);
5699 if (arg1) (arg1)->Gamma = arg2;
5707 _wrap__mrcImageHeaderCCP4_Gamma_get(int argc, VALUE *argv, VALUE self) {
5708 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5711 mrcImageParaTypeReal result;
5712 VALUE vresult = Qnil;
5714 if ((argc < 0) || (argc > 0)) {
5715 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5721 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5722 result = (mrcImageParaTypeReal) ((arg1)->Gamma);
5723 vresult = SWIG_From_float((float)(result));
5731 _wrap__mrcImageHeaderCCP4_MAPC_set(int argc, VALUE *argv, VALUE self) {
5732 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5733 mrcImageParaTypeInteger arg2 ;
5739 if ((argc < 1) || (argc > 1)) {
5740 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5751 arg2 = (mrcImageParaTypeInteger)(val2);
5752 if (arg1) (arg1)->MAPC = arg2;
5760 _wrap__mrcImageHeaderCCP4_MAPC_get(int argc, VALUE *argv, VALUE self) {
5761 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5764 mrcImageParaTypeInteger result;
5765 VALUE vresult = Qnil;
5767 if ((argc < 0) || (argc > 0)) {
5768 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5774 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5775 result = (mrcImageParaTypeInteger) ((arg1)->MAPC);
5776 vresult = SWIG_From_int((int)(result));
5784 _wrap__mrcImageHeaderCCP4_MAPR_set(int argc, VALUE *argv, VALUE self) {
5785 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5786 mrcImageParaTypeInteger arg2 ;
5792 if ((argc < 1) || (argc > 1)) {
5793 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5804 arg2 = (mrcImageParaTypeInteger)(val2);
5805 if (arg1) (arg1)->MAPR = arg2;
5813 _wrap__mrcImageHeaderCCP4_MAPR_get(int argc, VALUE *argv, VALUE self) {
5814 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5817 mrcImageParaTypeInteger result;
5818 VALUE vresult = Qnil;
5820 if ((argc < 0) || (argc > 0)) {
5821 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5827 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5828 result = (mrcImageParaTypeInteger) ((arg1)->MAPR);
5829 vresult = SWIG_From_int((int)(result));
5837 _wrap__mrcImageHeaderCCP4_MAPS_set(int argc, VALUE *argv, VALUE self) {
5838 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5839 mrcImageParaTypeInteger arg2 ;
5845 if ((argc < 1) || (argc > 1)) {
5846 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5857 arg2 = (mrcImageParaTypeInteger)(val2);
5858 if (arg1) (arg1)->MAPS = arg2;
5866 _wrap__mrcImageHeaderCCP4_MAPS_get(int argc, VALUE *argv, VALUE self) {
5867 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5870 mrcImageParaTypeInteger result;
5871 VALUE vresult = Qnil;
5873 if ((argc < 0) || (argc > 0)) {
5874 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5880 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5881 result = (mrcImageParaTypeInteger) ((arg1)->MAPS);
5882 vresult = SWIG_From_int((int)(result));
5890 _wrap__mrcImageHeaderCCP4_AMin_set(int argc, VALUE *argv, VALUE self) {
5891 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5892 mrcImageParaTypeReal arg2 ;
5898 if ((argc < 1) || (argc > 1)) {
5899 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5910 arg2 = (mrcImageParaTypeReal)(val2);
5911 if (arg1) (arg1)->AMin = arg2;
5919 _wrap__mrcImageHeaderCCP4_AMin_get(int argc, VALUE *argv, VALUE self) {
5920 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5923 mrcImageParaTypeReal result;
5924 VALUE vresult = Qnil;
5926 if ((argc < 0) || (argc > 0)) {
5927 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5933 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5934 result = (mrcImageParaTypeReal) ((arg1)->AMin);
5935 vresult = SWIG_From_float((float)(result));
5943 _wrap__mrcImageHeaderCCP4_AMax_set(int argc, VALUE *argv, VALUE self) {
5944 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5945 mrcImageParaTypeReal arg2 ;
5951 if ((argc < 1) || (argc > 1)) {
5952 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
5963 arg2 = (mrcImageParaTypeReal)(val2);
5964 if (arg1) (arg1)->AMax = arg2;
5972 _wrap__mrcImageHeaderCCP4_AMax_get(int argc, VALUE *argv, VALUE self) {
5973 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5976 mrcImageParaTypeReal result;
5977 VALUE vresult = Qnil;
5979 if ((argc < 0) || (argc > 0)) {
5980 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
5986 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
5987 result = (mrcImageParaTypeReal) ((arg1)->AMax);
5988 vresult = SWIG_From_float((float)(result));
5996 _wrap__mrcImageHeaderCCP4_AMean_set(int argc, VALUE *argv, VALUE self) {
5997 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
5998 mrcImageParaTypeReal arg2 ;
6004 if ((argc < 1) || (argc > 1)) {
6005 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6016 arg2 = (mrcImageParaTypeReal)(val2);
6017 if (arg1) (arg1)->AMean = arg2;
6025 _wrap__mrcImageHeaderCCP4_AMean_get(int argc, VALUE *argv, VALUE self) {
6026 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6029 mrcImageParaTypeReal result;
6030 VALUE vresult = Qnil;
6032 if ((argc < 0) || (argc > 0)) {
6033 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6039 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6040 result = (mrcImageParaTypeReal) ((arg1)->AMean);
6041 vresult = SWIG_From_float((float)(result));
6049 _wrap__mrcImageHeaderCCP4_ISPG_set(int argc, VALUE *argv, VALUE self) {
6050 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6051 mrcImageParaTypeInteger arg2 ;
6057 if ((argc < 1) || (argc > 1)) {
6058 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6069 arg2 = (mrcImageParaTypeInteger)(val2);
6070 if (arg1) (arg1)->ISPG = arg2;
6078 _wrap__mrcImageHeaderCCP4_ISPG_get(int argc, VALUE *argv, VALUE self) {
6079 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6082 mrcImageParaTypeInteger result;
6083 VALUE vresult = Qnil;
6085 if ((argc < 0) || (argc > 0)) {
6086 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6092 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6093 result = (mrcImageParaTypeInteger) ((arg1)->ISPG);
6094 vresult = SWIG_From_int((int)(result));
6102 _wrap__mrcImageHeaderCCP4_NSYMBT_set(int argc, VALUE *argv, VALUE self) {
6103 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6104 mrcImageParaTypeInteger arg2 ;
6110 if ((argc < 1) || (argc > 1)) {
6111 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6122 arg2 = (mrcImageParaTypeInteger)(val2);
6123 if (arg1) (arg1)->NSYMBT = arg2;
6131 _wrap__mrcImageHeaderCCP4_NSYMBT_get(int argc, VALUE *argv, VALUE self) {
6132 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6135 mrcImageParaTypeInteger result;
6136 VALUE vresult = Qnil;
6138 if ((argc < 0) || (argc > 0)) {
6139 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6145 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6146 result = (mrcImageParaTypeInteger) ((arg1)->NSYMBT);
6147 vresult = SWIG_From_int((int)(result));
6155 _wrap__mrcImageHeaderCCP4_LSKFLG_set(int argc, VALUE *argv, VALUE self) {
6156 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6157 mrcImageParaTypeInteger arg2 ;
6163 if ((argc < 1) || (argc > 1)) {
6164 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6175 arg2 = (mrcImageParaTypeInteger)(val2);
6176 if (arg1) (arg1)->LSKFLG = arg2;
6184 _wrap__mrcImageHeaderCCP4_LSKFLG_get(int argc, VALUE *argv, VALUE self) {
6185 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6188 mrcImageParaTypeInteger result;
6189 VALUE vresult = Qnil;
6191 if ((argc < 0) || (argc > 0)) {
6192 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6198 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6199 result = (mrcImageParaTypeInteger) ((arg1)->LSKFLG);
6200 vresult = SWIG_From_int((int)(result));
6208 _wrap__mrcImageHeaderCCP4_SKWMAT_set(int argc, VALUE *argv, VALUE self) {
6209 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6210 mrcImageParaTypeReal *arg2 ;
6216 if ((argc < 1) || (argc > 1)) {
6217 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6228 arg2 = (mrcImageParaTypeReal *)(argp2);
6232 for (; ii < (size_t)9; ++ii) arg1->SKWMAT[ii] = arg2[ii];
6234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""SKWMAT""' of type '""mrcImageParaTypeReal [9]""'");
6244 _wrap__mrcImageHeaderCCP4_SKWMAT_get(int argc, VALUE *argv, VALUE self) {
6245 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6248 mrcImageParaTypeReal *result = 0 ;
6249 VALUE vresult = Qnil;
6251 if ((argc < 0) || (argc > 0)) {
6252 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6258 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6259 result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->SKWMAT);
6260 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
6268 _wrap__mrcImageHeaderCCP4_SKWTRN_set(int argc, VALUE *argv, VALUE self) {
6269 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6270 mrcImageParaTypeReal *arg2 ;
6276 if ((argc < 1) || (argc > 1)) {
6277 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6288 arg2 = (mrcImageParaTypeReal *)(argp2);
6292 for (; ii < (size_t)3; ++ii) arg1->SKWTRN[ii] = arg2[ii];
6294 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""SKWTRN""' of type '""mrcImageParaTypeReal [3]""'");
6304 _wrap__mrcImageHeaderCCP4_SKWTRN_get(int argc, VALUE *argv, VALUE self) {
6305 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6308 mrcImageParaTypeReal *result = 0 ;
6309 VALUE vresult = Qnil;
6311 if ((argc < 0) || (argc > 0)) {
6312 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6318 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6319 result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->SKWTRN);
6320 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
6328 _wrap__mrcImageHeaderCCP4_EXTRA_set(int argc, VALUE *argv, VALUE self) {
6329 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6330 mrcImageParaTypeReal *arg2 ;
6336 if ((argc < 1) || (argc > 1)) {
6337 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6348 arg2 = (mrcImageParaTypeReal *)(argp2);
6352 for (; ii < (size_t)(15); ++ii) arg1->EXTRA[ii] = arg2[ii];
6354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""EXTRA""' of type '""mrcImageParaTypeReal [(15)]""'");
6364 _wrap__mrcImageHeaderCCP4_EXTRA_get(int argc, VALUE *argv, VALUE self) {
6365 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6368 mrcImageParaTypeReal *result = 0 ;
6369 VALUE vresult = Qnil;
6371 if ((argc < 0) || (argc > 0)) {
6372 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6378 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6379 result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->EXTRA);
6380 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
6388 _wrap__mrcImageHeaderCCP4_MAP_set(int argc, VALUE *argv, VALUE self) {
6389 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6390 mrcImageParaTypeCharacter *arg2 ;
6396 if ((argc < 1) || (argc > 1)) {
6397 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6408 arg2 = (mrcImageParaTypeCharacter *)(argp2);
6412 for (; ii < (size_t)4; ++ii) arg1->MAP[ii] = arg2[ii];
6414 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""MAP""' of type '""mrcImageParaTypeCharacter [4]""'");
6424 _wrap__mrcImageHeaderCCP4_MAP_get(int argc, VALUE *argv, VALUE self) {
6425 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6428 mrcImageParaTypeCharacter *result = 0 ;
6429 VALUE vresult = Qnil;
6431 if ((argc < 0) || (argc > 0)) {
6432 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6438 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6439 result = (mrcImageParaTypeCharacter *)(mrcImageParaTypeCharacter *) ((arg1)->MAP);
6440 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
6448 _wrap__mrcImageHeaderCCP4_MARCHST_set(int argc, VALUE *argv, VALUE self) {
6449 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6450 mrcImageParaTypeInteger arg2 ;
6456 if ((argc < 1) || (argc > 1)) {
6457 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6468 arg2 = (mrcImageParaTypeInteger)(val2);
6469 if (arg1) (arg1)->MARCHST = arg2;
6477 _wrap__mrcImageHeaderCCP4_MARCHST_get(int argc, VALUE *argv, VALUE self) {
6478 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6481 mrcImageParaTypeInteger result;
6482 VALUE vresult = Qnil;
6484 if ((argc < 0) || (argc > 0)) {
6485 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6491 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6492 result = (mrcImageParaTypeInteger) ((arg1)->MARCHST);
6493 vresult = SWIG_From_int((int)(result));
6501 _wrap__mrcImageHeaderCCP4_ARMS_set(int argc, VALUE *argv, VALUE self) {
6502 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6503 mrcImageParaTypeReal arg2 ;
6509 if ((argc < 1) || (argc > 1)) {
6510 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6521 arg2 = (mrcImageParaTypeReal)(val2);
6522 if (arg1) (arg1)->ARMS = arg2;
6530 _wrap__mrcImageHeaderCCP4_ARMS_get(int argc, VALUE *argv, VALUE self) {
6531 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6534 mrcImageParaTypeReal result;
6535 VALUE vresult = Qnil;
6537 if ((argc < 0) || (argc > 0)) {
6538 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6544 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6545 result = (mrcImageParaTypeReal) ((arg1)->ARMS);
6546 vresult = SWIG_From_float((float)(result));
6554 _wrap__mrcImageHeaderCCP4_LabelN_set(int argc, VALUE *argv, VALUE self) {
6555 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6556 mrcImageParaTypeInteger arg2 ;
6562 if ((argc < 1) || (argc > 1)) {
6563 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6574 arg2 = (mrcImageParaTypeInteger)(val2);
6575 if (arg1) (arg1)->LabelN = arg2;
6583 _wrap__mrcImageHeaderCCP4_LabelN_get(int argc, VALUE *argv, VALUE self) {
6584 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6587 mrcImageParaTypeInteger result;
6588 VALUE vresult = Qnil;
6590 if ((argc < 0) || (argc > 0)) {
6591 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6597 arg1 = (_mrcImageHeaderCCP4 *)(argp1);
6598 result = (mrcImageParaTypeInteger) ((arg1)->LabelN);
6599 vresult = SWIG_From_int((int)(result));
6607 _wrap__mrcImageHeaderCCP4_Label_set(int argc, VALUE *argv, VALUE self) {
6608 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6609 char (*arg2)[(80)] ;
6615 if ((argc < 1) || (argc > 1)) {
6616 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6627 arg2 = (char (*)[(80)])(argp2);
6631 for (; ii < (size_t)(10); ++ii) {
6634 for (; jj < (size_t)(80); ++jj) arg1->Label[ii][jj] = arg2[ii][jj];
6636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Label""' of type '""char [(10)][(80)]""'");
6640 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Label""' of type '""char [(10)][(80)]""'");
6650 _wrap__mrcImageHeaderCCP4_Label_get(int argc, VALUE *argv, VALUE self) {
6651 _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
6654 char (*result)[(80)] = 0 ;
6655 VALUE vresult = Qnil;
6657 if ((argc < 0) || (argc > 0)) {
6658 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
6673 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
6675 _wrap__mrcImageHeaderCCP4_allocate(VALUE self) {
6678 _wrap__mrcImageHeaderCCP4_allocate(int argc, VALUE *argv, VALUE self) {
6682 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p__mrcImageHeaderCCP4);
6683 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
6684 rb_obj_call_init(vresult, argc, argv);
6691 _wrap_new__mrcImageHeaderCCP4(int argc, VALUE *argv, VALUE self) {
6692 _mrcImageHeaderCCP4 *result = 0 ;
6694 if ((argc < 0) || (argc > 0)) {
6695 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6697 result = (_mrcImageHeaderCCP4 *)calloc(1, sizeof(_mrcImageHeaderCCP4));
6698 DATA_PTR(self) = result;
6706 free__mrcImageHeaderCCP4(_mrcImageHeaderCCP4 *arg1) {
6707 free((char *) arg1);
6710 swig_class cMrcImageHeader;
6713 _wrap_mrcImageHeader_All_set(int argc, VALUE *argv, VALUE self) {
6714 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6715 unsigned char *arg2 ;
6721 if ((argc < 1) || (argc > 1)) {
6722 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6733 arg2 = (unsigned char *)(argp2);
6737 for (; ii < (size_t)(1024); ++ii) arg1->All[ii] = arg2[ii];
6739 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""All""' of type '""unsigned char [(1024)]""'");
6749 _wrap_mrcImageHeader_All_get(int argc, VALUE *argv, VALUE self) {
6750 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6753 unsigned char *result = 0 ;
6754 VALUE vresult = Qnil;
6756 if ((argc < 0) || (argc > 0)) {
6757 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
6773 _wrap_mrcImageHeader_Int_set(int argc, VALUE *argv, VALUE self) {
6774 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6775 mrcImageParaTypeInteger *arg2 ;
6781 if ((argc < 1) || (argc > 1)) {
6782 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6793 arg2 = (mrcImageParaTypeInteger *)(argp2);
6797 for (; ii < (size_t)(1024)/4; ++ii) arg1->Int[ii] = arg2[ii];
6799 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Int""' of type '""mrcImageParaTypeInteger [(1024)/4]""'");
6809 _wrap_mrcImageHeader_Int_get(int argc, VALUE *argv, VALUE self) {
6810 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6813 mrcImageParaTypeInteger *result = 0 ;
6814 VALUE vresult = Qnil;
6816 if ((argc < 0) || (argc > 0)) {
6817 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6823 arg1 = (mrcImageHeader *)(argp1);
6824 result = (mrcImageParaTypeInteger *)(mrcImageParaTypeInteger *) ((arg1)->Int);
6825 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
6833 _wrap_mrcImageHeader_Real_set(int argc, VALUE *argv, VALUE self) {
6834 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6835 mrcImageParaTypeReal *arg2 ;
6841 if ((argc < 1) || (argc > 1)) {
6842 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6853 arg2 = (mrcImageParaTypeReal *)(argp2);
6857 for (; ii < (size_t)(1024)/4; ++ii) arg1->Real[ii] = arg2[ii];
6859 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Real""' of type '""mrcImageParaTypeReal [(1024)/4]""'");
6869 _wrap_mrcImageHeader_Real_get(int argc, VALUE *argv, VALUE self) {
6870 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6873 mrcImageParaTypeReal *result = 0 ;
6874 VALUE vresult = Qnil;
6876 if ((argc < 0) || (argc > 0)) {
6877 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6883 arg1 = (mrcImageHeader *)(argp1);
6884 result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->Real);
6885 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
6893 _wrap_mrcImageHeader_Cont_set(int argc, VALUE *argv, VALUE self) {
6894 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6895 _mrcImageHeader *arg2 = (_mrcImageHeader *) 0 ;
6901 if ((argc < 1) || (argc > 1)) {
6902 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6913 arg2 = (_mrcImageHeader *)(argp2);
6914 if (arg1) (arg1)->Cont = *arg2;
6922 _wrap_mrcImageHeader_Cont_get(int argc, VALUE *argv, VALUE self) {
6923 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6926 _mrcImageHeader *result = 0 ;
6927 VALUE vresult = Qnil;
6929 if ((argc < 0) || (argc > 0)) {
6930 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6936 arg1 = (mrcImageHeader *)(argp1);
6937 result = (_mrcImageHeader *)& ((arg1)->Cont);
6938 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageHeader, 0 | 0 );
6946 _wrap_mrcImageHeader_ContCCP4_set(int argc, VALUE *argv, VALUE self) {
6947 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6948 _mrcImageHeaderCCP4 *arg2 = (_mrcImageHeaderCCP4 *) 0 ;
6954 if ((argc < 1) || (argc > 1)) {
6955 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
6966 arg2 = (_mrcImageHeaderCCP4 *)(argp2);
6967 if (arg1) (arg1)->ContCCP4 = *arg2;
6975 _wrap_mrcImageHeader_ContCCP4_get(int argc, VALUE *argv, VALUE self) {
6976 mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
6979 _mrcImageHeaderCCP4 *result = 0 ;
6980 VALUE vresult = Qnil;
6982 if ((argc < 0) || (argc > 0)) {
6983 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
6989 arg1 = (mrcImageHeader *)(argp1);
6990 result = (_mrcImageHeaderCCP4 *)& ((arg1)->ContCCP4);
6991 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
6998 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
7000 _wrap_mrcImageHeader_allocate(VALUE self) {
7003 _wrap_mrcImageHeader_allocate(int argc, VALUE *argv, VALUE self) {
7007 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageHeader);
7008 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
7009 rb_obj_call_init(vresult, argc, argv);
7016 _wrap_new_mrcImageHeader(int argc, VALUE *argv, VALUE self) {
7017 mrcImageHeader *result = 0 ;
7019 if ((argc < 0) || (argc > 0)) {
7020 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7022 result = (mrcImageHeader *)calloc(1, sizeof(mrcImageHeader));
7023 DATA_PTR(self) = result;
7031 free_mrcImageHeader(mrcImageHeader *arg1) {
7032 free((char *) arg1);
7035 swig_class c_mrcImageTailer;
7038 _wrap__mrcImageTailer_Code_set(int argc, VALUE *argv, VALUE self) {
7039 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7046 if ((argc < 1) || (argc > 1)) {
7047 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7058 arg2 = (char *)(temp2);
7059 if (arg2) memcpy(arg1->Code,arg2,4*sizeof(char));
7060 else memset(arg1->Code,0,4*sizeof(char));
7068 _wrap__mrcImageTailer_Code_get(int argc, VALUE *argv, VALUE self) {
7069 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7073 VALUE vresult = Qnil;
7075 if ((argc < 0) || (argc > 0)) {
7076 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7082 arg1 = (_mrcImageTailer *)(argp1);
7083 result = (char *)(char *) ((arg1)->Code);
7087 while (size && (result[size - 1] == '\0')) --size;
7089 vresult = SWIG_FromCharPtrAndSize(result, size);
7098 _wrap__mrcImageTailer_Mode_set(int argc, VALUE *argv, VALUE self) {
7099 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7100 mrcImageParaTypeInteger arg2 ;
7106 if ((argc < 1) || (argc > 1)) {
7107 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7118 arg2 = (mrcImageParaTypeInteger)(val2);
7119 if (arg1) (arg1)->Mode = arg2;
7127 _wrap__mrcImageTailer_Mode_get(int argc, VALUE *argv, VALUE self) {
7128 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7131 mrcImageParaTypeInteger result;
7132 VALUE vresult = Qnil;
7134 if ((argc < 0) || (argc > 0)) {
7135 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7141 arg1 = (_mrcImageTailer *)(argp1);
7142 result = (mrcImageParaTypeInteger) ((arg1)->Mode);
7143 vresult = SWIG_From_int((int)(result));
7151 _wrap__mrcImageTailer_EulerAngleMode_set(int argc, VALUE *argv, VALUE self) {
7152 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7159 if ((argc < 1) || (argc > 1)) {
7160 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7171 arg2 = (char *)(temp2);
7172 if (arg2) memcpy(arg1->EulerAngleMode,arg2,4*sizeof(char));
7173 else memset(arg1->EulerAngleMode,0,4*sizeof(char));
7181 _wrap__mrcImageTailer_EulerAngleMode_get(int argc, VALUE *argv, VALUE self) {
7182 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7186 VALUE vresult = Qnil;
7188 if ((argc < 0) || (argc > 0)) {
7189 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7195 arg1 = (_mrcImageTailer *)(argp1);
7196 result = (char *)(char *) ((arg1)->EulerAngleMode);
7200 while (size && (result[size - 1] == '\0')) --size;
7202 vresult = SWIG_FromCharPtrAndSize(result, size);
7211 _wrap__mrcImageTailer_Rot1_set(int argc, VALUE *argv, VALUE self) {
7212 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7213 mrcImageParaTypeReal arg2 ;
7219 if ((argc < 1) || (argc > 1)) {
7220 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7231 arg2 = (mrcImageParaTypeReal)(val2);
7232 if (arg1) (arg1)->Rot1 = arg2;
7240 _wrap__mrcImageTailer_Rot1_get(int argc, VALUE *argv, VALUE self) {
7241 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7244 mrcImageParaTypeReal result;
7245 VALUE vresult = Qnil;
7247 if ((argc < 0) || (argc > 0)) {
7248 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7254 arg1 = (_mrcImageTailer *)(argp1);
7255 result = (mrcImageParaTypeReal) ((arg1)->Rot1);
7256 vresult = SWIG_From_float((float)(result));
7264 _wrap__mrcImageTailer_Rot2_set(int argc, VALUE *argv, VALUE self) {
7265 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7266 mrcImageParaTypeReal arg2 ;
7272 if ((argc < 1) || (argc > 1)) {
7273 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7284 arg2 = (mrcImageParaTypeReal)(val2);
7285 if (arg1) (arg1)->Rot2 = arg2;
7293 _wrap__mrcImageTailer_Rot2_get(int argc, VALUE *argv, VALUE self) {
7294 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7297 mrcImageParaTypeReal result;
7298 VALUE vresult = Qnil;
7300 if ((argc < 0) || (argc > 0)) {
7301 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7307 arg1 = (_mrcImageTailer *)(argp1);
7308 result = (mrcImageParaTypeReal) ((arg1)->Rot2);
7309 vresult = SWIG_From_float((float)(result));
7317 _wrap__mrcImageTailer_Rot3_set(int argc, VALUE *argv, VALUE self) {
7318 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7319 mrcImageParaTypeReal arg2 ;
7325 if ((argc < 1) || (argc > 1)) {
7326 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7337 arg2 = (mrcImageParaTypeReal)(val2);
7338 if (arg1) (arg1)->Rot3 = arg2;
7346 _wrap__mrcImageTailer_Rot3_get(int argc, VALUE *argv, VALUE self) {
7347 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7350 mrcImageParaTypeReal result;
7351 VALUE vresult = Qnil;
7353 if ((argc < 0) || (argc > 0)) {
7354 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7360 arg1 = (_mrcImageTailer *)(argp1);
7361 result = (mrcImageParaTypeReal) ((arg1)->Rot3);
7362 vresult = SWIG_From_float((float)(result));
7370 _wrap__mrcImageTailer_Mirror_set(int argc, VALUE *argv, VALUE self) {
7371 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7372 mrcImageParaTypeInteger arg2 ;
7378 if ((argc < 1) || (argc > 1)) {
7379 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7390 arg2 = (mrcImageParaTypeInteger)(val2);
7391 if (arg1) (arg1)->Mirror = arg2;
7399 _wrap__mrcImageTailer_Mirror_get(int argc, VALUE *argv, VALUE self) {
7400 _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
7403 mrcImageParaTypeInteger result;
7404 VALUE vresult = Qnil;
7406 if ((argc < 0) || (argc > 0)) {
7407 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7413 arg1 = (_mrcImageTailer *)(argp1);
7414 result = (mrcImageParaTypeInteger) ((arg1)->Mirror);
7415 vresult = SWIG_From_int((int)(result));
7422 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
7424 _wrap__mrcImageTailer_allocate(VALUE self) {
7427 _wrap__mrcImageTailer_allocate(int argc, VALUE *argv, VALUE self) {
7431 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p__mrcImageTailer);
7432 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
7433 rb_obj_call_init(vresult, argc, argv);
7440 _wrap_new__mrcImageTailer(int argc, VALUE *argv, VALUE self) {
7441 _mrcImageTailer *result = 0 ;
7443 if ((argc < 0) || (argc > 0)) {
7444 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7446 result = (_mrcImageTailer *)calloc(1, sizeof(_mrcImageTailer));
7447 DATA_PTR(self) = result;
7455 free__mrcImageTailer(_mrcImageTailer *arg1) {
7456 free((char *) arg1);
7459 swig_class cMrcImageTailer;
7462 _wrap_mrcImageTailer_All_set(int argc, VALUE *argv, VALUE self) {
7463 mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7464 unsigned char *arg2 ;
7470 if ((argc < 1) || (argc > 1)) {
7471 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7482 arg2 = (unsigned char *)(argp2);
7486 for (; ii < (size_t)(1024); ++ii) arg1->All[ii] = arg2[ii];
7488 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""All""' of type '""unsigned char [(1024)]""'");
7498 _wrap_mrcImageTailer_All_get(int argc, VALUE *argv, VALUE self) {
7499 mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7502 unsigned char *result = 0 ;
7503 VALUE vresult = Qnil;
7505 if ((argc < 0) || (argc > 0)) {
7506 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
7522 _wrap_mrcImageTailer_Int_set(int argc, VALUE *argv, VALUE self) {
7523 mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7524 mrcImageParaTypeInteger *arg2 ;
7530 if ((argc < 1) || (argc > 1)) {
7531 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7542 arg2 = (mrcImageParaTypeInteger *)(argp2);
7546 for (; ii < (size_t)(1024)/4; ++ii) arg1->Int[ii] = arg2[ii];
7548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Int""' of type '""mrcImageParaTypeInteger [(1024)/4]""'");
7558 _wrap_mrcImageTailer_Int_get(int argc, VALUE *argv, VALUE self) {
7559 mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7562 mrcImageParaTypeInteger *result = 0 ;
7563 VALUE vresult = Qnil;
7565 if ((argc < 0) || (argc > 0)) {
7566 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7572 arg1 = (mrcImageTailer *)(argp1);
7573 result = (mrcImageParaTypeInteger *)(mrcImageParaTypeInteger *) ((arg1)->Int);
7574 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
7582 _wrap_mrcImageTailer_Real_set(int argc, VALUE *argv, VALUE self) {
7583 mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7584 mrcImageParaTypeReal *arg2 ;
7590 if ((argc < 1) || (argc > 1)) {
7591 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7602 arg2 = (mrcImageParaTypeReal *)(argp2);
7606 for (; ii < (size_t)(1024)/4; ++ii) arg1->Real[ii] = arg2[ii];
7608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Real""' of type '""mrcImageParaTypeReal [(1024)/4]""'");
7618 _wrap_mrcImageTailer_Real_get(int argc, VALUE *argv, VALUE self) {
7619 mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7622 mrcImageParaTypeReal *result = 0 ;
7623 VALUE vresult = Qnil;
7625 if ((argc < 0) || (argc > 0)) {
7626 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7632 arg1 = (mrcImageTailer *)(argp1);
7633 result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->Real);
7634 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
7642 _wrap_mrcImageTailer_Cont_set(int argc, VALUE *argv, VALUE self) {
7643 mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7644 _mrcImageTailer *arg2 = (_mrcImageTailer *) 0 ;
7650 if ((argc < 1) || (argc > 1)) {
7651 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7662 arg2 = (_mrcImageTailer *)(argp2);
7663 if (arg1) (arg1)->Cont = *arg2;
7671 _wrap_mrcImageTailer_Cont_get(int argc, VALUE *argv, VALUE self) {
7672 mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
7675 _mrcImageTailer *result = 0 ;
7676 VALUE vresult = Qnil;
7678 if ((argc < 0) || (argc > 0)) {
7679 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7685 arg1 = (mrcImageTailer *)(argp1);
7686 result = (_mrcImageTailer *)& ((arg1)->Cont);
7687 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageTailer, 0 | 0 );
7694 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
7696 _wrap_mrcImageTailer_allocate(VALUE self) {
7699 _wrap_mrcImageTailer_allocate(int argc, VALUE *argv, VALUE self) {
7703 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageTailer);
7704 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
7705 rb_obj_call_init(vresult, argc, argv);
7712 _wrap_new_mrcImageTailer(int argc, VALUE *argv, VALUE self) {
7713 mrcImageTailer *result = 0 ;
7715 if ((argc < 0) || (argc > 0)) {
7716 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7718 result = (mrcImageTailer *)calloc(1, sizeof(mrcImageTailer));
7719 DATA_PTR(self) = result;
7727 free_mrcImageTailer(mrcImageTailer *arg1) {
7728 free((char *) arg1);
7731 swig_class cMrcImage;
7734 _wrap_mrcImage_Header_set(int argc, VALUE *argv, VALUE self) {
7735 mrcImage *arg1 = (mrcImage *) 0 ;
7736 mrcImageHeader *arg2 = (mrcImageHeader *) 0 ;
7742 if ((argc < 1) || (argc > 1)) {
7743 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7754 arg2 = (mrcImageHeader *)(argp2);
7755 if (arg1) (arg1)->Header = *arg2;
7763 _wrap_mrcImage_Header_get(int argc, VALUE *argv, VALUE self) {
7764 mrcImage *arg1 = (mrcImage *) 0 ;
7767 mrcImageHeader *result = 0 ;
7768 VALUE vresult = Qnil;
7770 if ((argc < 0) || (argc > 0)) {
7771 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7777 arg1 = (mrcImage *)(argp1);
7778 result = (mrcImageHeader *)& ((arg1)->Header);
7779 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageHeader, 0 | 0 );
7787 _wrap_mrcImage_BytePerImage_set(int argc, VALUE *argv, VALUE self) {
7788 mrcImage *arg1 = (mrcImage *) 0 ;
7789 mrcImageParaTypeInteger arg2 ;
7795 if ((argc < 1) || (argc > 1)) {
7796 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7807 arg2 = (mrcImageParaTypeInteger)(val2);
7808 if (arg1) (arg1)->BytePerImage = arg2;
7816 _wrap_mrcImage_BytePerImage_get(int argc, VALUE *argv, VALUE self) {
7817 mrcImage *arg1 = (mrcImage *) 0 ;
7820 mrcImageParaTypeInteger result;
7821 VALUE vresult = Qnil;
7823 if ((argc < 0) || (argc > 0)) {
7824 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7830 arg1 = (mrcImage *)(argp1);
7831 result = (mrcImageParaTypeInteger) ((arg1)->BytePerImage);
7832 vresult = SWIG_From_int((int)(result));
7840 _wrap_mrcImage_BytePerBand_set(int argc, VALUE *argv, VALUE self) {
7841 mrcImage *arg1 = (mrcImage *) 0 ;
7842 mrcImageParaTypeInteger arg2 ;
7848 if ((argc < 1) || (argc > 1)) {
7849 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7860 arg2 = (mrcImageParaTypeInteger)(val2);
7861 if (arg1) (arg1)->BytePerBand = arg2;
7869 _wrap_mrcImage_BytePerBand_get(int argc, VALUE *argv, VALUE self) {
7870 mrcImage *arg1 = (mrcImage *) 0 ;
7873 mrcImageParaTypeInteger result;
7874 VALUE vresult = Qnil;
7876 if ((argc < 0) || (argc > 0)) {
7877 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7883 arg1 = (mrcImage *)(argp1);
7884 result = (mrcImageParaTypeInteger) ((arg1)->BytePerBand);
7885 vresult = SWIG_From_int((int)(result));
7893 _wrap_mrcImage_BandPerPixel_set(int argc, VALUE *argv, VALUE self) {
7894 mrcImage *arg1 = (mrcImage *) 0 ;
7895 mrcImageParaTypeInteger arg2 ;
7901 if ((argc < 1) || (argc > 1)) {
7902 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7913 arg2 = (mrcImageParaTypeInteger)(val2);
7914 if (arg1) (arg1)->BandPerPixel = arg2;
7922 _wrap_mrcImage_BandPerPixel_get(int argc, VALUE *argv, VALUE self) {
7923 mrcImage *arg1 = (mrcImage *) 0 ;
7926 mrcImageParaTypeInteger result;
7927 VALUE vresult = Qnil;
7929 if ((argc < 0) || (argc > 0)) {
7930 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7936 arg1 = (mrcImage *)(argp1);
7937 result = (mrcImageParaTypeInteger) ((arg1)->BandPerPixel);
7938 vresult = SWIG_From_int((int)(result));
7946 _wrap_mrcImage_PixelPerImage_set(int argc, VALUE *argv, VALUE self) {
7947 mrcImage *arg1 = (mrcImage *) 0 ;
7948 mrcImageParaTypeInteger arg2 ;
7954 if ((argc < 1) || (argc > 1)) {
7955 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
7966 arg2 = (mrcImageParaTypeInteger)(val2);
7967 if (arg1) (arg1)->PixelPerImage = arg2;
7975 _wrap_mrcImage_PixelPerImage_get(int argc, VALUE *argv, VALUE self) {
7976 mrcImage *arg1 = (mrcImage *) 0 ;
7979 mrcImageParaTypeInteger result;
7980 VALUE vresult = Qnil;
7982 if ((argc < 0) || (argc > 0)) {
7983 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
7989 arg1 = (mrcImage *)(argp1);
7990 result = (mrcImageParaTypeInteger) ((arg1)->PixelPerImage);
7991 vresult = SWIG_From_int((int)(result));
7999 _wrap_mrcImage_status_set(int argc, VALUE *argv, VALUE self) {
8000 mrcImage *arg1 = (mrcImage *) 0 ;
8001 mrcStatusType arg2 ;
8007 if ((argc < 1) || (argc > 1)) {
8008 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8019 arg2 = (mrcStatusType)(val2);
8020 if (arg1) (arg1)->status = arg2;
8028 _wrap_mrcImage_status_get(int argc, VALUE *argv, VALUE self) {
8029 mrcImage *arg1 = (mrcImage *) 0 ;
8032 mrcStatusType result;
8033 VALUE vresult = Qnil;
8035 if ((argc < 0) || (argc > 0)) {
8036 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8042 arg1 = (mrcImage *)(argp1);
8043 result = (mrcStatusType) ((arg1)->status);
8044 vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
8052 _wrap_mrcImage_Image_set(int argc, VALUE *argv, VALUE self) {
8053 mrcImage *arg1 = (mrcImage *) 0 ;
8054 char *arg2 = (char *) 0 ;
8061 if ((argc < 1) || (argc > 1)) {
8062 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8073 arg2 = (char *)(buf2);
8074 if (arg1->Image) free((char*)arg1->Image);
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));
8081 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8084 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8090 _wrap_mrcImage_Image_get(int argc, VALUE *argv, VALUE self) {
8091 mrcImage *arg1 = (mrcImage *) 0 ;
8095 VALUE vresult = Qnil;
8097 if ((argc < 0) || (argc > 0)) {
8098 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8104 arg1 = (mrcImage *)(argp1);
8105 result = (char *) ((arg1)->Image);
8106 vresult = SWIG_FromCharPtr((const char *)result);
8114 _wrap_mrcImage_ImageCharImage_set(int argc, VALUE *argv, VALUE self) {
8115 mrcImage *arg1 = (mrcImage *) 0 ;
8116 unsigned char *arg2 = (unsigned char *) 0 ;
8122 if ((argc < 1) || (argc > 1)) {
8123 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8134 arg2 = (unsigned char *)(argp2);
8135 if (arg1) (arg1)->ImageCharImage = arg2;
8143 _wrap_mrcImage_ImageCharImage_get(int argc, VALUE *argv, VALUE self) {
8144 mrcImage *arg1 = (mrcImage *) 0 ;
8147 unsigned char *result = 0 ;
8148 VALUE vresult = Qnil;
8150 if ((argc < 0) || (argc > 0)) {
8151 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8157 arg1 = (mrcImage *)(argp1);
8158 result = (unsigned char *) ((arg1)->ImageCharImage);
8159 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
8167 _wrap_mrcImage_ImageShortImage_set(int argc, VALUE *argv, VALUE self) {
8168 mrcImage *arg1 = (mrcImage *) 0 ;
8169 unsigned short *arg2 = (unsigned short *) 0 ;
8175 if ((argc < 1) || (argc > 1)) {
8176 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8187 arg2 = (unsigned short *)(argp2);
8188 if (arg1) (arg1)->ImageShortImage = arg2;
8196 _wrap_mrcImage_ImageShortImage_get(int argc, VALUE *argv, VALUE self) {
8197 mrcImage *arg1 = (mrcImage *) 0 ;
8200 unsigned short *result = 0 ;
8201 VALUE vresult = Qnil;
8203 if ((argc < 0) || (argc > 0)) {
8204 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8210 arg1 = (mrcImage *)(argp1);
8211 result = (unsigned short *) ((arg1)->ImageShortImage);
8212 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 );
8220 _wrap_mrcImage_ImageLongImage_set(int argc, VALUE *argv, VALUE self) {
8221 mrcImage *arg1 = (mrcImage *) 0 ;
8222 unsigned long *arg2 = (unsigned long *) 0 ;
8228 if ((argc < 1) || (argc > 1)) {
8229 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8240 arg2 = (unsigned long *)(argp2);
8241 if (arg1) (arg1)->ImageLongImage = arg2;
8249 _wrap_mrcImage_ImageLongImage_get(int argc, VALUE *argv, VALUE self) {
8250 mrcImage *arg1 = (mrcImage *) 0 ;
8253 unsigned long *result = 0 ;
8254 VALUE vresult = Qnil;
8256 if ((argc < 0) || (argc > 0)) {
8257 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8263 arg1 = (mrcImage *)(argp1);
8264 result = (unsigned long *) ((arg1)->ImageLongImage);
8265 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long, 0 | 0 );
8273 _wrap_mrcImage_ImageFloatImage_set(int argc, VALUE *argv, VALUE self) {
8274 mrcImage *arg1 = (mrcImage *) 0 ;
8275 float *arg2 = (float *) 0 ;
8281 if ((argc < 1) || (argc > 1)) {
8282 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8293 arg2 = (float *)(argp2);
8294 if (arg1) (arg1)->ImageFloatImage = arg2;
8302 _wrap_mrcImage_ImageFloatImage_get(int argc, VALUE *argv, VALUE self) {
8303 mrcImage *arg1 = (mrcImage *) 0 ;
8307 VALUE vresult = Qnil;
8309 if ((argc < 0) || (argc > 0)) {
8310 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8316 arg1 = (mrcImage *)(argp1);
8317 result = (float *) ((arg1)->ImageFloatImage);
8318 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
8326 _wrap_mrcImage_ImageDoubleImage_set(int argc, VALUE *argv, VALUE self) {
8327 mrcImage *arg1 = (mrcImage *) 0 ;
8328 double *arg2 = (double *) 0 ;
8334 if ((argc < 1) || (argc > 1)) {
8335 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8346 arg2 = (double *)(argp2);
8347 if (arg1) (arg1)->ImageDoubleImage = arg2;
8355 _wrap_mrcImage_ImageDoubleImage_get(int argc, VALUE *argv, VALUE self) {
8356 mrcImage *arg1 = (mrcImage *) 0 ;
8359 double *result = 0 ;
8360 VALUE vresult = Qnil;
8362 if ((argc < 0) || (argc > 0)) {
8363 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8369 arg1 = (mrcImage *)(argp1);
8370 result = (double *) ((arg1)->ImageDoubleImage);
8371 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
8379 _wrap_mrcImage_Tailer_set(int argc, VALUE *argv, VALUE self) {
8380 mrcImage *arg1 = (mrcImage *) 0 ;
8381 mrcImageTailer *arg2 = (mrcImageTailer *) 0 ;
8387 if ((argc < 1) || (argc > 1)) {
8388 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8399 arg2 = (mrcImageTailer *)(argp2);
8400 if (arg1) (arg1)->Tailer = arg2;
8408 _wrap_mrcImage_Tailer_get(int argc, VALUE *argv, VALUE self) {
8409 mrcImage *arg1 = (mrcImage *) 0 ;
8412 mrcImageTailer *result = 0 ;
8413 VALUE vresult = Qnil;
8415 if ((argc < 0) || (argc > 0)) {
8416 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8422 arg1 = (mrcImage *)(argp1);
8423 result = (mrcImageTailer *) ((arg1)->Tailer);
8424 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageTailer, 0 | 0 );
8432 _wrap_mrcImage_numTailer_set(int argc, VALUE *argv, VALUE self) {
8433 mrcImage *arg1 = (mrcImage *) 0 ;
8434 mrcImageParaTypeInteger arg2 ;
8440 if ((argc < 1) || (argc > 1)) {
8441 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8452 arg2 = (mrcImageParaTypeInteger)(val2);
8453 if (arg1) (arg1)->numTailer = arg2;
8461 _wrap_mrcImage_numTailer_get(int argc, VALUE *argv, VALUE self) {
8462 mrcImage *arg1 = (mrcImage *) 0 ;
8465 mrcImageParaTypeInteger result;
8466 VALUE vresult = Qnil;
8468 if ((argc < 0) || (argc > 0)) {
8469 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8475 arg1 = (mrcImage *)(argp1);
8476 result = (mrcImageParaTypeInteger) ((arg1)->numTailer);
8477 vresult = SWIG_From_int((int)(result));
8485 _wrap_mrcImage_flagByteSwap_set(int argc, VALUE *argv, VALUE self) {
8486 mrcImage *arg1 = (mrcImage *) 0 ;
8487 mrcImageParaTypeInteger arg2 ;
8493 if ((argc < 1) || (argc > 1)) {
8494 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8505 arg2 = (mrcImageParaTypeInteger)(val2);
8506 if (arg1) (arg1)->flagByteSwap = arg2;
8514 _wrap_mrcImage_flagByteSwap_get(int argc, VALUE *argv, VALUE self) {
8515 mrcImage *arg1 = (mrcImage *) 0 ;
8518 mrcImageParaTypeInteger result;
8519 VALUE vresult = Qnil;
8521 if ((argc < 0) || (argc > 0)) {
8522 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8528 arg1 = (mrcImage *)(argp1);
8529 result = (mrcImageParaTypeInteger) ((arg1)->flagByteSwap);
8530 vresult = SWIG_From_int((int)(result));
8538 _wrap_mrcImage_flagCCP4_set(int argc, VALUE *argv, VALUE self) {
8539 mrcImage *arg1 = (mrcImage *) 0 ;
8540 mrcImageParaTypeInteger arg2 ;
8546 if ((argc < 1) || (argc > 1)) {
8547 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8558 arg2 = (mrcImageParaTypeInteger)(val2);
8559 if (arg1) (arg1)->flagCCP4 = arg2;
8567 _wrap_mrcImage_flagCCP4_get(int argc, VALUE *argv, VALUE self) {
8568 mrcImage *arg1 = (mrcImage *) 0 ;
8571 mrcImageParaTypeInteger result;
8572 VALUE vresult = Qnil;
8574 if ((argc < 0) || (argc > 0)) {
8575 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8581 arg1 = (mrcImage *)(argp1);
8582 result = (mrcImageParaTypeInteger) ((arg1)->flagCCP4);
8583 vresult = SWIG_From_int((int)(result));
8591 _wrap_mrcImage_ImageOffset_set(int argc, VALUE *argv, VALUE self) {
8592 mrcImage *arg1 = (mrcImage *) 0 ;
8593 mrcImageParaTypeInteger arg2 ;
8599 if ((argc < 1) || (argc > 1)) {
8600 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8611 arg2 = (mrcImageParaTypeInteger)(val2);
8612 if (arg1) (arg1)->ImageOffset = arg2;
8620 _wrap_mrcImage_ImageOffset_get(int argc, VALUE *argv, VALUE self) {
8621 mrcImage *arg1 = (mrcImage *) 0 ;
8624 mrcImageParaTypeInteger result;
8625 VALUE vresult = Qnil;
8627 if ((argc < 0) || (argc > 0)) {
8628 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8634 arg1 = (mrcImage *)(argp1);
8635 result = (mrcImageParaTypeInteger) ((arg1)->ImageOffset);
8636 vresult = SWIG_From_int((int)(result));
8644 _wrap_mrcImage_SymmetryOperator_set(int argc, VALUE *argv, VALUE self) {
8645 mrcImage *arg1 = (mrcImage *) 0 ;
8646 mrcImageSymmetryOperator *arg2 = (mrcImageSymmetryOperator *) 0 ;
8653 if ((argc < 1) || (argc > 1)) {
8654 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8665 arg2 = (mrcImageSymmetryOperator *)(buf2);
8666 if (arg1->SymmetryOperator) free((char*)arg1->SymmetryOperator);
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));
8671 arg1->SymmetryOperator = 0;
8673 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8676 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8682 _wrap_mrcImage_SymmetryOperator_get(int argc, VALUE *argv, VALUE self) {
8683 mrcImage *arg1 = (mrcImage *) 0 ;
8686 mrcImageSymmetryOperator *result = 0 ;
8687 VALUE vresult = Qnil;
8689 if ((argc < 0) || (argc > 0)) {
8690 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8696 arg1 = (mrcImage *)(argp1);
8697 result = (mrcImageSymmetryOperator *) ((arg1)->SymmetryOperator);
8698 vresult = SWIG_FromCharPtr((const char *)result);
8705 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
8707 _wrap_mrcImage_allocate(VALUE self) {
8710 _wrap_mrcImage_allocate(int argc, VALUE *argv, VALUE self) {
8714 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImage);
8715 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
8716 rb_obj_call_init(vresult, argc, argv);
8723 _wrap_new_mrcImage(int argc, VALUE *argv, VALUE self) {
8724 mrcImage *result = 0 ;
8726 if ((argc < 0) || (argc > 0)) {
8727 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8729 result = (mrcImage *)calloc(1, sizeof(mrcImage));
8730 DATA_PTR(self) = result;
8738 free_mrcImage(mrcImage *arg1) {
8739 free((char *) arg1);
8742 swig_class cMrcImageInformation;
8745 _wrap_mrcImageInformation_mean_set(int argc, VALUE *argv, VALUE self) {
8746 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8753 if ((argc < 1) || (argc > 1)) {
8754 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8765 arg2 = (double)(val2);
8766 if (arg1) (arg1)->mean = arg2;
8774 _wrap_mrcImageInformation_mean_get(int argc, VALUE *argv, VALUE self) {
8775 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8779 VALUE vresult = Qnil;
8781 if ((argc < 0) || (argc > 0)) {
8782 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8788 arg1 = (mrcImageInformation *)(argp1);
8789 result = (double) ((arg1)->mean);
8790 vresult = SWIG_From_double((double)(result));
8798 _wrap_mrcImageInformation_rootMeanSquare_set(int argc, VALUE *argv, VALUE self) {
8799 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8806 if ((argc < 1) || (argc > 1)) {
8807 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8818 arg2 = (double)(val2);
8819 if (arg1) (arg1)->rootMeanSquare = arg2;
8827 _wrap_mrcImageInformation_rootMeanSquare_get(int argc, VALUE *argv, VALUE self) {
8828 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8832 VALUE vresult = Qnil;
8834 if ((argc < 0) || (argc > 0)) {
8835 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8841 arg1 = (mrcImageInformation *)(argp1);
8842 result = (double) ((arg1)->rootMeanSquare);
8843 vresult = SWIG_From_double((double)(result));
8851 _wrap_mrcImageInformation_meanOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
8852 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8859 if ((argc < 1) || (argc > 1)) {
8860 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8871 arg2 = (double)(val2);
8872 if (arg1) (arg1)->meanOfSphereSurface = arg2;
8880 _wrap_mrcImageInformation_meanOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
8881 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8885 VALUE vresult = Qnil;
8887 if ((argc < 0) || (argc > 0)) {
8888 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8894 arg1 = (mrcImageInformation *)(argp1);
8895 result = (double) ((arg1)->meanOfSphereSurface);
8896 vresult = SWIG_From_double((double)(result));
8904 _wrap_mrcImageInformation_sdOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
8905 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8912 if ((argc < 1) || (argc > 1)) {
8913 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8924 arg2 = (double)(val2);
8925 if (arg1) (arg1)->sdOfSphereSurface = arg2;
8933 _wrap_mrcImageInformation_sdOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
8934 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8938 VALUE vresult = Qnil;
8940 if ((argc < 0) || (argc > 0)) {
8941 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
8947 arg1 = (mrcImageInformation *)(argp1);
8948 result = (double) ((arg1)->sdOfSphereSurface);
8949 vresult = SWIG_From_double((double)(result));
8957 _wrap_mrcImageInformation_seOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
8958 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8965 if ((argc < 1) || (argc > 1)) {
8966 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
8977 arg2 = (double)(val2);
8978 if (arg1) (arg1)->seOfSphereSurface = arg2;
8986 _wrap_mrcImageInformation_seOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
8987 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
8991 VALUE vresult = Qnil;
8993 if ((argc < 0) || (argc > 0)) {
8994 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9000 arg1 = (mrcImageInformation *)(argp1);
9001 result = (double) ((arg1)->seOfSphereSurface);
9002 vresult = SWIG_From_double((double)(result));
9010 _wrap_mrcImageInformation_meanOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
9011 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9018 if ((argc < 1) || (argc > 1)) {
9019 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9030 arg2 = (double)(val2);
9031 if (arg1) (arg1)->meanOfCylinderSurface = arg2;
9039 _wrap_mrcImageInformation_meanOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
9040 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9044 VALUE vresult = Qnil;
9046 if ((argc < 0) || (argc > 0)) {
9047 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9053 arg1 = (mrcImageInformation *)(argp1);
9054 result = (double) ((arg1)->meanOfCylinderSurface);
9055 vresult = SWIG_From_double((double)(result));
9063 _wrap_mrcImageInformation_sdOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
9064 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9071 if ((argc < 1) || (argc > 1)) {
9072 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9083 arg2 = (double)(val2);
9084 if (arg1) (arg1)->sdOfCylinderSurface = arg2;
9092 _wrap_mrcImageInformation_sdOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
9093 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9097 VALUE vresult = Qnil;
9099 if ((argc < 0) || (argc > 0)) {
9100 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9106 arg1 = (mrcImageInformation *)(argp1);
9107 result = (double) ((arg1)->sdOfCylinderSurface);
9108 vresult = SWIG_From_double((double)(result));
9116 _wrap_mrcImageInformation_seOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
9117 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9124 if ((argc < 1) || (argc > 1)) {
9125 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9136 arg2 = (double)(val2);
9137 if (arg1) (arg1)->seOfCylinderSurface = arg2;
9145 _wrap_mrcImageInformation_seOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
9146 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9150 VALUE vresult = Qnil;
9152 if ((argc < 0) || (argc > 0)) {
9153 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9159 arg1 = (mrcImageInformation *)(argp1);
9160 result = (double) ((arg1)->seOfCylinderSurface);
9161 vresult = SWIG_From_double((double)(result));
9169 _wrap_mrcImageInformation_meanOfEdge_set(int argc, VALUE *argv, VALUE self) {
9170 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9177 if ((argc < 1) || (argc > 1)) {
9178 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9189 arg2 = (double)(val2);
9190 if (arg1) (arg1)->meanOfEdge = arg2;
9198 _wrap_mrcImageInformation_meanOfEdge_get(int argc, VALUE *argv, VALUE self) {
9199 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9203 VALUE vresult = Qnil;
9205 if ((argc < 0) || (argc > 0)) {
9206 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9212 arg1 = (mrcImageInformation *)(argp1);
9213 result = (double) ((arg1)->meanOfEdge);
9214 vresult = SWIG_From_double((double)(result));
9222 _wrap_mrcImageInformation_sdOfEdge_set(int argc, VALUE *argv, VALUE self) {
9223 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9230 if ((argc < 1) || (argc > 1)) {
9231 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9242 arg2 = (double)(val2);
9243 if (arg1) (arg1)->sdOfEdge = arg2;
9251 _wrap_mrcImageInformation_sdOfEdge_get(int argc, VALUE *argv, VALUE self) {
9252 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9256 VALUE vresult = Qnil;
9258 if ((argc < 0) || (argc > 0)) {
9259 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9265 arg1 = (mrcImageInformation *)(argp1);
9266 result = (double) ((arg1)->sdOfEdge);
9267 vresult = SWIG_From_double((double)(result));
9275 _wrap_mrcImageInformation_seOfEdge_set(int argc, VALUE *argv, VALUE self) {
9276 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9283 if ((argc < 1) || (argc > 1)) {
9284 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9295 arg2 = (double)(val2);
9296 if (arg1) (arg1)->seOfEdge = arg2;
9304 _wrap_mrcImageInformation_seOfEdge_get(int argc, VALUE *argv, VALUE self) {
9305 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9309 VALUE vresult = Qnil;
9311 if ((argc < 0) || (argc > 0)) {
9312 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9318 arg1 = (mrcImageInformation *)(argp1);
9319 result = (double) ((arg1)->seOfEdge);
9320 vresult = SWIG_From_double((double)(result));
9328 _wrap_mrcImageInformation_max_set(int argc, VALUE *argv, VALUE self) {
9329 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9336 if ((argc < 1) || (argc > 1)) {
9337 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9348 arg2 = (double)(val2);
9349 if (arg1) (arg1)->max = arg2;
9357 _wrap_mrcImageInformation_max_get(int argc, VALUE *argv, VALUE self) {
9358 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9362 VALUE vresult = Qnil;
9364 if ((argc < 0) || (argc > 0)) {
9365 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9371 arg1 = (mrcImageInformation *)(argp1);
9372 result = (double) ((arg1)->max);
9373 vresult = SWIG_From_double((double)(result));
9381 _wrap_mrcImageInformation_maxCoord_set(int argc, VALUE *argv, VALUE self) {
9382 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9383 mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
9389 if ((argc < 1) || (argc > 1)) {
9390 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9401 arg2 = (mrcImageParaTypeRealCoord *)(argp2);
9402 if (arg1) (arg1)->maxCoord = *arg2;
9410 _wrap_mrcImageInformation_maxCoord_get(int argc, VALUE *argv, VALUE self) {
9411 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9414 mrcImageParaTypeRealCoord *result = 0 ;
9415 VALUE vresult = Qnil;
9417 if ((argc < 0) || (argc > 0)) {
9418 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9424 arg1 = (mrcImageInformation *)(argp1);
9425 result = (mrcImageParaTypeRealCoord *)& ((arg1)->maxCoord);
9426 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
9434 _wrap_mrcImageInformation_min_set(int argc, VALUE *argv, VALUE self) {
9435 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9442 if ((argc < 1) || (argc > 1)) {
9443 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9454 arg2 = (double)(val2);
9455 if (arg1) (arg1)->min = arg2;
9463 _wrap_mrcImageInformation_min_get(int argc, VALUE *argv, VALUE self) {
9464 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9468 VALUE vresult = Qnil;
9470 if ((argc < 0) || (argc > 0)) {
9471 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9477 arg1 = (mrcImageInformation *)(argp1);
9478 result = (double) ((arg1)->min);
9479 vresult = SWIG_From_double((double)(result));
9487 _wrap_mrcImageInformation_minCoord_set(int argc, VALUE *argv, VALUE self) {
9488 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9489 mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
9495 if ((argc < 1) || (argc > 1)) {
9496 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9507 arg2 = (mrcImageParaTypeRealCoord *)(argp2);
9508 if (arg1) (arg1)->minCoord = *arg2;
9516 _wrap_mrcImageInformation_minCoord_get(int argc, VALUE *argv, VALUE self) {
9517 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9520 mrcImageParaTypeRealCoord *result = 0 ;
9521 VALUE vresult = Qnil;
9523 if ((argc < 0) || (argc > 0)) {
9524 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9530 arg1 = (mrcImageInformation *)(argp1);
9531 result = (mrcImageParaTypeRealCoord *)& ((arg1)->minCoord);
9532 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
9540 _wrap_mrcImageInformation_sd_set(int argc, VALUE *argv, VALUE self) {
9541 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9548 if ((argc < 1) || (argc > 1)) {
9549 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9560 arg2 = (double)(val2);
9561 if (arg1) (arg1)->sd = arg2;
9569 _wrap_mrcImageInformation_sd_get(int argc, VALUE *argv, VALUE self) {
9570 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9574 VALUE vresult = Qnil;
9576 if ((argc < 0) || (argc > 0)) {
9577 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9583 arg1 = (mrcImageInformation *)(argp1);
9584 result = (double) ((arg1)->sd);
9585 vresult = SWIG_From_double((double)(result));
9593 _wrap_mrcImageInformation_se_set(int argc, VALUE *argv, VALUE self) {
9594 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9601 if ((argc < 1) || (argc > 1)) {
9602 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9613 arg2 = (double)(val2);
9614 if (arg1) (arg1)->se = arg2;
9622 _wrap_mrcImageInformation_se_get(int argc, VALUE *argv, VALUE self) {
9623 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9627 VALUE vresult = Qnil;
9629 if ((argc < 0) || (argc > 0)) {
9630 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9636 arg1 = (mrcImageInformation *)(argp1);
9637 result = (double) ((arg1)->se);
9638 vresult = SWIG_From_double((double)(result));
9646 _wrap_mrcImageInformation_rmax_set(int argc, VALUE *argv, VALUE self) {
9647 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9654 if ((argc < 1) || (argc > 1)) {
9655 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9666 arg2 = (double)(val2);
9667 if (arg1) (arg1)->rmax = arg2;
9675 _wrap_mrcImageInformation_rmax_get(int argc, VALUE *argv, VALUE self) {
9676 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9680 VALUE vresult = Qnil;
9682 if ((argc < 0) || (argc > 0)) {
9683 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9689 arg1 = (mrcImageInformation *)(argp1);
9690 result = (double) ((arg1)->rmax);
9691 vresult = SWIG_From_double((double)(result));
9699 _wrap_mrcImageInformation_flagrmax_set(int argc, VALUE *argv, VALUE self) {
9700 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9707 if ((argc < 1) || (argc > 1)) {
9708 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9719 arg2 = (long)(val2);
9720 if (arg1) (arg1)->flagrmax = arg2;
9728 _wrap_mrcImageInformation_flagrmax_get(int argc, VALUE *argv, VALUE self) {
9729 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9733 VALUE vresult = Qnil;
9735 if ((argc < 0) || (argc > 0)) {
9736 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9742 arg1 = (mrcImageInformation *)(argp1);
9743 result = (long) ((arg1)->flagrmax);
9744 vresult = SWIG_From_long((long)(result));
9752 _wrap_mrcImageInformation_RMS_set(int argc, VALUE *argv, VALUE self) {
9753 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9760 if ((argc < 1) || (argc > 1)) {
9761 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9772 arg2 = (double)(val2);
9773 if (arg1) (arg1)->RMS = arg2;
9781 _wrap_mrcImageInformation_RMS_get(int argc, VALUE *argv, VALUE self) {
9782 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9786 VALUE vresult = Qnil;
9788 if ((argc < 0) || (argc > 0)) {
9789 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9795 arg1 = (mrcImageInformation *)(argp1);
9796 result = (double) ((arg1)->RMS);
9797 vresult = SWIG_From_double((double)(result));
9805 _wrap_mrcImageInformation_mode_set(int argc, VALUE *argv, VALUE self) {
9806 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9813 if ((argc < 1) || (argc > 1)) {
9814 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9826 if (arg1) (arg1)->mode = arg2;
9834 _wrap_mrcImageInformation_mode_get(int argc, VALUE *argv, VALUE self) {
9835 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
9839 VALUE vresult = Qnil;
9841 if ((argc < 0) || (argc > 0)) {
9842 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9848 arg1 = (mrcImageInformation *)(argp1);
9849 result = (int) ((arg1)->mode);
9850 vresult = SWIG_From_int((int)(result));
9857 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
9859 _wrap_mrcImageInformation_allocate(VALUE self) {
9862 _wrap_mrcImageInformation_allocate(int argc, VALUE *argv, VALUE self) {
9866 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageInformation);
9867 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
9868 rb_obj_call_init(vresult, argc, argv);
9875 _wrap_new_mrcImageInformation(int argc, VALUE *argv, VALUE self) {
9876 mrcImageInformation *result = 0 ;
9878 if ((argc < 0) || (argc > 0)) {
9879 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9881 result = (mrcImageInformation *)calloc(1, sizeof(mrcImageInformation));
9882 DATA_PTR(self) = result;
9890 free_mrcImageInformation(mrcImageInformation *arg1) {
9891 free((char *) arg1);
9894 swig_class cLmrcImageSmoothingInfo;
9897 _wrap_lmrcImageSmoothingInfo_mode_set(int argc, VALUE *argv, VALUE self) {
9898 lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
9905 if ((argc < 1) || (argc > 1)) {
9906 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9917 arg2 = (long)(val2);
9918 if (arg1) (arg1)->mode = arg2;
9926 _wrap_lmrcImageSmoothingInfo_mode_get(int argc, VALUE *argv, VALUE self) {
9927 lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
9931 VALUE vresult = Qnil;
9933 if ((argc < 0) || (argc > 0)) {
9934 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9940 arg1 = (lmrcImageSmoothingInfo *)(argp1);
9941 result = (long) ((arg1)->mode);
9942 vresult = SWIG_From_long((long)(result));
9950 _wrap_lmrcImageSmoothingInfo_sx_set(int argc, VALUE *argv, VALUE self) {
9951 lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
9952 mrcImageParaTypeReal arg2 ;
9958 if ((argc < 1) || (argc > 1)) {
9959 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
9970 arg2 = (mrcImageParaTypeReal)(val2);
9971 if (arg1) (arg1)->sx = arg2;
9979 _wrap_lmrcImageSmoothingInfo_sx_get(int argc, VALUE *argv, VALUE self) {
9980 lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
9983 mrcImageParaTypeReal result;
9984 VALUE vresult = Qnil;
9986 if ((argc < 0) || (argc > 0)) {
9987 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
9993 arg1 = (lmrcImageSmoothingInfo *)(argp1);
9994 result = (mrcImageParaTypeReal) ((arg1)->sx);
9995 vresult = SWIG_From_float((float)(result));
10003 _wrap_lmrcImageSmoothingInfo_sy_set(int argc, VALUE *argv, VALUE self) {
10004 lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
10005 mrcImageParaTypeReal arg2 ;
10011 if ((argc < 1) || (argc > 1)) {
10012 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10023 arg2 = (mrcImageParaTypeReal)(val2);
10024 if (arg1) (arg1)->sy = arg2;
10032 _wrap_lmrcImageSmoothingInfo_sy_get(int argc, VALUE *argv, VALUE self) {
10033 lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
10036 mrcImageParaTypeReal result;
10037 VALUE vresult = Qnil;
10039 if ((argc < 0) || (argc > 0)) {
10040 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10046 arg1 = (lmrcImageSmoothingInfo *)(argp1);
10047 result = (mrcImageParaTypeReal) ((arg1)->sy);
10048 vresult = SWIG_From_float((float)(result));
10056 _wrap_lmrcImageSmoothingInfo_sz_set(int argc, VALUE *argv, VALUE self) {
10057 lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
10058 mrcImageParaTypeReal arg2 ;
10064 if ((argc < 1) || (argc > 1)) {
10065 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10076 arg2 = (mrcImageParaTypeReal)(val2);
10077 if (arg1) (arg1)->sz = arg2;
10085 _wrap_lmrcImageSmoothingInfo_sz_get(int argc, VALUE *argv, VALUE self) {
10086 lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
10089 mrcImageParaTypeReal result;
10090 VALUE vresult = Qnil;
10092 if ((argc < 0) || (argc > 0)) {
10093 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10099 arg1 = (lmrcImageSmoothingInfo *)(argp1);
10100 result = (mrcImageParaTypeReal) ((arg1)->sz);
10101 vresult = SWIG_From_float((float)(result));
10108 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10110 _wrap_lmrcImageSmoothingInfo_allocate(VALUE self) {
10113 _wrap_lmrcImageSmoothingInfo_allocate(int argc, VALUE *argv, VALUE self) {
10117 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageSmoothingInfo);
10118 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10119 rb_obj_call_init(vresult, argc, argv);
10126 _wrap_new_lmrcImageSmoothingInfo(int argc, VALUE *argv, VALUE self) {
10127 lmrcImageSmoothingInfo *result = 0 ;
10129 if ((argc < 0) || (argc > 0)) {
10130 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10132 result = (lmrcImageSmoothingInfo *)calloc(1, sizeof(lmrcImageSmoothingInfo));
10133 DATA_PTR(self) = result;
10141 free_lmrcImageSmoothingInfo(lmrcImageSmoothingInfo *arg1) {
10142 free((char *) arg1);
10145 swig_class cLmrcImageCVEInfo;
10148 _wrap_lmrcImageCVEInfo_sx_set(int argc, VALUE *argv, VALUE self) {
10149 lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10156 if ((argc < 1) || (argc > 1)) {
10157 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10168 arg2 = (long)(val2);
10169 if (arg1) (arg1)->sx = arg2;
10177 _wrap_lmrcImageCVEInfo_sx_get(int argc, VALUE *argv, VALUE self) {
10178 lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10182 VALUE vresult = Qnil;
10184 if ((argc < 0) || (argc > 0)) {
10185 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10191 arg1 = (lmrcImageCVEInfo *)(argp1);
10192 result = (long) ((arg1)->sx);
10193 vresult = SWIG_From_long((long)(result));
10201 _wrap_lmrcImageCVEInfo_sy_set(int argc, VALUE *argv, VALUE self) {
10202 lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10209 if ((argc < 1) || (argc > 1)) {
10210 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10221 arg2 = (long)(val2);
10222 if (arg1) (arg1)->sy = arg2;
10230 _wrap_lmrcImageCVEInfo_sy_get(int argc, VALUE *argv, VALUE self) {
10231 lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10235 VALUE vresult = Qnil;
10237 if ((argc < 0) || (argc > 0)) {
10238 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10244 arg1 = (lmrcImageCVEInfo *)(argp1);
10245 result = (long) ((arg1)->sy);
10246 vresult = SWIG_From_long((long)(result));
10254 _wrap_lmrcImageCVEInfo_sz_set(int argc, VALUE *argv, VALUE self) {
10255 lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10262 if ((argc < 1) || (argc > 1)) {
10263 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10274 arg2 = (long)(val2);
10275 if (arg1) (arg1)->sz = arg2;
10283 _wrap_lmrcImageCVEInfo_sz_get(int argc, VALUE *argv, VALUE self) {
10284 lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
10288 VALUE vresult = Qnil;
10290 if ((argc < 0) || (argc > 0)) {
10291 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10297 arg1 = (lmrcImageCVEInfo *)(argp1);
10298 result = (long) ((arg1)->sz);
10299 vresult = SWIG_From_long((long)(result));
10306 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10308 _wrap_lmrcImageCVEInfo_allocate(VALUE self) {
10311 _wrap_lmrcImageCVEInfo_allocate(int argc, VALUE *argv, VALUE self) {
10315 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageCVEInfo);
10316 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10317 rb_obj_call_init(vresult, argc, argv);
10324 _wrap_new_lmrcImageCVEInfo(int argc, VALUE *argv, VALUE self) {
10325 lmrcImageCVEInfo *result = 0 ;
10327 if ((argc < 0) || (argc > 0)) {
10328 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10330 result = (lmrcImageCVEInfo *)calloc(1, sizeof(lmrcImageCVEInfo));
10331 DATA_PTR(self) = result;
10339 free_lmrcImageCVEInfo(lmrcImageCVEInfo *arg1) {
10340 free((char *) arg1);
10343 swig_class cLmrcImageTfunctionInfo;
10346 _wrap_lmrcImageTfunctionInfo_sx_set(int argc, VALUE *argv, VALUE self) {
10347 lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10354 if ((argc < 1) || (argc > 1)) {
10355 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10366 arg2 = (long)(val2);
10367 if (arg1) (arg1)->sx = arg2;
10375 _wrap_lmrcImageTfunctionInfo_sx_get(int argc, VALUE *argv, VALUE self) {
10376 lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10380 VALUE vresult = Qnil;
10382 if ((argc < 0) || (argc > 0)) {
10383 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10389 arg1 = (lmrcImageTfunctionInfo *)(argp1);
10390 result = (long) ((arg1)->sx);
10391 vresult = SWIG_From_long((long)(result));
10399 _wrap_lmrcImageTfunctionInfo_sy_set(int argc, VALUE *argv, VALUE self) {
10400 lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10407 if ((argc < 1) || (argc > 1)) {
10408 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10419 arg2 = (long)(val2);
10420 if (arg1) (arg1)->sy = arg2;
10428 _wrap_lmrcImageTfunctionInfo_sy_get(int argc, VALUE *argv, VALUE self) {
10429 lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10433 VALUE vresult = Qnil;
10435 if ((argc < 0) || (argc > 0)) {
10436 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10442 arg1 = (lmrcImageTfunctionInfo *)(argp1);
10443 result = (long) ((arg1)->sy);
10444 vresult = SWIG_From_long((long)(result));
10452 _wrap_lmrcImageTfunctionInfo_sz_set(int argc, VALUE *argv, VALUE self) {
10453 lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10460 if ((argc < 1) || (argc > 1)) {
10461 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10472 arg2 = (long)(val2);
10473 if (arg1) (arg1)->sz = arg2;
10481 _wrap_lmrcImageTfunctionInfo_sz_get(int argc, VALUE *argv, VALUE self) {
10482 lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
10486 VALUE vresult = Qnil;
10488 if ((argc < 0) || (argc > 0)) {
10489 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10495 arg1 = (lmrcImageTfunctionInfo *)(argp1);
10496 result = (long) ((arg1)->sz);
10497 vresult = SWIG_From_long((long)(result));
10504 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10506 _wrap_lmrcImageTfunctionInfo_allocate(VALUE self) {
10509 _wrap_lmrcImageTfunctionInfo_allocate(int argc, VALUE *argv, VALUE self) {
10513 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageTfunctionInfo);
10514 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10515 rb_obj_call_init(vresult, argc, argv);
10522 _wrap_new_lmrcImageTfunctionInfo(int argc, VALUE *argv, VALUE self) {
10523 lmrcImageTfunctionInfo *result = 0 ;
10525 if ((argc < 0) || (argc > 0)) {
10526 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10528 result = (lmrcImageTfunctionInfo *)calloc(1, sizeof(lmrcImageTfunctionInfo));
10529 DATA_PTR(self) = result;
10537 free_lmrcImageTfunctionInfo(lmrcImageTfunctionInfo *arg1) {
10538 free((char *) arg1);
10541 swig_class cLmrcImageHighlightInfo;
10544 _wrap_lmrcImageHighlightInfo_mode_set(int argc, VALUE *argv, VALUE self) {
10545 lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10552 if ((argc < 1) || (argc > 1)) {
10553 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10564 arg2 = (long)(val2);
10565 if (arg1) (arg1)->mode = arg2;
10573 _wrap_lmrcImageHighlightInfo_mode_get(int argc, VALUE *argv, VALUE self) {
10574 lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10578 VALUE vresult = Qnil;
10580 if ((argc < 0) || (argc > 0)) {
10581 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10587 arg1 = (lmrcImageHighlightInfo *)(argp1);
10588 result = (long) ((arg1)->mode);
10589 vresult = SWIG_From_long((long)(result));
10597 _wrap_lmrcImageHighlightInfo_Bias_set(int argc, VALUE *argv, VALUE self) {
10598 lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10605 if ((argc < 1) || (argc > 1)) {
10606 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10617 arg2 = (float)(val2);
10618 if (arg1) (arg1)->Bias = arg2;
10626 _wrap_lmrcImageHighlightInfo_Bias_get(int argc, VALUE *argv, VALUE self) {
10627 lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10631 VALUE vresult = Qnil;
10633 if ((argc < 0) || (argc > 0)) {
10634 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10640 arg1 = (lmrcImageHighlightInfo *)(argp1);
10641 result = (float) ((arg1)->Bias);
10642 vresult = SWIG_From_float((float)(result));
10650 _wrap_lmrcImageHighlightInfo_Grad_set(int argc, VALUE *argv, VALUE self) {
10651 lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10658 if ((argc < 1) || (argc > 1)) {
10659 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10670 arg2 = (float)(val2);
10671 if (arg1) (arg1)->Grad = arg2;
10679 _wrap_lmrcImageHighlightInfo_Grad_get(int argc, VALUE *argv, VALUE self) {
10680 lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
10684 VALUE vresult = Qnil;
10686 if ((argc < 0) || (argc > 0)) {
10687 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10693 arg1 = (lmrcImageHighlightInfo *)(argp1);
10694 result = (float) ((arg1)->Grad);
10695 vresult = SWIG_From_float((float)(result));
10702 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10704 _wrap_lmrcImageHighlightInfo_allocate(VALUE self) {
10707 _wrap_lmrcImageHighlightInfo_allocate(int argc, VALUE *argv, VALUE self) {
10711 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageHighlightInfo);
10712 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10713 rb_obj_call_init(vresult, argc, argv);
10720 _wrap_new_lmrcImageHighlightInfo(int argc, VALUE *argv, VALUE self) {
10721 lmrcImageHighlightInfo *result = 0 ;
10723 if ((argc < 0) || (argc > 0)) {
10724 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10726 result = (lmrcImageHighlightInfo *)calloc(1, sizeof(lmrcImageHighlightInfo));
10727 DATA_PTR(self) = result;
10735 free_lmrcImageHighlightInfo(lmrcImageHighlightInfo *arg1) {
10736 free((char *) arg1);
10739 swig_class cLmrcImageLowPassFilterInfo;
10742 _wrap_lmrcImageLowPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
10743 lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10750 if ((argc < 1) || (argc > 1)) {
10751 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10762 arg2 = (long)(val2);
10763 if (arg1) (arg1)->mode = arg2;
10771 _wrap_lmrcImageLowPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
10772 lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10776 VALUE vresult = Qnil;
10778 if ((argc < 0) || (argc > 0)) {
10779 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10785 arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10786 result = (long) ((arg1)->mode);
10787 vresult = SWIG_From_long((long)(result));
10795 _wrap_lmrcImageLowPassFilterInfo_hvp_set(int argc, VALUE *argv, VALUE self) {
10796 lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10803 if ((argc < 1) || (argc > 1)) {
10804 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10815 arg2 = (float)(val2);
10816 if (arg1) (arg1)->hvp = arg2;
10824 _wrap_lmrcImageLowPassFilterInfo_hvp_get(int argc, VALUE *argv, VALUE self) {
10825 lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10829 VALUE vresult = Qnil;
10831 if ((argc < 0) || (argc > 0)) {
10832 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10838 arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10839 result = (float) ((arg1)->hvp);
10840 vresult = SWIG_From_float((float)(result));
10848 _wrap_lmrcImageLowPassFilterInfo_width_set(int argc, VALUE *argv, VALUE self) {
10849 lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10856 if ((argc < 1) || (argc > 1)) {
10857 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10868 arg2 = (float)(val2);
10869 if (arg1) (arg1)->width = arg2;
10877 _wrap_lmrcImageLowPassFilterInfo_width_get(int argc, VALUE *argv, VALUE self) {
10878 lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
10882 VALUE vresult = Qnil;
10884 if ((argc < 0) || (argc > 0)) {
10885 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10891 arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
10892 result = (float) ((arg1)->width);
10893 vresult = SWIG_From_float((float)(result));
10900 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10902 _wrap_lmrcImageLowPassFilterInfo_allocate(VALUE self) {
10905 _wrap_lmrcImageLowPassFilterInfo_allocate(int argc, VALUE *argv, VALUE self) {
10909 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageLowPassFilterInfo);
10910 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10911 rb_obj_call_init(vresult, argc, argv);
10918 _wrap_new_lmrcImageLowPassFilterInfo(int argc, VALUE *argv, VALUE self) {
10919 lmrcImageLowPassFilterInfo *result = 0 ;
10921 if ((argc < 0) || (argc > 0)) {
10922 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10924 result = (lmrcImageLowPassFilterInfo *)calloc(1, sizeof(lmrcImageLowPassFilterInfo));
10925 DATA_PTR(self) = result;
10933 free_lmrcImageLowPassFilterInfo(lmrcImageLowPassFilterInfo *arg1) {
10934 free((char *) arg1);
10937 swig_class cLmrcImageHighPassFilterInfo;
10940 _wrap_lmrcImageHighPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
10941 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
10948 if ((argc < 1) || (argc > 1)) {
10949 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
10960 arg2 = (long)(val2);
10961 if (arg1) (arg1)->mode = arg2;
10969 _wrap_lmrcImageHighPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
10970 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
10974 VALUE vresult = Qnil;
10976 if ((argc < 0) || (argc > 0)) {
10977 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
10983 arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
10984 result = (long) ((arg1)->mode);
10985 vresult = SWIG_From_long((long)(result));
10993 _wrap_lmrcImageHighPassFilterInfo_hvp_set(int argc, VALUE *argv, VALUE self) {
10994 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11001 if ((argc < 1) || (argc > 1)) {
11002 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11013 arg2 = (float)(val2);
11014 if (arg1) (arg1)->hvp = arg2;
11022 _wrap_lmrcImageHighPassFilterInfo_hvp_get(int argc, VALUE *argv, VALUE self) {
11023 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11027 VALUE vresult = Qnil;
11029 if ((argc < 0) || (argc > 0)) {
11030 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11036 arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11037 result = (float) ((arg1)->hvp);
11038 vresult = SWIG_From_float((float)(result));
11046 _wrap_lmrcImageHighPassFilterInfo_width_set(int argc, VALUE *argv, VALUE self) {
11047 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11054 if ((argc < 1) || (argc > 1)) {
11055 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11066 arg2 = (float)(val2);
11067 if (arg1) (arg1)->width = arg2;
11075 _wrap_lmrcImageHighPassFilterInfo_width_get(int argc, VALUE *argv, VALUE self) {
11076 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11080 VALUE vresult = Qnil;
11082 if ((argc < 0) || (argc > 0)) {
11083 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11089 arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11090 result = (float) ((arg1)->width);
11091 vresult = SWIG_From_float((float)(result));
11099 _wrap_lmrcImageHighPassFilterInfo_pathWindowLow_set(int argc, VALUE *argv, VALUE self) {
11100 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11107 if ((argc < 1) || (argc > 1)) {
11108 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11119 arg2 = (float)(val2);
11120 if (arg1) (arg1)->pathWindowLow = arg2;
11128 _wrap_lmrcImageHighPassFilterInfo_pathWindowLow_get(int argc, VALUE *argv, VALUE self) {
11129 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11133 VALUE vresult = Qnil;
11135 if ((argc < 0) || (argc > 0)) {
11136 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11142 arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11143 result = (float) ((arg1)->pathWindowLow);
11144 vresult = SWIG_From_float((float)(result));
11152 _wrap_lmrcImageHighPassFilterInfo_pathWindowHigh_set(int argc, VALUE *argv, VALUE self) {
11153 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11160 if ((argc < 1) || (argc > 1)) {
11161 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11172 arg2 = (float)(val2);
11173 if (arg1) (arg1)->pathWindowHigh = arg2;
11181 _wrap_lmrcImageHighPassFilterInfo_pathWindowHigh_get(int argc, VALUE *argv, VALUE self) {
11182 lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
11186 VALUE vresult = Qnil;
11188 if ((argc < 0) || (argc > 0)) {
11189 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11195 arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
11196 result = (float) ((arg1)->pathWindowHigh);
11197 vresult = SWIG_From_float((float)(result));
11204 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
11206 _wrap_lmrcImageHighPassFilterInfo_allocate(VALUE self) {
11209 _wrap_lmrcImageHighPassFilterInfo_allocate(int argc, VALUE *argv, VALUE self) {
11213 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageHighPassFilterInfo);
11214 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
11215 rb_obj_call_init(vresult, argc, argv);
11222 _wrap_new_lmrcImageHighPassFilterInfo(int argc, VALUE *argv, VALUE self) {
11223 lmrcImageHighPassFilterInfo *result = 0 ;
11225 if ((argc < 0) || (argc > 0)) {
11226 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11228 result = (lmrcImageHighPassFilterInfo *)calloc(1, sizeof(lmrcImageHighPassFilterInfo));
11229 DATA_PTR(self) = result;
11237 free_lmrcImageHighPassFilterInfo(lmrcImageHighPassFilterInfo *arg1) {
11238 free((char *) arg1);
11241 swig_class cLmrcImageBandPassFilterInfo;
11244 _wrap_lmrcImageBandPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
11245 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11252 if ((argc < 1) || (argc > 1)) {
11253 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11264 arg2 = (long)(val2);
11265 if (arg1) (arg1)->mode = arg2;
11273 _wrap_lmrcImageBandPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
11274 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11278 VALUE vresult = Qnil;
11280 if ((argc < 0) || (argc > 0)) {
11281 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11287 arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11288 result = (long) ((arg1)->mode);
11289 vresult = SWIG_From_long((long)(result));
11297 _wrap_lmrcImageBandPassFilterInfo_hvl_set(int argc, VALUE *argv, VALUE self) {
11298 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11305 if ((argc < 1) || (argc > 1)) {
11306 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11317 arg2 = (float)(val2);
11318 if (arg1) (arg1)->hvl = arg2;
11326 _wrap_lmrcImageBandPassFilterInfo_hvl_get(int argc, VALUE *argv, VALUE self) {
11327 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11331 VALUE vresult = Qnil;
11333 if ((argc < 0) || (argc > 0)) {
11334 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11340 arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11341 result = (float) ((arg1)->hvl);
11342 vresult = SWIG_From_float((float)(result));
11350 _wrap_lmrcImageBandPassFilterInfo_hvh_set(int argc, VALUE *argv, VALUE self) {
11351 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11358 if ((argc < 1) || (argc > 1)) {
11359 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11370 arg2 = (float)(val2);
11371 if (arg1) (arg1)->hvh = arg2;
11379 _wrap_lmrcImageBandPassFilterInfo_hvh_get(int argc, VALUE *argv, VALUE self) {
11380 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11384 VALUE vresult = Qnil;
11386 if ((argc < 0) || (argc > 0)) {
11387 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11393 arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11394 result = (float) ((arg1)->hvh);
11395 vresult = SWIG_From_float((float)(result));
11403 _wrap_lmrcImageBandPassFilterInfo_wl_set(int argc, VALUE *argv, VALUE self) {
11404 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11411 if ((argc < 1) || (argc > 1)) {
11412 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11423 arg2 = (float)(val2);
11424 if (arg1) (arg1)->wl = arg2;
11432 _wrap_lmrcImageBandPassFilterInfo_wl_get(int argc, VALUE *argv, VALUE self) {
11433 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11437 VALUE vresult = Qnil;
11439 if ((argc < 0) || (argc > 0)) {
11440 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11446 arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11447 result = (float) ((arg1)->wl);
11448 vresult = SWIG_From_float((float)(result));
11456 _wrap_lmrcImageBandPassFilterInfo_wh_set(int argc, VALUE *argv, VALUE self) {
11457 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11464 if ((argc < 1) || (argc > 1)) {
11465 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11476 arg2 = (float)(val2);
11477 if (arg1) (arg1)->wh = arg2;
11485 _wrap_lmrcImageBandPassFilterInfo_wh_get(int argc, VALUE *argv, VALUE self) {
11486 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11490 VALUE vresult = Qnil;
11492 if ((argc < 0) || (argc > 0)) {
11493 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11499 arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11500 result = (float) ((arg1)->wh);
11501 vresult = SWIG_From_float((float)(result));
11509 _wrap_lmrcImageBandPassFilterInfo_flagLowWeight_set(int argc, VALUE *argv, VALUE self) {
11510 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11517 if ((argc < 1) || (argc > 1)) {
11518 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11529 arg2 = (int)(val2);
11530 if (arg1) (arg1)->flagLowWeight = arg2;
11538 _wrap_lmrcImageBandPassFilterInfo_flagLowWeight_get(int argc, VALUE *argv, VALUE self) {
11539 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11543 VALUE vresult = Qnil;
11545 if ((argc < 0) || (argc > 0)) {
11546 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11552 arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11553 result = (int) ((arg1)->flagLowWeight);
11554 vresult = SWIG_From_int((int)(result));
11562 _wrap_lmrcImageBandPassFilterInfo_lowWeight_set(int argc, VALUE *argv, VALUE self) {
11563 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11570 if ((argc < 1) || (argc > 1)) {
11571 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
11582 arg2 = (double)(val2);
11583 if (arg1) (arg1)->lowWeight = arg2;
11591 _wrap_lmrcImageBandPassFilterInfo_lowWeight_get(int argc, VALUE *argv, VALUE self) {
11592 lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
11596 VALUE vresult = Qnil;
11598 if ((argc < 0) || (argc > 0)) {
11599 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
11605 arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
11606 result = (double) ((arg1)->lowWeight);
11607 vresult = SWIG_From_double((double)(result));
11614 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
11616 _wrap_lmrcImageBandPassFilterInfo_allocate(VALUE self) {
11619 _wrap_lmrcImageBandPassFilterInfo_allocate(int argc, VALUE *argv, VALUE self) {
11623 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageBandPassFilterInfo);
11624 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
11625 rb_obj_call_init(vresult, argc, argv);
11632 _wrap_new_lmrcImageBandPassFilterInfo(int argc, VALUE *argv, VALUE self) {
11633 lmrcImageBandPassFilterInfo *result = 0 ;
11635 if ((argc < 0) || (argc > 0)) {
11636 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11638 result = (lmrcImageBandPassFilterInfo *)calloc(1, sizeof(lmrcImageBandPassFilterInfo));
11639 DATA_PTR(self) = result;
11647 free_lmrcImageBandPassFilterInfo(lmrcImageBandPassFilterInfo *arg1) {
11648 free((char *) arg1);
11652 _wrap_mrcInit(int argc, VALUE *argv, VALUE self) {
11653 mrcImage *arg1 = (mrcImage *) 0 ;
11654 char *arg2 = (char *) 0 ;
11660 mrcStatusType result;
11661 VALUE vresult = Qnil;
11663 if ((argc < 2) || (argc > 2)) {
11664 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
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);
11681 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11687 _wrap_mrcDefaultHeaderValueSet(int argc, VALUE *argv, VALUE self) {
11688 mrcImage *arg1 = (mrcImage *) 0 ;
11691 mrcStatusType result;
11692 VALUE vresult = Qnil;
11694 if ((argc < 1) || (argc > 1)) {
11695 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
11701 arg1 = (mrcImage *)(argp1);
11702 result = (mrcStatusType)mrcDefaultHeaderValueSet(arg1);
11703 vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11711 _wrap_mrcDefaultHeaderValueSetOnlyFixedValue(int argc, VALUE *argv, VALUE self) {
11712 mrcImage *arg1 = (mrcImage *) 0 ;
11715 mrcStatusType result;
11716 VALUE vresult = Qnil;
11718 if ((argc < 1) || (argc > 1)) {
11719 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
11725 arg1 = (mrcImage *)(argp1);
11726 result = (mrcStatusType)mrcDefaultHeaderValueSetOnlyFixedValue(arg1);
11727 vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11735 _wrap_mrcHiddenDataSet(int argc, VALUE *argv, VALUE self) {
11736 mrcImage *arg1 = (mrcImage *) 0 ;
11742 mrcStatusType result;
11743 VALUE vresult = Qnil;
11745 if ((argc < 2) || (argc > 2)) {
11746 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
11757 arg2 = (long)(val2);
11758 result = (mrcStatusType)mrcHiddenDataSet(arg1,arg2);
11759 vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
11767 _wrap_mrcImageFree(int argc, VALUE *argv, VALUE self) {
11768 mrcImage *arg1 = (mrcImage *) 0 ;
11769 char *arg2 = (char *) 0 ;
11776 if ((argc < 2) || (argc > 2)) {
11777 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
11788 arg2 = (char *)(buf2);
11789 mrcImageFree(arg1,arg2);
11790 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11793 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11799 _wrap_mrcTailerInit(int argc, VALUE *argv, VALUE self) {
11800 mrcImage *arg1 = (mrcImage *) 0 ;
11807 if ((argc < 2) || (argc > 2)) {
11808 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
11819 arg2 = (long)(val2);
11820 mrcTailerInit(arg1,arg2);
11828 _wrap_mrcTailerCopy(int argc, VALUE *argv, VALUE self) {
11829 mrcImage *arg1 = (mrcImage *) 0 ;
11830 mrcImage *arg2 = (mrcImage *) 0 ;
11839 if ((argc < 3) || (argc > 3)) {
11840 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
11856 arg3 = (long)(val3);
11857 mrcTailerCopy(arg1,arg2,arg3);
11865 _wrap_mrcFileRead(int argc, VALUE *argv, VALUE self) {
11866 mrcImage *arg1 = (mrcImage *) 0 ;
11867 char *arg2 = (char *) 0 ;
11868 char *arg3 = (char *) 0 ;
11880 mrcStatusType result;
11881 VALUE vresult = Qnil;
11883 if ((argc < 4) || (argc > 4)) {
11884 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
11912 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11913 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11919 _wrap_mrcImageRead(int argc, VALUE *argv, VALUE self) {
11920 mrcImage *arg1 = (mrcImage *) 0 ;
11921 char *arg2 = (char *) 0 ;
11922 char *arg3 = (char *) 0 ;
11934 mrcStatusType result;
11935 VALUE vresult = Qnil;
11937 if ((argc < 4) || (argc > 4)) {
11938 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
11966 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11967 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11973 _wrap_mrcHeaderRead(int argc, VALUE *argv, VALUE self) {
11974 mrcImage *arg1 = (mrcImage *) 0 ;
11975 char *arg2 = (char *) 0 ;
11976 char *arg3 = (char *) 0 ;
11988 mrcStatusType result;
11989 VALUE vresult = Qnil;
11991 if ((argc < 4) || (argc > 4)) {
11992 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
12020 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12021 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12027 _wrap_mrcTailerRead(int argc, VALUE *argv, VALUE self) {
12028 mrcImage *arg1 = (mrcImage *) 0 ;
12029 char *arg2 = (char *) 0 ;
12030 char *arg3 = (char *) 0 ;
12042 mrcStatusType result;
12043 VALUE vresult = Qnil;
12045 if ((argc < 4) || (argc > 4)) {
12046 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
12074 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12075 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12081 _wrap_mrcFileWrite(int argc, VALUE *argv, VALUE self) {
12082 mrcImage *arg1 = (mrcImage *) 0 ;
12083 char *arg2 = (char *) 0 ;
12084 char *arg3 = (char *) 0 ;
12096 mrcStatusType result;
12097 VALUE vresult = Qnil;
12099 if ((argc < 4) || (argc > 4)) {
12100 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
12128 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12129 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12135 _wrap_mrcImageWrite(int argc, VALUE *argv, VALUE self) {
12136 mrcImage *arg1 = (mrcImage *) 0 ;
12137 char *arg2 = (char *) 0 ;
12138 char *arg3 = (char *) 0 ;
12150 mrcStatusType result;
12151 VALUE vresult = Qnil;
12153 if ((argc < 4) || (argc > 4)) {
12154 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
12182 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12183 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12189 _wrap_mrcHeaderWrite(int argc, VALUE *argv, VALUE self) {
12190 mrcImage *arg1 = (mrcImage *) 0 ;
12191 char *arg2 = (char *) 0 ;
12192 char *arg3 = (char *) 0 ;
12204 mrcStatusType result;
12205 VALUE vresult = Qnil;
12207 if ((argc < 4) || (argc > 4)) {
12208 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
12236 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12237 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12243 _wrap_mrcTailerWrite(int argc, VALUE *argv, VALUE self) {
12244 mrcImage *arg1 = (mrcImage *) 0 ;
12245 char *arg2 = (char *) 0 ;
12246 char *arg3 = (char *) 0 ;
12258 mrcStatusType result;
12259 VALUE vresult = Qnil;
12261 if ((argc < 4) || (argc > 4)) {
12262 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
12290 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12291 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
12297 _wrap_mrcFileWriteLowerResolution(int argc, VALUE *argv, VALUE self) {
12298 mrcImage *arg1 = (mrcImage *) 0 ;
12299 char *arg2 = (char *) 0 ;
12300 char *arg3 = (char *) 0 ;
12315 mrcStatusType result;
12316 VALUE vresult = Qnil;
12318 if ((argc < 5) || (argc > 5)) {
12319 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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);
12352 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12353 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
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 ;
12382 VALUE vresult = Qnil;
12384 if ((argc < 7) || (argc > 7)) {
12385 rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
12421 arg7 = (mrcPixelDataHowToGet)(val7);
12422 result = (double)mrcImageDataGetbyAU(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
12423 vresult = SWIG_From_double((double)(result));
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 ;
12454 VALUE vresult = Qnil;
12456 if ((argc < 7) || (argc > 7)) {
12457 rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
12493 arg7 = (mrcPixelDataHowToGet)(val7);
12494 result = (double)mrcPixelDataGet(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
12495 vresult = SWIG_From_double((double)(result));
12503 _wrap_mrcPixelDataGetFloatImage(int argc, VALUE *argv, VALUE self) {
12504 mrcImage *arg1 = (mrcImage *) 0 ;
12505 mrcImageParaTypeInteger arg2 ;
12506 mrcImageParaTypeInteger arg3 ;
12507 mrcImageParaTypeInteger arg4 ;
12517 VALUE vresult = Qnil;
12519 if ((argc < 4) || (argc > 4)) {
12520 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
12541 arg4 = (mrcImageParaTypeInteger)(val4);
12542 result = (double)mrcPixelDataGetFloatImage(arg1,arg2,arg3,arg4);
12543 vresult = SWIG_From_double((double)(result));
12551 _wrap_mrcPixelDataGetFloatFTRe(int argc, VALUE *argv, VALUE self) {
12552 mrcImage *arg1 = (mrcImage *) 0 ;
12553 mrcImageParaTypeInteger arg2 ;
12554 mrcImageParaTypeInteger arg3 ;
12555 mrcImageParaTypeInteger arg4 ;
12565 VALUE vresult = Qnil;
12567 if ((argc < 4) || (argc > 4)) {
12568 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
12589 arg4 = (mrcImageParaTypeInteger)(val4);
12590 result = (double)mrcPixelDataGetFloatFTRe(arg1,arg2,arg3,arg4);
12591 vresult = SWIG_From_double((double)(result));
12599 _wrap_mrcPixelDataGetFloatFTIm(int argc, VALUE *argv, VALUE self) {
12600 mrcImage *arg1 = (mrcImage *) 0 ;
12601 mrcImageParaTypeInteger arg2 ;
12602 mrcImageParaTypeInteger arg3 ;
12603 mrcImageParaTypeInteger arg4 ;
12613 VALUE vresult = Qnil;
12615 if ((argc < 4) || (argc > 4)) {
12616 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
12637 arg4 = (mrcImageParaTypeInteger)(val4);
12638 result = (double)mrcPixelDataGetFloatFTIm(arg1,arg2,arg3,arg4);
12639 vresult = SWIG_From_double((double)(result));
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 ;
12661 if ((argc < 4) || (argc > 4)) {
12662 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
12683 arg4 = (mrcImageParaTypeInteger)(val4);
12684 mrcInfoSet(arg1,arg2,arg3,arg4);
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 ;
12699 mrcImageDataSetMode arg7 ;
12715 if ((argc < 7) || (argc > 7)) {
12716 rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
12752 arg7 = (mrcImageDataSetMode)(val7);
12753 mrcImageDataSet(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
12761 _wrap_mrcImageDataSetbyAU(int argc, VALUE *argv, VALUE self) {
12762 mrcImage *arg1 = (mrcImage *) 0 ;
12763 mrcImageParaTypeReal arg2 ;
12764 mrcImageParaTypeReal arg3 ;
12765 mrcImageParaTypeReal arg4 ;
12767 mrcPixelDataType arg6 ;
12781 VALUE vresult = Qnil;
12783 if ((argc < 6) || (argc > 6)) {
12784 rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
12815 arg6 = (mrcPixelDataType)(val6);
12816 result = (double)mrcImageDataSetbyAU(arg1,arg2,arg3,arg4,arg5,arg6);
12817 vresult = SWIG_From_double((double)(result));
12825 _wrap_mrcPixelDataSet(int argc, VALUE *argv, VALUE self) {
12826 mrcImage *arg1 = (mrcImage *) 0 ;
12827 mrcImageParaTypeReal arg2 ;
12828 mrcImageParaTypeReal arg3 ;
12829 mrcImageParaTypeReal arg4 ;
12831 mrcPixelDataType arg6 ;
12845 VALUE vresult = Qnil;
12847 if ((argc < 6) || (argc > 6)) {
12848 rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
12879 arg6 = (mrcPixelDataType)(val6);
12880 result = (double)mrcPixelDataSet(arg1,arg2,arg3,arg4,arg5,arg6);
12881 vresult = SWIG_From_double((double)(result));
12889 _wrap_mrcPixelDataSetFloatImage(int argc, VALUE *argv, VALUE self) {
12890 mrcImage *arg1 = (mrcImage *) 0 ;
12891 mrcImageParaTypeInteger arg2 ;
12892 mrcImageParaTypeInteger arg3 ;
12893 mrcImageParaTypeInteger arg4 ;
12906 if ((argc < 5) || (argc > 5)) {
12907 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
12933 arg5 = (double)(val5);
12934 mrcPixelDataSetFloatImage(arg1,arg2,arg3,arg4,arg5);
12942 _wrap_mrcPixelDataSetFloatFTRe(int argc, VALUE *argv, VALUE self) {
12943 mrcImage *arg1 = (mrcImage *) 0 ;
12944 mrcImageParaTypeInteger arg2 ;
12945 mrcImageParaTypeInteger arg3 ;
12946 mrcImageParaTypeInteger arg4 ;
12959 if ((argc < 5) || (argc > 5)) {
12960 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
12986 arg5 = (double)(val5);
12987 mrcPixelDataSetFloatFTRe(arg1,arg2,arg3,arg4,arg5);
12995 _wrap_mrcPixelDataSetFloatFTIm(int argc, VALUE *argv, VALUE self) {
12996 mrcImage *arg1 = (mrcImage *) 0 ;
12997 mrcImageParaTypeInteger arg2 ;
12998 mrcImageParaTypeInteger arg3 ;
12999 mrcImageParaTypeInteger arg4 ;
13012 if ((argc < 5) || (argc > 5)) {
13013 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
13039 arg5 = (double)(val5);
13040 mrcPixelDataSetFloatFTIm(arg1,arg2,arg3,arg4,arg5);
13048 _wrap_mrcStatDataSet(int argc, VALUE *argv, VALUE self) {
13049 mrcImage *arg1 = (mrcImage *) 0 ;
13050 mrcImageParaTypeInteger arg2 ;
13056 if ((argc < 2) || (argc > 2)) {
13057 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
13068 arg2 = (mrcImageParaTypeInteger)(val2);
13069 mrcStatDataSet(arg1,arg2);
13077 _wrap_lmrcImageXSection(int argc, VALUE *argv, VALUE self) {
13078 mrcImage *arg1 = (mrcImage *) 0 ;
13079 mrcImage *arg2 = (mrcImage *) 0 ;
13088 if ((argc < 3) || (argc > 3)) {
13089 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
13105 arg3 = (double)(val3);
13106 lmrcImageXSection(arg1,arg2,arg3);
13114 _wrap_lmrcImageYSection(int argc, VALUE *argv, VALUE self) {
13115 mrcImage *arg1 = (mrcImage *) 0 ;
13116 mrcImage *arg2 = (mrcImage *) 0 ;
13125 if ((argc < 3) || (argc > 3)) {
13126 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
13142 arg3 = (double)(val3);
13143 lmrcImageYSection(arg1,arg2,arg3);
13151 _wrap_lmrcImageXProjection(int argc, VALUE *argv, VALUE self) {
13152 mrcImage *arg1 = (mrcImage *) 0 ;
13153 mrcImage *arg2 = (mrcImage *) 0 ;
13159 if ((argc < 2) || (argc > 2)) {
13160 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
13171 arg2 = (mrcImage *)(argp2);
13172 lmrcImageXProjection(arg1,arg2);
13180 _wrap_lmrcImageYProjection(int argc, VALUE *argv, VALUE self) {
13181 mrcImage *arg1 = (mrcImage *) 0 ;
13182 mrcImage *arg2 = (mrcImage *) 0 ;
13188 if ((argc < 2) || (argc > 2)) {
13189 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
13200 arg2 = (mrcImage *)(argp2);
13201 lmrcImageYProjection(arg1,arg2);
13209 _wrap_lmrcImageZProjection(int argc, VALUE *argv, VALUE self) {
13210 mrcImage *arg1 = (mrcImage *) 0 ;
13211 mrcImage *arg2 = (mrcImage *) 0 ;
13217 if ((argc < 2) || (argc > 2)) {
13218 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
13229 arg2 = (mrcImage *)(argp2);
13230 lmrcImageZProjection(arg1,arg2);
13238 _wrap_lmrcImageXYProjection(int argc, VALUE *argv, VALUE self) {
13239 mrcImage *arg1 = (mrcImage *) 0 ;
13240 mrcImage *arg2 = (mrcImage *) 0 ;
13246 if ((argc < 2) || (argc > 2)) {
13247 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
13258 arg2 = (mrcImage *)(argp2);
13259 lmrcImageXYProjection(arg1,arg2);
13267 _wrap_lmrcImageYZProjection(int argc, VALUE *argv, VALUE self) {
13268 mrcImage *arg1 = (mrcImage *) 0 ;
13269 mrcImage *arg2 = (mrcImage *) 0 ;
13275 if ((argc < 2) || (argc > 2)) {
13276 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
13287 arg2 = (mrcImage *)(argp2);
13288 lmrcImageYZProjection(arg1,arg2);
13296 _wrap_lmrcImageZXProjection(int argc, VALUE *argv, VALUE self) {
13297 mrcImage *arg1 = (mrcImage *) 0 ;
13298 mrcImage *arg2 = (mrcImage *) 0 ;
13304 if ((argc < 2) || (argc > 2)) {
13305 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
13316 arg2 = (mrcImage *)(argp2);
13317 lmrcImageZXProjection(arg1,arg2);
13325 _wrap_lmrcImageHistgram(int argc, VALUE *argv, VALUE self) {
13326 double **arg1 = (double **) 0 ;
13327 unsigned long arg2 ;
13328 mrcImage *arg3 = (mrcImage *) 0 ;
13331 unsigned long val2 ;
13336 if ((argc < 3) || (argc > 3)) {
13337 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
13353 arg3 = (mrcImage *)(argp3);
13354 lmrcImageHistgram(arg1,arg2,arg3);
13362 _wrap_lmrcImageHistgram2(int argc, VALUE *argv, VALUE self) {
13363 double **arg1 = (double **) 0 ;
13365 mrcImage *arg3 = (mrcImage *) 0 ;
13373 if ((argc < 3) || (argc > 3)) {
13374 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
13390 arg3 = (mrcImage *)(argp3);
13391 lmrcImageHistgram2(arg1,arg2,arg3);
13399 _wrap_lmrcImageHistgram5(int argc, VALUE *argv, VALUE self) {
13400 double **arg1 = (double **) 0 ;
13401 unsigned long arg2 ;
13404 mrcImage *arg5 = (mrcImage *) 0 ;
13407 unsigned long val2 ;
13416 if ((argc < 5) || (argc > 5)) {
13417 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
13443 arg5 = (mrcImage *)(argp5);
13444 lmrcImageHistgram5(arg1,arg2,arg3,arg4,arg5);
13452 _wrap_lmrcImageHistgram3(int argc, VALUE *argv, VALUE self) {
13453 double **arg1 = (double **) 0 ;
13454 unsigned long arg2 ;
13455 mrcImage *arg3 = (mrcImage *) 0 ;
13458 unsigned long val2 ;
13463 if ((argc < 3) || (argc > 3)) {
13464 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
13480 arg3 = (mrcImage *)(argp3);
13481 lmrcImageHistgram3(arg1,arg2,arg3);
13489 _wrap_lmrcImageHistgram4(int argc, VALUE *argv, VALUE self) {
13490 double **arg1 = (double **) 0 ;
13492 mrcImage *arg3 = (mrcImage *) 0 ;
13500 if ((argc < 3) || (argc > 3)) {
13501 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
13517 arg3 = (mrcImage *)(argp3);
13518 lmrcImageHistgram4(arg1,arg2,arg3);
13526 _wrap_lmrcImageHistgram6(int argc, VALUE *argv, VALUE self) {
13527 double **arg1 = (double **) 0 ;
13528 unsigned long arg2 ;
13531 mrcImage *arg5 = (mrcImage *) 0 ;
13534 unsigned long val2 ;
13543 if ((argc < 5) || (argc > 5)) {
13544 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
13570 arg5 = (mrcImage *)(argp5);
13571 lmrcImageHistgram6(arg1,arg2,arg3,arg4,arg5);
13579 _wrap_lmrcImageInformation(int argc, VALUE *argv, VALUE self) {
13580 mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
13581 mrcImage *arg2 = (mrcImage *) 0 ;
13587 if ((argc < 2) || (argc > 2)) {
13588 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
13599 arg2 = (mrcImage *)(argp2);
13600 lmrcImageInformation(arg1,arg2);
13608 _wrap_lmrcImageCopy(int argc, VALUE *argv, VALUE self) {
13609 mrcImage *arg1 = (mrcImage *) 0 ;
13610 mrcImage *arg2 = (mrcImage *) 0 ;
13611 mrcImageParaTypeRealCoord arg3 ;
13619 if ((argc < 3) || (argc > 3)) {
13620 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
13631 arg2 = (mrcImage *)(argp2);
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] ));
13638 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "mrcImageParaTypeRealCoord","lmrcImageCopy", 3, argv[2]));
13640 arg3 = *((mrcImageParaTypeRealCoord *)(argp3));
13643 lmrcImageCopy(arg1,arg2,arg3);
13651 _wrap_IsFloatImage(int argc, VALUE *argv, VALUE self) {
13652 mrcImage *arg1 = (mrcImage *) 0 ;
13653 char *arg2 = (char *) 0 ;
13654 mrcImageParaTypeInteger arg3 ;
13663 VALUE vresult = Qnil;
13665 if ((argc < 3) || (argc > 3)) {
13666 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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);
13688 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13694 _wrap_IsFloatFT(int argc, VALUE *argv, VALUE self) {
13695 mrcImage *arg1 = (mrcImage *) 0 ;
13696 char *arg2 = (char *) 0 ;
13697 mrcImageParaTypeInteger arg3 ;
13706 VALUE vresult = Qnil;
13708 if ((argc < 3) || (argc > 3)) {
13709 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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);
13731 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13737 _wrap_IsImage(int argc, VALUE *argv, VALUE self) {
13738 mrcImage *arg1 = (mrcImage *) 0 ;
13739 char *arg2 = (char *) 0 ;
13740 mrcImageParaTypeInteger arg3 ;
13749 VALUE vresult = Qnil;
13751 if ((argc < 3) || (argc > 3)) {
13752 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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);
13774 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13780 _wrap_IsFT(int argc, VALUE *argv, VALUE self) {
13781 mrcImage *arg1 = (mrcImage *) 0 ;
13782 char *arg2 = (char *) 0 ;
13783 mrcImageParaTypeInteger arg3 ;
13792 VALUE vresult = Qnil;
13794 if ((argc < 3) || (argc > 3)) {
13795 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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);
13817 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13823 _wrap_IsFFT(int argc, VALUE *argv, VALUE self) {
13824 mrcImage *arg1 = (mrcImage *) 0 ;
13825 char *arg2 = (char *) 0 ;
13826 mrcImageParaTypeInteger arg3 ;
13835 VALUE vresult = Qnil;
13837 if ((argc < 3) || (argc > 3)) {
13838 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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);
13860 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13866 _wrap_mrcImageInfoSet(int argc, VALUE *argv, VALUE self) {
13867 mrcImage *arg1 = (mrcImage *) 0 ;
13868 FILE *arg2 = (FILE *) 0 ;
13869 FILE *arg3 = (FILE *) 0 ;
13880 if ((argc < 4) || (argc > 4)) {
13881 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
13902 arg4 = (long)(val4);
13903 mrcImageInfoSet(arg1,arg2,arg3,arg4);
13911 _wrap_lmrcImageDevidedByImage(int argc, VALUE *argv, VALUE self) {
13912 mrcImage *arg1 = (mrcImage *) 0 ;
13913 mrcImage *arg2 = (mrcImage *) 0 ;
13914 mrcImage *arg3 = (mrcImage *) 0 ;
13922 if ((argc < 3) || (argc > 3)) {
13923 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
13939 arg3 = (mrcImage *)(argp3);
13940 lmrcImageDevidedByImage(arg1,arg2,arg3);
13948 _wrap_lmrcImagetMapForZero(int argc, VALUE *argv, VALUE self) {
13949 mrcImage *arg1 = (mrcImage *) 0 ;
13950 mrcImage *arg2 = (mrcImage *) 0 ;
13951 mrcImage *arg3 = (mrcImage *) 0 ;
13959 if ((argc < 3) || (argc > 3)) {
13960 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
13976 arg3 = (mrcImage *)(argp3);
13977 lmrcImagetMapForZero(arg1,arg2,arg3);
13985 _wrap_lmrcImageSN(int argc, VALUE *argv, VALUE self) {
13986 mrcImage *arg1 = (mrcImage *) 0 ;
13987 mrcImage *arg2 = (mrcImage *) 0 ;
13988 mrcImage *arg3 = (mrcImage *) 0 ;
13996 if ((argc < 3) || (argc > 3)) {
13997 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
14013 arg3 = (mrcImage *)(argp3);
14014 lmrcImageSN(arg1,arg2,arg3);
14022 _wrap_lmrcImageDevidedByReal(int argc, VALUE *argv, VALUE self) {
14023 mrcImage *arg1 = (mrcImage *) 0 ;
14030 if ((argc < 2) || (argc > 2)) {
14031 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
14042 arg2 = (double)(val2);
14043 lmrcImageDevidedByReal(arg1,arg2);
14051 _wrap_lmrcImageDevidedByRealForOnlyPositive(int argc, VALUE *argv, VALUE self) {
14052 mrcImage *arg1 = (mrcImage *) 0 ;
14059 if ((argc < 2) || (argc > 2)) {
14060 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
14071 arg2 = (double)(val2);
14072 lmrcImageDevidedByRealForOnlyPositive(arg1,arg2);
14080 _wrap_lmrcImageAddedByReal(int argc, VALUE *argv, VALUE self) {
14081 mrcImage *arg1 = (mrcImage *) 0 ;
14088 if ((argc < 2) || (argc > 2)) {
14089 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
14100 arg2 = (double)(val2);
14101 lmrcImageAddedByReal(arg1,arg2);
14109 _wrap_lmrcImageStdDev(int argc, VALUE *argv, VALUE self) {
14110 mrcImage *arg1 = (mrcImage *) 0 ;
14111 mrcImage *arg2 = (mrcImage *) 0 ;
14112 mrcImage *arg3 = (mrcImage *) 0 ;
14123 if ((argc < 4) || (argc > 4)) {
14124 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
14145 arg4 = (long)(val4);
14146 lmrcImageStdDev(arg1,arg2,arg3,arg4);
14154 _wrap_lmrcImageStdErr(int argc, VALUE *argv, VALUE self) {
14155 mrcImage *arg1 = (mrcImage *) 0 ;
14156 mrcImage *arg2 = (mrcImage *) 0 ;
14157 mrcImage *arg3 = (mrcImage *) 0 ;
14168 if ((argc < 4) || (argc > 4)) {
14169 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
14190 arg4 = (long)(val4);
14191 lmrcImageStdErr(arg1,arg2,arg3,arg4);
14199 _wrap_lmrcImageAdd(int argc, VALUE *argv, VALUE self) {
14200 mrcImage *arg1 = (mrcImage *) 0 ;
14201 mrcImage *arg2 = (mrcImage *) 0 ;
14202 long *arg3 = (long *) 0 ;
14210 if ((argc < 3) || (argc > 3)) {
14211 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
14227 arg3 = (long *)(argp3);
14228 lmrcImageAdd(arg1,arg2,arg3);
14236 _wrap_lmrcSQRImageAdd(int argc, VALUE *argv, VALUE self) {
14237 mrcImage *arg1 = (mrcImage *) 0 ;
14238 mrcImage *arg2 = (mrcImage *) 0 ;
14239 long *arg3 = (long *) 0 ;
14247 if ((argc < 3) || (argc > 3)) {
14248 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
14264 arg3 = (long *)(argp3);
14265 lmrcSQRImageAdd(arg1,arg2,arg3);
14273 _wrap_lmrcImageSquare(int argc, VALUE *argv, VALUE self) {
14274 mrcImage *arg1 = (mrcImage *) 0 ;
14278 if ((argc < 1) || (argc > 1)) {
14279 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14285 arg1 = (mrcImage *)(argp1);
14286 lmrcImageSquare(arg1);
14294 _wrap_lmrcImageRoot(int argc, VALUE *argv, VALUE self) {
14295 mrcImage *arg1 = (mrcImage *) 0 ;
14302 if ((argc < 2) || (argc > 2)) {
14303 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
14314 arg2 = (double)(val2);
14315 lmrcImageRoot(arg1,arg2);
14323 _wrap_lmrcImageAbs(int argc, VALUE *argv, VALUE self) {
14324 mrcImage *arg1 = (mrcImage *) 0 ;
14325 mrcImage *arg2 = (mrcImage *) 0 ;
14331 if ((argc < 2) || (argc > 2)) {
14332 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
14343 arg2 = (mrcImage *)(argp2);
14344 lmrcImageAbs(arg1,arg2);
14352 _wrap_lmrcImageToIntImage(int argc, VALUE *argv, VALUE self) {
14353 mrcImage *arg1 = (mrcImage *) 0 ;
14354 mrcImage *arg2 = (mrcImage *) 0 ;
14355 mrcImageParaTypeInteger arg3 ;
14363 if ((argc < 3) || (argc > 3)) {
14364 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
14380 arg3 = (mrcImageParaTypeInteger)(val3);
14381 lmrcImageToIntImage(arg1,arg2,arg3);
14389 _wrap_lfft2d(int argc, VALUE *argv, VALUE self) {
14390 mrcImage *arg1 = (mrcImage *) 0 ;
14391 mrcImage *arg2 = (mrcImage *) 0 ;
14397 if ((argc < 2) || (argc > 2)) {
14398 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
14409 arg2 = (mrcImage *)(argp2);
14418 _wrap_lmrcImageFFT(int argc, VALUE *argv, VALUE self) {
14419 mrcImage *arg1 = (mrcImage *) 0 ;
14420 mrcImage *arg2 = (mrcImage *) 0 ;
14429 if ((argc < 3) || (argc > 3)) {
14430 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
14446 arg3 = (long)(val3);
14447 lmrcImageFFT(arg1,arg2,arg3);
14455 _wrap_lmrcImageFFTFirstDimensionOnly(int argc, VALUE *argv, VALUE self) {
14456 mrcImage *arg1 = (mrcImage *) 0 ;
14457 mrcImage *arg2 = (mrcImage *) 0 ;
14466 if ((argc < 3) || (argc > 3)) {
14467 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
14483 arg3 = (long)(val3);
14484 lmrcImageFFTFirstDimensionOnly(arg1,arg2,arg3);
14492 _wrap_lmrcFFTFGconj(int argc, VALUE *argv, VALUE self) {
14493 mrcImage *arg1 = (mrcImage *) 0 ;
14494 mrcImage *arg2 = (mrcImage *) 0 ;
14495 mrcImage *arg3 = (mrcImage *) 0 ;
14503 if ((argc < 3) || (argc > 3)) {
14504 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
14520 arg3 = (mrcImage *)(argp3);
14521 lmrcFFTFGconj(arg1,arg2,arg3);
14529 _wrap_lmrcFFTFxG(int argc, VALUE *argv, VALUE self) {
14530 mrcImage *arg1 = (mrcImage *) 0 ;
14531 mrcImage *arg2 = (mrcImage *) 0 ;
14532 mrcImage *arg3 = (mrcImage *) 0 ;
14540 if ((argc < 3) || (argc > 3)) {
14541 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
14557 arg3 = (mrcImage *)(argp3);
14558 lmrcFFTFxG(arg1,arg2,arg3);
14566 _wrap_lmrcImageCorrelation(int argc, VALUE *argv, VALUE self) {
14567 mrcImage *arg1 = (mrcImage *) 0 ;
14568 mrcImage *arg2 = (mrcImage *) 0 ;
14569 mrcImage *arg3 = (mrcImage *) 0 ;
14580 if ((argc < 4) || (argc > 4)) {
14581 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
14602 arg4 = (long)(val4);
14603 lmrcImageCorrelation(arg1,arg2,arg3,arg4);
14611 _wrap_lmrcImageCorrelationModePrint(int argc, VALUE *argv, VALUE self) {
14612 FILE *arg1 = (FILE *) 0 ;
14616 if ((argc < 1) || (argc > 1)) {
14617 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14623 arg1 = (FILE *)(argp1);
14624 lmrcImageCorrelationModePrint(arg1);
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 ;
14652 if ((argc < 6) || (argc > 6)) {
14653 rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
14684 arg6 = (long)(val6);
14685 lmrcImageCorrelationWithCTFCompensation(arg1,arg2,arg3,arg4,arg5,arg6);
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 ;
14707 unsigned int val4 ;
14709 mrcStatusType result;
14710 VALUE vresult = Qnil;
14712 if ((argc < 4) || (argc > 4)) {
14713 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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);
14742 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14743 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14744 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
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 ;
14767 unsigned int val5 ;
14769 mrcStatusType result;
14770 VALUE vresult = Qnil;
14772 if ((argc < 5) || (argc > 5)) {
14773 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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);
14807 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14808 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14809 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
14815 _wrap_lmrcFSInfoXAxisMag(int argc, VALUE *argv, VALUE self) {
14816 mrcImage *arg1 = (mrcImage *) 0 ;
14819 floatVector *result = 0 ;
14820 VALUE vresult = Qnil;
14822 if ((argc < 1) || (argc > 1)) {
14823 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14829 arg1 = (mrcImage *)(argp1);
14830 result = (floatVector *)lmrcFSInfoXAxisMag(arg1);
14831 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 | 0 );
14839 _wrap_lmrcFSInfoXAxisPhase(int argc, VALUE *argv, VALUE self) {
14840 mrcImage *arg1 = (mrcImage *) 0 ;
14843 floatVector *result = 0 ;
14844 VALUE vresult = Qnil;
14846 if ((argc < 1) || (argc > 1)) {
14847 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14853 arg1 = (mrcImage *)(argp1);
14854 result = (floatVector *)lmrcFSInfoXAxisPhase(arg1);
14855 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 | 0 );
14863 _wrap_lmrcFSInfoYAxisMag(int argc, VALUE *argv, VALUE self) {
14864 mrcImage *arg1 = (mrcImage *) 0 ;
14867 floatVector *result = 0 ;
14868 VALUE vresult = Qnil;
14870 if ((argc < 1) || (argc > 1)) {
14871 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14877 arg1 = (mrcImage *)(argp1);
14878 result = (floatVector *)lmrcFSInfoYAxisMag(arg1);
14879 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 | 0 );
14887 _wrap_lmrcFSInfoYAxisPhase(int argc, VALUE *argv, VALUE self) {
14888 mrcImage *arg1 = (mrcImage *) 0 ;
14891 floatVector *result = 0 ;
14892 VALUE vresult = Qnil;
14894 if ((argc < 1) || (argc > 1)) {
14895 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14901 arg1 = (mrcImage *)(argp1);
14902 result = (floatVector *)lmrcFSInfoYAxisPhase(arg1);
14903 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 | 0 );
14911 _wrap_lmrcFSInfoScatteringAngularDistribution(int argc, VALUE *argv, VALUE self) {
14912 mrcImage *arg1 = (mrcImage *) 0 ;
14915 floatVector *result = 0 ;
14916 VALUE vresult = Qnil;
14918 if ((argc < 1) || (argc > 1)) {
14919 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14925 arg1 = (mrcImage *)(argp1);
14926 result = (floatVector *)lmrcFSInfoScatteringAngularDistribution(arg1);
14927 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 | 0 );
14935 _wrap_lmrcFSInfoScatteringAngularDistributionAverage(int argc, VALUE *argv, VALUE self) {
14936 mrcImage *arg1 = (mrcImage *) 0 ;
14939 floatVector *result = 0 ;
14940 VALUE vresult = Qnil;
14942 if ((argc < 1) || (argc > 1)) {
14943 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14949 arg1 = (mrcImage *)(argp1);
14950 result = (floatVector *)lmrcFSInfoScatteringAngularDistributionAverage(arg1);
14951 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 | 0 );
14959 _wrap_lmrcFSInfoScatteringAngularDistributionSD(int argc, VALUE *argv, VALUE self) {
14960 mrcImage *arg1 = (mrcImage *) 0 ;
14963 floatVector *result = 0 ;
14964 VALUE vresult = Qnil;
14966 if ((argc < 1) || (argc > 1)) {
14967 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14973 arg1 = (mrcImage *)(argp1);
14974 result = (floatVector *)lmrcFSInfoScatteringAngularDistributionSD(arg1);
14975 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 | 0 );
14983 _wrap_lmrcFSInfoSpacing(int argc, VALUE *argv, VALUE self) {
14984 mrcImage *arg1 = (mrcImage *) 0 ;
14987 floatVector *result = 0 ;
14988 VALUE vresult = Qnil;
14990 if ((argc < 1) || (argc > 1)) {
14991 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
14997 arg1 = (mrcImage *)(argp1);
14998 result = (floatVector *)lmrcFSInfoSpacing(arg1);
14999 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatVector, 0 | 0 );
15007 _wrap_lmrcImageCheckSameSize(int argc, VALUE *argv, VALUE self) {
15008 mrcImage *arg1 = (mrcImage *) 0 ;
15009 mrcImage *arg2 = (mrcImage *) 0 ;
15015 if ((argc < 2) || (argc > 2)) {
15016 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
15027 arg2 = (mrcImage *)(argp2);
15028 lmrcImageCheckSameSize(arg1,arg2);
15036 _wrap_lmrcImageCheckFFT(int argc, VALUE *argv, VALUE self) {
15037 mrcImage *arg1 = (mrcImage *) 0 ;
15038 mrcImage *arg2 = (mrcImage *) 0 ;
15044 if ((argc < 2) || (argc > 2)) {
15045 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
15056 arg2 = (mrcImage *)(argp2);
15057 lmrcImageCheckFFT(arg1,arg2);
15065 _wrap_lmrcImageSmoothing(int argc, VALUE *argv, VALUE self) {
15066 mrcImage *arg1 = (mrcImage *) 0 ;
15067 mrcImage *arg2 = (mrcImage *) 0 ;
15068 lmrcImageSmoothingInfo *arg3 = (lmrcImageSmoothingInfo *) 0 ;
15079 if ((argc < 4) || (argc > 4)) {
15080 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
15101 arg4 = (long)(val4);
15102 lmrcImageSmoothing(arg1,arg2,arg3,arg4);
15110 _wrap_lmrcImageCVE(int argc, VALUE *argv, VALUE self) {
15111 mrcImage *arg1 = (mrcImage *) 0 ;
15112 mrcImage *arg2 = (mrcImage *) 0 ;
15113 lmrcImageCVEInfo *arg3 = (lmrcImageCVEInfo *) 0 ;
15121 if ((argc < 3) || (argc > 3)) {
15122 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
15138 arg3 = (lmrcImageCVEInfo *)(argp3);
15139 lmrcImageCVE(arg1,arg2,arg3);
15147 _wrap_lmrcImageTfunction(int argc, VALUE *argv, VALUE self) {
15148 mrcImage *arg1 = (mrcImage *) 0 ;
15149 mrcImage *arg2 = (mrcImage *) 0 ;
15150 lmrcImageTfunctionInfo *arg3 = (lmrcImageTfunctionInfo *) 0 ;
15161 if ((argc < 4) || (argc > 4)) {
15162 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
15183 arg4 = (long)(val4);
15184 lmrcImageTfunction(arg1,arg2,arg3,arg4);
15192 _wrap_lmrcImageHighlightingInfoPrint(int argc, VALUE *argv, VALUE self) {
15193 FILE *arg1 = (FILE *) 0 ;
15197 if ((argc < 1) || (argc > 1)) {
15198 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
15204 arg1 = (FILE *)(argp1);
15205 lmrcImageHighlightingInfoPrint(arg1);
15213 _wrap_lmrcImageHighlighting(int argc, VALUE *argv, VALUE self) {
15214 mrcImage *arg1 = (mrcImage *) 0 ;
15215 mrcImage *arg2 = (mrcImage *) 0 ;
15216 lmrcImageHighlightInfo *arg3 = (lmrcImageHighlightInfo *) 0 ;
15224 if ((argc < 3) || (argc > 3)) {
15225 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
15241 arg3 = (lmrcImageHighlightInfo *)(argp3);
15242 lmrcImageHighlighting(arg1,arg2,arg3);
15250 _wrap_lmrcImageLowPassFilter(int argc, VALUE *argv, VALUE self) {
15251 mrcImage *arg1 = (mrcImage *) 0 ;
15252 mrcImage *arg2 = (mrcImage *) 0 ;
15253 lmrcImageLowPassFilterInfo *arg3 = (lmrcImageLowPassFilterInfo *) 0 ;
15264 if ((argc < 4) || (argc > 4)) {
15265 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
15286 arg4 = (long)(val4);
15287 lmrcImageLowPassFilter(arg1,arg2,arg3,arg4);
15295 _wrap_lmrcImageHighPassFilter(int argc, VALUE *argv, VALUE self) {
15296 mrcImage *arg1 = (mrcImage *) 0 ;
15297 mrcImage *arg2 = (mrcImage *) 0 ;
15298 lmrcImageHighPassFilterInfo *arg3 = (lmrcImageHighPassFilterInfo *) 0 ;
15309 if ((argc < 4) || (argc > 4)) {
15310 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
15331 arg4 = (long)(val4);
15332 lmrcImageHighPassFilter(arg1,arg2,arg3,arg4);
15340 _wrap_lmrcImageBandPassFilter(int argc, VALUE *argv, VALUE self) {
15341 mrcImage *arg1 = (mrcImage *) 0 ;
15342 mrcImage *arg2 = (mrcImage *) 0 ;
15343 lmrcImageBandPassFilterInfo *arg3 = (lmrcImageBandPassFilterInfo *) 0 ;
15354 if ((argc < 4) || (argc > 4)) {
15355 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
15376 arg4 = (long)(val4);
15377 lmrcImageBandPassFilter(arg1,arg2,arg3,arg4);
15385 _wrap_lmrcImageShrink(int argc, VALUE *argv, VALUE self) {
15386 mrcImage *arg1 = (mrcImage *) 0 ;
15387 mrcImage *arg2 = (mrcImage *) 0 ;
15388 mrcImageParaTypeIntegerCoord arg3 ;
15399 if ((argc < 4) || (argc > 4)) {
15400 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
15411 arg2 = (mrcImage *)(argp2);
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] ));
15418 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "mrcImageParaTypeIntegerCoord","lmrcImageShrink", 3, argv[2]));
15420 arg3 = *((mrcImageParaTypeIntegerCoord *)(argp3));
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] ));
15427 arg4 = (long)(val4);
15428 lmrcImageShrink(arg1,arg2,arg3,arg4);
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 ;
15450 if ((argc < 4) || (argc > 4)) {
15451 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
15462 arg2 = (mrcImage *)(argp2);
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] ));
15469 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "mrcImageParaTypeRealCoord","lmrcImageShift", 3, argv[2]));
15471 arg3 = *((mrcImageParaTypeRealCoord *)(argp3));
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] ));
15478 arg4 = (mrcPixelDataHowToGet)(val4);
15479 lmrcImageShift(arg1,arg2,arg3,arg4);
15487 _wrap_lmrcImageShiftFollowingGC(int argc, VALUE *argv, VALUE self) {
15488 mrcImage *arg1 = (mrcImage *) 0 ;
15489 mrcImage *arg2 = (mrcImage *) 0 ;
15498 if ((argc < 3) || (argc > 3)) {
15499 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
15515 arg3 = (int)(val3);
15516 lmrcImageShiftFollowingGC(arg1,arg2,arg3);
15524 _wrap_mrcInfoPrint(int argc, VALUE *argv, VALUE self) {
15525 FILE *arg1 = (FILE *) 0 ;
15526 mrcImage *arg2 = (mrcImage *) 0 ;
15527 mrcImageParaTypeInteger arg3 ;
15535 if ((argc < 3) || (argc > 3)) {
15536 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
15552 arg3 = (mrcImageParaTypeInteger)(val3);
15553 mrcInfoPrint(arg1,arg2,arg3);
15560 swig_class cLmrcImageMultiCTFCompensationInfo;
15563 _wrap_lmrcImageMultiCTFCompensationInfo_maxiteration_set(int argc, VALUE *argv, VALUE self) {
15564 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15571 if ((argc < 1) || (argc > 1)) {
15572 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
15583 arg2 = (long)(val2);
15584 if (arg1) (arg1)->maxiteration = arg2;
15592 _wrap_lmrcImageMultiCTFCompensationInfo_maxiteration_get(int argc, VALUE *argv, VALUE self) {
15593 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15597 VALUE vresult = Qnil;
15599 if ((argc < 0) || (argc > 0)) {
15600 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
15606 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15607 result = (long) ((arg1)->maxiteration);
15608 vresult = SWIG_From_long((long)(result));
15616 _wrap_lmrcImageMultiCTFCompensationInfo_okrms_set(int argc, VALUE *argv, VALUE self) {
15617 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15624 if ((argc < 1) || (argc > 1)) {
15625 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
15636 arg2 = (double)(val2);
15637 if (arg1) (arg1)->okrms = arg2;
15645 _wrap_lmrcImageMultiCTFCompensationInfo_okrms_get(int argc, VALUE *argv, VALUE self) {
15646 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15650 VALUE vresult = Qnil;
15652 if ((argc < 0) || (argc > 0)) {
15653 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
15659 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15660 result = (double) ((arg1)->okrms);
15661 vresult = SWIG_From_double((double)(result));
15669 _wrap_lmrcImageMultiCTFCompensationInfo_diversefactor_set(int argc, VALUE *argv, VALUE self) {
15670 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15677 if ((argc < 1) || (argc > 1)) {
15678 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
15689 arg2 = (long)(val2);
15690 if (arg1) (arg1)->diversefactor = arg2;
15698 _wrap_lmrcImageMultiCTFCompensationInfo_diversefactor_get(int argc, VALUE *argv, VALUE self) {
15699 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15703 VALUE vresult = Qnil;
15705 if ((argc < 0) || (argc > 0)) {
15706 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
15712 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15713 result = (long) ((arg1)->diversefactor);
15714 vresult = SWIG_From_long((long)(result));
15722 _wrap_lmrcImageMultiCTFCompensationInfo_z_set(int argc, VALUE *argv, VALUE self) {
15723 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15730 if ((argc < 1) || (argc > 1)) {
15731 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
15742 arg2 = (double)(val2);
15743 if (arg1) (arg1)->z = arg2;
15751 _wrap_lmrcImageMultiCTFCompensationInfo_z_get(int argc, VALUE *argv, VALUE self) {
15752 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15756 VALUE vresult = Qnil;
15758 if ((argc < 0) || (argc > 0)) {
15759 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
15765 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15766 result = (double) ((arg1)->z);
15767 vresult = SWIG_From_double((double)(result));
15775 _wrap_lmrcImageMultiCTFCompensationInfo_nhist_set(int argc, VALUE *argv, VALUE self) {
15776 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15783 if ((argc < 1) || (argc > 1)) {
15784 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
15795 arg2 = (long)(val2);
15796 if (arg1) (arg1)->nhist = arg2;
15804 _wrap_lmrcImageMultiCTFCompensationInfo_nhist_get(int argc, VALUE *argv, VALUE self) {
15805 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15809 VALUE vresult = Qnil;
15811 if ((argc < 0) || (argc > 0)) {
15812 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
15818 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15819 result = (long) ((arg1)->nhist);
15820 vresult = SWIG_From_long((long)(result));
15828 _wrap_lmrcImageMultiCTFCompensationInfo_logfile_set(int argc, VALUE *argv, VALUE self) {
15829 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15830 FILE *arg2 = (FILE *) 0 ;
15836 if ((argc < 1) || (argc > 1)) {
15837 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
15848 arg2 = (FILE *)(argp2);
15849 if (arg1) (arg1)->logfile = arg2;
15857 _wrap_lmrcImageMultiCTFCompensationInfo_logfile_get(int argc, VALUE *argv, VALUE self) {
15858 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15862 VALUE vresult = Qnil;
15864 if ((argc < 0) || (argc > 0)) {
15865 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
15871 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15872 result = (FILE *) ((arg1)->logfile);
15873 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 );
15881 _wrap_lmrcImageMultiCTFCompensationInfo_solventMode_set(int argc, VALUE *argv, VALUE self) {
15882 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15883 lmrcImageMultiCTFCompensationSolventFlatteningMode arg2 ;
15889 if ((argc < 1) || (argc > 1)) {
15890 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
15901 arg2 = (lmrcImageMultiCTFCompensationSolventFlatteningMode)(val2);
15902 if (arg1) (arg1)->solventMode = arg2;
15910 _wrap_lmrcImageMultiCTFCompensationInfo_solventMode_get(int argc, VALUE *argv, VALUE self) {
15911 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15914 lmrcImageMultiCTFCompensationSolventFlatteningMode result;
15915 VALUE vresult = Qnil;
15917 if ((argc < 0) || (argc > 0)) {
15918 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
15924 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15925 result = (lmrcImageMultiCTFCompensationSolventFlatteningMode) ((arg1)->solventMode);
15926 vresult = SWIG_From_int((int)(result));
15934 _wrap_lmrcImageMultiCTFCompensationInfo_definedSTD_set(int argc, VALUE *argv, VALUE self) {
15935 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15942 if ((argc < 1) || (argc > 1)) {
15943 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
15954 arg2 = (float)(val2);
15955 if (arg1) (arg1)->definedSTD = arg2;
15963 _wrap_lmrcImageMultiCTFCompensationInfo_definedSTD_get(int argc, VALUE *argv, VALUE self) {
15964 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
15968 VALUE vresult = Qnil;
15970 if ((argc < 0) || (argc > 0)) {
15971 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
15977 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
15978 result = (float) ((arg1)->definedSTD);
15979 vresult = SWIG_From_float((float)(result));
15986 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
15988 _wrap_lmrcImageMultiCTFCompensationInfo_allocate(VALUE self) {
15991 _wrap_lmrcImageMultiCTFCompensationInfo_allocate(int argc, VALUE *argv, VALUE self) {
15995 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo);
15996 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
15997 rb_obj_call_init(vresult, argc, argv);
16004 _wrap_new_lmrcImageMultiCTFCompensationInfo(int argc, VALUE *argv, VALUE self) {
16005 lmrcImageMultiCTFCompensationInfo *result = 0 ;
16007 if ((argc < 0) || (argc > 0)) {
16008 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16010 result = (lmrcImageMultiCTFCompensationInfo *)calloc(1, sizeof(lmrcImageMultiCTFCompensationInfo));
16011 DATA_PTR(self) = result;
16019 free_lmrcImageMultiCTFCompensationInfo(lmrcImageMultiCTFCompensationInfo *arg1) {
16020 free((char *) arg1);
16024 _wrap_lmrcImageMultiCTFCompensationInfoInit(int argc, VALUE *argv, VALUE self) {
16025 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
16029 if ((argc < 1) || (argc > 1)) {
16030 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
16036 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
16037 lmrcImageMultiCTFCompensationInfoInit(arg1);
16045 _wrap_lmrcImageMultiCTFCompensationInfoSet(int argc, VALUE *argv, VALUE self) {
16046 lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
16050 if ((argc < 1) || (argc > 1)) {
16051 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
16057 arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
16058 lmrcImageMultiCTFCompensationInfoSet(arg1);
16066 _wrap_lmrcImageMultiCTFCompensation(int argc, VALUE *argv, VALUE self) {
16067 mrcImage *arg1 = (mrcImage *) 0 ;
16068 mrcImage *arg2 = (mrcImage *) 0 ;
16069 ctfInfo *arg3 = (ctfInfo *) 0 ;
16071 lmrcImageMultiCTFCompensationInfo arg5 ;
16086 if ((argc < 6) || (argc > 6)) {
16087 rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
16108 arg4 = (long)(val4);
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] ));
16115 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "lmrcImageMultiCTFCompensationInfo","lmrcImageMultiCTFCompensation", 5, argv[4]));
16117 arg5 = *((lmrcImageMultiCTFCompensationInfo *)(argp5));
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] ));
16124 arg6 = (long)(val6);
16125 lmrcImageMultiCTFCompensation(arg1,arg2,arg3,arg4,arg5,arg6);
16133 _wrap_lmrcImageCTFObservation(int argc, VALUE *argv, VALUE self) {
16134 mrcImage *arg1 = (mrcImage *) 0 ;
16135 mrcImage *arg2 = (mrcImage *) 0 ;
16136 ctfInfo *arg3 = (ctfInfo *) 0 ;
16147 if ((argc < 4) || (argc > 4)) {
16148 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
16169 arg4 = (long)(val4);
16170 lmrcImageCTFObservation(arg1,arg2,arg3,arg4);
16178 _wrap_lmrcImagesCTFObservation(int argc, VALUE *argv, VALUE self) {
16179 mrcImage *arg1 = (mrcImage *) 0 ;
16180 mrcImage *arg2 = (mrcImage *) 0 ;
16181 ctfInfo *arg3 = (ctfInfo *) 0 ;
16192 if ((argc < 4) || (argc > 4)) {
16193 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
16214 arg4 = (long)(val4);
16215 lmrcImagesCTFObservation(arg1,arg2,arg3,arg4);
16223 _wrap_lmrcImageCTFCompensation(int argc, VALUE *argv, VALUE self) {
16224 mrcImage *arg1 = (mrcImage *) 0 ;
16225 ctfInfo *arg2 = (ctfInfo *) 0 ;
16234 if ((argc < 3) || (argc > 3)) {
16235 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
16251 arg3 = (long)(val3);
16252 lmrcImageCTFCompensation(arg1,arg2,arg3);
16259 swig_class cLmrcImageCTFSNInfo;
16262 _wrap_lmrcImageCTFSNInfo_mode_set(int argc, VALUE *argv, VALUE self) {
16263 lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16270 if ((argc < 1) || (argc > 1)) {
16271 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16282 arg2 = (long)(val2);
16283 if (arg1) (arg1)->mode = arg2;
16291 _wrap_lmrcImageCTFSNInfo_mode_get(int argc, VALUE *argv, VALUE self) {
16292 lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16296 VALUE vresult = Qnil;
16298 if ((argc < 0) || (argc > 0)) {
16299 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16305 arg1 = (lmrcImageCTFSNInfo *)(argp1);
16306 result = (long) ((arg1)->mode);
16307 vresult = SWIG_From_long((long)(result));
16315 _wrap_lmrcImageCTFSNInfo_deg1_set(int argc, VALUE *argv, VALUE self) {
16316 lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16323 if ((argc < 1) || (argc > 1)) {
16324 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16335 arg2 = (long)(val2);
16336 if (arg1) (arg1)->deg1 = arg2;
16344 _wrap_lmrcImageCTFSNInfo_deg1_get(int argc, VALUE *argv, VALUE self) {
16345 lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16349 VALUE vresult = Qnil;
16351 if ((argc < 0) || (argc > 0)) {
16352 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16358 arg1 = (lmrcImageCTFSNInfo *)(argp1);
16359 result = (long) ((arg1)->deg1);
16360 vresult = SWIG_From_long((long)(result));
16368 _wrap_lmrcImageCTFSNInfo_deg2_set(int argc, VALUE *argv, VALUE self) {
16369 lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16376 if ((argc < 1) || (argc > 1)) {
16377 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16388 arg2 = (long)(val2);
16389 if (arg1) (arg1)->deg2 = arg2;
16397 _wrap_lmrcImageCTFSNInfo_deg2_get(int argc, VALUE *argv, VALUE self) {
16398 lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16402 VALUE vresult = Qnil;
16404 if ((argc < 0) || (argc > 0)) {
16405 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16411 arg1 = (lmrcImageCTFSNInfo *)(argp1);
16412 result = (long) ((arg1)->deg2);
16413 vresult = SWIG_From_long((long)(result));
16421 _wrap_lmrcImageCTFSNInfo_ctf_set(int argc, VALUE *argv, VALUE self) {
16422 lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16429 if ((argc < 1) || (argc > 1)) {
16430 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
16436 arg1 = (lmrcImageCTFSNInfo *)(argp1);
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] ));
16443 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "ctfInfo","ctf", 2, argv[0]));
16445 arg2 = *((ctfInfo *)(argp2));
16448 if (arg1) (arg1)->ctf = arg2;
16456 _wrap_lmrcImageCTFSNInfo_ctf_get(int argc, VALUE *argv, VALUE self) {
16457 lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
16461 VALUE vresult = Qnil;
16463 if ((argc < 0) || (argc > 0)) {
16464 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
16479 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
16481 _wrap_lmrcImageCTFSNInfo_allocate(VALUE self) {
16484 _wrap_lmrcImageCTFSNInfo_allocate(int argc, VALUE *argv, VALUE self) {
16488 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageCTFSNInfo);
16489 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
16490 rb_obj_call_init(vresult, argc, argv);
16497 _wrap_new_lmrcImageCTFSNInfo(int argc, VALUE *argv, VALUE self) {
16498 lmrcImageCTFSNInfo *result = 0 ;
16500 if ((argc < 0) || (argc > 0)) {
16501 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16503 result = (lmrcImageCTFSNInfo *)calloc(1, sizeof(lmrcImageCTFSNInfo));
16504 DATA_PTR(self) = result;
16512 free_lmrcImageCTFSNInfo(lmrcImageCTFSNInfo *arg1) {
16513 free((char *) arg1);
16517 _wrap_lmrcImageCTFSN(int argc, VALUE *argv, VALUE self) {
16518 mrcImage *arg1 = (mrcImage *) 0 ;
16519 mrcImage *arg2 = (mrcImage *) 0 ;
16520 lmrcImageCTFSNInfo *arg3 = (lmrcImageCTFSNInfo *) 0 ;
16531 if ((argc < 4) || (argc > 4)) {
16532 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
16553 arg4 = (long)(val4);
16554 lmrcImageCTFSN(arg1,(struct mrcImage const *)arg2,arg3,arg4);
16561 swig_class cMrcImageFourierPowerSpectrum;
16564 _wrap_mrcImageFourierPowerSpectrum_n_set(int argc, VALUE *argv, VALUE self) {
16565 mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16572 if ((argc < 1) || (argc > 1)) {
16573 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16584 arg2 = (long)(val2);
16585 if (arg1) (arg1)->n = arg2;
16593 _wrap_mrcImageFourierPowerSpectrum_n_get(int argc, VALUE *argv, VALUE self) {
16594 mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16598 VALUE vresult = Qnil;
16600 if ((argc < 0) || (argc > 0)) {
16601 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16607 arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16608 result = (long) ((arg1)->n);
16609 vresult = SWIG_From_long((long)(result));
16617 _wrap_mrcImageFourierPowerSpectrum_d_set(int argc, VALUE *argv, VALUE self) {
16618 mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16625 if ((argc < 1) || (argc > 1)) {
16626 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16637 arg2 = (double)(val2);
16638 if (arg1) (arg1)->d = arg2;
16646 _wrap_mrcImageFourierPowerSpectrum_d_get(int argc, VALUE *argv, VALUE self) {
16647 mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16651 VALUE vresult = Qnil;
16653 if ((argc < 0) || (argc > 0)) {
16654 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16660 arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16661 result = (double) ((arg1)->d);
16662 vresult = SWIG_From_double((double)(result));
16670 _wrap_mrcImageFourierPowerSpectrum_h_set(int argc, VALUE *argv, VALUE self) {
16671 mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16672 double *arg2 = (double *) 0 ;
16678 if ((argc < 1) || (argc > 1)) {
16679 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16690 arg2 = (double *)(argp2);
16691 if (arg1) (arg1)->h = arg2;
16699 _wrap_mrcImageFourierPowerSpectrum_h_get(int argc, VALUE *argv, VALUE self) {
16700 mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
16703 double *result = 0 ;
16704 VALUE vresult = Qnil;
16706 if ((argc < 0) || (argc > 0)) {
16707 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16713 arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
16714 result = (double *) ((arg1)->h);
16715 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
16722 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
16724 _wrap_mrcImageFourierPowerSpectrum_allocate(VALUE self) {
16727 _wrap_mrcImageFourierPowerSpectrum_allocate(int argc, VALUE *argv, VALUE self) {
16731 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_mrcImageFourierPowerSpectrum);
16732 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
16733 rb_obj_call_init(vresult, argc, argv);
16740 _wrap_new_mrcImageFourierPowerSpectrum(int argc, VALUE *argv, VALUE self) {
16741 mrcImageFourierPowerSpectrum *result = 0 ;
16743 if ((argc < 0) || (argc > 0)) {
16744 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16746 result = (mrcImageFourierPowerSpectrum *)calloc(1, sizeof(mrcImageFourierPowerSpectrum));
16747 DATA_PTR(self) = result;
16755 free_mrcImageFourierPowerSpectrum(mrcImageFourierPowerSpectrum *arg1) {
16756 free((char *) arg1);
16759 swig_class cLmrcImageFourierPowerSpectrumInfo;
16762 _wrap_lmrcImageFourierPowerSpectrumInfo_dX_set(int argc, VALUE *argv, VALUE self) {
16763 lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16770 if ((argc < 1) || (argc > 1)) {
16771 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16782 arg2 = (double)(val2);
16783 if (arg1) (arg1)->dX = arg2;
16791 _wrap_lmrcImageFourierPowerSpectrumInfo_dX_get(int argc, VALUE *argv, VALUE self) {
16792 lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16796 VALUE vresult = Qnil;
16798 if ((argc < 0) || (argc > 0)) {
16799 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16805 arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16806 result = (double) ((arg1)->dX);
16807 vresult = SWIG_From_double((double)(result));
16815 _wrap_lmrcImageFourierPowerSpectrumInfo_dY_set(int argc, VALUE *argv, VALUE self) {
16816 lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16823 if ((argc < 1) || (argc > 1)) {
16824 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16835 arg2 = (double)(val2);
16836 if (arg1) (arg1)->dY = arg2;
16844 _wrap_lmrcImageFourierPowerSpectrumInfo_dY_get(int argc, VALUE *argv, VALUE self) {
16845 lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16849 VALUE vresult = Qnil;
16851 if ((argc < 0) || (argc > 0)) {
16852 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16858 arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16859 result = (double) ((arg1)->dY);
16860 vresult = SWIG_From_double((double)(result));
16868 _wrap_lmrcImageFourierPowerSpectrumInfo_dZ_set(int argc, VALUE *argv, VALUE self) {
16869 lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16876 if ((argc < 1) || (argc > 1)) {
16877 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
16888 arg2 = (double)(val2);
16889 if (arg1) (arg1)->dZ = arg2;
16897 _wrap_lmrcImageFourierPowerSpectrumInfo_dZ_get(int argc, VALUE *argv, VALUE self) {
16898 lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16902 VALUE vresult = Qnil;
16904 if ((argc < 0) || (argc > 0)) {
16905 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
16911 arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
16912 result = (double) ((arg1)->dZ);
16913 vresult = SWIG_From_double((double)(result));
16920 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
16922 _wrap_lmrcImageFourierPowerSpectrumInfo_allocate(VALUE self) {
16925 _wrap_lmrcImageFourierPowerSpectrumInfo_allocate(int argc, VALUE *argv, VALUE self) {
16929 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo);
16930 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
16931 rb_obj_call_init(vresult, argc, argv);
16938 _wrap_new_lmrcImageFourierPowerSpectrumInfo(int argc, VALUE *argv, VALUE self) {
16939 lmrcImageFourierPowerSpectrumInfo *result = 0 ;
16941 if ((argc < 0) || (argc > 0)) {
16942 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16944 result = (lmrcImageFourierPowerSpectrumInfo *)calloc(1, sizeof(lmrcImageFourierPowerSpectrumInfo));
16945 DATA_PTR(self) = result;
16953 free_lmrcImageFourierPowerSpectrumInfo(lmrcImageFourierPowerSpectrumInfo *arg1) {
16954 free((char *) arg1);
16958 _wrap_lmrcImageFourierPowerSpectrumMakeSpectrum(int argc, VALUE *argv, VALUE self) {
16959 mrcImage *arg1 = (mrcImage *) 0 ;
16960 lmrcImageFourierPowerSpectrumInfo *arg2 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
16965 mrcImageFourierPowerSpectrum result;
16966 VALUE vresult = Qnil;
16968 if ((argc < 2) || (argc > 2)) {
16969 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
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 );
16990 _wrap_lmrcImageFourierPowerSpectrumDeleteSpectrum(int argc, VALUE *argv, VALUE self) {
16991 mrcImageFourierPowerSpectrum arg1 ;
16995 if ((argc < 1) || (argc > 1)) {
16996 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
17004 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "mrcImageFourierPowerSpectrum","lmrcImageFourierPowerSpectrumDeleteSpectrum", 1, argv[0]));
17006 arg1 = *((mrcImageFourierPowerSpectrum *)(argp1));
17009 lmrcImageFourierPowerSpectrumDeleteSpectrum(arg1);
17017 _wrap_lmrcImageFourierPowerSpectrum(int argc, VALUE *argv, VALUE self) {
17018 mrcImage *arg1 = (mrcImage *) 0 ;
17019 lmrcImageFourierPowerSpectrumInfo *arg2 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
17027 mrcImageFourierPowerSpectrum result;
17028 VALUE vresult = Qnil;
17030 if ((argc < 3) || (argc > 3)) {
17031 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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 );
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 ;
17084 if ((argc < 8) || (argc > 8)) {
17085 rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
17126 arg8 = (int)(val8);
17127 lmrcImageRotation3DFollowingEulerAngle(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);
17128 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
17131 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
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 ;
17154 if ((argc < 5) || (argc > 5)) {
17155 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
17181 arg5 = (int)(val5);
17182 lmrcImageRotation3DFollowingMatrix3D(arg1,arg2,(float (*)[4])arg3,arg4,arg5);
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 ;
17213 if ((argc < 7) || (argc > 7)) {
17214 rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
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] ));
17250 arg7 = (int)(val7);
17251 lmrcImageRotation3DZXY(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
17259 _wrap_lmrcImageRotation2D(int argc, VALUE *argv, VALUE self) {
17260 mrcImage *arg1 = (mrcImage *) 0 ;
17261 mrcImage *arg2 = (mrcImage *) 0 ;
17263 mrcPixelDataHowToGet arg4 ;
17273 if ((argc < 4) || (argc > 4)) {
17274 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
17295 arg4 = (mrcPixelDataHowToGet)(val4);
17296 lmrcImageRotation2D(arg1,arg2,arg3,arg4);
17304 _wrap_lmrcImageRotation2DPeriodicBoundary(int argc, VALUE *argv, VALUE self) {
17305 mrcImage *arg1 = (mrcImage *) 0 ;
17306 mrcImage *arg2 = (mrcImage *) 0 ;
17308 mrcPixelDataHowToGet arg4 ;
17318 if ((argc < 4) || (argc > 4)) {
17319 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
17340 arg4 = (mrcPixelDataHowToGet)(val4);
17341 lmrcImageRotation2DPeriodicBoundary(arg1,arg2,arg3,arg4);
17349 _wrap_mrcImageSectionGetModeDescription(int argc, VALUE *argv, VALUE self) {
17354 VALUE vresult = Qnil;
17356 if ((argc < 1) || (argc > 1)) {
17357 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
17363 arg1 = (long)(val1);
17364 result = (char *)mrcImageSectionGetModeDescription(arg1);
17365 vresult = SWIG_FromCharPtr((const char *)result);
17373 _wrap_mrcImageSectionGet(int argc, VALUE *argv, VALUE self) {
17374 mrcImage *arg1 = (mrcImage *) 0 ;
17375 mrcImage *arg2 = (mrcImage *) 0 ;
17376 mrcImageParaTypeReal arg3 ;
17387 if ((argc < 4) || (argc > 4)) {
17388 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
17409 arg4 = (long)(val4);
17410 mrcImageSectionGet(arg1,arg2,arg3,arg4);
17418 _wrap_mrcImageSectionSet(int argc, VALUE *argv, VALUE self) {
17419 mrcImage *arg1 = (mrcImage *) 0 ;
17420 mrcImage *arg2 = (mrcImage *) 0 ;
17421 mrcImageParaTypeReal arg3 ;
17432 if ((argc < 4) || (argc > 4)) {
17433 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
17454 arg4 = (long)(val4);
17455 mrcImageSectionSet(arg1,arg2,arg3,arg4);
17463 _wrap_lmrcImageMaxDataGet(int argc, VALUE *argv, VALUE self) {
17464 mrcImage *arg1 = (mrcImage *) 0 ;
17471 VALUE vresult = Qnil;
17473 if ((argc < 2) || (argc > 2)) {
17474 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
17485 arg2 = (long)(val2);
17486 result = (double)lmrcImageMaxDataGet(arg1,arg2);
17487 vresult = SWIG_From_double((double)(result));
17494 swig_class cResidueName;
17497 _wrap_residueName_residueName3_set(int argc, VALUE *argv, VALUE self) {
17498 residueName *arg1 = (residueName *) 0 ;
17505 if ((argc < 1) || (argc > 1)) {
17506 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
17517 arg2 = (char *)(temp2);
17518 if (arg2) memcpy(arg1->residueName3,arg2,4*sizeof(char));
17519 else memset(arg1->residueName3,0,4*sizeof(char));
17527 _wrap_residueName_residueName3_get(int argc, VALUE *argv, VALUE self) {
17528 residueName *arg1 = (residueName *) 0 ;
17532 VALUE vresult = Qnil;
17534 if ((argc < 0) || (argc > 0)) {
17535 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
17541 arg1 = (residueName *)(argp1);
17542 result = (char *)(char *) ((arg1)->residueName3);
17546 while (size && (result[size - 1] == '\0')) --size;
17548 vresult = SWIG_FromCharPtrAndSize(result, size);
17557 _wrap_residueName_residueName1_set(int argc, VALUE *argv, VALUE self) {
17558 residueName *arg1 = (residueName *) 0 ;
17565 if ((argc < 1) || (argc > 1)) {
17566 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
17577 arg2 = (char *)(temp2);
17578 if (arg2) memcpy(arg1->residueName1,arg2,2*sizeof(char));
17579 else memset(arg1->residueName1,0,2*sizeof(char));
17587 _wrap_residueName_residueName1_get(int argc, VALUE *argv, VALUE self) {
17588 residueName *arg1 = (residueName *) 0 ;
17592 VALUE vresult = Qnil;
17594 if ((argc < 0) || (argc > 0)) {
17595 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
17601 arg1 = (residueName *)(argp1);
17602 result = (char *)(char *) ((arg1)->residueName1);
17606 while (size && (result[size - 1] == '\0')) --size;
17608 vresult = SWIG_FromCharPtrAndSize(result, size);
17616 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
17618 _wrap_residueName_allocate(VALUE self) {
17621 _wrap_residueName_allocate(int argc, VALUE *argv, VALUE self) {
17625 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_residueName);
17626 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
17627 rb_obj_call_init(vresult, argc, argv);
17634 _wrap_new_residueName(int argc, VALUE *argv, VALUE self) {
17635 residueName *result = 0 ;
17637 if ((argc < 0) || (argc > 0)) {
17638 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17640 result = (residueName *)calloc(1, sizeof(residueName));
17641 DATA_PTR(self) = result;
17649 free_residueName(residueName *arg1) {
17650 free((char *) arg1);
17653 swig_class cPdbCoord;
17656 _wrap_pdbCoord_x_set(int argc, VALUE *argv, VALUE self) {
17657 pdbCoord *arg1 = (pdbCoord *) 0 ;
17658 pdbFileParaTypeReal arg2 ;
17664 if ((argc < 1) || (argc > 1)) {
17665 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
17676 arg2 = (pdbFileParaTypeReal)(val2);
17677 if (arg1) (arg1)->x = arg2;
17685 _wrap_pdbCoord_x_get(int argc, VALUE *argv, VALUE self) {
17686 pdbCoord *arg1 = (pdbCoord *) 0 ;
17689 pdbFileParaTypeReal result;
17690 VALUE vresult = Qnil;
17692 if ((argc < 0) || (argc > 0)) {
17693 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
17699 arg1 = (pdbCoord *)(argp1);
17700 result = (pdbFileParaTypeReal) ((arg1)->x);
17701 vresult = SWIG_From_float((float)(result));
17709 _wrap_pdbCoord_y_set(int argc, VALUE *argv, VALUE self) {
17710 pdbCoord *arg1 = (pdbCoord *) 0 ;
17711 pdbFileParaTypeReal arg2 ;
17717 if ((argc < 1) || (argc > 1)) {
17718 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
17729 arg2 = (pdbFileParaTypeReal)(val2);
17730 if (arg1) (arg1)->y = arg2;
17738 _wrap_pdbCoord_y_get(int argc, VALUE *argv, VALUE self) {
17739 pdbCoord *arg1 = (pdbCoord *) 0 ;
17742 pdbFileParaTypeReal result;
17743 VALUE vresult = Qnil;
17745 if ((argc < 0) || (argc > 0)) {
17746 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
17752 arg1 = (pdbCoord *)(argp1);
17753 result = (pdbFileParaTypeReal) ((arg1)->y);
17754 vresult = SWIG_From_float((float)(result));
17762 _wrap_pdbCoord_z_set(int argc, VALUE *argv, VALUE self) {
17763 pdbCoord *arg1 = (pdbCoord *) 0 ;
17764 pdbFileParaTypeReal arg2 ;
17770 if ((argc < 1) || (argc > 1)) {
17771 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
17782 arg2 = (pdbFileParaTypeReal)(val2);
17783 if (arg1) (arg1)->z = arg2;
17791 _wrap_pdbCoord_z_get(int argc, VALUE *argv, VALUE self) {
17792 pdbCoord *arg1 = (pdbCoord *) 0 ;
17795 pdbFileParaTypeReal result;
17796 VALUE vresult = Qnil;
17798 if ((argc < 0) || (argc > 0)) {
17799 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
17805 arg1 = (pdbCoord *)(argp1);
17806 result = (pdbFileParaTypeReal) ((arg1)->z);
17807 vresult = SWIG_From_float((float)(result));
17814 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
17816 _wrap_pdbCoord_allocate(VALUE self) {
17819 _wrap_pdbCoord_allocate(int argc, VALUE *argv, VALUE self) {
17823 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbCoord);
17824 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
17825 rb_obj_call_init(vresult, argc, argv);
17832 _wrap_new_pdbCoord(int argc, VALUE *argv, VALUE self) {
17833 pdbCoord *result = 0 ;
17835 if ((argc < 0) || (argc > 0)) {
17836 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17838 result = (pdbCoord *)calloc(1, sizeof(pdbCoord));
17839 DATA_PTR(self) = result;
17847 free_pdbCoord(pdbCoord *arg1) {
17848 free((char *) arg1);
17851 swig_class cPdbSecondaryStructureHelix;
17854 _wrap_pdbSecondaryStructureHelix_serNum_set(int argc, VALUE *argv, VALUE self) {
17855 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17862 if ((argc < 1) || (argc > 1)) {
17863 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
17874 arg2 = (int)(val2);
17875 if (arg1) (arg1)->serNum = arg2;
17883 _wrap_pdbSecondaryStructureHelix_serNum_get(int argc, VALUE *argv, VALUE self) {
17884 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17888 VALUE vresult = Qnil;
17890 if ((argc < 0) || (argc > 0)) {
17891 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
17897 arg1 = (pdbSecondaryStructureHelix *)(argp1);
17898 result = (int) ((arg1)->serNum);
17899 vresult = SWIG_From_int((int)(result));
17907 _wrap_pdbSecondaryStructureHelix_helixID_set(int argc, VALUE *argv, VALUE self) {
17908 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17909 char *arg2 = (char *) 0 ;
17916 if ((argc < 1) || (argc > 1)) {
17917 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
17928 arg2 = (char *)(buf2);
17929 if (arg1->helixID) free((char*)arg1->helixID);
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));
17936 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17939 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17945 _wrap_pdbSecondaryStructureHelix_helixID_get(int argc, VALUE *argv, VALUE self) {
17946 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17950 VALUE vresult = Qnil;
17952 if ((argc < 0) || (argc > 0)) {
17953 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
17959 arg1 = (pdbSecondaryStructureHelix *)(argp1);
17960 result = (char *) ((arg1)->helixID);
17961 vresult = SWIG_FromCharPtr((const char *)result);
17969 _wrap_pdbSecondaryStructureHelix_initResName_set(int argc, VALUE *argv, VALUE self) {
17970 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
17971 char *arg2 = (char *) 0 ;
17978 if ((argc < 1) || (argc > 1)) {
17979 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
17990 arg2 = (char *)(buf2);
17991 if (arg1->initResName) free((char*)arg1->initResName);
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));
17996 arg1->initResName = 0;
17998 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18001 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18007 _wrap_pdbSecondaryStructureHelix_initResName_get(int argc, VALUE *argv, VALUE self) {
18008 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18012 VALUE vresult = Qnil;
18014 if ((argc < 0) || (argc > 0)) {
18015 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18021 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18022 result = (char *) ((arg1)->initResName);
18023 vresult = SWIG_FromCharPtr((const char *)result);
18031 _wrap_pdbSecondaryStructureHelix_initChainID_set(int argc, VALUE *argv, VALUE self) {
18032 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18039 if ((argc < 1) || (argc > 1)) {
18040 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18051 arg2 = (char)(val2);
18052 if (arg1) (arg1)->initChainID = arg2;
18060 _wrap_pdbSecondaryStructureHelix_initChainID_get(int argc, VALUE *argv, VALUE self) {
18061 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18065 VALUE vresult = Qnil;
18067 if ((argc < 0) || (argc > 0)) {
18068 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18074 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18075 result = (char) ((arg1)->initChainID);
18076 vresult = SWIG_From_char((char)(result));
18084 _wrap_pdbSecondaryStructureHelix_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
18085 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18092 if ((argc < 1) || (argc > 1)) {
18093 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18104 arg2 = (int)(val2);
18105 if (arg1) (arg1)->initSeqNum = arg2;
18113 _wrap_pdbSecondaryStructureHelix_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
18114 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18118 VALUE vresult = Qnil;
18120 if ((argc < 0) || (argc > 0)) {
18121 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18127 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18128 result = (int) ((arg1)->initSeqNum);
18129 vresult = SWIG_From_int((int)(result));
18137 _wrap_pdbSecondaryStructureHelix_initICode_set(int argc, VALUE *argv, VALUE self) {
18138 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18145 if ((argc < 1) || (argc > 1)) {
18146 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18157 arg2 = (char)(val2);
18158 if (arg1) (arg1)->initICode = arg2;
18166 _wrap_pdbSecondaryStructureHelix_initICode_get(int argc, VALUE *argv, VALUE self) {
18167 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18171 VALUE vresult = Qnil;
18173 if ((argc < 0) || (argc > 0)) {
18174 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18180 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18181 result = (char) ((arg1)->initICode);
18182 vresult = SWIG_From_char((char)(result));
18190 _wrap_pdbSecondaryStructureHelix_endResName_set(int argc, VALUE *argv, VALUE self) {
18191 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18192 char *arg2 = (char *) 0 ;
18199 if ((argc < 1) || (argc > 1)) {
18200 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18211 arg2 = (char *)(buf2);
18212 if (arg1->endResName) free((char*)arg1->endResName);
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));
18217 arg1->endResName = 0;
18219 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18222 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18228 _wrap_pdbSecondaryStructureHelix_endResName_get(int argc, VALUE *argv, VALUE self) {
18229 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18233 VALUE vresult = Qnil;
18235 if ((argc < 0) || (argc > 0)) {
18236 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18242 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18243 result = (char *) ((arg1)->endResName);
18244 vresult = SWIG_FromCharPtr((const char *)result);
18252 _wrap_pdbSecondaryStructureHelix_endChainID_set(int argc, VALUE *argv, VALUE self) {
18253 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18260 if ((argc < 1) || (argc > 1)) {
18261 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18272 arg2 = (char)(val2);
18273 if (arg1) (arg1)->endChainID = arg2;
18281 _wrap_pdbSecondaryStructureHelix_endChainID_get(int argc, VALUE *argv, VALUE self) {
18282 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18286 VALUE vresult = Qnil;
18288 if ((argc < 0) || (argc > 0)) {
18289 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18295 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18296 result = (char) ((arg1)->endChainID);
18297 vresult = SWIG_From_char((char)(result));
18305 _wrap_pdbSecondaryStructureHelix_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
18306 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18313 if ((argc < 1) || (argc > 1)) {
18314 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18325 arg2 = (int)(val2);
18326 if (arg1) (arg1)->endSeqNum = arg2;
18334 _wrap_pdbSecondaryStructureHelix_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
18335 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18339 VALUE vresult = Qnil;
18341 if ((argc < 0) || (argc > 0)) {
18342 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18348 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18349 result = (int) ((arg1)->endSeqNum);
18350 vresult = SWIG_From_int((int)(result));
18358 _wrap_pdbSecondaryStructureHelix_endICode_set(int argc, VALUE *argv, VALUE self) {
18359 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18366 if ((argc < 1) || (argc > 1)) {
18367 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18378 arg2 = (char)(val2);
18379 if (arg1) (arg1)->endICode = arg2;
18387 _wrap_pdbSecondaryStructureHelix_endICode_get(int argc, VALUE *argv, VALUE self) {
18388 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18392 VALUE vresult = Qnil;
18394 if ((argc < 0) || (argc > 0)) {
18395 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18401 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18402 result = (char) ((arg1)->endICode);
18403 vresult = SWIG_From_char((char)(result));
18411 _wrap_pdbSecondaryStructureHelix_helixClass_set(int argc, VALUE *argv, VALUE self) {
18412 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18413 pdbSecondaryStructureHelixClass arg2 ;
18419 if ((argc < 1) || (argc > 1)) {
18420 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18431 arg2 = (pdbSecondaryStructureHelixClass)(val2);
18432 if (arg1) (arg1)->helixClass = arg2;
18440 _wrap_pdbSecondaryStructureHelix_helixClass_get(int argc, VALUE *argv, VALUE self) {
18441 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18444 pdbSecondaryStructureHelixClass result;
18445 VALUE vresult = Qnil;
18447 if ((argc < 0) || (argc > 0)) {
18448 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18454 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18455 result = (pdbSecondaryStructureHelixClass) ((arg1)->helixClass);
18456 vresult = SWIG_From_int((int)(result));
18464 _wrap_pdbSecondaryStructureHelix_comment_set(int argc, VALUE *argv, VALUE self) {
18465 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18466 char *arg2 = (char *) 0 ;
18473 if ((argc < 1) || (argc > 1)) {
18474 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18485 arg2 = (char *)(buf2);
18486 if (arg1->comment) free((char*)arg1->comment);
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));
18493 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18496 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18502 _wrap_pdbSecondaryStructureHelix_comment_get(int argc, VALUE *argv, VALUE self) {
18503 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18507 VALUE vresult = Qnil;
18509 if ((argc < 0) || (argc > 0)) {
18510 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18516 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18517 result = (char *) ((arg1)->comment);
18518 vresult = SWIG_FromCharPtr((const char *)result);
18526 _wrap_pdbSecondaryStructureHelix_length_set(int argc, VALUE *argv, VALUE self) {
18527 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18534 if ((argc < 1) || (argc > 1)) {
18535 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18546 arg2 = (int)(val2);
18547 if (arg1) (arg1)->length = arg2;
18555 _wrap_pdbSecondaryStructureHelix_length_get(int argc, VALUE *argv, VALUE self) {
18556 pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
18560 VALUE vresult = Qnil;
18562 if ((argc < 0) || (argc > 0)) {
18563 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18569 arg1 = (pdbSecondaryStructureHelix *)(argp1);
18570 result = (int) ((arg1)->length);
18571 vresult = SWIG_From_int((int)(result));
18578 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
18580 _wrap_pdbSecondaryStructureHelix_allocate(VALUE self) {
18583 _wrap_pdbSecondaryStructureHelix_allocate(int argc, VALUE *argv, VALUE self) {
18587 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbSecondaryStructureHelix);
18588 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
18589 rb_obj_call_init(vresult, argc, argv);
18596 _wrap_new_pdbSecondaryStructureHelix(int argc, VALUE *argv, VALUE self) {
18597 pdbSecondaryStructureHelix *result = 0 ;
18599 if ((argc < 0) || (argc > 0)) {
18600 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
18602 result = (pdbSecondaryStructureHelix *)calloc(1, sizeof(pdbSecondaryStructureHelix));
18603 DATA_PTR(self) = result;
18611 free_pdbSecondaryStructureHelix(pdbSecondaryStructureHelix *arg1) {
18612 free((char *) arg1);
18615 swig_class cPdbSecondaryStructureSheet;
18618 _wrap_pdbSecondaryStructureSheet_strand_set(int argc, VALUE *argv, VALUE self) {
18619 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18626 if ((argc < 1) || (argc > 1)) {
18627 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18638 arg2 = (int)(val2);
18639 if (arg1) (arg1)->strand = arg2;
18647 _wrap_pdbSecondaryStructureSheet_strand_get(int argc, VALUE *argv, VALUE self) {
18648 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18652 VALUE vresult = Qnil;
18654 if ((argc < 0) || (argc > 0)) {
18655 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18661 arg1 = (pdbSecondaryStructureSheet *)(argp1);
18662 result = (int) ((arg1)->strand);
18663 vresult = SWIG_From_int((int)(result));
18671 _wrap_pdbSecondaryStructureSheet_sheetID_set(int argc, VALUE *argv, VALUE self) {
18672 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18673 char *arg2 = (char *) 0 ;
18680 if ((argc < 1) || (argc > 1)) {
18681 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18692 arg2 = (char *)(buf2);
18693 if (arg1->sheetID) free((char*)arg1->sheetID);
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));
18700 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18703 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18709 _wrap_pdbSecondaryStructureSheet_sheetID_get(int argc, VALUE *argv, VALUE self) {
18710 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18714 VALUE vresult = Qnil;
18716 if ((argc < 0) || (argc > 0)) {
18717 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18723 arg1 = (pdbSecondaryStructureSheet *)(argp1);
18724 result = (char *) ((arg1)->sheetID);
18725 vresult = SWIG_FromCharPtr((const char *)result);
18733 _wrap_pdbSecondaryStructureSheet_numStrands_set(int argc, VALUE *argv, VALUE self) {
18734 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18741 if ((argc < 1) || (argc > 1)) {
18742 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18753 arg2 = (int)(val2);
18754 if (arg1) (arg1)->numStrands = arg2;
18762 _wrap_pdbSecondaryStructureSheet_numStrands_get(int argc, VALUE *argv, VALUE self) {
18763 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18767 VALUE vresult = Qnil;
18769 if ((argc < 0) || (argc > 0)) {
18770 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18776 arg1 = (pdbSecondaryStructureSheet *)(argp1);
18777 result = (int) ((arg1)->numStrands);
18778 vresult = SWIG_From_int((int)(result));
18786 _wrap_pdbSecondaryStructureSheet_initResName_set(int argc, VALUE *argv, VALUE self) {
18787 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18788 char *arg2 = (char *) 0 ;
18795 if ((argc < 1) || (argc > 1)) {
18796 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18807 arg2 = (char *)(buf2);
18808 if (arg1->initResName) free((char*)arg1->initResName);
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));
18813 arg1->initResName = 0;
18815 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18818 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18824 _wrap_pdbSecondaryStructureSheet_initResName_get(int argc, VALUE *argv, VALUE self) {
18825 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18829 VALUE vresult = Qnil;
18831 if ((argc < 0) || (argc > 0)) {
18832 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18838 arg1 = (pdbSecondaryStructureSheet *)(argp1);
18839 result = (char *) ((arg1)->initResName);
18840 vresult = SWIG_FromCharPtr((const char *)result);
18848 _wrap_pdbSecondaryStructureSheet_initChainID_set(int argc, VALUE *argv, VALUE self) {
18849 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18856 if ((argc < 1) || (argc > 1)) {
18857 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18868 arg2 = (char)(val2);
18869 if (arg1) (arg1)->initChainID = arg2;
18877 _wrap_pdbSecondaryStructureSheet_initChainID_get(int argc, VALUE *argv, VALUE self) {
18878 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18882 VALUE vresult = Qnil;
18884 if ((argc < 0) || (argc > 0)) {
18885 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18891 arg1 = (pdbSecondaryStructureSheet *)(argp1);
18892 result = (char) ((arg1)->initChainID);
18893 vresult = SWIG_From_char((char)(result));
18901 _wrap_pdbSecondaryStructureSheet_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
18902 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18909 if ((argc < 1) || (argc > 1)) {
18910 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18921 arg2 = (int)(val2);
18922 if (arg1) (arg1)->initSeqNum = arg2;
18930 _wrap_pdbSecondaryStructureSheet_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
18931 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18935 VALUE vresult = Qnil;
18937 if ((argc < 0) || (argc > 0)) {
18938 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18944 arg1 = (pdbSecondaryStructureSheet *)(argp1);
18945 result = (int) ((arg1)->initSeqNum);
18946 vresult = SWIG_From_int((int)(result));
18954 _wrap_pdbSecondaryStructureSheet_initICode_set(int argc, VALUE *argv, VALUE self) {
18955 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18962 if ((argc < 1) || (argc > 1)) {
18963 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
18974 arg2 = (char)(val2);
18975 if (arg1) (arg1)->initICode = arg2;
18983 _wrap_pdbSecondaryStructureSheet_initICode_get(int argc, VALUE *argv, VALUE self) {
18984 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
18988 VALUE vresult = Qnil;
18990 if ((argc < 0) || (argc > 0)) {
18991 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
18997 arg1 = (pdbSecondaryStructureSheet *)(argp1);
18998 result = (char) ((arg1)->initICode);
18999 vresult = SWIG_From_char((char)(result));
19007 _wrap_pdbSecondaryStructureSheet_endResName_set(int argc, VALUE *argv, VALUE self) {
19008 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19009 char *arg2 = (char *) 0 ;
19016 if ((argc < 1) || (argc > 1)) {
19017 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19028 arg2 = (char *)(buf2);
19029 if (arg1->endResName) free((char*)arg1->endResName);
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));
19034 arg1->endResName = 0;
19036 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19039 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19045 _wrap_pdbSecondaryStructureSheet_endResName_get(int argc, VALUE *argv, VALUE self) {
19046 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19050 VALUE vresult = Qnil;
19052 if ((argc < 0) || (argc > 0)) {
19053 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19059 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19060 result = (char *) ((arg1)->endResName);
19061 vresult = SWIG_FromCharPtr((const char *)result);
19069 _wrap_pdbSecondaryStructureSheet_endChainID_set(int argc, VALUE *argv, VALUE self) {
19070 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19077 if ((argc < 1) || (argc > 1)) {
19078 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19089 arg2 = (char)(val2);
19090 if (arg1) (arg1)->endChainID = arg2;
19098 _wrap_pdbSecondaryStructureSheet_endChainID_get(int argc, VALUE *argv, VALUE self) {
19099 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19103 VALUE vresult = Qnil;
19105 if ((argc < 0) || (argc > 0)) {
19106 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19112 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19113 result = (char) ((arg1)->endChainID);
19114 vresult = SWIG_From_char((char)(result));
19122 _wrap_pdbSecondaryStructureSheet_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
19123 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19130 if ((argc < 1) || (argc > 1)) {
19131 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19142 arg2 = (int)(val2);
19143 if (arg1) (arg1)->endSeqNum = arg2;
19151 _wrap_pdbSecondaryStructureSheet_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
19152 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19156 VALUE vresult = Qnil;
19158 if ((argc < 0) || (argc > 0)) {
19159 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19165 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19166 result = (int) ((arg1)->endSeqNum);
19167 vresult = SWIG_From_int((int)(result));
19175 _wrap_pdbSecondaryStructureSheet_endICode_set(int argc, VALUE *argv, VALUE self) {
19176 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19183 if ((argc < 1) || (argc > 1)) {
19184 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19195 arg2 = (char)(val2);
19196 if (arg1) (arg1)->endICode = arg2;
19204 _wrap_pdbSecondaryStructureSheet_endICode_get(int argc, VALUE *argv, VALUE self) {
19205 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19209 VALUE vresult = Qnil;
19211 if ((argc < 0) || (argc > 0)) {
19212 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19218 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19219 result = (char) ((arg1)->endICode);
19220 vresult = SWIG_From_char((char)(result));
19228 _wrap_pdbSecondaryStructureSheet_sense_set(int argc, VALUE *argv, VALUE self) {
19229 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19236 if ((argc < 1) || (argc > 1)) {
19237 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19248 arg2 = (int)(val2);
19249 if (arg1) (arg1)->sense = arg2;
19257 _wrap_pdbSecondaryStructureSheet_sense_get(int argc, VALUE *argv, VALUE self) {
19258 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19262 VALUE vresult = Qnil;
19264 if ((argc < 0) || (argc > 0)) {
19265 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19271 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19272 result = (int) ((arg1)->sense);
19273 vresult = SWIG_From_int((int)(result));
19281 _wrap_pdbSecondaryStructureSheet_curAtom_set(int argc, VALUE *argv, VALUE self) {
19282 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19283 char *arg2 = (char *) 0 ;
19290 if ((argc < 1) || (argc > 1)) {
19291 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19302 arg2 = (char *)(buf2);
19303 if (arg1->curAtom) free((char*)arg1->curAtom);
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));
19310 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19313 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19319 _wrap_pdbSecondaryStructureSheet_curAtom_get(int argc, VALUE *argv, VALUE self) {
19320 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19324 VALUE vresult = Qnil;
19326 if ((argc < 0) || (argc > 0)) {
19327 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19333 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19334 result = (char *) ((arg1)->curAtom);
19335 vresult = SWIG_FromCharPtr((const char *)result);
19343 _wrap_pdbSecondaryStructureSheet_curResName_set(int argc, VALUE *argv, VALUE self) {
19344 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19345 char *arg2 = (char *) 0 ;
19352 if ((argc < 1) || (argc > 1)) {
19353 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19364 arg2 = (char *)(buf2);
19365 if (arg1->curResName) free((char*)arg1->curResName);
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));
19370 arg1->curResName = 0;
19372 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19375 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19381 _wrap_pdbSecondaryStructureSheet_curResName_get(int argc, VALUE *argv, VALUE self) {
19382 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19386 VALUE vresult = Qnil;
19388 if ((argc < 0) || (argc > 0)) {
19389 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19395 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19396 result = (char *) ((arg1)->curResName);
19397 vresult = SWIG_FromCharPtr((const char *)result);
19405 _wrap_pdbSecondaryStructureSheet_curChainID_set(int argc, VALUE *argv, VALUE self) {
19406 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19413 if ((argc < 1) || (argc > 1)) {
19414 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19425 arg2 = (char)(val2);
19426 if (arg1) (arg1)->curChainID = arg2;
19434 _wrap_pdbSecondaryStructureSheet_curChainID_get(int argc, VALUE *argv, VALUE self) {
19435 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19439 VALUE vresult = Qnil;
19441 if ((argc < 0) || (argc > 0)) {
19442 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19448 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19449 result = (char) ((arg1)->curChainID);
19450 vresult = SWIG_From_char((char)(result));
19458 _wrap_pdbSecondaryStructureSheet_curResSeq_set(int argc, VALUE *argv, VALUE self) {
19459 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19466 if ((argc < 1) || (argc > 1)) {
19467 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19478 arg2 = (int)(val2);
19479 if (arg1) (arg1)->curResSeq = arg2;
19487 _wrap_pdbSecondaryStructureSheet_curResSeq_get(int argc, VALUE *argv, VALUE self) {
19488 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19492 VALUE vresult = Qnil;
19494 if ((argc < 0) || (argc > 0)) {
19495 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19501 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19502 result = (int) ((arg1)->curResSeq);
19503 vresult = SWIG_From_int((int)(result));
19511 _wrap_pdbSecondaryStructureSheet_curICode_set(int argc, VALUE *argv, VALUE self) {
19512 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19519 if ((argc < 1) || (argc > 1)) {
19520 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19531 arg2 = (char)(val2);
19532 if (arg1) (arg1)->curICode = arg2;
19540 _wrap_pdbSecondaryStructureSheet_curICode_get(int argc, VALUE *argv, VALUE self) {
19541 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19545 VALUE vresult = Qnil;
19547 if ((argc < 0) || (argc > 0)) {
19548 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19554 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19555 result = (char) ((arg1)->curICode);
19556 vresult = SWIG_From_char((char)(result));
19564 _wrap_pdbSecondaryStructureSheet_prevAtom_set(int argc, VALUE *argv, VALUE self) {
19565 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19566 char *arg2 = (char *) 0 ;
19573 if ((argc < 1) || (argc > 1)) {
19574 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19585 arg2 = (char *)(buf2);
19586 if (arg1->prevAtom) free((char*)arg1->prevAtom);
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));
19591 arg1->prevAtom = 0;
19593 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19596 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19602 _wrap_pdbSecondaryStructureSheet_prevAtom_get(int argc, VALUE *argv, VALUE self) {
19603 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19607 VALUE vresult = Qnil;
19609 if ((argc < 0) || (argc > 0)) {
19610 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19616 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19617 result = (char *) ((arg1)->prevAtom);
19618 vresult = SWIG_FromCharPtr((const char *)result);
19626 _wrap_pdbSecondaryStructureSheet_prevResName_set(int argc, VALUE *argv, VALUE self) {
19627 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19628 char *arg2 = (char *) 0 ;
19635 if ((argc < 1) || (argc > 1)) {
19636 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19647 arg2 = (char *)(buf2);
19648 if (arg1->prevResName) free((char*)arg1->prevResName);
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));
19653 arg1->prevResName = 0;
19655 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19658 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19664 _wrap_pdbSecondaryStructureSheet_prevResName_get(int argc, VALUE *argv, VALUE self) {
19665 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19669 VALUE vresult = Qnil;
19671 if ((argc < 0) || (argc > 0)) {
19672 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19678 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19679 result = (char *) ((arg1)->prevResName);
19680 vresult = SWIG_FromCharPtr((const char *)result);
19688 _wrap_pdbSecondaryStructureSheet_prevChainID_set(int argc, VALUE *argv, VALUE self) {
19689 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19696 if ((argc < 1) || (argc > 1)) {
19697 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19708 arg2 = (char)(val2);
19709 if (arg1) (arg1)->prevChainID = arg2;
19717 _wrap_pdbSecondaryStructureSheet_prevChainID_get(int argc, VALUE *argv, VALUE self) {
19718 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19722 VALUE vresult = Qnil;
19724 if ((argc < 0) || (argc > 0)) {
19725 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19731 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19732 result = (char) ((arg1)->prevChainID);
19733 vresult = SWIG_From_char((char)(result));
19741 _wrap_pdbSecondaryStructureSheet_prevResSeq_set(int argc, VALUE *argv, VALUE self) {
19742 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19749 if ((argc < 1) || (argc > 1)) {
19750 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19761 arg2 = (int)(val2);
19762 if (arg1) (arg1)->prevResSeq = arg2;
19770 _wrap_pdbSecondaryStructureSheet_prevResSeq_get(int argc, VALUE *argv, VALUE self) {
19771 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19775 VALUE vresult = Qnil;
19777 if ((argc < 0) || (argc > 0)) {
19778 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19784 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19785 result = (int) ((arg1)->prevResSeq);
19786 vresult = SWIG_From_int((int)(result));
19794 _wrap_pdbSecondaryStructureSheet_prevICode_set(int argc, VALUE *argv, VALUE self) {
19795 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19802 if ((argc < 1) || (argc > 1)) {
19803 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19814 arg2 = (char)(val2);
19815 if (arg1) (arg1)->prevICode = arg2;
19823 _wrap_pdbSecondaryStructureSheet_prevICode_get(int argc, VALUE *argv, VALUE self) {
19824 pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
19828 VALUE vresult = Qnil;
19830 if ((argc < 0) || (argc > 0)) {
19831 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19837 arg1 = (pdbSecondaryStructureSheet *)(argp1);
19838 result = (char) ((arg1)->prevICode);
19839 vresult = SWIG_From_char((char)(result));
19846 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
19848 _wrap_pdbSecondaryStructureSheet_allocate(VALUE self) {
19851 _wrap_pdbSecondaryStructureSheet_allocate(int argc, VALUE *argv, VALUE self) {
19855 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbSecondaryStructureSheet);
19856 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
19857 rb_obj_call_init(vresult, argc, argv);
19864 _wrap_new_pdbSecondaryStructureSheet(int argc, VALUE *argv, VALUE self) {
19865 pdbSecondaryStructureSheet *result = 0 ;
19867 if ((argc < 0) || (argc > 0)) {
19868 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19870 result = (pdbSecondaryStructureSheet *)calloc(1, sizeof(pdbSecondaryStructureSheet));
19871 DATA_PTR(self) = result;
19879 free_pdbSecondaryStructureSheet(pdbSecondaryStructureSheet *arg1) {
19880 free((char *) arg1);
19883 swig_class cPdbSecondaryStructureTurn;
19886 _wrap_pdbSecondaryStructureTurn_serNum_set(int argc, VALUE *argv, VALUE self) {
19887 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
19894 if ((argc < 1) || (argc > 1)) {
19895 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19906 arg2 = (int)(val2);
19907 if (arg1) (arg1)->serNum = arg2;
19915 _wrap_pdbSecondaryStructureTurn_serNum_get(int argc, VALUE *argv, VALUE self) {
19916 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
19920 VALUE vresult = Qnil;
19922 if ((argc < 0) || (argc > 0)) {
19923 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19929 arg1 = (pdbSecondaryStructureTurn *)(argp1);
19930 result = (int) ((arg1)->serNum);
19931 vresult = SWIG_From_int((int)(result));
19939 _wrap_pdbSecondaryStructureTurn_turnID_set(int argc, VALUE *argv, VALUE self) {
19940 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
19941 char *arg2 = (char *) 0 ;
19948 if ((argc < 1) || (argc > 1)) {
19949 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
19960 arg2 = (char *)(buf2);
19961 if (arg1->turnID) free((char*)arg1->turnID);
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));
19968 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19971 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19977 _wrap_pdbSecondaryStructureTurn_turnID_get(int argc, VALUE *argv, VALUE self) {
19978 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
19982 VALUE vresult = Qnil;
19984 if ((argc < 0) || (argc > 0)) {
19985 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
19991 arg1 = (pdbSecondaryStructureTurn *)(argp1);
19992 result = (char *) ((arg1)->turnID);
19993 vresult = SWIG_FromCharPtr((const char *)result);
20001 _wrap_pdbSecondaryStructureTurn_initResName_set(int argc, VALUE *argv, VALUE self) {
20002 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20003 char *arg2 = (char *) 0 ;
20010 if ((argc < 1) || (argc > 1)) {
20011 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20022 arg2 = (char *)(buf2);
20023 if (arg1->initResName) free((char*)arg1->initResName);
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));
20028 arg1->initResName = 0;
20030 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20033 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20039 _wrap_pdbSecondaryStructureTurn_initResName_get(int argc, VALUE *argv, VALUE self) {
20040 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20044 VALUE vresult = Qnil;
20046 if ((argc < 0) || (argc > 0)) {
20047 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20053 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20054 result = (char *) ((arg1)->initResName);
20055 vresult = SWIG_FromCharPtr((const char *)result);
20063 _wrap_pdbSecondaryStructureTurn_initChainID_set(int argc, VALUE *argv, VALUE self) {
20064 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20071 if ((argc < 1) || (argc > 1)) {
20072 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20083 arg2 = (char)(val2);
20084 if (arg1) (arg1)->initChainID = arg2;
20092 _wrap_pdbSecondaryStructureTurn_initChainID_get(int argc, VALUE *argv, VALUE self) {
20093 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20097 VALUE vresult = Qnil;
20099 if ((argc < 0) || (argc > 0)) {
20100 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20106 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20107 result = (char) ((arg1)->initChainID);
20108 vresult = SWIG_From_char((char)(result));
20116 _wrap_pdbSecondaryStructureTurn_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
20117 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20124 if ((argc < 1) || (argc > 1)) {
20125 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20136 arg2 = (int)(val2);
20137 if (arg1) (arg1)->initSeqNum = arg2;
20145 _wrap_pdbSecondaryStructureTurn_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
20146 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20150 VALUE vresult = Qnil;
20152 if ((argc < 0) || (argc > 0)) {
20153 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20159 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20160 result = (int) ((arg1)->initSeqNum);
20161 vresult = SWIG_From_int((int)(result));
20169 _wrap_pdbSecondaryStructureTurn_initICode_set(int argc, VALUE *argv, VALUE self) {
20170 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20177 if ((argc < 1) || (argc > 1)) {
20178 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20189 arg2 = (char)(val2);
20190 if (arg1) (arg1)->initICode = arg2;
20198 _wrap_pdbSecondaryStructureTurn_initICode_get(int argc, VALUE *argv, VALUE self) {
20199 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20203 VALUE vresult = Qnil;
20205 if ((argc < 0) || (argc > 0)) {
20206 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20212 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20213 result = (char) ((arg1)->initICode);
20214 vresult = SWIG_From_char((char)(result));
20222 _wrap_pdbSecondaryStructureTurn_endResName_set(int argc, VALUE *argv, VALUE self) {
20223 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20224 char *arg2 = (char *) 0 ;
20231 if ((argc < 1) || (argc > 1)) {
20232 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20243 arg2 = (char *)(buf2);
20244 if (arg1->endResName) free((char*)arg1->endResName);
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));
20249 arg1->endResName = 0;
20251 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20254 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20260 _wrap_pdbSecondaryStructureTurn_endResName_get(int argc, VALUE *argv, VALUE self) {
20261 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20265 VALUE vresult = Qnil;
20267 if ((argc < 0) || (argc > 0)) {
20268 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20274 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20275 result = (char *) ((arg1)->endResName);
20276 vresult = SWIG_FromCharPtr((const char *)result);
20284 _wrap_pdbSecondaryStructureTurn_endChainID_set(int argc, VALUE *argv, VALUE self) {
20285 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20292 if ((argc < 1) || (argc > 1)) {
20293 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20304 arg2 = (char)(val2);
20305 if (arg1) (arg1)->endChainID = arg2;
20313 _wrap_pdbSecondaryStructureTurn_endChainID_get(int argc, VALUE *argv, VALUE self) {
20314 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20318 VALUE vresult = Qnil;
20320 if ((argc < 0) || (argc > 0)) {
20321 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20327 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20328 result = (char) ((arg1)->endChainID);
20329 vresult = SWIG_From_char((char)(result));
20337 _wrap_pdbSecondaryStructureTurn_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
20338 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20345 if ((argc < 1) || (argc > 1)) {
20346 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20357 arg2 = (int)(val2);
20358 if (arg1) (arg1)->endSeqNum = arg2;
20366 _wrap_pdbSecondaryStructureTurn_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
20367 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20371 VALUE vresult = Qnil;
20373 if ((argc < 0) || (argc > 0)) {
20374 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20380 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20381 result = (int) ((arg1)->endSeqNum);
20382 vresult = SWIG_From_int((int)(result));
20390 _wrap_pdbSecondaryStructureTurn_endICode_set(int argc, VALUE *argv, VALUE self) {
20391 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20398 if ((argc < 1) || (argc > 1)) {
20399 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20410 arg2 = (char)(val2);
20411 if (arg1) (arg1)->endICode = arg2;
20419 _wrap_pdbSecondaryStructureTurn_endICode_get(int argc, VALUE *argv, VALUE self) {
20420 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20424 VALUE vresult = Qnil;
20426 if ((argc < 0) || (argc > 0)) {
20427 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20433 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20434 result = (char) ((arg1)->endICode);
20435 vresult = SWIG_From_char((char)(result));
20443 _wrap_pdbSecondaryStructureTurn_comment_set(int argc, VALUE *argv, VALUE self) {
20444 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20445 char *arg2 = (char *) 0 ;
20452 if ((argc < 1) || (argc > 1)) {
20453 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20464 arg2 = (char *)(buf2);
20465 if (arg1->comment) free((char*)arg1->comment);
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));
20472 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20475 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20481 _wrap_pdbSecondaryStructureTurn_comment_get(int argc, VALUE *argv, VALUE self) {
20482 pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
20486 VALUE vresult = Qnil;
20488 if ((argc < 0) || (argc > 0)) {
20489 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20495 arg1 = (pdbSecondaryStructureTurn *)(argp1);
20496 result = (char *) ((arg1)->comment);
20497 vresult = SWIG_FromCharPtr((const char *)result);
20504 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
20506 _wrap_pdbSecondaryStructureTurn_allocate(VALUE self) {
20509 _wrap_pdbSecondaryStructureTurn_allocate(int argc, VALUE *argv, VALUE self) {
20513 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbSecondaryStructureTurn);
20514 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
20515 rb_obj_call_init(vresult, argc, argv);
20522 _wrap_new_pdbSecondaryStructureTurn(int argc, VALUE *argv, VALUE self) {
20523 pdbSecondaryStructureTurn *result = 0 ;
20525 if ((argc < 0) || (argc > 0)) {
20526 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
20528 result = (pdbSecondaryStructureTurn *)calloc(1, sizeof(pdbSecondaryStructureTurn));
20529 DATA_PTR(self) = result;
20537 free_pdbSecondaryStructureTurn(pdbSecondaryStructureTurn *arg1) {
20538 free((char *) arg1);
20541 swig_class cPdbSecondaryStructureNo;
20544 _wrap_pdbSecondaryStructureNo_serNum_set(int argc, VALUE *argv, VALUE self) {
20545 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20552 if ((argc < 1) || (argc > 1)) {
20553 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20564 arg2 = (int)(val2);
20565 if (arg1) (arg1)->serNum = arg2;
20573 _wrap_pdbSecondaryStructureNo_serNum_get(int argc, VALUE *argv, VALUE self) {
20574 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20578 VALUE vresult = Qnil;
20580 if ((argc < 0) || (argc > 0)) {
20581 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20587 arg1 = (pdbSecondaryStructureNo *)(argp1);
20588 result = (int) ((arg1)->serNum);
20589 vresult = SWIG_From_int((int)(result));
20597 _wrap_pdbSecondaryStructureNo_noID_set(int argc, VALUE *argv, VALUE self) {
20598 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20599 char *arg2 = (char *) 0 ;
20606 if ((argc < 1) || (argc > 1)) {
20607 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20618 arg2 = (char *)(buf2);
20619 if (arg1->noID) free((char*)arg1->noID);
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));
20626 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20629 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20635 _wrap_pdbSecondaryStructureNo_noID_get(int argc, VALUE *argv, VALUE self) {
20636 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20640 VALUE vresult = Qnil;
20642 if ((argc < 0) || (argc > 0)) {
20643 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20649 arg1 = (pdbSecondaryStructureNo *)(argp1);
20650 result = (char *) ((arg1)->noID);
20651 vresult = SWIG_FromCharPtr((const char *)result);
20659 _wrap_pdbSecondaryStructureNo_initResName_set(int argc, VALUE *argv, VALUE self) {
20660 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20661 char *arg2 = (char *) 0 ;
20668 if ((argc < 1) || (argc > 1)) {
20669 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20680 arg2 = (char *)(buf2);
20681 if (arg1->initResName) free((char*)arg1->initResName);
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));
20686 arg1->initResName = 0;
20688 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20691 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20697 _wrap_pdbSecondaryStructureNo_initResName_get(int argc, VALUE *argv, VALUE self) {
20698 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20702 VALUE vresult = Qnil;
20704 if ((argc < 0) || (argc > 0)) {
20705 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20711 arg1 = (pdbSecondaryStructureNo *)(argp1);
20712 result = (char *) ((arg1)->initResName);
20713 vresult = SWIG_FromCharPtr((const char *)result);
20721 _wrap_pdbSecondaryStructureNo_initChainID_set(int argc, VALUE *argv, VALUE self) {
20722 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20729 if ((argc < 1) || (argc > 1)) {
20730 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20741 arg2 = (char)(val2);
20742 if (arg1) (arg1)->initChainID = arg2;
20750 _wrap_pdbSecondaryStructureNo_initChainID_get(int argc, VALUE *argv, VALUE self) {
20751 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20755 VALUE vresult = Qnil;
20757 if ((argc < 0) || (argc > 0)) {
20758 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20764 arg1 = (pdbSecondaryStructureNo *)(argp1);
20765 result = (char) ((arg1)->initChainID);
20766 vresult = SWIG_From_char((char)(result));
20774 _wrap_pdbSecondaryStructureNo_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
20775 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20782 if ((argc < 1) || (argc > 1)) {
20783 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20794 arg2 = (int)(val2);
20795 if (arg1) (arg1)->initSeqNum = arg2;
20803 _wrap_pdbSecondaryStructureNo_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
20804 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20808 VALUE vresult = Qnil;
20810 if ((argc < 0) || (argc > 0)) {
20811 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20817 arg1 = (pdbSecondaryStructureNo *)(argp1);
20818 result = (int) ((arg1)->initSeqNum);
20819 vresult = SWIG_From_int((int)(result));
20827 _wrap_pdbSecondaryStructureNo_initICode_set(int argc, VALUE *argv, VALUE self) {
20828 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20835 if ((argc < 1) || (argc > 1)) {
20836 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20847 arg2 = (char)(val2);
20848 if (arg1) (arg1)->initICode = arg2;
20856 _wrap_pdbSecondaryStructureNo_initICode_get(int argc, VALUE *argv, VALUE self) {
20857 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20861 VALUE vresult = Qnil;
20863 if ((argc < 0) || (argc > 0)) {
20864 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20870 arg1 = (pdbSecondaryStructureNo *)(argp1);
20871 result = (char) ((arg1)->initICode);
20872 vresult = SWIG_From_char((char)(result));
20880 _wrap_pdbSecondaryStructureNo_endResName_set(int argc, VALUE *argv, VALUE self) {
20881 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20882 char *arg2 = (char *) 0 ;
20889 if ((argc < 1) || (argc > 1)) {
20890 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20901 arg2 = (char *)(buf2);
20902 if (arg1->endResName) free((char*)arg1->endResName);
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));
20907 arg1->endResName = 0;
20909 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20912 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20918 _wrap_pdbSecondaryStructureNo_endResName_get(int argc, VALUE *argv, VALUE self) {
20919 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20923 VALUE vresult = Qnil;
20925 if ((argc < 0) || (argc > 0)) {
20926 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20932 arg1 = (pdbSecondaryStructureNo *)(argp1);
20933 result = (char *) ((arg1)->endResName);
20934 vresult = SWIG_FromCharPtr((const char *)result);
20942 _wrap_pdbSecondaryStructureNo_endChainID_set(int argc, VALUE *argv, VALUE self) {
20943 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20950 if ((argc < 1) || (argc > 1)) {
20951 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
20962 arg2 = (char)(val2);
20963 if (arg1) (arg1)->endChainID = arg2;
20971 _wrap_pdbSecondaryStructureNo_endChainID_get(int argc, VALUE *argv, VALUE self) {
20972 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
20976 VALUE vresult = Qnil;
20978 if ((argc < 0) || (argc > 0)) {
20979 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
20985 arg1 = (pdbSecondaryStructureNo *)(argp1);
20986 result = (char) ((arg1)->endChainID);
20987 vresult = SWIG_From_char((char)(result));
20995 _wrap_pdbSecondaryStructureNo_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
20996 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21003 if ((argc < 1) || (argc > 1)) {
21004 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21015 arg2 = (int)(val2);
21016 if (arg1) (arg1)->endSeqNum = arg2;
21024 _wrap_pdbSecondaryStructureNo_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
21025 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21029 VALUE vresult = Qnil;
21031 if ((argc < 0) || (argc > 0)) {
21032 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21038 arg1 = (pdbSecondaryStructureNo *)(argp1);
21039 result = (int) ((arg1)->endSeqNum);
21040 vresult = SWIG_From_int((int)(result));
21048 _wrap_pdbSecondaryStructureNo_endICode_set(int argc, VALUE *argv, VALUE self) {
21049 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21056 if ((argc < 1) || (argc > 1)) {
21057 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21068 arg2 = (char)(val2);
21069 if (arg1) (arg1)->endICode = arg2;
21077 _wrap_pdbSecondaryStructureNo_endICode_get(int argc, VALUE *argv, VALUE self) {
21078 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21082 VALUE vresult = Qnil;
21084 if ((argc < 0) || (argc > 0)) {
21085 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21091 arg1 = (pdbSecondaryStructureNo *)(argp1);
21092 result = (char) ((arg1)->endICode);
21093 vresult = SWIG_From_char((char)(result));
21101 _wrap_pdbSecondaryStructureNo_comment_set(int argc, VALUE *argv, VALUE self) {
21102 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21103 char *arg2 = (char *) 0 ;
21110 if ((argc < 1) || (argc > 1)) {
21111 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21122 arg2 = (char *)(buf2);
21123 if (arg1->comment) free((char*)arg1->comment);
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));
21130 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21133 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21139 _wrap_pdbSecondaryStructureNo_comment_get(int argc, VALUE *argv, VALUE self) {
21140 pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
21144 VALUE vresult = Qnil;
21146 if ((argc < 0) || (argc > 0)) {
21147 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21153 arg1 = (pdbSecondaryStructureNo *)(argp1);
21154 result = (char *) ((arg1)->comment);
21155 vresult = SWIG_FromCharPtr((const char *)result);
21162 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
21164 _wrap_pdbSecondaryStructureNo_allocate(VALUE self) {
21167 _wrap_pdbSecondaryStructureNo_allocate(int argc, VALUE *argv, VALUE self) {
21171 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbSecondaryStructureNo);
21172 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
21173 rb_obj_call_init(vresult, argc, argv);
21180 _wrap_new_pdbSecondaryStructureNo(int argc, VALUE *argv, VALUE self) {
21181 pdbSecondaryStructureNo *result = 0 ;
21183 if ((argc < 0) || (argc > 0)) {
21184 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21186 result = (pdbSecondaryStructureNo *)calloc(1, sizeof(pdbSecondaryStructureNo));
21187 DATA_PTR(self) = result;
21195 free_pdbSecondaryStructureNo(pdbSecondaryStructureNo *arg1) {
21196 free((char *) arg1);
21199 swig_class cPdbFileSecondaryStructureRecord;
21202 _wrap_pdbFileSecondaryStructureRecord_mode_set(int argc, VALUE *argv, VALUE self) {
21203 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21204 pdbFileSecondaryStructureMode arg2 ;
21210 if ((argc < 1) || (argc > 1)) {
21211 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21222 arg2 = (pdbFileSecondaryStructureMode)(val2);
21223 if (arg1) (arg1)->mode = arg2;
21231 _wrap_pdbFileSecondaryStructureRecord_mode_get(int argc, VALUE *argv, VALUE self) {
21232 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21235 pdbFileSecondaryStructureMode result;
21236 VALUE vresult = Qnil;
21238 if ((argc < 0) || (argc > 0)) {
21239 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21245 arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21246 result = (pdbFileSecondaryStructureMode) ((arg1)->mode);
21247 vresult = SWIG_From_int((int)(result));
21255 _wrap_pdbFileSecondaryStructureRecord_helix_set(int argc, VALUE *argv, VALUE self) {
21256 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21257 pdbSecondaryStructureHelix *arg2 = (pdbSecondaryStructureHelix *) 0 ;
21263 if ((argc < 1) || (argc > 1)) {
21264 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21275 arg2 = (pdbSecondaryStructureHelix *)(argp2);
21276 if (arg1) (arg1)->helix = arg2;
21284 _wrap_pdbFileSecondaryStructureRecord_helix_get(int argc, VALUE *argv, VALUE self) {
21285 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21288 pdbSecondaryStructureHelix *result = 0 ;
21289 VALUE vresult = Qnil;
21291 if ((argc < 0) || (argc > 0)) {
21292 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21298 arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21299 result = (pdbSecondaryStructureHelix *) ((arg1)->helix);
21300 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
21308 _wrap_pdbFileSecondaryStructureRecord_sheet_set(int argc, VALUE *argv, VALUE self) {
21309 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21310 pdbSecondaryStructureSheet *arg2 = (pdbSecondaryStructureSheet *) 0 ;
21316 if ((argc < 1) || (argc > 1)) {
21317 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21328 arg2 = (pdbSecondaryStructureSheet *)(argp2);
21329 if (arg1) (arg1)->sheet = arg2;
21337 _wrap_pdbFileSecondaryStructureRecord_sheet_get(int argc, VALUE *argv, VALUE self) {
21338 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21341 pdbSecondaryStructureSheet *result = 0 ;
21342 VALUE vresult = Qnil;
21344 if ((argc < 0) || (argc > 0)) {
21345 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21351 arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21352 result = (pdbSecondaryStructureSheet *) ((arg1)->sheet);
21353 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
21361 _wrap_pdbFileSecondaryStructureRecord_turn_set(int argc, VALUE *argv, VALUE self) {
21362 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21363 pdbSecondaryStructureTurn *arg2 = (pdbSecondaryStructureTurn *) 0 ;
21369 if ((argc < 1) || (argc > 1)) {
21370 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21381 arg2 = (pdbSecondaryStructureTurn *)(argp2);
21382 if (arg1) (arg1)->turn = arg2;
21390 _wrap_pdbFileSecondaryStructureRecord_turn_get(int argc, VALUE *argv, VALUE self) {
21391 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21394 pdbSecondaryStructureTurn *result = 0 ;
21395 VALUE vresult = Qnil;
21397 if ((argc < 0) || (argc > 0)) {
21398 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21404 arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21405 result = (pdbSecondaryStructureTurn *) ((arg1)->turn);
21406 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
21414 _wrap_pdbFileSecondaryStructureRecord_no_set(int argc, VALUE *argv, VALUE self) {
21415 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21416 pdbSecondaryStructureNo *arg2 = (pdbSecondaryStructureNo *) 0 ;
21422 if ((argc < 1) || (argc > 1)) {
21423 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21434 arg2 = (pdbSecondaryStructureNo *)(argp2);
21435 if (arg1) (arg1)->no = arg2;
21443 _wrap_pdbFileSecondaryStructureRecord_no_get(int argc, VALUE *argv, VALUE self) {
21444 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21447 pdbSecondaryStructureNo *result = 0 ;
21448 VALUE vresult = Qnil;
21450 if ((argc < 0) || (argc > 0)) {
21451 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21457 arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21458 result = (pdbSecondaryStructureNo *) ((arg1)->no);
21459 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
21467 _wrap_pdbFileSecondaryStructureRecord_prev_set(int argc, VALUE *argv, VALUE self) {
21468 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21469 pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
21475 if ((argc < 1) || (argc > 1)) {
21476 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21487 arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
21488 if (arg1) (arg1)->prev = arg2;
21496 _wrap_pdbFileSecondaryStructureRecord_prev_get(int argc, VALUE *argv, VALUE self) {
21497 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21500 pdbFileSecondaryStructureRecord *result = 0 ;
21501 VALUE vresult = Qnil;
21503 if ((argc < 0) || (argc > 0)) {
21504 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21510 arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21511 result = (pdbFileSecondaryStructureRecord *) ((arg1)->prev);
21512 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 | 0 );
21520 _wrap_pdbFileSecondaryStructureRecord_next_set(int argc, VALUE *argv, VALUE self) {
21521 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21522 pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
21528 if ((argc < 1) || (argc > 1)) {
21529 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21540 arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
21541 if (arg1) (arg1)->next = arg2;
21549 _wrap_pdbFileSecondaryStructureRecord_next_get(int argc, VALUE *argv, VALUE self) {
21550 struct pdbFileSecondaryStructureRecord *arg1 = (struct pdbFileSecondaryStructureRecord *) 0 ;
21553 pdbFileSecondaryStructureRecord *result = 0 ;
21554 VALUE vresult = Qnil;
21556 if ((argc < 0) || (argc > 0)) {
21557 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21563 arg1 = (struct pdbFileSecondaryStructureRecord *)(argp1);
21564 result = (pdbFileSecondaryStructureRecord *) ((arg1)->next);
21565 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 | 0 );
21572 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
21574 _wrap_pdbFileSecondaryStructureRecord_allocate(VALUE self) {
21577 _wrap_pdbFileSecondaryStructureRecord_allocate(int argc, VALUE *argv, VALUE self) {
21581 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbFileSecondaryStructureRecord);
21582 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
21583 rb_obj_call_init(vresult, argc, argv);
21590 _wrap_new_pdbFileSecondaryStructureRecord(int argc, VALUE *argv, VALUE self) {
21591 struct pdbFileSecondaryStructureRecord *result = 0 ;
21593 if ((argc < 0) || (argc > 0)) {
21594 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21596 result = (struct pdbFileSecondaryStructureRecord *)calloc(1, sizeof(struct pdbFileSecondaryStructureRecord));
21597 DATA_PTR(self) = result;
21605 free_pdbFileSecondaryStructureRecord(struct pdbFileSecondaryStructureRecord *arg1) {
21606 free((char *) arg1);
21609 swig_class cPdbFileSecondaryStructure;
21612 _wrap_pdbFileSecondaryStructure_nSecondaryStructure_set(int argc, VALUE *argv, VALUE self) {
21613 pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21620 if ((argc < 1) || (argc > 1)) {
21621 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21632 arg2 = (int)(val2);
21633 if (arg1) (arg1)->nSecondaryStructure = arg2;
21641 _wrap_pdbFileSecondaryStructure_nSecondaryStructure_get(int argc, VALUE *argv, VALUE self) {
21642 pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21646 VALUE vresult = Qnil;
21648 if ((argc < 0) || (argc > 0)) {
21649 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21655 arg1 = (pdbFileSecondaryStructure *)(argp1);
21656 result = (int) ((arg1)->nSecondaryStructure);
21657 vresult = SWIG_From_int((int)(result));
21665 _wrap_pdbFileSecondaryStructure_top_set(int argc, VALUE *argv, VALUE self) {
21666 pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21667 pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
21673 if ((argc < 1) || (argc > 1)) {
21674 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21685 arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
21686 if (arg1) (arg1)->top = arg2;
21694 _wrap_pdbFileSecondaryStructure_top_get(int argc, VALUE *argv, VALUE self) {
21695 pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21698 pdbFileSecondaryStructureRecord *result = 0 ;
21699 VALUE vresult = Qnil;
21701 if ((argc < 0) || (argc > 0)) {
21702 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21708 arg1 = (pdbFileSecondaryStructure *)(argp1);
21709 result = (pdbFileSecondaryStructureRecord *) ((arg1)->top);
21710 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 | 0 );
21718 _wrap_pdbFileSecondaryStructure_SecondaryStructure_set(int argc, VALUE *argv, VALUE self) {
21719 pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21720 pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
21726 if ((argc < 1) || (argc > 1)) {
21727 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21738 arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
21739 if (arg1) (arg1)->SecondaryStructure = arg2;
21747 _wrap_pdbFileSecondaryStructure_SecondaryStructure_get(int argc, VALUE *argv, VALUE self) {
21748 pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
21751 pdbFileSecondaryStructureRecord *result = 0 ;
21752 VALUE vresult = Qnil;
21754 if ((argc < 0) || (argc > 0)) {
21755 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21761 arg1 = (pdbFileSecondaryStructure *)(argp1);
21762 result = (pdbFileSecondaryStructureRecord *) ((arg1)->SecondaryStructure);
21763 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 | 0 );
21770 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
21772 _wrap_pdbFileSecondaryStructure_allocate(VALUE self) {
21775 _wrap_pdbFileSecondaryStructure_allocate(int argc, VALUE *argv, VALUE self) {
21779 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbFileSecondaryStructure);
21780 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
21781 rb_obj_call_init(vresult, argc, argv);
21788 _wrap_new_pdbFileSecondaryStructure(int argc, VALUE *argv, VALUE self) {
21789 pdbFileSecondaryStructure *result = 0 ;
21791 if ((argc < 0) || (argc > 0)) {
21792 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
21794 result = (pdbFileSecondaryStructure *)calloc(1, sizeof(pdbFileSecondaryStructure));
21795 DATA_PTR(self) = result;
21803 free_pdbFileSecondaryStructure(pdbFileSecondaryStructure *arg1) {
21804 free((char *) arg1);
21807 swig_class cPdbRecord;
21810 _wrap_pdbRecord_FullRecord_set(int argc, VALUE *argv, VALUE self) {
21811 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21812 pdbFileParaTypeCharacter *arg2 ;
21815 char temp2[(80) +1] ;
21818 if ((argc < 1) || (argc > 1)) {
21819 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
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));
21840 _wrap_pdbRecord_FullRecord_get(int argc, VALUE *argv, VALUE self) {
21841 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21844 pdbFileParaTypeCharacter *result = 0 ;
21845 VALUE vresult = Qnil;
21847 if ((argc < 0) || (argc > 0)) {
21848 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21854 arg1 = (struct pdbRecord *)(argp1);
21855 result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->FullRecord);
21857 size_t size = (80) +1;
21859 while (size && (result[size - 1] == '\0')) --size;
21861 vresult = SWIG_FromCharPtrAndSize(result, size);
21870 _wrap_pdbRecord_Record_set(int argc, VALUE *argv, VALUE self) {
21871 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21872 pdbFileParaTypeCharacter *arg2 ;
21875 char temp2[(6) +1] ;
21878 if ((argc < 1) || (argc > 1)) {
21879 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
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));
21900 _wrap_pdbRecord_Record_get(int argc, VALUE *argv, VALUE self) {
21901 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21904 pdbFileParaTypeCharacter *result = 0 ;
21905 VALUE vresult = Qnil;
21907 if ((argc < 0) || (argc > 0)) {
21908 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21914 arg1 = (struct pdbRecord *)(argp1);
21915 result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->Record);
21917 size_t size = (6) +1;
21919 while (size && (result[size - 1] == '\0')) --size;
21921 vresult = SWIG_FromCharPtrAndSize(result, size);
21930 _wrap_pdbRecord_AtomSerialNumber_set(int argc, VALUE *argv, VALUE self) {
21931 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21932 pdbFileParaTypeInteger arg2 ;
21938 if ((argc < 1) || (argc > 1)) {
21939 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
21950 arg2 = (pdbFileParaTypeInteger)(val2);
21951 if (arg1) (arg1)->AtomSerialNumber = arg2;
21959 _wrap_pdbRecord_AtomSerialNumber_get(int argc, VALUE *argv, VALUE self) {
21960 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21963 pdbFileParaTypeInteger result;
21964 VALUE vresult = Qnil;
21966 if ((argc < 0) || (argc > 0)) {
21967 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
21973 arg1 = (struct pdbRecord *)(argp1);
21974 result = (pdbFileParaTypeInteger) ((arg1)->AtomSerialNumber);
21975 vresult = SWIG_From_long((long)(result));
21983 _wrap_pdbRecord_AtomName_set(int argc, VALUE *argv, VALUE self) {
21984 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
21985 pdbFileParaTypeCharacter *arg2 ;
21988 char temp2[(4) +1] ;
21991 if ((argc < 1) || (argc > 1)) {
21992 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
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));
22013 _wrap_pdbRecord_AtomName_get(int argc, VALUE *argv, VALUE self) {
22014 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22017 pdbFileParaTypeCharacter *result = 0 ;
22018 VALUE vresult = Qnil;
22020 if ((argc < 0) || (argc > 0)) {
22021 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22027 arg1 = (struct pdbRecord *)(argp1);
22028 result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->AtomName);
22030 size_t size = (4) +1;
22032 while (size && (result[size - 1] == '\0')) --size;
22034 vresult = SWIG_FromCharPtrAndSize(result, size);
22043 _wrap_pdbRecord_LocationIndicator_set(int argc, VALUE *argv, VALUE self) {
22044 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22045 pdbFileParaTypeCharacter arg2 ;
22051 if ((argc < 1) || (argc > 1)) {
22052 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22063 arg2 = (pdbFileParaTypeCharacter)(val2);
22064 if (arg1) (arg1)->LocationIndicator = arg2;
22072 _wrap_pdbRecord_LocationIndicator_get(int argc, VALUE *argv, VALUE self) {
22073 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22076 pdbFileParaTypeCharacter result;
22077 VALUE vresult = Qnil;
22079 if ((argc < 0) || (argc > 0)) {
22080 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22086 arg1 = (struct pdbRecord *)(argp1);
22087 result = (pdbFileParaTypeCharacter) ((arg1)->LocationIndicator);
22088 vresult = SWIG_From_char((char)(result));
22096 _wrap_pdbRecord_ResidueName_set(int argc, VALUE *argv, VALUE self) {
22097 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22098 pdbFileParaTypeCharacter *arg2 ;
22101 char temp2[(3) +1] ;
22104 if ((argc < 1) || (argc > 1)) {
22105 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
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));
22126 _wrap_pdbRecord_ResidueName_get(int argc, VALUE *argv, VALUE self) {
22127 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22130 pdbFileParaTypeCharacter *result = 0 ;
22131 VALUE vresult = Qnil;
22133 if ((argc < 0) || (argc > 0)) {
22134 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22140 arg1 = (struct pdbRecord *)(argp1);
22141 result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->ResidueName);
22143 size_t size = (3) +1;
22145 while (size && (result[size - 1] == '\0')) --size;
22147 vresult = SWIG_FromCharPtrAndSize(result, size);
22156 _wrap_pdbRecord_ChainIdentifier_set(int argc, VALUE *argv, VALUE self) {
22157 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22158 pdbFileParaTypeCharacter arg2 ;
22164 if ((argc < 1) || (argc > 1)) {
22165 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22176 arg2 = (pdbFileParaTypeCharacter)(val2);
22177 if (arg1) (arg1)->ChainIdentifier = arg2;
22185 _wrap_pdbRecord_ChainIdentifier_get(int argc, VALUE *argv, VALUE self) {
22186 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22189 pdbFileParaTypeCharacter result;
22190 VALUE vresult = Qnil;
22192 if ((argc < 0) || (argc > 0)) {
22193 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22199 arg1 = (struct pdbRecord *)(argp1);
22200 result = (pdbFileParaTypeCharacter) ((arg1)->ChainIdentifier);
22201 vresult = SWIG_From_char((char)(result));
22209 _wrap_pdbRecord_ResidueSequenceNumber_set(int argc, VALUE *argv, VALUE self) {
22210 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22211 pdbFileParaTypeInteger arg2 ;
22217 if ((argc < 1) || (argc > 1)) {
22218 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22229 arg2 = (pdbFileParaTypeInteger)(val2);
22230 if (arg1) (arg1)->ResidueSequenceNumber = arg2;
22238 _wrap_pdbRecord_ResidueSequenceNumber_get(int argc, VALUE *argv, VALUE self) {
22239 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22242 pdbFileParaTypeInteger result;
22243 VALUE vresult = Qnil;
22245 if ((argc < 0) || (argc > 0)) {
22246 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22252 arg1 = (struct pdbRecord *)(argp1);
22253 result = (pdbFileParaTypeInteger) ((arg1)->ResidueSequenceNumber);
22254 vresult = SWIG_From_long((long)(result));
22262 _wrap_pdbRecord_InsertionCode_set(int argc, VALUE *argv, VALUE self) {
22263 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22264 pdbFileParaTypeCharacter arg2 ;
22270 if ((argc < 1) || (argc > 1)) {
22271 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22282 arg2 = (pdbFileParaTypeCharacter)(val2);
22283 if (arg1) (arg1)->InsertionCode = arg2;
22291 _wrap_pdbRecord_InsertionCode_get(int argc, VALUE *argv, VALUE self) {
22292 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22295 pdbFileParaTypeCharacter result;
22296 VALUE vresult = Qnil;
22298 if ((argc < 0) || (argc > 0)) {
22299 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22305 arg1 = (struct pdbRecord *)(argp1);
22306 result = (pdbFileParaTypeCharacter) ((arg1)->InsertionCode);
22307 vresult = SWIG_From_char((char)(result));
22315 _wrap_pdbRecord_Coord_set(int argc, VALUE *argv, VALUE self) {
22316 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22317 pdbCoord *arg2 = (pdbCoord *) 0 ;
22323 if ((argc < 1) || (argc > 1)) {
22324 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22335 arg2 = (pdbCoord *)(argp2);
22336 if (arg1) (arg1)->Coord = *arg2;
22344 _wrap_pdbRecord_Coord_get(int argc, VALUE *argv, VALUE self) {
22345 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22348 pdbCoord *result = 0 ;
22349 VALUE vresult = Qnil;
22351 if ((argc < 0) || (argc > 0)) {
22352 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22358 arg1 = (struct pdbRecord *)(argp1);
22359 result = (pdbCoord *)& ((arg1)->Coord);
22360 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbCoord, 0 | 0 );
22368 _wrap_pdbRecord_Occupancy_set(int argc, VALUE *argv, VALUE self) {
22369 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22370 pdbFileParaTypeReal arg2 ;
22376 if ((argc < 1) || (argc > 1)) {
22377 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22388 arg2 = (pdbFileParaTypeReal)(val2);
22389 if (arg1) (arg1)->Occupancy = arg2;
22397 _wrap_pdbRecord_Occupancy_get(int argc, VALUE *argv, VALUE self) {
22398 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22401 pdbFileParaTypeReal result;
22402 VALUE vresult = Qnil;
22404 if ((argc < 0) || (argc > 0)) {
22405 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22411 arg1 = (struct pdbRecord *)(argp1);
22412 result = (pdbFileParaTypeReal) ((arg1)->Occupancy);
22413 vresult = SWIG_From_float((float)(result));
22421 _wrap_pdbRecord_TemperatureFactor_set(int argc, VALUE *argv, VALUE self) {
22422 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22423 pdbFileParaTypeReal arg2 ;
22429 if ((argc < 1) || (argc > 1)) {
22430 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22441 arg2 = (pdbFileParaTypeReal)(val2);
22442 if (arg1) (arg1)->TemperatureFactor = arg2;
22450 _wrap_pdbRecord_TemperatureFactor_get(int argc, VALUE *argv, VALUE self) {
22451 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22454 pdbFileParaTypeReal result;
22455 VALUE vresult = Qnil;
22457 if ((argc < 0) || (argc > 0)) {
22458 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22464 arg1 = (struct pdbRecord *)(argp1);
22465 result = (pdbFileParaTypeReal) ((arg1)->TemperatureFactor);
22466 vresult = SWIG_From_float((float)(result));
22474 _wrap_pdbRecord_FootnoteNumber_set(int argc, VALUE *argv, VALUE self) {
22475 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22476 pdbFileParaTypeInteger arg2 ;
22482 if ((argc < 1) || (argc > 1)) {
22483 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22494 arg2 = (pdbFileParaTypeInteger)(val2);
22495 if (arg1) (arg1)->FootnoteNumber = arg2;
22503 _wrap_pdbRecord_FootnoteNumber_get(int argc, VALUE *argv, VALUE self) {
22504 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22507 pdbFileParaTypeInteger result;
22508 VALUE vresult = Qnil;
22510 if ((argc < 0) || (argc > 0)) {
22511 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22517 arg1 = (struct pdbRecord *)(argp1);
22518 result = (pdbFileParaTypeInteger) ((arg1)->FootnoteNumber);
22519 vresult = SWIG_From_long((long)(result));
22527 _wrap_pdbRecord_Footnote_set(int argc, VALUE *argv, VALUE self) {
22528 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22529 pdbFileParaTypeCharacter *arg2 ;
22532 char temp2[(10) +1] ;
22535 if ((argc < 1) || (argc > 1)) {
22536 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
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));
22557 _wrap_pdbRecord_Footnote_get(int argc, VALUE *argv, VALUE self) {
22558 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22561 pdbFileParaTypeCharacter *result = 0 ;
22562 VALUE vresult = Qnil;
22564 if ((argc < 0) || (argc > 0)) {
22565 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22571 arg1 = (struct pdbRecord *)(argp1);
22572 result = (pdbFileParaTypeCharacter *)(pdbFileParaTypeCharacter *) ((arg1)->Footnote);
22574 size_t size = (10) +1;
22576 while (size && (result[size - 1] == '\0')) --size;
22578 vresult = SWIG_FromCharPtrAndSize(result, size);
22587 _wrap_pdbRecord_prev_set(int argc, VALUE *argv, VALUE self) {
22588 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22589 pdbRecord *arg2 = (pdbRecord *) 0 ;
22595 if ((argc < 1) || (argc > 1)) {
22596 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22607 arg2 = (pdbRecord *)(argp2);
22608 if (arg1) (arg1)->prev = arg2;
22616 _wrap_pdbRecord_prev_get(int argc, VALUE *argv, VALUE self) {
22617 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22620 pdbRecord *result = 0 ;
22621 VALUE vresult = Qnil;
22623 if ((argc < 0) || (argc > 0)) {
22624 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22630 arg1 = (struct pdbRecord *)(argp1);
22631 result = (pdbRecord *) ((arg1)->prev);
22632 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
22640 _wrap_pdbRecord_next_set(int argc, VALUE *argv, VALUE self) {
22641 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22642 pdbRecord *arg2 = (pdbRecord *) 0 ;
22648 if ((argc < 1) || (argc > 1)) {
22649 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22660 arg2 = (pdbRecord *)(argp2);
22661 if (arg1) (arg1)->next = arg2;
22669 _wrap_pdbRecord_next_get(int argc, VALUE *argv, VALUE self) {
22670 struct pdbRecord *arg1 = (struct pdbRecord *) 0 ;
22673 pdbRecord *result = 0 ;
22674 VALUE vresult = Qnil;
22676 if ((argc < 0) || (argc > 0)) {
22677 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22683 arg1 = (struct pdbRecord *)(argp1);
22684 result = (pdbRecord *) ((arg1)->next);
22685 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
22692 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
22694 _wrap_pdbRecord_allocate(VALUE self) {
22697 _wrap_pdbRecord_allocate(int argc, VALUE *argv, VALUE self) {
22701 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbRecord);
22702 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
22703 rb_obj_call_init(vresult, argc, argv);
22710 _wrap_new_pdbRecord(int argc, VALUE *argv, VALUE self) {
22711 struct pdbRecord *result = 0 ;
22713 if ((argc < 0) || (argc > 0)) {
22714 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22716 result = (struct pdbRecord *)calloc(1, sizeof(struct pdbRecord));
22717 DATA_PTR(self) = result;
22725 free_pdbRecord(struct pdbRecord *arg1) {
22726 free((char *) arg1);
22729 swig_class cPdbFile;
22732 _wrap_pdbFile_top_set(int argc, VALUE *argv, VALUE self) {
22733 pdbFile *arg1 = (pdbFile *) 0 ;
22734 pdbRecord *arg2 = (pdbRecord *) 0 ;
22740 if ((argc < 1) || (argc > 1)) {
22741 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22752 arg2 = (pdbRecord *)(argp2);
22753 if (arg1) (arg1)->top = arg2;
22761 _wrap_pdbFile_top_get(int argc, VALUE *argv, VALUE self) {
22762 pdbFile *arg1 = (pdbFile *) 0 ;
22765 pdbRecord *result = 0 ;
22766 VALUE vresult = Qnil;
22768 if ((argc < 0) || (argc > 0)) {
22769 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22775 arg1 = (pdbFile *)(argp1);
22776 result = (pdbRecord *) ((arg1)->top);
22777 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
22785 _wrap_pdbFile_PDB_set(int argc, VALUE *argv, VALUE self) {
22786 pdbFile *arg1 = (pdbFile *) 0 ;
22787 pdbRecord *arg2 = (pdbRecord *) 0 ;
22793 if ((argc < 1) || (argc > 1)) {
22794 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22805 arg2 = (pdbRecord *)(argp2);
22806 if (arg1) (arg1)->PDB = arg2;
22814 _wrap_pdbFile_PDB_get(int argc, VALUE *argv, VALUE self) {
22815 pdbFile *arg1 = (pdbFile *) 0 ;
22818 pdbRecord *result = 0 ;
22819 VALUE vresult = Qnil;
22821 if ((argc < 0) || (argc > 0)) {
22822 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22828 arg1 = (pdbFile *)(argp1);
22829 result = (pdbRecord *) ((arg1)->PDB);
22830 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
22838 _wrap_pdbFile_nAtom_set(int argc, VALUE *argv, VALUE self) {
22839 pdbFile *arg1 = (pdbFile *) 0 ;
22840 pdbFileParaTypeInteger arg2 ;
22846 if ((argc < 1) || (argc > 1)) {
22847 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22858 arg2 = (pdbFileParaTypeInteger)(val2);
22859 if (arg1) (arg1)->nAtom = arg2;
22867 _wrap_pdbFile_nAtom_get(int argc, VALUE *argv, VALUE self) {
22868 pdbFile *arg1 = (pdbFile *) 0 ;
22871 pdbFileParaTypeInteger result;
22872 VALUE vresult = Qnil;
22874 if ((argc < 0) || (argc > 0)) {
22875 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22881 arg1 = (pdbFile *)(argp1);
22882 result = (pdbFileParaTypeInteger) ((arg1)->nAtom);
22883 vresult = SWIG_From_long((long)(result));
22891 _wrap_pdbFile_second_set(int argc, VALUE *argv, VALUE self) {
22892 pdbFile *arg1 = (pdbFile *) 0 ;
22893 pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
22899 if ((argc < 1) || (argc > 1)) {
22900 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
22911 arg2 = (pdbFileSecondaryStructure *)(argp2);
22912 if (arg1) (arg1)->second = *arg2;
22920 _wrap_pdbFile_second_get(int argc, VALUE *argv, VALUE self) {
22921 pdbFile *arg1 = (pdbFile *) 0 ;
22924 pdbFileSecondaryStructure *result = 0 ;
22925 VALUE vresult = Qnil;
22927 if ((argc < 0) || (argc > 0)) {
22928 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
22934 arg1 = (pdbFile *)(argp1);
22935 result = (pdbFileSecondaryStructure *)& ((arg1)->second);
22936 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
22943 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
22945 _wrap_pdbFile_allocate(VALUE self) {
22948 _wrap_pdbFile_allocate(int argc, VALUE *argv, VALUE self) {
22952 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbFile);
22953 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
22954 rb_obj_call_init(vresult, argc, argv);
22961 _wrap_new_pdbFile(int argc, VALUE *argv, VALUE self) {
22962 pdbFile *result = 0 ;
22964 if ((argc < 0) || (argc > 0)) {
22965 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22967 result = (pdbFile *)calloc(1, sizeof(pdbFile));
22968 DATA_PTR(self) = result;
22976 free_pdbFile(pdbFile *arg1) {
22977 free((char *) arg1);
22981 _wrap_pdbFileRead(int argc, VALUE *argv, VALUE self) {
22982 FILE *arg1 = (FILE *) 0 ;
22983 pdbFile *arg2 = (pdbFile *) 0 ;
22989 if ((argc < 2) || (argc > 2)) {
22990 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23001 arg2 = (pdbFile *)(argp2);
23002 pdbFileRead(arg1,arg2);
23010 _wrap_pdbFileWrite(int argc, VALUE *argv, VALUE self) {
23011 FILE *arg1 = (FILE *) 0 ;
23012 pdbFile *arg2 = (pdbFile *) 0 ;
23018 if ((argc < 2) || (argc > 2)) {
23019 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23030 arg2 = (pdbFile *)(argp2);
23031 pdbFileWrite(arg1,arg2);
23039 _wrap_pdbFileWriteCoord(int argc, VALUE *argv, VALUE self) {
23040 FILE *arg1 = (FILE *) 0 ;
23041 pdbFile *arg2 = (pdbFile *) 0 ;
23047 if ((argc < 2) || (argc > 2)) {
23048 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23059 arg2 = (pdbFile *)(argp2);
23060 pdbFileWriteCoord(arg1,arg2);
23068 _wrap_pdbFileTableWrite(int argc, VALUE *argv, VALUE self) {
23069 FILE *arg1 = (FILE *) 0 ;
23070 pdbFile *arg2 = (pdbFile *) 0 ;
23076 if ((argc < 2) || (argc > 2)) {
23077 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23088 arg2 = (pdbFile *)(argp2);
23089 pdbFileTableWrite(arg1,arg2);
23097 _wrap_pdbFileWriteSecondaryStructure(int argc, VALUE *argv, VALUE self) {
23098 FILE *arg1 = (FILE *) 0 ;
23099 pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
23105 if ((argc < 2) || (argc > 2)) {
23106 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23117 arg2 = (pdbFileSecondaryStructure *)(argp2);
23118 pdbFileWriteSecondaryStructure(arg1,arg2);
23126 _wrap_pdbMatrixFileFormat(int argc, VALUE *argv, VALUE self) {
23127 FILE *arg1 = (FILE *) 0 ;
23131 if ((argc < 1) || (argc > 1)) {
23132 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23138 arg1 = (FILE *)(argp1);
23139 pdbMatrixFileFormat(arg1);
23147 _wrap_pdbMatrixFileRead(int argc, VALUE *argv, VALUE self) {
23148 FILE *arg1 = (FILE *) 0 ;
23149 matrix3DParaTypeReal (*arg2)[4] ;
23155 if ((argc < 2) || (argc > 2)) {
23156 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23167 arg2 = (float (*)[4])(argp2);
23168 pdbMatrixFileRead(arg1,(float (*)[4])arg2);
23176 _wrap_pdbMatrixFileWrite(int argc, VALUE *argv, VALUE self) {
23177 FILE *arg1 = (FILE *) 0 ;
23178 matrix3DParaTypeReal (*arg2)[4] ;
23184 if ((argc < 2) || (argc > 2)) {
23185 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23196 arg2 = (float (*)[4])(argp2);
23197 pdbMatrixFileWrite(arg1,(float (*)[4])arg2);
23205 _wrap_pdbTrans(int argc, VALUE *argv, VALUE self) {
23206 pdbFile *arg1 = (pdbFile *) 0 ;
23207 matrix3DParaTypeReal (*arg2)[4] ;
23213 if ((argc < 2) || (argc > 2)) {
23214 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23225 arg2 = (float (*)[4])(argp2);
23226 pdbTrans(arg1,(float (*)[4])arg2);
23234 _wrap_pdbFileResidueSequenceNumberIncrementAll(int argc, VALUE *argv, VALUE self) {
23235 pdbFile *arg1 = (pdbFile *) 0 ;
23242 if ((argc < 2) || (argc > 2)) {
23243 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23254 arg2 = (int)(val2);
23255 pdbFileResidueSequenceNumberIncrementAll(arg1,arg2);
23263 _wrap_pdbFileResidueSequenceNumberIncrement(int argc, VALUE *argv, VALUE self) {
23264 pdbFile *arg1 = (pdbFile *) 0 ;
23271 if ((argc < 2) || (argc > 2)) {
23272 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23283 arg2 = (int)(val2);
23284 pdbFileResidueSequenceNumberIncrement(arg1,arg2);
23292 _wrap_pdbFileChainIdentifierSetAll(int argc, VALUE *argv, VALUE self) {
23293 pdbFile *arg1 = (pdbFile *) 0 ;
23294 unsigned char arg2 ;
23297 unsigned char val2 ;
23300 if ((argc < 2) || (argc > 2)) {
23301 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23312 arg2 = (unsigned char)(val2);
23313 pdbFileChainIdentifierSetAll(arg1,arg2);
23321 _wrap_pdbFileChainIdentifierSet(int argc, VALUE *argv, VALUE self) {
23322 pdbFile *arg1 = (pdbFile *) 0 ;
23323 unsigned char arg2 ;
23326 unsigned char val2 ;
23329 if ((argc < 2) || (argc > 2)) {
23330 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23341 arg2 = (unsigned char)(val2);
23342 pdbFileChainIdentifierSet(arg1,arg2);
23350 _wrap_pdbFileChainIdentifierGet(int argc, VALUE *argv, VALUE self) {
23351 pdbFile *arg1 = (pdbFile *) 0 ;
23354 unsigned char result;
23355 VALUE vresult = Qnil;
23357 if ((argc < 1) || (argc > 1)) {
23358 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23364 arg1 = (pdbFile *)(argp1);
23365 result = (unsigned char)pdbFileChainIdentifierGet(arg1);
23366 vresult = SWIG_From_unsigned_SS_char((unsigned char)(result));
23374 _wrap_pdbFileTemperatureFactorGet(int argc, VALUE *argv, VALUE self) {
23375 pdbFile *arg1 = (pdbFile *) 0 ;
23378 pdbFileParaTypeReal result;
23379 VALUE vresult = Qnil;
23381 if ((argc < 1) || (argc > 1)) {
23382 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23388 arg1 = (pdbFile *)(argp1);
23389 result = (pdbFileParaTypeReal)pdbFileTemperatureFactorGet(arg1);
23390 vresult = SWIG_From_float((float)(result));
23398 _wrap_pdbFileTemperatureFactorSet(int argc, VALUE *argv, VALUE self) {
23399 pdbFile *arg1 = (pdbFile *) 0 ;
23406 if ((argc < 2) || (argc > 2)) {
23407 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23418 arg2 = (double)(val2);
23419 pdbFileTemperatureFactorSet(arg1,arg2);
23427 _wrap_pdbFileOccupancyGet(int argc, VALUE *argv, VALUE self) {
23428 pdbFile *arg1 = (pdbFile *) 0 ;
23431 pdbFileParaTypeReal result;
23432 VALUE vresult = Qnil;
23434 if ((argc < 1) || (argc > 1)) {
23435 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23441 arg1 = (pdbFile *)(argp1);
23442 result = (pdbFileParaTypeReal)pdbFileOccupancyGet(arg1);
23443 vresult = SWIG_From_float((float)(result));
23451 _wrap_pdbFileOccupancySet(int argc, VALUE *argv, VALUE self) {
23452 pdbFile *arg1 = (pdbFile *) 0 ;
23459 if ((argc < 2) || (argc > 2)) {
23460 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23471 arg2 = (double)(val2);
23472 pdbFileOccupancySet(arg1,arg2);
23480 _wrap_pdbFileCoordSet(int argc, VALUE *argv, VALUE self) {
23481 pdbFile *arg1 = (pdbFile *) 0 ;
23482 pdbFileParaTypeReal arg2 ;
23483 pdbFileParaTypeReal arg3 ;
23484 pdbFileParaTypeReal arg4 ;
23494 VALUE vresult = Qnil;
23496 if ((argc < 4) || (argc > 4)) {
23497 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
23518 arg4 = (pdbFileParaTypeReal)(val4);
23519 result = (long)pdbFileCoordSet(arg1,arg2,arg3,arg4);
23520 vresult = SWIG_From_long((long)(result));
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 ;
23542 VALUE vresult = Qnil;
23544 if ((argc < 4) || (argc > 4)) {
23545 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
23566 arg4 = (pdbFileParaTypeReal *)(argp4);
23567 result = (long)pdbFileCoordGet(arg1,arg2,arg3,arg4);
23568 vresult = SWIG_From_long((long)(result));
23576 _wrap_pdbFileResidueSequenceNumberGet(int argc, VALUE *argv, VALUE self) {
23577 pdbFile *arg1 = (pdbFile *) 0 ;
23581 VALUE vresult = Qnil;
23583 if ((argc < 1) || (argc > 1)) {
23584 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23590 arg1 = (pdbFile *)(argp1);
23591 result = (long)pdbFileResidueSequenceNumberGet(arg1);
23592 vresult = SWIG_From_long((long)(result));
23600 _wrap_pdbFileResidueNameGet(int argc, VALUE *argv, VALUE self) {
23601 pdbFile *arg1 = (pdbFile *) 0 ;
23608 VALUE vresult = Qnil;
23610 if ((argc < 2) || (argc > 2)) {
23611 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
23622 arg2 = (int)(val2);
23623 result = (char *)pdbFileResidueNameGet(arg1,arg2);
23624 vresult = SWIG_FromCharPtr((const char *)result);
23632 _wrap_pdbFileTop(int argc, VALUE *argv, VALUE self) {
23633 pdbFile *arg1 = (pdbFile *) 0 ;
23636 pdbRecord *result = 0 ;
23637 VALUE vresult = Qnil;
23639 if ((argc < 1) || (argc > 1)) {
23640 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23646 arg1 = (pdbFile *)(argp1);
23647 result = (pdbRecord *)pdbFileTop(arg1);
23648 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
23656 _wrap_pdbFileTopPointer(int argc, VALUE *argv, VALUE self) {
23657 pdbFile *arg1 = (pdbFile *) 0 ;
23660 pdbRecord *result = 0 ;
23661 VALUE vresult = Qnil;
23663 if ((argc < 1) || (argc > 1)) {
23664 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23670 arg1 = (pdbFile *)(argp1);
23671 result = (pdbRecord *)pdbFileTopPointer(arg1);
23672 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
23680 _wrap_pdbFileNext(int argc, VALUE *argv, VALUE self) {
23681 pdbFile *arg1 = (pdbFile *) 0 ;
23684 pdbRecord *result = 0 ;
23685 VALUE vresult = Qnil;
23687 if ((argc < 1) || (argc > 1)) {
23688 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23694 arg1 = (pdbFile *)(argp1);
23695 result = (pdbRecord *)pdbFileNext(arg1);
23696 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
23704 _wrap_pdbFileNextAtom(int argc, VALUE *argv, VALUE self) {
23705 pdbFile *arg1 = (pdbFile *) 0 ;
23708 pdbRecord *result = 0 ;
23709 VALUE vresult = Qnil;
23711 if ((argc < 1) || (argc > 1)) {
23712 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23718 arg1 = (pdbFile *)(argp1);
23719 result = (pdbRecord *)pdbFileNextAtom(arg1);
23720 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
23728 _wrap_pdbFileNextCA(int argc, VALUE *argv, VALUE self) {
23729 pdbFile *arg1 = (pdbFile *) 0 ;
23732 pdbRecord *result = 0 ;
23733 VALUE vresult = Qnil;
23735 if ((argc < 1) || (argc > 1)) {
23736 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23742 arg1 = (pdbFile *)(argp1);
23743 result = (pdbRecord *)pdbFileNextCA(arg1);
23744 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
23752 _wrap_pdbFilePrev(int argc, VALUE *argv, VALUE self) {
23753 pdbFile *arg1 = (pdbFile *) 0 ;
23756 pdbRecord *result = 0 ;
23757 VALUE vresult = Qnil;
23759 if ((argc < 1) || (argc > 1)) {
23760 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23766 arg1 = (pdbFile *)(argp1);
23767 result = (pdbRecord *)pdbFilePrev(arg1);
23768 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
23776 _wrap_pdbFilePrevAtom(int argc, VALUE *argv, VALUE self) {
23777 pdbFile *arg1 = (pdbFile *) 0 ;
23780 pdbRecord *result = 0 ;
23781 VALUE vresult = Qnil;
23783 if ((argc < 1) || (argc > 1)) {
23784 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23790 arg1 = (pdbFile *)(argp1);
23791 result = (pdbRecord *)pdbFilePrevAtom(arg1);
23792 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
23800 _wrap_pdbFilePrevCA(int argc, VALUE *argv, VALUE self) {
23801 pdbFile *arg1 = (pdbFile *) 0 ;
23804 pdbRecord *result = 0 ;
23805 VALUE vresult = Qnil;
23807 if ((argc < 1) || (argc > 1)) {
23808 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23814 arg1 = (pdbFile *)(argp1);
23815 result = (pdbRecord *)pdbFilePrevCA(arg1);
23816 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
23824 _wrap_pdbFileEnd(int argc, VALUE *argv, VALUE self) {
23825 pdbFile *arg1 = (pdbFile *) 0 ;
23829 VALUE vresult = Qnil;
23831 if ((argc < 1) || (argc > 1)) {
23832 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23838 arg1 = (pdbFile *)(argp1);
23839 result = (long)pdbFileEnd(arg1);
23840 vresult = SWIG_From_long((long)(result));
23848 _wrap_pdbFileGoToEnd(int argc, VALUE *argv, VALUE self) {
23849 pdbFile *arg1 = (pdbFile *) 0 ;
23853 VALUE vresult = Qnil;
23855 if ((argc < 1) || (argc > 1)) {
23856 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23862 arg1 = (pdbFile *)(argp1);
23863 result = (long)pdbFileGoToEnd(arg1);
23864 vresult = SWIG_From_long((long)(result));
23872 _wrap_pdbFileIsEndLine(int argc, VALUE *argv, VALUE self) {
23873 pdbFile *arg1 = (pdbFile *) 0 ;
23877 VALUE vresult = Qnil;
23879 if ((argc < 1) || (argc > 1)) {
23880 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23886 arg1 = (pdbFile *)(argp1);
23887 result = (long)pdbFileIsEndLine(arg1);
23888 vresult = SWIG_From_long((long)(result));
23896 _wrap_pdbFileIsAtom(int argc, VALUE *argv, VALUE self) {
23897 pdbFile *arg1 = (pdbFile *) 0 ;
23901 VALUE vresult = Qnil;
23903 if ((argc < 1) || (argc > 1)) {
23904 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23910 arg1 = (pdbFile *)(argp1);
23911 result = (long)pdbFileIsAtom(arg1);
23912 vresult = SWIG_From_long((long)(result));
23920 _wrap_pdbRecordIsNearby(int argc, VALUE *argv, VALUE self) {
23928 VALUE vresult = Qnil;
23930 if ((argc < 2) || (argc > 2)) {
23931 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
23939 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "pdbRecord","pdbRecordIsNearby", 1, argv[0]));
23941 arg1 = *((pdbRecord *)(argp1));
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] ));
23950 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "pdbRecord","pdbRecordIsNearby", 2, argv[1]));
23952 arg2 = *((pdbRecord *)(argp2));
23955 result = (long)pdbRecordIsNearby(arg1,arg2);
23956 vresult = SWIG_From_long((long)(result));
23964 _wrap_pdbFileIsCA(int argc, VALUE *argv, VALUE self) {
23965 pdbFile *arg1 = (pdbFile *) 0 ;
23969 VALUE vresult = Qnil;
23971 if ((argc < 1) || (argc > 1)) {
23972 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
23978 arg1 = (pdbFile *)(argp1);
23979 result = (long)pdbFileIsCA(arg1);
23980 vresult = SWIG_From_long((long)(result));
23988 _wrap_pdbFileIsNegative(int argc, VALUE *argv, VALUE self) {
23989 pdbFile *arg1 = (pdbFile *) 0 ;
23993 VALUE vresult = Qnil;
23995 if ((argc < 1) || (argc > 1)) {
23996 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24002 arg1 = (pdbFile *)(argp1);
24003 result = (long)pdbFileIsNegative(arg1);
24004 vresult = SWIG_From_long((long)(result));
24012 _wrap_pdbFileIsPositive(int argc, VALUE *argv, VALUE self) {
24013 pdbFile *arg1 = (pdbFile *) 0 ;
24017 VALUE vresult = Qnil;
24019 if ((argc < 1) || (argc > 1)) {
24020 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24026 arg1 = (pdbFile *)(argp1);
24027 result = (long)pdbFileIsPositive(arg1);
24028 vresult = SWIG_From_long((long)(result));
24036 _wrap_pdbFileIsCharge(int argc, VALUE *argv, VALUE self) {
24037 pdbFile *arg1 = (pdbFile *) 0 ;
24041 VALUE vresult = Qnil;
24043 if ((argc < 1) || (argc > 1)) {
24044 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24050 arg1 = (pdbFile *)(argp1);
24051 result = (long)pdbFileIsCharge(arg1);
24052 vresult = SWIG_From_long((long)(result));
24060 _wrap_pdbFileIsSecondaryStructure(int argc, VALUE *argv, VALUE self) {
24061 pdbFile *arg1 = (pdbFile *) 0 ;
24065 VALUE vresult = Qnil;
24067 if ((argc < 1) || (argc > 1)) {
24068 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24074 arg1 = (pdbFile *)(argp1);
24075 result = (long)pdbFileIsSecondaryStructure(arg1);
24076 vresult = SWIG_From_long((long)(result));
24084 _wrap_pdbFileIsHelix(int argc, VALUE *argv, VALUE self) {
24085 pdbFile *arg1 = (pdbFile *) 0 ;
24089 VALUE vresult = Qnil;
24091 if ((argc < 1) || (argc > 1)) {
24092 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24098 arg1 = (pdbFile *)(argp1);
24099 result = (long)pdbFileIsHelix(arg1);
24100 vresult = SWIG_From_long((long)(result));
24108 _wrap_pdbFileIsSheet(int argc, VALUE *argv, VALUE self) {
24109 pdbFile *arg1 = (pdbFile *) 0 ;
24113 VALUE vresult = Qnil;
24115 if ((argc < 1) || (argc > 1)) {
24116 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24122 arg1 = (pdbFile *)(argp1);
24123 result = (long)pdbFileIsSheet(arg1);
24124 vresult = SWIG_From_long((long)(result));
24132 _wrap_pdbFileIsTurn(int argc, VALUE *argv, VALUE self) {
24133 pdbFile *arg1 = (pdbFile *) 0 ;
24137 VALUE vresult = Qnil;
24139 if ((argc < 1) || (argc > 1)) {
24140 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24146 arg1 = (pdbFile *)(argp1);
24147 result = (long)pdbFileIsTurn(arg1);
24148 vresult = SWIG_From_long((long)(result));
24156 _wrap_pdbFileNew(int argc, VALUE *argv, VALUE self) {
24157 pdbFile *arg1 = (pdbFile *) 0 ;
24160 pdbRecord *result = 0 ;
24161 VALUE vresult = Qnil;
24163 if ((argc < 1) || (argc > 1)) {
24164 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24170 arg1 = (pdbFile *)(argp1);
24171 result = (pdbRecord *)pdbFileNew(arg1);
24172 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
24180 _wrap_pdbFileAppend(int argc, VALUE *argv, VALUE self) {
24181 pdbFile *arg1 = (pdbFile *) 0 ;
24184 pdbRecord *result = 0 ;
24185 VALUE vresult = Qnil;
24187 if ((argc < 1) || (argc > 1)) {
24188 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24194 arg1 = (pdbFile *)(argp1);
24195 result = (pdbRecord *)pdbFileAppend(arg1);
24196 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
24204 _wrap_pdbFileFree(int argc, VALUE *argv, VALUE self) {
24205 pdbFile *arg1 = (pdbFile *) 0 ;
24208 pdbRecord *result = 0 ;
24209 VALUE vresult = Qnil;
24211 if ((argc < 1) || (argc > 1)) {
24212 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24218 arg1 = (pdbFile *)(argp1);
24219 result = (pdbRecord *)pdbFileFree(arg1);
24220 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
24228 _wrap_pdbFileRecordPrint(int argc, VALUE *argv, VALUE self) {
24229 FILE *arg1 = (FILE *) 0 ;
24230 pdbFile *arg2 = (pdbFile *) 0 ;
24235 pdbRecord *result = 0 ;
24236 VALUE vresult = Qnil;
24238 if ((argc < 2) || (argc > 2)) {
24239 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24250 arg2 = (pdbFile *)(argp2);
24251 result = (pdbRecord *)pdbFileRecordPrint(arg1,arg2);
24252 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
24260 _wrap_pdbZValueGet(int argc, VALUE *argv, VALUE self) {
24261 pdbFile *arg1 = (pdbFile *) 0 ;
24264 pdbFileParaTypeInteger result;
24265 VALUE vresult = Qnil;
24267 if ((argc < 1) || (argc > 1)) {
24268 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24274 arg1 = (pdbFile *)(argp1);
24275 result = (pdbFileParaTypeInteger)pdbZValueGet(arg1);
24276 vresult = SWIG_From_long((long)(result));
24284 _wrap_pdbFileRecordTablePrint(int argc, VALUE *argv, VALUE self) {
24285 FILE *arg1 = (FILE *) 0 ;
24286 pdbFile *arg2 = (pdbFile *) 0 ;
24291 pdbRecord *result = 0 ;
24292 VALUE vresult = Qnil;
24294 if ((argc < 2) || (argc > 2)) {
24295 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24306 arg2 = (pdbFile *)(argp2);
24307 result = (pdbRecord *)pdbFileRecordTablePrint(arg1,arg2);
24308 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
24316 _wrap_pdbFileSecondaryStructureRecordPrint(int argc, VALUE *argv, VALUE self) {
24317 FILE *arg1 = (FILE *) 0 ;
24318 pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
24323 pdbFileSecondaryStructureRecord *result = 0 ;
24324 VALUE vresult = Qnil;
24326 if ((argc < 2) || (argc > 2)) {
24327 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24338 arg2 = (pdbFileSecondaryStructureRecord *)(argp2);
24339 result = (pdbFileSecondaryStructureRecord *)pdbFileSecondaryStructureRecordPrint(arg1,arg2);
24340 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 | 0 );
24348 _wrap_pdbFileCAOnlyCopy(int argc, VALUE *argv, VALUE self) {
24349 pdbFile *arg1 = (pdbFile *) 0 ;
24350 pdbFile *arg2 = (pdbFile *) 0 ;
24355 pdbRecord *result = 0 ;
24356 VALUE vresult = Qnil;
24358 if ((argc < 2) || (argc > 2)) {
24359 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24370 arg2 = (pdbFile *)(argp2);
24371 result = (pdbRecord *)pdbFileCAOnlyCopy(arg1,arg2);
24372 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
24380 _wrap_pdbFileCAOnlyCopyAll(int argc, VALUE *argv, VALUE self) {
24381 pdbFile *arg1 = (pdbFile *) 0 ;
24382 pdbFile *arg2 = (pdbFile *) 0 ;
24388 if ((argc < 2) || (argc > 2)) {
24389 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24400 arg2 = (pdbFile *)(argp2);
24401 pdbFileCAOnlyCopyAll(arg1,arg2);
24409 _wrap_pdbFileCopyAll(int argc, VALUE *argv, VALUE self) {
24410 pdbFile *arg1 = (pdbFile *) 0 ;
24411 pdbFile *arg2 = (pdbFile *) 0 ;
24417 if ((argc < 2) || (argc > 2)) {
24418 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24429 arg2 = (pdbFile *)(argp2);
24430 pdbFileCopyAll(arg1,arg2);
24438 _wrap_pdbFileAppendAll(int argc, VALUE *argv, VALUE self) {
24439 pdbFile *arg1 = (pdbFile *) 0 ;
24440 pdbFile *arg2 = (pdbFile *) 0 ;
24446 if ((argc < 2) || (argc > 2)) {
24447 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24458 arg2 = (pdbFile *)(argp2);
24459 pdbFileAppendAll(arg1,arg2);
24467 _wrap_pdbFileOneRecordCopy(int argc, VALUE *argv, VALUE self) {
24468 pdbFile *arg1 = (pdbFile *) 0 ;
24469 pdbFile *arg2 = (pdbFile *) 0 ;
24474 pdbRecord *result = 0 ;
24475 VALUE vresult = Qnil;
24477 if ((argc < 2) || (argc > 2)) {
24478 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24489 arg2 = (pdbFile *)(argp2);
24490 result = (pdbRecord *)pdbFileOneRecordCopy(arg1,arg2);
24491 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
24499 _wrap_pdbFileOneProteinCopy(int argc, VALUE *argv, VALUE self) {
24500 pdbFile *arg1 = (pdbFile *) 0 ;
24501 pdbFile *arg2 = (pdbFile *) 0 ;
24510 if ((argc < 3) || (argc > 3)) {
24511 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
24527 arg3 = (long)(val3);
24528 pdbFileOneProteinCopy(arg1,arg2,arg3);
24536 _wrap_pdbRotationFollowingEulerAngle(int argc, VALUE *argv, VALUE self) {
24537 pdbFile *arg1 = (pdbFile *) 0 ;
24539 pdbFileParaTypeReal arg3 ;
24540 pdbFileParaTypeReal arg4 ;
24541 pdbFileParaTypeReal arg5 ;
24553 if ((argc < 5) || (argc > 5)) {
24554 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
24580 arg5 = (pdbFileParaTypeReal)(val5);
24581 pdbRotationFollowingEulerAngle(arg1,arg2,arg3,arg4,arg5);
24589 _wrap_pdbRotationFollowingEulerAngleInverse(int argc, VALUE *argv, VALUE self) {
24590 pdbFile *arg1 = (pdbFile *) 0 ;
24592 pdbFileParaTypeReal arg3 ;
24593 pdbFileParaTypeReal arg4 ;
24594 pdbFileParaTypeReal arg5 ;
24606 if ((argc < 5) || (argc > 5)) {
24607 rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
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] ));
24633 arg5 = (pdbFileParaTypeReal)(val5);
24634 pdbRotationFollowingEulerAngleInverse(arg1,arg2,arg3,arg4,arg5);
24642 _wrap_pdbRotationXYZ(int argc, VALUE *argv, VALUE self) {
24643 pdbFile *arg1 = (pdbFile *) 0 ;
24644 pdbFileParaTypeReal arg2 ;
24645 pdbFileParaTypeReal arg3 ;
24646 pdbFileParaTypeReal arg4 ;
24656 if ((argc < 4) || (argc > 4)) {
24657 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
24678 arg4 = (pdbFileParaTypeReal)(val4);
24679 pdbRotationXYZ(arg1,arg2,arg3,arg4);
24687 _wrap_pdbRotationZYX(int argc, VALUE *argv, VALUE self) {
24688 pdbFile *arg1 = (pdbFile *) 0 ;
24689 pdbFileParaTypeReal arg2 ;
24690 pdbFileParaTypeReal arg3 ;
24691 pdbFileParaTypeReal arg4 ;
24701 if ((argc < 4) || (argc > 4)) {
24702 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
24723 arg4 = (pdbFileParaTypeReal)(val4);
24724 pdbRotationZYX(arg1,arg2,arg3,arg4);
24732 _wrap_pdbRotationZXY(int argc, VALUE *argv, VALUE self) {
24733 pdbFile *arg1 = (pdbFile *) 0 ;
24734 pdbFileParaTypeReal arg2 ;
24735 pdbFileParaTypeReal arg3 ;
24736 pdbFileParaTypeReal arg4 ;
24746 if ((argc < 4) || (argc > 4)) {
24747 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
24768 arg4 = (pdbFileParaTypeReal)(val4);
24769 pdbRotationZXY(arg1,arg2,arg3,arg4);
24777 _wrap_pdbRotationYXZ(int argc, VALUE *argv, VALUE self) {
24778 pdbFile *arg1 = (pdbFile *) 0 ;
24779 pdbFileParaTypeReal arg2 ;
24780 pdbFileParaTypeReal arg3 ;
24781 pdbFileParaTypeReal arg4 ;
24791 if ((argc < 4) || (argc > 4)) {
24792 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
24813 arg4 = (pdbFileParaTypeReal)(val4);
24814 pdbRotationYXZ(arg1,arg2,arg3,arg4);
24822 _wrap_pdbSecondaryStructureSetFromPDB(int argc, VALUE *argv, VALUE self) {
24823 pdbFile *arg1 = (pdbFile *) 0 ;
24824 pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
24830 VALUE vresult = Qnil;
24832 if ((argc < 2) || (argc > 2)) {
24833 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24844 arg2 = (pdbFileSecondaryStructure *)(argp2);
24845 result = (int)pdbSecondaryStructureSetFromPDB(arg1,arg2);
24846 vresult = SWIG_From_int((int)(result));
24854 _wrap_pdbNoSecondaryStructureSetFromPDB(int argc, VALUE *argv, VALUE self) {
24855 pdbFile *arg1 = (pdbFile *) 0 ;
24856 pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
24862 VALUE vresult = Qnil;
24864 if ((argc < 2) || (argc > 2)) {
24865 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24876 arg2 = (pdbFileSecondaryStructure *)(argp2);
24877 result = (int)pdbNoSecondaryStructureSetFromPDB(arg1,arg2);
24878 vresult = SWIG_From_int((int)(result));
24886 _wrap_pdbSecondaryStructureAppend(int argc, VALUE *argv, VALUE self) {
24887 pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
24891 VALUE vresult = Qnil;
24893 if ((argc < 1) || (argc > 1)) {
24894 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
24900 arg1 = (pdbFileSecondaryStructure *)(argp1);
24901 result = (int)pdbSecondaryStructureAppend(arg1);
24902 vresult = SWIG_From_int((int)(result));
24910 _wrap_pdbFileWithSecondaryStructure(int argc, VALUE *argv, VALUE self) {
24911 pdbFile *arg1 = (pdbFile *) 0 ;
24912 pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
24917 pdbFileSecondaryStructureMode result;
24918 VALUE vresult = Qnil;
24920 if ((argc < 2) || (argc > 2)) {
24921 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
24932 arg2 = (pdbFileSecondaryStructure *)(argp2);
24933 result = (pdbFileSecondaryStructureMode)pdbFileWithSecondaryStructure(arg1,arg2);
24934 vresult = SWIG_From_int((int)(result));
24941 swig_class cMolvieInfo;
24944 _wrap_molvieInfo_flagRedirect_set(int argc, VALUE *argv, VALUE self) {
24945 molvieInfo *arg1 = (molvieInfo *) 0 ;
24952 if ((argc < 1) || (argc > 1)) {
24953 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
24964 arg2 = (long)(val2);
24965 if (arg1) (arg1)->flagRedirect = arg2;
24973 _wrap_molvieInfo_flagRedirect_get(int argc, VALUE *argv, VALUE self) {
24974 molvieInfo *arg1 = (molvieInfo *) 0 ;
24978 VALUE vresult = Qnil;
24980 if ((argc < 0) || (argc > 0)) {
24981 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
24987 arg1 = (molvieInfo *)(argp1);
24988 result = (long) ((arg1)->flagRedirect);
24989 vresult = SWIG_From_long((long)(result));
24997 _wrap_molvieInfo_flagIn_set(int argc, VALUE *argv, VALUE self) {
24998 molvieInfo *arg1 = (molvieInfo *) 0 ;
25005 if ((argc < 1) || (argc > 1)) {
25006 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25017 arg2 = (long)(val2);
25018 if (arg1) (arg1)->flagIn = arg2;
25026 _wrap_molvieInfo_flagIn_get(int argc, VALUE *argv, VALUE self) {
25027 molvieInfo *arg1 = (molvieInfo *) 0 ;
25031 VALUE vresult = Qnil;
25033 if ((argc < 0) || (argc > 0)) {
25034 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25040 arg1 = (molvieInfo *)(argp1);
25041 result = (long) ((arg1)->flagIn);
25042 vresult = SWIG_From_long((long)(result));
25050 _wrap_molvieInfo_In_set(int argc, VALUE *argv, VALUE self) {
25051 molvieInfo *arg1 = (molvieInfo *) 0 ;
25052 char *arg2 = (char *) 0 ;
25059 if ((argc < 1) || (argc > 1)) {
25060 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25071 arg2 = (char *)(buf2);
25072 if (arg1->In) free((char*)arg1->In);
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));
25079 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25082 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25088 _wrap_molvieInfo_In_get(int argc, VALUE *argv, VALUE self) {
25089 molvieInfo *arg1 = (molvieInfo *) 0 ;
25093 VALUE vresult = Qnil;
25095 if ((argc < 0) || (argc > 0)) {
25096 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25102 arg1 = (molvieInfo *)(argp1);
25103 result = (char *) ((arg1)->In);
25104 vresult = SWIG_FromCharPtr((const char *)result);
25112 _wrap_molvieInfo_fptIn_set(int argc, VALUE *argv, VALUE self) {
25113 molvieInfo *arg1 = (molvieInfo *) 0 ;
25114 FILE *arg2 = (FILE *) 0 ;
25120 if ((argc < 1) || (argc > 1)) {
25121 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25132 arg2 = (FILE *)(argp2);
25133 if (arg1) (arg1)->fptIn = arg2;
25141 _wrap_molvieInfo_fptIn_get(int argc, VALUE *argv, VALUE self) {
25142 molvieInfo *arg1 = (molvieInfo *) 0 ;
25146 VALUE vresult = Qnil;
25148 if ((argc < 0) || (argc > 0)) {
25149 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25155 arg1 = (molvieInfo *)(argp1);
25156 result = (FILE *) ((arg1)->fptIn);
25157 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 );
25165 _wrap_molvieInfo_flagOut_set(int argc, VALUE *argv, VALUE self) {
25166 molvieInfo *arg1 = (molvieInfo *) 0 ;
25173 if ((argc < 1) || (argc > 1)) {
25174 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25185 arg2 = (long)(val2);
25186 if (arg1) (arg1)->flagOut = arg2;
25194 _wrap_molvieInfo_flagOut_get(int argc, VALUE *argv, VALUE self) {
25195 molvieInfo *arg1 = (molvieInfo *) 0 ;
25199 VALUE vresult = Qnil;
25201 if ((argc < 0) || (argc > 0)) {
25202 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25208 arg1 = (molvieInfo *)(argp1);
25209 result = (long) ((arg1)->flagOut);
25210 vresult = SWIG_From_long((long)(result));
25218 _wrap_molvieInfo_Out_set(int argc, VALUE *argv, VALUE self) {
25219 molvieInfo *arg1 = (molvieInfo *) 0 ;
25220 char *arg2 = (char *) 0 ;
25227 if ((argc < 1) || (argc > 1)) {
25228 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25239 arg2 = (char *)(buf2);
25240 if (arg1->Out) free((char*)arg1->Out);
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));
25247 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25250 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25256 _wrap_molvieInfo_Out_get(int argc, VALUE *argv, VALUE self) {
25257 molvieInfo *arg1 = (molvieInfo *) 0 ;
25261 VALUE vresult = Qnil;
25263 if ((argc < 0) || (argc > 0)) {
25264 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25270 arg1 = (molvieInfo *)(argp1);
25271 result = (char *) ((arg1)->Out);
25272 vresult = SWIG_FromCharPtr((const char *)result);
25280 _wrap_molvieInfo_fptOut_set(int argc, VALUE *argv, VALUE self) {
25281 molvieInfo *arg1 = (molvieInfo *) 0 ;
25282 FILE *arg2 = (FILE *) 0 ;
25288 if ((argc < 1) || (argc > 1)) {
25289 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25300 arg2 = (FILE *)(argp2);
25301 if (arg1) (arg1)->fptOut = arg2;
25309 _wrap_molvieInfo_fptOut_get(int argc, VALUE *argv, VALUE self) {
25310 molvieInfo *arg1 = (molvieInfo *) 0 ;
25314 VALUE vresult = Qnil;
25316 if ((argc < 0) || (argc > 0)) {
25317 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25323 arg1 = (molvieInfo *)(argp1);
25324 result = (FILE *) ((arg1)->fptOut);
25325 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 );
25333 _wrap_molvieInfo_flagconfigFile_set(int argc, VALUE *argv, VALUE self) {
25334 molvieInfo *arg1 = (molvieInfo *) 0 ;
25341 if ((argc < 1) || (argc > 1)) {
25342 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25353 arg2 = (long)(val2);
25354 if (arg1) (arg1)->flagconfigFile = arg2;
25362 _wrap_molvieInfo_flagconfigFile_get(int argc, VALUE *argv, VALUE self) {
25363 molvieInfo *arg1 = (molvieInfo *) 0 ;
25367 VALUE vresult = Qnil;
25369 if ((argc < 0) || (argc > 0)) {
25370 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25376 arg1 = (molvieInfo *)(argp1);
25377 result = (long) ((arg1)->flagconfigFile);
25378 vresult = SWIG_From_long((long)(result));
25386 _wrap_molvieInfo_configFile_set(int argc, VALUE *argv, VALUE self) {
25387 molvieInfo *arg1 = (molvieInfo *) 0 ;
25388 char *arg2 = (char *) 0 ;
25395 if ((argc < 1) || (argc > 1)) {
25396 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25407 arg2 = (char *)(buf2);
25408 if (arg1->configFile) free((char*)arg1->configFile);
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));
25413 arg1->configFile = 0;
25415 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25418 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25424 _wrap_molvieInfo_configFile_get(int argc, VALUE *argv, VALUE self) {
25425 molvieInfo *arg1 = (molvieInfo *) 0 ;
25429 VALUE vresult = Qnil;
25431 if ((argc < 0) || (argc > 0)) {
25432 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25438 arg1 = (molvieInfo *)(argp1);
25439 result = (char *) ((arg1)->configFile);
25440 vresult = SWIG_FromCharPtr((const char *)result);
25448 _wrap_molvieInfo_fptconfigFile_set(int argc, VALUE *argv, VALUE self) {
25449 molvieInfo *arg1 = (molvieInfo *) 0 ;
25450 FILE *arg2 = (FILE *) 0 ;
25456 if ((argc < 1) || (argc > 1)) {
25457 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25468 arg2 = (FILE *)(argp2);
25469 if (arg1) (arg1)->fptconfigFile = arg2;
25477 _wrap_molvieInfo_fptconfigFile_get(int argc, VALUE *argv, VALUE self) {
25478 molvieInfo *arg1 = (molvieInfo *) 0 ;
25482 VALUE vresult = Qnil;
25484 if ((argc < 0) || (argc > 0)) {
25485 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25491 arg1 = (molvieInfo *)(argp1);
25492 result = (FILE *) ((arg1)->fptconfigFile);
25493 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 );
25501 _wrap_molvieInfo_flagmode_set(int argc, VALUE *argv, VALUE self) {
25502 molvieInfo *arg1 = (molvieInfo *) 0 ;
25509 if ((argc < 1) || (argc > 1)) {
25510 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25521 arg2 = (long)(val2);
25522 if (arg1) (arg1)->flagmode = arg2;
25530 _wrap_molvieInfo_flagmode_get(int argc, VALUE *argv, VALUE self) {
25531 molvieInfo *arg1 = (molvieInfo *) 0 ;
25535 VALUE vresult = Qnil;
25537 if ((argc < 0) || (argc > 0)) {
25538 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25544 arg1 = (molvieInfo *)(argp1);
25545 result = (long) ((arg1)->flagmode);
25546 vresult = SWIG_From_long((long)(result));
25554 _wrap_molvieInfo_mode_set(int argc, VALUE *argv, VALUE self) {
25555 molvieInfo *arg1 = (molvieInfo *) 0 ;
25562 if ((argc < 1) || (argc > 1)) {
25563 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25574 arg2 = (long)(val2);
25575 if (arg1) (arg1)->mode = arg2;
25583 _wrap_molvieInfo_mode_get(int argc, VALUE *argv, VALUE self) {
25584 molvieInfo *arg1 = (molvieInfo *) 0 ;
25588 VALUE vresult = Qnil;
25590 if ((argc < 0) || (argc > 0)) {
25591 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25597 arg1 = (molvieInfo *)(argp1);
25598 result = (long) ((arg1)->mode);
25599 vresult = SWIG_From_long((long)(result));
25606 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
25608 _wrap_molvieInfo_allocate(VALUE self) {
25611 _wrap_molvieInfo_allocate(int argc, VALUE *argv, VALUE self) {
25615 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_molvieInfo);
25616 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
25617 rb_obj_call_init(vresult, argc, argv);
25624 _wrap_new_molvieInfo(int argc, VALUE *argv, VALUE self) {
25625 molvieInfo *result = 0 ;
25627 if ((argc < 0) || (argc > 0)) {
25628 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25630 result = (molvieInfo *)calloc(1, sizeof(molvieInfo));
25631 DATA_PTR(self) = result;
25639 free_molvieInfo(molvieInfo *arg1) {
25640 free((char *) arg1);
25643 swig_class cCameraInfo;
25646 _wrap_cameraInfo_Fovy_set(int argc, VALUE *argv, VALUE self) {
25647 cameraInfo *arg1 = (cameraInfo *) 0 ;
25654 if ((argc < 1) || (argc > 1)) {
25655 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
25661 arg1 = (cameraInfo *)(argp1);
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] ));
25668 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","Fovy", 2, argv[0]));
25670 arg2 = *((GLdouble *)(argp2));
25673 if (arg1) (arg1)->Fovy = arg2;
25681 _wrap_cameraInfo_Fovy_get(int argc, VALUE *argv, VALUE self) {
25682 cameraInfo *arg1 = (cameraInfo *) 0 ;
25686 VALUE vresult = Qnil;
25688 if ((argc < 0) || (argc > 0)) {
25689 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
25705 _wrap_cameraInfo_Aspect_set(int argc, VALUE *argv, VALUE self) {
25706 cameraInfo *arg1 = (cameraInfo *) 0 ;
25713 if ((argc < 1) || (argc > 1)) {
25714 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
25720 arg1 = (cameraInfo *)(argp1);
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] ));
25727 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","Aspect", 2, argv[0]));
25729 arg2 = *((GLdouble *)(argp2));
25732 if (arg1) (arg1)->Aspect = arg2;
25740 _wrap_cameraInfo_Aspect_get(int argc, VALUE *argv, VALUE self) {
25741 cameraInfo *arg1 = (cameraInfo *) 0 ;
25745 VALUE vresult = Qnil;
25747 if ((argc < 0) || (argc > 0)) {
25748 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
25764 _wrap_cameraInfo_ClipNear_set(int argc, VALUE *argv, VALUE self) {
25765 cameraInfo *arg1 = (cameraInfo *) 0 ;
25772 if ((argc < 1) || (argc > 1)) {
25773 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
25779 arg1 = (cameraInfo *)(argp1);
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] ));
25786 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","ClipNear", 2, argv[0]));
25788 arg2 = *((GLdouble *)(argp2));
25791 if (arg1) (arg1)->ClipNear = arg2;
25799 _wrap_cameraInfo_ClipNear_get(int argc, VALUE *argv, VALUE self) {
25800 cameraInfo *arg1 = (cameraInfo *) 0 ;
25804 VALUE vresult = Qnil;
25806 if ((argc < 0) || (argc > 0)) {
25807 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
25823 _wrap_cameraInfo_ClipFar_set(int argc, VALUE *argv, VALUE self) {
25824 cameraInfo *arg1 = (cameraInfo *) 0 ;
25831 if ((argc < 1) || (argc > 1)) {
25832 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
25838 arg1 = (cameraInfo *)(argp1);
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] ));
25845 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","ClipFar", 2, argv[0]));
25847 arg2 = *((GLdouble *)(argp2));
25850 if (arg1) (arg1)->ClipFar = arg2;
25858 _wrap_cameraInfo_ClipFar_get(int argc, VALUE *argv, VALUE self) {
25859 cameraInfo *arg1 = (cameraInfo *) 0 ;
25863 VALUE vresult = Qnil;
25865 if ((argc < 0) || (argc > 0)) {
25866 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
25882 _wrap_cameraInfo_Eye_set(int argc, VALUE *argv, VALUE self) {
25883 cameraInfo *arg1 = (cameraInfo *) 0 ;
25890 if ((argc < 1) || (argc > 1)) {
25891 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25902 arg2 = (GLdouble *)(argp2);
25906 for (; ii < (size_t)3; ++ii) arg1->Eye[ii] = arg2[ii];
25908 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Eye""' of type '""GLdouble [3]""'");
25918 _wrap_cameraInfo_Eye_get(int argc, VALUE *argv, VALUE self) {
25919 cameraInfo *arg1 = (cameraInfo *) 0 ;
25922 GLdouble *result = 0 ;
25923 VALUE vresult = Qnil;
25925 if ((argc < 0) || (argc > 0)) {
25926 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25932 arg1 = (cameraInfo *)(argp1);
25933 result = (GLdouble *)(GLdouble *) ((arg1)->Eye);
25934 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 | 0 );
25942 _wrap_cameraInfo_Centre_set(int argc, VALUE *argv, VALUE self) {
25943 cameraInfo *arg1 = (cameraInfo *) 0 ;
25950 if ((argc < 1) || (argc > 1)) {
25951 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
25962 arg2 = (GLdouble *)(argp2);
25966 for (; ii < (size_t)3; ++ii) arg1->Centre[ii] = arg2[ii];
25968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Centre""' of type '""GLdouble [3]""'");
25978 _wrap_cameraInfo_Centre_get(int argc, VALUE *argv, VALUE self) {
25979 cameraInfo *arg1 = (cameraInfo *) 0 ;
25982 GLdouble *result = 0 ;
25983 VALUE vresult = Qnil;
25985 if ((argc < 0) || (argc > 0)) {
25986 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
25992 arg1 = (cameraInfo *)(argp1);
25993 result = (GLdouble *)(GLdouble *) ((arg1)->Centre);
25994 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 | 0 );
26002 _wrap_cameraInfo_Up_set(int argc, VALUE *argv, VALUE self) {
26003 cameraInfo *arg1 = (cameraInfo *) 0 ;
26010 if ((argc < 1) || (argc > 1)) {
26011 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
26022 arg2 = (GLdouble *)(argp2);
26026 for (; ii < (size_t)3; ++ii) arg1->Up[ii] = arg2[ii];
26028 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Up""' of type '""GLdouble [3]""'");
26038 _wrap_cameraInfo_Up_get(int argc, VALUE *argv, VALUE self) {
26039 cameraInfo *arg1 = (cameraInfo *) 0 ;
26042 GLdouble *result = 0 ;
26043 VALUE vresult = Qnil;
26045 if ((argc < 0) || (argc > 0)) {
26046 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
26052 arg1 = (cameraInfo *)(argp1);
26053 result = (GLdouble *)(GLdouble *) ((arg1)->Up);
26054 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 | 0 );
26061 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
26063 _wrap_cameraInfo_allocate(VALUE self) {
26066 _wrap_cameraInfo_allocate(int argc, VALUE *argv, VALUE self) {
26070 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_cameraInfo);
26071 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
26072 rb_obj_call_init(vresult, argc, argv);
26079 _wrap_new_cameraInfo(int argc, VALUE *argv, VALUE self) {
26080 cameraInfo *result = 0 ;
26082 if ((argc < 0) || (argc > 0)) {
26083 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26085 result = (cameraInfo *)calloc(1, sizeof(cameraInfo));
26086 DATA_PTR(self) = result;
26094 free_cameraInfo(cameraInfo *arg1) {
26095 free((char *) arg1);
26101 _wrap_Coord_x_set(int argc, VALUE *argv, VALUE self) {
26102 Coord *arg1 = (Coord *) 0 ;
26109 if ((argc < 1) || (argc > 1)) {
26110 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
26116 arg1 = (Coord *)(argp1);
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] ));
26123 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","x", 2, argv[0]));
26125 arg2 = *((GLfloat *)(argp2));
26128 if (arg1) (arg1)->x = arg2;
26136 _wrap_Coord_x_get(int argc, VALUE *argv, VALUE self) {
26137 Coord *arg1 = (Coord *) 0 ;
26141 VALUE vresult = Qnil;
26143 if ((argc < 0) || (argc > 0)) {
26144 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
26160 _wrap_Coord_y_set(int argc, VALUE *argv, VALUE self) {
26161 Coord *arg1 = (Coord *) 0 ;
26168 if ((argc < 1) || (argc > 1)) {
26169 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
26175 arg1 = (Coord *)(argp1);
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] ));
26182 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","y", 2, argv[0]));
26184 arg2 = *((GLfloat *)(argp2));
26187 if (arg1) (arg1)->y = arg2;
26195 _wrap_Coord_y_get(int argc, VALUE *argv, VALUE self) {
26196 Coord *arg1 = (Coord *) 0 ;
26200 VALUE vresult = Qnil;
26202 if ((argc < 0) || (argc > 0)) {
26203 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
26219 _wrap_Coord_z_set(int argc, VALUE *argv, VALUE self) {
26220 Coord *arg1 = (Coord *) 0 ;
26227 if ((argc < 1) || (argc > 1)) {
26228 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
26234 arg1 = (Coord *)(argp1);
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] ));
26241 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","z", 2, argv[0]));
26243 arg2 = *((GLfloat *)(argp2));
26246 if (arg1) (arg1)->z = arg2;
26254 _wrap_Coord_z_get(int argc, VALUE *argv, VALUE self) {
26255 Coord *arg1 = (Coord *) 0 ;
26259 VALUE vresult = Qnil;
26261 if ((argc < 0) || (argc > 0)) {
26262 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
26277 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
26279 _wrap_Coord_allocate(VALUE self) {
26282 _wrap_Coord_allocate(int argc, VALUE *argv, VALUE self) {
26286 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_Coord);
26287 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
26288 rb_obj_call_init(vresult, argc, argv);
26295 _wrap_new_Coord(int argc, VALUE *argv, VALUE self) {
26296 Coord *result = 0 ;
26298 if ((argc < 0) || (argc > 0)) {
26299 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26301 result = (Coord *)calloc(1, sizeof(Coord));
26302 DATA_PTR(self) = result;
26310 free_Coord(Coord *arg1) {
26311 free((char *) arg1);
26315 _wrap_lmolviePDBread(int argc, VALUE *argv, VALUE self) {
26316 FILE *arg1 = (FILE *) 0 ;
26320 if ((argc < 1) || (argc > 1)) {
26321 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
26327 arg1 = (FILE *)(argp1);
26328 lmolviePDBread(arg1);
26336 _wrap_get_pdb(int argc, VALUE *argv, VALUE self) {
26337 pdbFile *result = 0 ;
26338 VALUE vresult = Qnil;
26340 if ((argc < 0) || (argc > 0)) {
26341 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26343 result = (pdbFile *)get_pdb();
26344 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFile, 0 | 0 );
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;
26356 lmolvieInitNormal();
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;
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;
26380 lmolvieIdleNormal();
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;
26392 lmolvieDisplayTest();
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;
26404 lmolvieDisplayNormal();
26412 _wrap_lmolvieReshapeNormal(int argc, VALUE *argv, VALUE self) {
26420 if ((argc < 2) || (argc > 2)) {
26421 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26432 arg2 = (int)(val2);
26433 lmolvieReshapeNormal(arg1,arg2);
26441 _wrap_myCameraRotateY(int argc, VALUE *argv, VALUE self) {
26446 if ((argc < 1) || (argc > 1)) {
26447 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
26455 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraRotateY", 1, argv[0]));
26457 arg1 = *((GLdouble *)(argp1));
26460 myCameraRotateY(arg1);
26468 _wrap_lmolvieMouse(int argc, VALUE *argv, VALUE self) {
26482 if ((argc < 4) || (argc > 4)) {
26483 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
26504 arg4 = (int)(val4);
26505 lmolvieMouse(arg1,arg2,arg3,arg4);
26513 _wrap_lmolvieMouseMotion(int argc, VALUE *argv, VALUE self) {
26521 if ((argc < 2) || (argc > 2)) {
26522 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26533 arg2 = (int)(val2);
26534 lmolvieMouseMotion(arg1,arg2);
26542 _wrap_lmolvieMousePassiveMotion(int argc, VALUE *argv, VALUE self) {
26550 if ((argc < 2) || (argc > 2)) {
26551 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26562 arg2 = (int)(val2);
26563 lmolvieMousePassiveMotion(arg1,arg2);
26571 _wrap_lmolvieMouseDrive(int argc, VALUE *argv, VALUE self) {
26585 if ((argc < 4) || (argc > 4)) {
26586 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
26607 arg4 = (int)(val4);
26608 lmolvieMouseDrive(arg1,arg2,arg3,arg4);
26616 _wrap_lmolvieMouseMotionDrive(int argc, VALUE *argv, VALUE self) {
26624 if ((argc < 2) || (argc > 2)) {
26625 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26636 arg2 = (int)(val2);
26637 lmolvieMouseMotionDrive(arg1,arg2);
26645 _wrap_lmolvieMousePassiveMotionDrive(int argc, VALUE *argv, VALUE self) {
26653 if ((argc < 2) || (argc > 2)) {
26654 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26665 arg2 = (int)(val2);
26666 lmolvieMousePassiveMotionDrive(arg1,arg2);
26674 _wrap_lmolvieMouseParallel(int argc, VALUE *argv, VALUE self) {
26688 if ((argc < 4) || (argc > 4)) {
26689 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
26710 arg4 = (int)(val4);
26711 lmolvieMouseParallel(arg1,arg2,arg3,arg4);
26719 _wrap_lmolvieMouseMotionParallel(int argc, VALUE *argv, VALUE self) {
26727 if ((argc < 2) || (argc > 2)) {
26728 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26739 arg2 = (int)(val2);
26740 lmolvieMouseMotionParallel(arg1,arg2);
26748 _wrap_lmolvieMousePassiveMotionParallel(int argc, VALUE *argv, VALUE self) {
26756 if ((argc < 2) || (argc > 2)) {
26757 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26768 arg2 = (int)(val2);
26769 lmolvieMousePassiveMotionParallel(arg1,arg2);
26777 _wrap_lmolvieMouseMulti(int argc, VALUE *argv, VALUE self) {
26791 if ((argc < 4) || (argc > 4)) {
26792 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
26813 arg4 = (int)(val4);
26814 lmolvieMouseMulti(arg1,arg2,arg3,arg4);
26822 _wrap_lmolvieMouseMotionMulti(int argc, VALUE *argv, VALUE self) {
26830 if ((argc < 2) || (argc > 2)) {
26831 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26842 arg2 = (int)(val2);
26843 lmolvieMouseMotionMulti(arg1,arg2);
26851 _wrap_lmolvieMousePassiveMotionMulti(int argc, VALUE *argv, VALUE self) {
26859 if ((argc < 2) || (argc > 2)) {
26860 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
26871 arg2 = (int)(val2);
26872 lmolvieMousePassiveMotionMulti(arg1,arg2);
26880 _wrap_lmolvieKeyboard(int argc, VALUE *argv, VALUE self) {
26881 unsigned char arg1 ;
26884 unsigned char val1 ;
26891 if ((argc < 3) || (argc > 3)) {
26892 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
26908 arg3 = (int)(val3);
26909 lmolvieKeyboard(arg1,arg2,arg3);
26917 _wrap_lmolvieKeyboardNormal(int argc, VALUE *argv, VALUE self) {
26918 unsigned char arg1 ;
26921 unsigned char val1 ;
26928 if ((argc < 3) || (argc > 3)) {
26929 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
26945 arg3 = (int)(val3);
26946 lmolvieKeyboardNormal(arg1,arg2,arg3);
26954 _wrap_lmolvieKeyboardDrive(int argc, VALUE *argv, VALUE self) {
26955 unsigned char arg1 ;
26958 unsigned char val1 ;
26965 if ((argc < 3) || (argc > 3)) {
26966 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
26982 arg3 = (int)(val3);
26983 lmolvieKeyboardDrive(arg1,arg2,arg3);
26991 _wrap_lmolvieKeyboardParallel(int argc, VALUE *argv, VALUE self) {
26992 unsigned char arg1 ;
26995 unsigned char val1 ;
27002 if ((argc < 3) || (argc > 3)) {
27003 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
27019 arg3 = (int)(val3);
27020 lmolvieKeyboardParallel(arg1,arg2,arg3);
27028 _wrap_lmolvieKeyboardSurface(int argc, VALUE *argv, VALUE self) {
27029 unsigned char arg1 ;
27032 unsigned char val1 ;
27039 if ((argc < 3) || (argc > 3)) {
27040 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
27056 arg3 = (int)(val3);
27057 lmolvieKeyboardSurface(arg1,arg2,arg3);
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;
27069 lmolvieInitParallel();
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;
27081 lmolvieDisplayParallel();
27089 _wrap_lmolvieReshapeParallel(int argc, VALUE *argv, VALUE self) {
27097 if ((argc < 2) || (argc > 2)) {
27098 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
27109 arg2 = (int)(val2);
27110 lmolvieReshapeParallel(arg1,arg2);
27118 _wrap_operationModeGet(int argc, VALUE *argv, VALUE self) {
27119 operationMode result;
27120 VALUE vresult = Qnil;
27122 if ((argc < 0) || (argc > 0)) {
27123 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27125 result = (operationMode)operationModeGet();
27126 vresult = SWIG_From_int((int)(result));
27134 _wrap_operationModeSet(int argc, VALUE *argv, VALUE self) {
27135 operationMode arg1 ;
27139 if ((argc < 1) || (argc > 1)) {
27140 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27146 arg1 = (operationMode)(val1);
27147 operationModeSet(arg1);
27155 _wrap_myCameraRotateX(int argc, VALUE *argv, VALUE self) {
27160 if ((argc < 1) || (argc > 1)) {
27161 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27169 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraRotateX", 1, argv[0]));
27171 arg1 = *((GLdouble *)(argp1));
27174 myCameraRotateX(arg1);
27182 _wrap_myCameraRotateZ(int argc, VALUE *argv, VALUE self) {
27187 if ((argc < 1) || (argc > 1)) {
27188 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27196 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraRotateZ", 1, argv[0]));
27198 arg1 = *((GLdouble *)(argp1));
27201 myCameraRotateZ(arg1);
27209 _wrap_myCameraEyeRotateX(int argc, VALUE *argv, VALUE self) {
27214 if ((argc < 1) || (argc > 1)) {
27215 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27223 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraEyeRotateX", 1, argv[0]));
27225 arg1 = *((GLdouble *)(argp1));
27228 myCameraEyeRotateX(arg1);
27236 _wrap_myCameraEyeRotateY(int argc, VALUE *argv, VALUE self) {
27241 if ((argc < 1) || (argc > 1)) {
27242 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27250 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraEyeRotateY", 1, argv[0]));
27252 arg1 = *((GLdouble *)(argp1));
27255 myCameraEyeRotateY(arg1);
27263 _wrap_myCameraTranslateX(int argc, VALUE *argv, VALUE self) {
27268 if ((argc < 1) || (argc > 1)) {
27269 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27277 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraTranslateX", 1, argv[0]));
27279 arg1 = *((GLdouble *)(argp1));
27282 myCameraTranslateX(arg1);
27290 _wrap_myCameraTranslateY(int argc, VALUE *argv, VALUE self) {
27295 if ((argc < 1) || (argc > 1)) {
27296 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27304 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraTranslateY", 1, argv[0]));
27306 arg1 = *((GLdouble *)(argp1));
27309 myCameraTranslateY(arg1);
27317 _wrap_myCameraTranslateZ(int argc, VALUE *argv, VALUE self) {
27322 if ((argc < 1) || (argc > 1)) {
27323 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27331 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLdouble","myCameraTranslateZ", 1, argv[0]));
27333 arg1 = *((GLdouble *)(argp1));
27336 myCameraTranslateZ(arg1);
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;
27356 _wrap_getMyCamera(int argc, VALUE *argv, VALUE self) {
27357 cameraInfo *result = 0 ;
27358 VALUE vresult = Qnil;
27360 if ((argc < 0) || (argc > 0)) {
27361 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27363 result = (cameraInfo *)getMyCamera();
27364 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_cameraInfo, 0 | 0 );
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;
27384 _wrap_moveMyCamera(int argc, VALUE *argv, VALUE self) {
27389 if ((argc < 1) || (argc > 1)) {
27390 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27396 arg1 = (double)(val1);
27397 moveMyCamera(arg1);
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;
27417 _wrap_get_LightPos(int argc, VALUE *argv, VALUE self) {
27421 GLfloat *result = 0 ;
27422 VALUE vresult = Qnil;
27424 if ((argc < 1) || (argc > 1)) {
27425 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27431 arg1 = (int)(val1);
27432 result = (GLfloat *)get_LightPos(arg1);
27433 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLfloat, 0 | 0 );
27441 _wrap_monoSound(int argc, VALUE *argv, VALUE self) {
27449 if ((argc < 2) || (argc > 2)) {
27450 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
27461 arg2 = (float)(val2);
27462 monoSound(arg1,arg2);
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;
27482 _wrap_drawContour(int argc, VALUE *argv, VALUE self) {
27483 contourLinesSet *arg1 = (contourLinesSet *) 0 ;
27487 if ((argc < 1) || (argc > 1)) {
27488 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
27494 arg1 = (contourLinesSet *)(argp1);
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;
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;
27519 lmolvieViewerIdle();
27527 _wrap_lmolvieViewerKeyboard(int argc, VALUE *argv, VALUE self) {
27528 unsigned char arg1 ;
27531 unsigned char val1 ;
27538 if ((argc < 3) || (argc > 3)) {
27539 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
27555 arg3 = (int)(val3);
27556 lmolvieViewerKeyboard(arg1,arg2,arg3);
27564 _wrap_lmolvieViewerSpecial(int argc, VALUE *argv, VALUE self) {
27575 if ((argc < 3) || (argc > 3)) {
27576 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
27592 arg3 = (int)(val3);
27593 lmolvieViewerSpecial(arg1,arg2,arg3);
27601 _wrap_lmolvieViewerMouse(int argc, VALUE *argv, VALUE self) {
27615 if ((argc < 4) || (argc > 4)) {
27616 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
27637 arg4 = (int)(val4);
27638 lmolvieViewerMouse(arg1,arg2,arg3,arg4);
27646 _wrap_lmolvieViewerMouseMotion(int argc, VALUE *argv, VALUE self) {
27654 if ((argc < 2) || (argc > 2)) {
27655 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
27666 arg2 = (int)(val2);
27667 lmolvieViewerMouseMotion(arg1,arg2);
27675 _wrap_lmolvieViewerMousePassiveMotion(int argc, VALUE *argv, VALUE self) {
27683 if ((argc < 2) || (argc > 2)) {
27684 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
27695 arg2 = (int)(val2);
27696 lmolvieViewerMousePassiveMotion(arg1,arg2);
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;
27708 lmolvieViewerDisplay();
27716 _wrap_lmolvieMrcViewerKeyboard(int argc, VALUE *argv, VALUE self) {
27717 unsigned char arg1 ;
27720 unsigned char val1 ;
27727 if ((argc < 3) || (argc > 3)) {
27728 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
27744 arg3 = (int)(val3);
27745 lmolvieMrcViewerKeyboard(arg1,arg2,arg3);
27753 _wrap_lmolvieMrcViewerMouse(int argc, VALUE *argv, VALUE self) {
27767 if ((argc < 4) || (argc > 4)) {
27768 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
27789 arg4 = (int)(val4);
27790 lmolvieMrcViewerMouse(arg1,arg2,arg3,arg4);
27798 _wrap_lmolvieMrcViewerMouseMotion(int argc, VALUE *argv, VALUE self) {
27806 if ((argc < 2) || (argc > 2)) {
27807 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
27818 arg2 = (int)(val2);
27819 lmolvieMrcViewerMouseMotion(arg1,arg2);
27827 _wrap_lmolvieMrcViewerMousePassiveMotion(int argc, VALUE *argv, VALUE self) {
27835 if ((argc < 2) || (argc > 2)) {
27836 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
27847 arg2 = (int)(val2);
27848 lmolvieMrcViewerMousePassiveMotion(arg1,arg2);
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;
27860 lmolvieMrcViewerDisplay();
27868 _wrap_lmolvieProjectionKeyboard(int argc, VALUE *argv, VALUE self) {
27869 unsigned char arg1 ;
27872 unsigned char val1 ;
27879 if ((argc < 3) || (argc > 3)) {
27880 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
27896 arg3 = (int)(val3);
27897 lmolvieProjectionKeyboard(arg1,arg2,arg3);
27905 _wrap_lmolvieProjectionMouse(int argc, VALUE *argv, VALUE self) {
27919 if ((argc < 4) || (argc > 4)) {
27920 rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
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] ));
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] ));
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] ));
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] ));
27941 arg4 = (int)(val4);
27942 lmolvieProjectionMouse(arg1,arg2,arg3,arg4);
27950 _wrap_lmolvieProjectionMouseMotion(int argc, VALUE *argv, VALUE self) {
27958 if ((argc < 2) || (argc > 2)) {
27959 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
27970 arg2 = (int)(val2);
27971 lmolvieProjectionMouseMotion(arg1,arg2);
27979 _wrap_lmolvieProjectionMousePassiveMotion(int argc, VALUE *argv, VALUE self) {
27987 if ((argc < 2) || (argc > 2)) {
27988 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
27999 arg2 = (int)(val2);
28000 lmolvieProjectionMousePassiveMotion(arg1,arg2);
28008 _wrap_lmolvieDockKeyboard(int argc, VALUE *argv, VALUE self) {
28009 unsigned char arg1 ;
28012 unsigned char val1 ;
28019 if ((argc < 3) || (argc > 3)) {
28020 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
28036 arg3 = (int)(val3);
28037 lmolvieDockKeyboard(arg1,arg2,arg3);
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;
28049 displayMultiPDB1();
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;
28061 lmolvieDockDisplay();
28069 _wrap_lmolvieFlightKeyboard(int argc, VALUE *argv, VALUE self) {
28070 unsigned char arg1 ;
28073 unsigned char val1 ;
28080 if ((argc < 3) || (argc > 3)) {
28081 rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
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] ));
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] ));
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] ));
28097 arg3 = (int)(val3);
28098 lmolvieFlightKeyboard(arg1,arg2,arg3);
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;
28110 lmolvieFlightDisplay();
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;
28122 lmolvieFlightIdle();
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;
28142 _wrap_myDisplayListMakeAtom(int argc, VALUE *argv, VALUE self) {
28144 VALUE vresult = Qnil;
28146 if ((argc < 0) || (argc > 0)) {
28147 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28149 result = myDisplayListMakeAtom();
28150 vresult = SWIG_NewPointerObj((GLboolean *)memcpy((GLboolean *)malloc(sizeof(GLboolean)),&result,sizeof(GLboolean)), SWIGTYPE_p_GLboolean, SWIG_POINTER_OWN | 0 );
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;
28162 setDriveMyCamera();
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;
28174 resetDriveMyCamera();
28182 _wrap_setCameraCentreTag(int argc, VALUE *argv, VALUE self) {
28187 if ((argc < 1) || (argc > 1)) {
28188 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
28194 arg1 = (int)(val1);
28195 setCameraCentreTag(arg1);
28203 _wrap_drawatomc_get(VALUE self) {
28206 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomc), SWIGTYPE_p_GLuint, 0 );
28212 _wrap_drawatomc_set(VALUE self, VALUE _val) {
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""'");
28220 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomc""' of type '""GLuint""'");
28222 drawatomc = *((GLuint *)(argp));
28232 _wrap_drawatomca_get(VALUE self) {
28235 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomca), SWIGTYPE_p_GLuint, 0 );
28241 _wrap_drawatomca_set(VALUE self, VALUE _val) {
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""'");
28249 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomca""' of type '""GLuint""'");
28251 drawatomca = *((GLuint *)(argp));
28261 _wrap_drawatomo_get(VALUE self) {
28264 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomo), SWIGTYPE_p_GLuint, 0 );
28270 _wrap_drawatomo_set(VALUE self, VALUE _val) {
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""'");
28278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomo""' of type '""GLuint""'");
28280 drawatomo = *((GLuint *)(argp));
28290 _wrap_drawatomn_get(VALUE self) {
28293 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomn), SWIGTYPE_p_GLuint, 0 );
28299 _wrap_drawatomn_set(VALUE self, VALUE _val) {
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""'");
28307 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomn""' of type '""GLuint""'");
28309 drawatomn = *((GLuint *)(argp));
28319 _wrap_drawatoms_get(VALUE self) {
28322 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatoms), SWIGTYPE_p_GLuint, 0 );
28328 _wrap_drawatoms_set(VALUE self, VALUE _val) {
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""'");
28336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatoms""' of type '""GLuint""'");
28338 drawatoms = *((GLuint *)(argp));
28348 _wrap_drawatomp_get(VALUE self) {
28351 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomp), SWIGTYPE_p_GLuint, 0 );
28357 _wrap_drawatomp_set(VALUE self, VALUE _val) {
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""'");
28365 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomp""' of type '""GLuint""'");
28367 drawatomp = *((GLuint *)(argp));
28377 _wrap_drawatomh_get(VALUE self) {
28380 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomh), SWIGTYPE_p_GLuint, 0 );
28386 _wrap_drawatomh_set(VALUE self, VALUE _val) {
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""'");
28394 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomh""' of type '""GLuint""'");
28396 drawatomh = *((GLuint *)(argp));
28406 _wrap_drawatomfe_get(VALUE self) {
28409 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomfe), SWIGTYPE_p_GLuint, 0 );
28415 _wrap_drawatomfe_set(VALUE self, VALUE _val) {
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""'");
28423 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomfe""' of type '""GLuint""'");
28425 drawatomfe = *((GLuint *)(argp));
28435 _wrap_drawstick_get(VALUE self) {
28438 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawstick), SWIGTYPE_p_GLuint, 0 );
28444 _wrap_drawstick_set(VALUE self, VALUE _val) {
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""'");
28452 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawstick""' of type '""GLuint""'");
28454 drawstick = *((GLuint *)(argp));
28464 _wrap_drawatomserial_get(VALUE self) {
28467 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawatomserial), SWIGTYPE_p_GLuint, 0 );
28473 _wrap_drawatomserial_set(VALUE self, VALUE _val) {
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""'");
28481 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawatomserial""' of type '""GLuint""'");
28483 drawatomserial = *((GLuint *)(argp));
28493 _wrap_drawresidue_get(VALUE self) {
28496 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawresidue), SWIGTYPE_p_GLuint, 0 );
28502 _wrap_drawresidue_set(VALUE self, VALUE _val) {
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""'");
28510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawresidue""' of type '""GLuint""'");
28512 drawresidue = *((GLuint *)(argp));
28522 _wrap_drawtemp_get(VALUE self) {
28525 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawtemp), SWIGTYPE_p_GLuint, 0 );
28531 _wrap_drawtemp_set(VALUE self, VALUE _val) {
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""'");
28539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawtemp""' of type '""GLuint""'");
28541 drawtemp = *((GLuint *)(argp));
28551 _wrap_drawsticktemp_get(VALUE self) {
28554 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawsticktemp), SWIGTYPE_p_GLuint, 0 );
28560 _wrap_drawsticktemp_set(VALUE self, VALUE _val) {
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""'");
28568 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawsticktemp""' of type '""GLuint""'");
28570 drawsticktemp = *((GLuint *)(argp));
28580 _wrap_drawstickresidue_get(VALUE self) {
28583 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawstickresidue), SWIGTYPE_p_GLuint, 0 );
28589 _wrap_drawstickresidue_set(VALUE self, VALUE _val) {
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""'");
28597 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawstickresidue""' of type '""GLuint""'");
28599 drawstickresidue = *((GLuint *)(argp));
28609 _wrap_drawsurface_get(VALUE self) {
28612 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawsurface), SWIGTYPE_p_GLuint, 0 );
28618 _wrap_drawsurface_set(VALUE self, VALUE _val) {
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""'");
28626 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawsurface""' of type '""GLuint""'");
28628 drawsurface = *((GLuint *)(argp));
28638 _wrap_drawdistancefromtarget_get(VALUE self) {
28641 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawdistancefromtarget), SWIGTYPE_p_GLuint, 0 );
28647 _wrap_drawdistancefromtarget_set(VALUE self, VALUE _val) {
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""'");
28655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawdistancefromtarget""' of type '""GLuint""'");
28657 drawdistancefromtarget = *((GLuint *)(argp));
28667 _wrap_drawwireframe_get(VALUE self) {
28670 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawwireframe), SWIGTYPE_p_GLuint, 0 );
28676 _wrap_drawwireframe_set(VALUE self, VALUE _val) {
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""'");
28684 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawwireframe""' of type '""GLuint""'");
28686 drawwireframe = *((GLuint *)(argp));
28696 _wrap_drawchain_get(VALUE self) {
28699 _val = SWIG_NewPointerObj(SWIG_as_voidptr(&drawchain), SWIGTYPE_p_GLuint, 0 );
28705 _wrap_drawchain_set(VALUE self, VALUE _val) {
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""'");
28713 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""drawchain""' of type '""GLuint""'");
28715 drawchain = *((GLuint *)(argp));
28724 swig_class cPdbCenter;
28727 _wrap_pdbCenter_xCenter_set(int argc, VALUE *argv, VALUE self) {
28728 pdbCenter *arg1 = (pdbCenter *) 0 ;
28735 if ((argc < 1) || (argc > 1)) {
28736 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
28742 arg1 = (pdbCenter *)(argp1);
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] ));
28749 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","xCenter", 2, argv[0]));
28751 arg2 = *((GLfloat *)(argp2));
28754 if (arg1) (arg1)->xCenter = arg2;
28762 _wrap_pdbCenter_xCenter_get(int argc, VALUE *argv, VALUE self) {
28763 pdbCenter *arg1 = (pdbCenter *) 0 ;
28767 VALUE vresult = Qnil;
28769 if ((argc < 0) || (argc > 0)) {
28770 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
28786 _wrap_pdbCenter_yCenter_set(int argc, VALUE *argv, VALUE self) {
28787 pdbCenter *arg1 = (pdbCenter *) 0 ;
28794 if ((argc < 1) || (argc > 1)) {
28795 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
28801 arg1 = (pdbCenter *)(argp1);
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] ));
28808 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","yCenter", 2, argv[0]));
28810 arg2 = *((GLfloat *)(argp2));
28813 if (arg1) (arg1)->yCenter = arg2;
28821 _wrap_pdbCenter_yCenter_get(int argc, VALUE *argv, VALUE self) {
28822 pdbCenter *arg1 = (pdbCenter *) 0 ;
28826 VALUE vresult = Qnil;
28828 if ((argc < 0) || (argc > 0)) {
28829 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
28845 _wrap_pdbCenter_zCenter_set(int argc, VALUE *argv, VALUE self) {
28846 pdbCenter *arg1 = (pdbCenter *) 0 ;
28853 if ((argc < 1) || (argc > 1)) {
28854 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
28860 arg1 = (pdbCenter *)(argp1);
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] ));
28867 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","zCenter", 2, argv[0]));
28869 arg2 = *((GLfloat *)(argp2));
28872 if (arg1) (arg1)->zCenter = arg2;
28880 _wrap_pdbCenter_zCenter_get(int argc, VALUE *argv, VALUE self) {
28881 pdbCenter *arg1 = (pdbCenter *) 0 ;
28885 VALUE vresult = Qnil;
28887 if ((argc < 0) || (argc > 0)) {
28888 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
28904 _wrap_pdbCenter_xMax_set(int argc, VALUE *argv, VALUE self) {
28905 pdbCenter *arg1 = (pdbCenter *) 0 ;
28912 if ((argc < 1) || (argc > 1)) {
28913 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
28919 arg1 = (pdbCenter *)(argp1);
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] ));
28926 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","xMax", 2, argv[0]));
28928 arg2 = *((GLfloat *)(argp2));
28931 if (arg1) (arg1)->xMax = arg2;
28939 _wrap_pdbCenter_xMax_get(int argc, VALUE *argv, VALUE self) {
28940 pdbCenter *arg1 = (pdbCenter *) 0 ;
28944 VALUE vresult = Qnil;
28946 if ((argc < 0) || (argc > 0)) {
28947 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
28963 _wrap_pdbCenter_xMin_set(int argc, VALUE *argv, VALUE self) {
28964 pdbCenter *arg1 = (pdbCenter *) 0 ;
28971 if ((argc < 1) || (argc > 1)) {
28972 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
28978 arg1 = (pdbCenter *)(argp1);
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] ));
28985 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","xMin", 2, argv[0]));
28987 arg2 = *((GLfloat *)(argp2));
28990 if (arg1) (arg1)->xMin = arg2;
28998 _wrap_pdbCenter_xMin_get(int argc, VALUE *argv, VALUE self) {
28999 pdbCenter *arg1 = (pdbCenter *) 0 ;
29003 VALUE vresult = Qnil;
29005 if ((argc < 0) || (argc > 0)) {
29006 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29022 _wrap_pdbCenter_xWidth_set(int argc, VALUE *argv, VALUE self) {
29023 pdbCenter *arg1 = (pdbCenter *) 0 ;
29030 if ((argc < 1) || (argc > 1)) {
29031 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29037 arg1 = (pdbCenter *)(argp1);
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] ));
29044 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","xWidth", 2, argv[0]));
29046 arg2 = *((GLfloat *)(argp2));
29049 if (arg1) (arg1)->xWidth = arg2;
29057 _wrap_pdbCenter_xWidth_get(int argc, VALUE *argv, VALUE self) {
29058 pdbCenter *arg1 = (pdbCenter *) 0 ;
29062 VALUE vresult = Qnil;
29064 if ((argc < 0) || (argc > 0)) {
29065 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29081 _wrap_pdbCenter_yMax_set(int argc, VALUE *argv, VALUE self) {
29082 pdbCenter *arg1 = (pdbCenter *) 0 ;
29089 if ((argc < 1) || (argc > 1)) {
29090 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29096 arg1 = (pdbCenter *)(argp1);
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] ));
29103 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","yMax", 2, argv[0]));
29105 arg2 = *((GLfloat *)(argp2));
29108 if (arg1) (arg1)->yMax = arg2;
29116 _wrap_pdbCenter_yMax_get(int argc, VALUE *argv, VALUE self) {
29117 pdbCenter *arg1 = (pdbCenter *) 0 ;
29121 VALUE vresult = Qnil;
29123 if ((argc < 0) || (argc > 0)) {
29124 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29140 _wrap_pdbCenter_yMin_set(int argc, VALUE *argv, VALUE self) {
29141 pdbCenter *arg1 = (pdbCenter *) 0 ;
29148 if ((argc < 1) || (argc > 1)) {
29149 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29155 arg1 = (pdbCenter *)(argp1);
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] ));
29162 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","yMin", 2, argv[0]));
29164 arg2 = *((GLfloat *)(argp2));
29167 if (arg1) (arg1)->yMin = arg2;
29175 _wrap_pdbCenter_yMin_get(int argc, VALUE *argv, VALUE self) {
29176 pdbCenter *arg1 = (pdbCenter *) 0 ;
29180 VALUE vresult = Qnil;
29182 if ((argc < 0) || (argc > 0)) {
29183 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29199 _wrap_pdbCenter_yWidth_set(int argc, VALUE *argv, VALUE self) {
29200 pdbCenter *arg1 = (pdbCenter *) 0 ;
29207 if ((argc < 1) || (argc > 1)) {
29208 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29214 arg1 = (pdbCenter *)(argp1);
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] ));
29221 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","yWidth", 2, argv[0]));
29223 arg2 = *((GLfloat *)(argp2));
29226 if (arg1) (arg1)->yWidth = arg2;
29234 _wrap_pdbCenter_yWidth_get(int argc, VALUE *argv, VALUE self) {
29235 pdbCenter *arg1 = (pdbCenter *) 0 ;
29239 VALUE vresult = Qnil;
29241 if ((argc < 0) || (argc > 0)) {
29242 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29258 _wrap_pdbCenter_zMax_set(int argc, VALUE *argv, VALUE self) {
29259 pdbCenter *arg1 = (pdbCenter *) 0 ;
29266 if ((argc < 1) || (argc > 1)) {
29267 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29273 arg1 = (pdbCenter *)(argp1);
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] ));
29280 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","zMax", 2, argv[0]));
29282 arg2 = *((GLfloat *)(argp2));
29285 if (arg1) (arg1)->zMax = arg2;
29293 _wrap_pdbCenter_zMax_get(int argc, VALUE *argv, VALUE self) {
29294 pdbCenter *arg1 = (pdbCenter *) 0 ;
29298 VALUE vresult = Qnil;
29300 if ((argc < 0) || (argc > 0)) {
29301 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29317 _wrap_pdbCenter_zMin_set(int argc, VALUE *argv, VALUE self) {
29318 pdbCenter *arg1 = (pdbCenter *) 0 ;
29325 if ((argc < 1) || (argc > 1)) {
29326 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29332 arg1 = (pdbCenter *)(argp1);
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] ));
29339 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","zMin", 2, argv[0]));
29341 arg2 = *((GLfloat *)(argp2));
29344 if (arg1) (arg1)->zMin = arg2;
29352 _wrap_pdbCenter_zMin_get(int argc, VALUE *argv, VALUE self) {
29353 pdbCenter *arg1 = (pdbCenter *) 0 ;
29357 VALUE vresult = Qnil;
29359 if ((argc < 0) || (argc > 0)) {
29360 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29376 _wrap_pdbCenter_zWidth_set(int argc, VALUE *argv, VALUE self) {
29377 pdbCenter *arg1 = (pdbCenter *) 0 ;
29384 if ((argc < 1) || (argc > 1)) {
29385 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29391 arg1 = (pdbCenter *)(argp1);
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] ));
29398 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","zWidth", 2, argv[0]));
29400 arg2 = *((GLfloat *)(argp2));
29403 if (arg1) (arg1)->zWidth = arg2;
29411 _wrap_pdbCenter_zWidth_get(int argc, VALUE *argv, VALUE self) {
29412 pdbCenter *arg1 = (pdbCenter *) 0 ;
29416 VALUE vresult = Qnil;
29418 if ((argc < 0) || (argc > 0)) {
29419 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29434 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
29436 _wrap_pdbCenter_allocate(VALUE self) {
29439 _wrap_pdbCenter_allocate(int argc, VALUE *argv, VALUE self) {
29443 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_pdbCenter);
29444 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
29445 rb_obj_call_init(vresult, argc, argv);
29452 _wrap_new_pdbCenter(int argc, VALUE *argv, VALUE self) {
29453 pdbCenter *result = 0 ;
29455 if ((argc < 0) || (argc > 0)) {
29456 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29458 result = (pdbCenter *)calloc(1, sizeof(pdbCenter));
29459 DATA_PTR(self) = result;
29467 free_pdbCenter(pdbCenter *arg1) {
29468 free((char *) arg1);
29471 swig_class cElementSwitch;
29474 _wrap_elementSwitch_elementC_set(int argc, VALUE *argv, VALUE self) {
29475 elementSwitch *arg1 = (elementSwitch *) 0 ;
29482 if ((argc < 1) || (argc > 1)) {
29483 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29489 arg1 = (elementSwitch *)(argp1);
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] ));
29496 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementC", 2, argv[0]));
29498 arg2 = *((GLint *)(argp2));
29501 if (arg1) (arg1)->elementC = arg2;
29509 _wrap_elementSwitch_elementC_get(int argc, VALUE *argv, VALUE self) {
29510 elementSwitch *arg1 = (elementSwitch *) 0 ;
29514 VALUE vresult = Qnil;
29516 if ((argc < 0) || (argc > 0)) {
29517 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29533 _wrap_elementSwitch_elementO_set(int argc, VALUE *argv, VALUE self) {
29534 elementSwitch *arg1 = (elementSwitch *) 0 ;
29541 if ((argc < 1) || (argc > 1)) {
29542 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29548 arg1 = (elementSwitch *)(argp1);
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] ));
29555 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementO", 2, argv[0]));
29557 arg2 = *((GLint *)(argp2));
29560 if (arg1) (arg1)->elementO = arg2;
29568 _wrap_elementSwitch_elementO_get(int argc, VALUE *argv, VALUE self) {
29569 elementSwitch *arg1 = (elementSwitch *) 0 ;
29573 VALUE vresult = Qnil;
29575 if ((argc < 0) || (argc > 0)) {
29576 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29592 _wrap_elementSwitch_elementN_set(int argc, VALUE *argv, VALUE self) {
29593 elementSwitch *arg1 = (elementSwitch *) 0 ;
29600 if ((argc < 1) || (argc > 1)) {
29601 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29607 arg1 = (elementSwitch *)(argp1);
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] ));
29614 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementN", 2, argv[0]));
29616 arg2 = *((GLint *)(argp2));
29619 if (arg1) (arg1)->elementN = arg2;
29627 _wrap_elementSwitch_elementN_get(int argc, VALUE *argv, VALUE self) {
29628 elementSwitch *arg1 = (elementSwitch *) 0 ;
29632 VALUE vresult = Qnil;
29634 if ((argc < 0) || (argc > 0)) {
29635 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29651 _wrap_elementSwitch_elementS_set(int argc, VALUE *argv, VALUE self) {
29652 elementSwitch *arg1 = (elementSwitch *) 0 ;
29659 if ((argc < 1) || (argc > 1)) {
29660 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29666 arg1 = (elementSwitch *)(argp1);
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] ));
29673 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementS", 2, argv[0]));
29675 arg2 = *((GLint *)(argp2));
29678 if (arg1) (arg1)->elementS = arg2;
29686 _wrap_elementSwitch_elementS_get(int argc, VALUE *argv, VALUE self) {
29687 elementSwitch *arg1 = (elementSwitch *) 0 ;
29691 VALUE vresult = Qnil;
29693 if ((argc < 0) || (argc > 0)) {
29694 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29710 _wrap_elementSwitch_elementP_set(int argc, VALUE *argv, VALUE self) {
29711 elementSwitch *arg1 = (elementSwitch *) 0 ;
29718 if ((argc < 1) || (argc > 1)) {
29719 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29725 arg1 = (elementSwitch *)(argp1);
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] ));
29732 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementP", 2, argv[0]));
29734 arg2 = *((GLint *)(argp2));
29737 if (arg1) (arg1)->elementP = arg2;
29745 _wrap_elementSwitch_elementP_get(int argc, VALUE *argv, VALUE self) {
29746 elementSwitch *arg1 = (elementSwitch *) 0 ;
29750 VALUE vresult = Qnil;
29752 if ((argc < 0) || (argc > 0)) {
29753 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29769 _wrap_elementSwitch_elementH_set(int argc, VALUE *argv, VALUE self) {
29770 elementSwitch *arg1 = (elementSwitch *) 0 ;
29777 if ((argc < 1) || (argc > 1)) {
29778 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29784 arg1 = (elementSwitch *)(argp1);
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] ));
29791 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementH", 2, argv[0]));
29793 arg2 = *((GLint *)(argp2));
29796 if (arg1) (arg1)->elementH = arg2;
29804 _wrap_elementSwitch_elementH_get(int argc, VALUE *argv, VALUE self) {
29805 elementSwitch *arg1 = (elementSwitch *) 0 ;
29809 VALUE vresult = Qnil;
29811 if ((argc < 0) || (argc > 0)) {
29812 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29828 _wrap_elementSwitch_elementFE_set(int argc, VALUE *argv, VALUE self) {
29829 elementSwitch *arg1 = (elementSwitch *) 0 ;
29836 if ((argc < 1) || (argc > 1)) {
29837 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
29843 arg1 = (elementSwitch *)(argp1);
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] ));
29850 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","elementFE", 2, argv[0]));
29852 arg2 = *((GLint *)(argp2));
29855 if (arg1) (arg1)->elementFE = arg2;
29863 _wrap_elementSwitch_elementFE_get(int argc, VALUE *argv, VALUE self) {
29864 elementSwitch *arg1 = (elementSwitch *) 0 ;
29868 VALUE vresult = Qnil;
29870 if ((argc < 0) || (argc > 0)) {
29871 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
29886 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
29888 _wrap_elementSwitch_allocate(VALUE self) {
29891 _wrap_elementSwitch_allocate(int argc, VALUE *argv, VALUE self) {
29895 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_elementSwitch);
29896 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
29897 rb_obj_call_init(vresult, argc, argv);
29904 _wrap_new_elementSwitch(int argc, VALUE *argv, VALUE self) {
29905 elementSwitch *result = 0 ;
29907 if ((argc < 0) || (argc > 0)) {
29908 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29910 result = (elementSwitch *)calloc(1, sizeof(elementSwitch));
29911 DATA_PTR(self) = result;
29919 free_elementSwitch(elementSwitch *arg1) {
29920 free((char *) arg1);
29923 swig_class cProteinStatus;
29926 _wrap_ProteinStatus___pdbCenter_set(int argc, VALUE *argv, VALUE self) {
29927 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
29928 pdbCenter *arg2 = (pdbCenter *) 0 ;
29934 if ((argc < 1) || (argc > 1)) {
29935 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
29946 arg2 = (pdbCenter *)(argp2);
29947 if (arg1) (arg1)->__pdbCenter = *arg2;
29955 _wrap_ProteinStatus___pdbCenter_get(int argc, VALUE *argv, VALUE self) {
29956 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
29959 pdbCenter *result = 0 ;
29960 VALUE vresult = Qnil;
29962 if ((argc < 0) || (argc > 0)) {
29963 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
29969 arg1 = (ProteinStatus *)(argp1);
29970 result = (pdbCenter *)& ((arg1)->__pdbCenter);
29971 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbCenter, 0 | 0 );
29979 _wrap_ProteinStatus___elementSwitch_set(int argc, VALUE *argv, VALUE self) {
29980 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
29981 elementSwitch *arg2 = (elementSwitch *) 0 ;
29987 if ((argc < 1) || (argc > 1)) {
29988 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
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] ));
29999 arg2 = (elementSwitch *)(argp2);
30000 if (arg1) (arg1)->__elementSwitch = *arg2;
30008 _wrap_ProteinStatus___elementSwitch_get(int argc, VALUE *argv, VALUE self) {
30009 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30012 elementSwitch *result = 0 ;
30013 VALUE vresult = Qnil;
30015 if ((argc < 0) || (argc > 0)) {
30016 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
30022 arg1 = (ProteinStatus *)(argp1);
30023 result = (elementSwitch *)& ((arg1)->__elementSwitch);
30024 vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_elementSwitch, 0 | 0 );
30032 _wrap_ProteinStatus_spin_x_set(int argc, VALUE *argv, VALUE self) {
30033 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30040 if ((argc < 1) || (argc > 1)) {
30041 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
30047 arg1 = (ProteinStatus *)(argp1);
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] ));
30054 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","spin_x", 2, argv[0]));
30056 arg2 = *((GLint *)(argp2));
30059 if (arg1) (arg1)->spin_x = arg2;
30067 _wrap_ProteinStatus_spin_x_get(int argc, VALUE *argv, VALUE self) {
30068 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30072 VALUE vresult = Qnil;
30074 if ((argc < 0) || (argc > 0)) {
30075 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
30091 _wrap_ProteinStatus_spin_y_set(int argc, VALUE *argv, VALUE self) {
30092 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30099 if ((argc < 1) || (argc > 1)) {
30100 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
30106 arg1 = (ProteinStatus *)(argp1);
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] ));
30113 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","spin_y", 2, argv[0]));
30115 arg2 = *((GLint *)(argp2));
30118 if (arg1) (arg1)->spin_y = arg2;
30126 _wrap_ProteinStatus_spin_y_get(int argc, VALUE *argv, VALUE self) {
30127 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30131 VALUE vresult = Qnil;
30133 if ((argc < 0) || (argc > 0)) {
30134 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
30150 _wrap_ProteinStatus_spin_z_set(int argc, VALUE *argv, VALUE self) {
30151 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30158 if ((argc < 1) || (argc > 1)) {
30159 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
30165 arg1 = (ProteinStatus *)(argp1);
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] ));
30172 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","spin_z", 2, argv[0]));
30174 arg2 = *((GLint *)(argp2));
30177 if (arg1) (arg1)->spin_z = arg2;
30185 _wrap_ProteinStatus_spin_z_get(int argc, VALUE *argv, VALUE self) {
30186 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30190 VALUE vresult = Qnil;
30192 if ((argc < 0) || (argc > 0)) {
30193 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
30209 _wrap_ProteinStatus_move_x_set(int argc, VALUE *argv, VALUE self) {
30210 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30217 if ((argc < 1) || (argc > 1)) {
30218 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
30224 arg1 = (ProteinStatus *)(argp1);
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] ));
30231 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","move_x", 2, argv[0]));
30233 arg2 = *((GLfloat *)(argp2));
30236 if (arg1) (arg1)->move_x = arg2;
30244 _wrap_ProteinStatus_move_x_get(int argc, VALUE *argv, VALUE self) {
30245 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30249 VALUE vresult = Qnil;
30251 if ((argc < 0) || (argc > 0)) {
30252 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
30268 _wrap_ProteinStatus_move_y_set(int argc, VALUE *argv, VALUE self) {
30269 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30276 if ((argc < 1) || (argc > 1)) {
30277 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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 ));
30283 arg1 = (ProteinStatus *)(argp1);
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] ));
30290 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLfloat","move_y", 2, argv[0]));
30292 arg2 = *((GLfloat *)(argp2));
30295 if (arg1) (arg1)->move_y = arg2;
30303 _wrap_ProteinStatus_move_y_get(int argc, VALUE *argv, VALUE self) {
30304 ProteinStatus *arg1 = (ProteinStatus *) 0 ;
30308 VALUE vresult = Qnil;
30310 if ((argc < 0) || (argc > 0)) {
30311 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
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 ));
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 );
30326 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
30328 _wrap_ProteinStatus_allocate(VALUE self) {
30331 _wrap_ProteinStatus_allocate(int argc, VALUE *argv, VALUE self) {
30335 VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_ProteinStatus);
30336 #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
30337 rb_obj_call_init(vresult, argc, argv);
30344 _wrap_new_ProteinStatus(int argc, VALUE *argv, VALUE self) {
30345 ProteinStatus *result = 0 ;
30347 if ((argc < 0) || (argc > 0)) {
30348 rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
30350 result = (ProteinStatus *)calloc(1, sizeof(ProteinStatus));
30351 DATA_PTR(self) = result;
30359 free_ProteinStatus(ProteinStatus *arg1) {
30360 free((char *) arg1);
30364 _wrap_getpdbCenter(int argc, VALUE *argv, VALUE self) {
30369 VALUE vresult = Qnil;
30371 if ((argc < 1) || (argc > 1)) {
30372 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
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 );
30388 _wrap_putpdbCenter(int argc, VALUE *argv, VALUE self) {
30389 pdbFile *arg1 = (pdbFile *) 0 ;
30393 if ((argc < 1) || (argc > 1)) {
30394 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30400 arg1 = (pdbFile *)(argp1);
30401 putpdbCenter(arg1);
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;
30421 _wrap_get_elementSwitch(int argc, VALUE *argv, VALUE self) {
30425 elementSwitch result;
30426 VALUE vresult = Qnil;
30428 if ((argc < 1) || (argc > 1)) {
30429 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
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 );
30445 _wrap_put_elementSwitch(int argc, VALUE *argv, VALUE self) {
30453 if ((argc < 2) || (argc > 2)) {
30454 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
30465 arg2 = (char)(val2);
30466 put_elementSwitch(arg1,arg2);
30474 _wrap_getSpin_x(int argc, VALUE *argv, VALUE self) {
30479 VALUE vresult = Qnil;
30481 if ((argc < 1) || (argc > 1)) {
30482 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30488 arg1 = (int)(val1);
30489 result = (int)getSpin_x(arg1);
30490 vresult = SWIG_From_int((int)(result));
30498 _wrap_getSpin_y(int argc, VALUE *argv, VALUE self) {
30503 VALUE vresult = Qnil;
30505 if ((argc < 1) || (argc > 1)) {
30506 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30512 arg1 = (int)(val1);
30513 result = (int)getSpin_y(arg1);
30514 vresult = SWIG_From_int((int)(result));
30522 _wrap_getSpin_z(int argc, VALUE *argv, VALUE self) {
30527 VALUE vresult = Qnil;
30529 if ((argc < 1) || (argc > 1)) {
30530 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30536 arg1 = (int)(val1);
30537 result = (int)getSpin_z(arg1);
30538 vresult = SWIG_From_int((int)(result));
30546 _wrap_proteinRotateX(int argc, VALUE *argv, VALUE self) {
30554 if ((argc < 2) || (argc > 2)) {
30555 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
30566 arg2 = (int)(val2);
30567 proteinRotateX(arg1,arg2);
30575 _wrap_proteinRotateY(int argc, VALUE *argv, VALUE self) {
30583 if ((argc < 2) || (argc > 2)) {
30584 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
30595 arg2 = (int)(val2);
30596 proteinRotateY(arg1,arg2);
30604 _wrap_proteinRotateZ(int argc, VALUE *argv, VALUE self) {
30612 if ((argc < 2) || (argc > 2)) {
30613 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
30624 arg2 = (int)(val2);
30625 proteinRotateZ(arg1,arg2);
30633 _wrap_getMultiMoveX(int argc, VALUE *argv, VALUE self) {
30638 VALUE vresult = Qnil;
30640 if ((argc < 1) || (argc > 1)) {
30641 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30647 arg1 = (int)(val1);
30648 result = (int)getMultiMoveX(arg1);
30649 vresult = SWIG_From_int((int)(result));
30657 _wrap_getMultiMoveY(int argc, VALUE *argv, VALUE self) {
30662 VALUE vresult = Qnil;
30664 if ((argc < 1) || (argc > 1)) {
30665 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30671 arg1 = (int)(val1);
30672 result = (int)getMultiMoveY(arg1);
30673 vresult = SWIG_From_int((int)(result));
30681 _wrap_MultiMoveX(int argc, VALUE *argv, VALUE self) {
30686 if ((argc < 1) || (argc > 1)) {
30687 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30695 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","MultiMoveX", 1, argv[0]));
30697 arg1 = *((GLint *)(argp1));
30708 _wrap_MultiMoveY(int argc, VALUE *argv, VALUE self) {
30713 if ((argc < 1) || (argc > 1)) {
30714 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30722 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GLint","MultiMoveY", 1, argv[0]));
30724 arg1 = *((GLint *)(argp1));
30735 _wrap_saveproteinStatus(int argc, VALUE *argv, VALUE self) {
30736 ProteinStatus arg1 ;
30740 if ((argc < 1) || (argc > 1)) {
30741 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30749 SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "ProteinStatus","saveproteinStatus", 1, argv[0]));
30751 arg1 = *((ProteinStatus *)(argp1));
30754 saveproteinStatus(arg1);
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;
30774 _wrap_main(int argc, VALUE *argv, VALUE self) {
30782 VALUE vresult = Qnil;
30784 if ((argc < 2) || (argc > 2)) {
30785 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
30796 arg2 = (char **)(argp2);
30797 result = (int)main(arg1,arg2);
30798 vresult = SWIG_From_int((int)(result));
30806 _wrap_fopen(int argc, VALUE *argv, VALUE self) {
30807 char *arg1 = (char *) 0 ;
30808 char *arg2 = (char *) 0 ;
30816 VALUE vresult = Qnil;
30818 if ((argc < 2) || (argc > 2)) {
30819 rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
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] ));
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] ));
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);
30837 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
30838 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30844 _wrap_fclose(int argc, VALUE *argv, VALUE self) {
30845 FILE *arg1 = (FILE *) 0 ;
30849 if ((argc < 1) || (argc > 1)) {
30850 rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
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] ));
30856 arg1 = (FILE *)(argp1);
30865 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
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};
30939 static swig_type_info *swig_type_initial[] = {
30942 &_swigt__p_GLboolean,
30943 &_swigt__p_GLdouble,
30944 &_swigt__p_GLfloat,
30947 &_swigt__p_MRC_Status_t,
30948 &_swigt__p_MRC_Status_t_status,
30949 &_swigt__p_ProteinStatus,
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,
30959 &_swigt__p_contourLinesSet,
30960 &_swigt__p_ctfInfo,
30961 &_swigt__p_displayMode,
30963 &_swigt__p_elementSwitch,
30965 &_swigt__p_floatVector,
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,
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,
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,
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}};
31085 static swig_cast_info *swig_cast_initial[] = {
31088 _swigc__p_GLboolean,
31089 _swigc__p_GLdouble,
31093 _swigc__p_MRC_Status_t,
31094 _swigc__p_MRC_Status_t_status,
31095 _swigc__p_ProteinStatus,
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,
31105 _swigc__p_contourLinesSet,
31107 _swigc__p_displayMode,
31109 _swigc__p_elementSwitch,
31111 _swigc__p_floatVector,
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,
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,
31139 _swigc__p_p_double,
31140 _swigc__p_pdbCenter,
31141 _swigc__p_pdbCoord,
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,
31160 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
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.
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.
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
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
31201 * ----------------------------------------------------------------------------- */
31211 #define SWIGRUNTIME_DEBUG
31216 SWIG_InitializeModule(void *clientdata) {
31218 swig_module_info *module_head, *iter;
31221 clientdata = clientdata;
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;
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;
31242 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
31246 if (iter==&swig_module) {
31251 } while (iter!= module_head);
31253 /* if the is found in the list, then all is done and we may leave */
31255 /* otherwise we must add out module into the list */
31256 swig_module.next = module_head->next;
31257 module_head->next = &swig_module;
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
31264 if (init == 0) return;
31266 /* Now work on filling in swig_module.types */
31267 #ifdef SWIGRUNTIME_DEBUG
31268 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
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;
31275 #ifdef SWIGRUNTIME_DEBUG
31276 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
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);
31284 /* Overwrite clientdata field */
31285 #ifdef SWIGRUNTIME_DEBUG
31286 printf("SWIG_InitializeModule: found type %s\n", type->name);
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);
31295 type = swig_module.type_initial[i];
31298 /* Insert casting types */
31299 cast = swig_module.cast_initial[i];
31300 while (cast->type) {
31302 /* Don't need to add information already in the list */
31304 #ifdef SWIGRUNTIME_DEBUG
31305 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
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);
31314 if (type == swig_module.type_initial[i]) {
31315 #ifdef SWIGRUNTIME_DEBUG
31316 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
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);
31326 if (!ocast) ret = 0;
31331 #ifdef SWIGRUNTIME_DEBUG
31332 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
31335 type->cast->prev = cast;
31336 cast->next = type->cast;
31342 /* Set entry in modules->types array equal to the type */
31343 swig_module.types[i] = type;
31345 swig_module.types[i] = 0;
31347 #ifdef SWIGRUNTIME_DEBUG
31348 printf("**** SWIG_InitializeModule: Cast List ******\n");
31349 for (i = 0; i < swig_module.size; ++i) {
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);
31358 printf("---- Total casts: %d\n",j);
31360 printf("**** SWIG_InitializeModule: Cast List ******\n");
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.
31370 SWIG_PropagateClientData(void) {
31372 swig_cast_info *equiv;
31373 static int init_run = 0;
31375 if (init_run) return;
31378 for (i = 0; i < swig_module.size; i++) {
31379 if (swig_module.types[i]->clientdata) {
31380 equiv = swig_module.types[i]->cast;
31382 if (!equiv->converter) {
31383 if (equiv->type && !equiv->type->clientdata)
31384 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
31386 equiv = equiv->next;
31405 SWIGEXPORT void Init_molvieRuby(void) {
31408 SWIG_InitRuntime();
31409 mMolvieRuby = rb_define_module("MolvieRuby");
31411 SWIG_InitializeModule(0);
31412 for (i = 0; i < swig_module.size; i++) {
31413 SWIG_define_class(swig_module.types[i]);
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);
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);
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);
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;
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;
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;
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))));
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;
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;
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)));
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;
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;
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;
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)));
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;
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;
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;
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;
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;
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;
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)));
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);
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);
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;
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 )"));
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;
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)));
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;
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;
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;
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)));
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;
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;
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;
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);
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);
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;
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)));
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);
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);
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;
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;
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);